func GetActionTypeEnumStringValues() []string
GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum
func GetBasePatchingModeEnumStringValues() []string
GetBasePatchingModeEnumStringValues Enumerates the set of values in String for BasePatchingModeEnum
func GetInfrastructureLifecycleStateEnumStringValues() []string
GetInfrastructureLifecycleStateEnumStringValues Enumerates the set of values in String for InfrastructureLifecycleStateEnum
func GetInfrastructureServerLifecycleStateEnumStringValues() []string
GetInfrastructureServerLifecycleStateEnumStringValues Enumerates the set of values in String for InfrastructureServerLifecycleStateEnum
func GetInfrastructureTypeEnumStringValues() []string
GetInfrastructureTypeEnumStringValues Enumerates the set of values in String for InfrastructureTypeEnum
func GetListInfrastructuresSortByEnumStringValues() []string
GetListInfrastructuresSortByEnumStringValues Enumerates the set of values in String for ListInfrastructuresSortByEnum
func GetListInfrastructuresSortOrderEnumStringValues() []string
GetListInfrastructuresSortOrderEnumStringValues Enumerates the set of values in String for ListInfrastructuresSortOrderEnum
func GetListMaintenanceExecutionsLifecycleStateEnumStringValues() []string
GetListMaintenanceExecutionsLifecycleStateEnumStringValues Enumerates the set of values in String for ListMaintenanceExecutionsLifecycleStateEnum
func GetListMaintenanceExecutionsMaintenanceSubtypeEnumStringValues() []string
GetListMaintenanceExecutionsMaintenanceSubtypeEnumStringValues Enumerates the set of values in String for ListMaintenanceExecutionsMaintenanceSubtypeEnum
func GetListMaintenanceExecutionsMaintenanceTypeEnumStringValues() []string
GetListMaintenanceExecutionsMaintenanceTypeEnumStringValues Enumerates the set of values in String for ListMaintenanceExecutionsMaintenanceTypeEnum
func GetListMaintenanceExecutionsSortByEnumStringValues() []string
GetListMaintenanceExecutionsSortByEnumStringValues Enumerates the set of values in String for ListMaintenanceExecutionsSortByEnum
func GetListMaintenanceExecutionsSortOrderEnumStringValues() []string
GetListMaintenanceExecutionsSortOrderEnumStringValues Enumerates the set of values in String for ListMaintenanceExecutionsSortOrderEnum
func GetListMaintenanceExecutionsTargetResourceTypeEnumStringValues() []string
GetListMaintenanceExecutionsTargetResourceTypeEnumStringValues Enumerates the set of values in String for ListMaintenanceExecutionsTargetResourceTypeEnum
func GetListMaintenanceExecutionsTypeEnumStringValues() []string
GetListMaintenanceExecutionsTypeEnumStringValues Enumerates the set of values in String for ListMaintenanceExecutionsTypeEnum
func GetListMaintenanceRunsLifecycleStateEnumStringValues() []string
GetListMaintenanceRunsLifecycleStateEnumStringValues Enumerates the set of values in String for ListMaintenanceRunsLifecycleStateEnum
func GetListMaintenanceRunsMaintenanceSubtypeEnumStringValues() []string
GetListMaintenanceRunsMaintenanceSubtypeEnumStringValues Enumerates the set of values in String for ListMaintenanceRunsMaintenanceSubtypeEnum
func GetListMaintenanceRunsMaintenanceTypeEnumStringValues() []string
GetListMaintenanceRunsMaintenanceTypeEnumStringValues Enumerates the set of values in String for ListMaintenanceRunsMaintenanceTypeEnum
func GetListMaintenanceRunsSortByEnumStringValues() []string
GetListMaintenanceRunsSortByEnumStringValues Enumerates the set of values in String for ListMaintenanceRunsSortByEnum
func GetListMaintenanceRunsSortOrderEnumStringValues() []string
GetListMaintenanceRunsSortOrderEnumStringValues Enumerates the set of values in String for ListMaintenanceRunsSortOrderEnum
func GetListMaintenanceRunsTargetResourceTypeEnumStringValues() []string
GetListMaintenanceRunsTargetResourceTypeEnumStringValues Enumerates the set of values in String for ListMaintenanceRunsTargetResourceTypeEnum
func GetListVmClusterNetworksSortByEnumStringValues() []string
GetListVmClusterNetworksSortByEnumStringValues Enumerates the set of values in String for ListVmClusterNetworksSortByEnum
func GetListVmClusterNetworksSortOrderEnumStringValues() []string
GetListVmClusterNetworksSortOrderEnumStringValues Enumerates the set of values in String for ListVmClusterNetworksSortOrderEnum
func GetListVmClusterNetworksVmNetworkConsumerTypeEnumStringValues() []string
GetListVmClusterNetworksVmNetworkConsumerTypeEnumStringValues Enumerates the set of values in String for ListVmClusterNetworksVmNetworkConsumerTypeEnum
func GetListVmInstancesSortByEnumStringValues() []string
GetListVmInstancesSortByEnumStringValues Enumerates the set of values in String for ListVmInstancesSortByEnum
func GetListVmInstancesSortOrderEnumStringValues() []string
GetListVmInstancesSortOrderEnumStringValues Enumerates the set of values in String for ListVmInstancesSortOrderEnum
func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum
func GetListWorkRequestLogsSortOrderEnumStringValues() []string
GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum
func GetMaintenancePreferenceEnumStringValues() []string
GetMaintenancePreferenceEnumStringValues Enumerates the set of values in String for MaintenancePreferenceEnum
func GetMaintenanceRunLifecycleStateEnumStringValues() []string
GetMaintenanceRunLifecycleStateEnumStringValues Enumerates the set of values in String for MaintenanceRunLifecycleStateEnum
func GetMaintenanceSubtypeEnumEnumStringValues() []string
GetMaintenanceSubtypeEnumEnumStringValues Enumerates the set of values in String for MaintenanceSubtypeEnumEnum
func GetMaintenanceTypeEnumEnumStringValues() []string
GetMaintenanceTypeEnumEnumStringValues Enumerates the set of values in String for MaintenanceTypeEnumEnum
func GetMaintenanceWindowDaysOfWeekEnumStringValues() []string
GetMaintenanceWindowDaysOfWeekEnumStringValues Enumerates the set of values in String for MaintenanceWindowDaysOfWeekEnum
func GetMaintenanceWindowMonthsEnumStringValues() []string
GetMaintenanceWindowMonthsEnumStringValues Enumerates the set of values in String for MaintenanceWindowMonthsEnum
func GetNetworkBondingInterfaceEnumEnumStringValues() []string
GetNetworkBondingInterfaceEnumEnumStringValues Enumerates the set of values in String for NetworkBondingInterfaceEnumEnum
func GetNetworkBondingModeEnumStringValues() []string
GetNetworkBondingModeEnumStringValues Enumerates the set of values in String for NetworkBondingModeEnum
func GetOperationStatusEnumStringValues() []string
GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum
func GetOperationTypeEnumStringValues() []string
GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum
func GetPatchingModeEnumEnumStringValues() []string
GetPatchingModeEnumEnumStringValues Enumerates the set of values in String for PatchingModeEnumEnum
func GetPatchingStatusEnumEnumStringValues() []string
GetPatchingStatusEnumEnumStringValues Enumerates the set of values in String for PatchingStatusEnumEnum
func GetShapeEnumEnumStringValues() []string
GetShapeEnumEnumStringValues Enumerates the set of values in String for ShapeEnumEnum
func GetSortOrderEnumStringValues() []string
GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum
func GetStorageDiskRedundancyEnumStringValues() []string
GetStorageDiskRedundancyEnumStringValues Enumerates the set of values in String for StorageDiskRedundancyEnum
func GetStorageTypeEnumStringValues() []string
GetStorageTypeEnumStringValues Enumerates the set of values in String for StorageTypeEnum
func GetSystemModelEnumEnumStringValues() []string
GetSystemModelEnumEnumStringValues Enumerates the set of values in String for SystemModelEnumEnum
func GetTargetResourceTypeEnumEnumStringValues() []string
GetTargetResourceTypeEnumEnumStringValues Enumerates the set of values in String for TargetResourceTypeEnumEnum
func GetTypeEnumEnumStringValues() []string
GetTypeEnumEnumStringValues Enumerates the set of values in String for TypeEnumEnum
func GetVmClusterNetworkLifecycleStateEnumStringValues() []string
GetVmClusterNetworkLifecycleStateEnumStringValues Enumerates the set of values in String for VmClusterNetworkLifecycleStateEnum
func GetVmClusterNetworkTypeEnumStringValues() []string
GetVmClusterNetworkTypeEnumStringValues Enumerates the set of values in String for VmClusterNetworkTypeEnum
func GetVmInstanceLifecycleStateEnumStringValues() []string
GetVmInstanceLifecycleStateEnumStringValues Enumerates the set of values in String for VmInstanceLifecycleStateEnum
func GetVmNetworkConsumerTypeEnumStringValues() []string
GetVmNetworkConsumerTypeEnumStringValues Enumerates the set of values in String for VmNetworkConsumerTypeEnum
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 (m AcfsCapacityDetails) String() string
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
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() []ActionTypeEnum
GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ActivateInfrastructureDetails The activation details for the Database Infrastructure.
type ActivateInfrastructureDetails struct {
// The activation zip file.
ActivationZipFile []byte `mandatory:"true" json:"activationZipFile"`
}
func (m ActivateInfrastructureDetails) String() string
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
ActivateInfrastructureRequest wrapper for the ActivateInfrastructure operation
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 (request ActivateInfrastructureRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ActivateInfrastructureRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ActivateInfrastructureRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ActivateInfrastructureRequest) String() string
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
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 (response ActivateInfrastructureResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ActivateInfrastructureResponse) String() string
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() []BasePatchingModeEnum
GetBasePatchingModeEnumValues Enumerates the set of values for BasePatchingModeEnum
func GetMappingBasePatchingModeEnum(val string) (BasePatchingModeEnum, bool)
GetMappingBasePatchingModeEnum performs case Insensitive comparison on enum value and return the desired enum
BaseinfraClient a client for Baseinfra
type BaseinfraClient struct {
common.BaseClient
// contains filtered or unexported fields
}
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(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 (client BaseinfraClient) ActivateInfrastructure(ctx context.Context, request ActivateInfrastructureRequest) (response ActivateInfrastructureResponse, err error)
ActivateInfrastructure Activate an Database Infrastructure using the specified details.
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 (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).
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 (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).
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 (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).
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 (client *BaseinfraClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client BaseinfraClient) CreateInfrastructure(ctx context.Context, request CreateInfrastructureRequest) (response CreateInfrastructureResponse, err error)
CreateInfrastructure Create a Database Infrastructure using the specified details.
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 (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.
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 (client BaseinfraClient) CreateVmInstance(ctx context.Context, request CreateVmInstanceRequest) (response CreateVmInstanceResponse, err error)
CreateVmInstance Create an VM instance on Database Infrastructure using the specified details.
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 (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.
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 (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.
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 (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.
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 (client BaseinfraClient) DownloadInfrastructureConfigFile(ctx context.Context, request DownloadInfrastructureConfigFileRequest) (response DownloadInfrastructureConfigFileResponse, err error)
DownloadInfrastructureConfigFile Downloads the configuration file for the specified Database Infrastructure Cloud@Customer.
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 (client BaseinfraClient) DownloadInfrastructureValidationScript(ctx context.Context, request DownloadInfrastructureValidationScriptRequest) (response DownloadInfrastructureValidationScriptResponse, err error)
DownloadInfrastructureValidationScript Downloads the validation script for the specified Database Infrastructure Cloud@Customer.
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 (client BaseinfraClient) GenerateRecommendedVmClusterNetwork(ctx context.Context, request GenerateRecommendedVmClusterNetworkRequest) (response GenerateRecommendedVmClusterNetworkResponse, err error)
GenerateRecommendedVmClusterNetwork Generates an VM cluster network configuration using the specified details.
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 (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).
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 (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).
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 (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).
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 (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).
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 (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).
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 (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).
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 (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).
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 (client BaseinfraClient) ListInfrastructures(ctx context.Context, request ListInfrastructuresRequest) (response ListInfrastructuresResponse, err error)
ListInfrastructures Obtain a list of Database Infrastructures.
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 (client BaseinfraClient) ListMaintenanceExecutions(ctx context.Context, request ListMaintenanceExecutionsRequest) (response ListMaintenanceExecutionsResponse, err error)
ListMaintenanceExecutions Gets a list of the maintenance executions in the specified compartment.
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 (client BaseinfraClient) ListMaintenanceRuns(ctx context.Context, request ListMaintenanceRunsRequest) (response ListMaintenanceRunsResponse, err error)
ListMaintenanceRuns Gets a list of the maintenance runs in the specified compartment.
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 (client BaseinfraClient) ListVmClusterNetworks(ctx context.Context, request ListVmClusterNetworksRequest) (response ListVmClusterNetworksResponse, err error)
ListVmClusterNetworks Obtain a list of VM cluster networks on Database Infrastructure.
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 (client BaseinfraClient) ListVmInstances(ctx context.Context, request ListVmInstancesRequest) (response ListVmInstancesResponse, err error)
ListVmInstances Obtain a list of VM instances.
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 (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).
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 (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).
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 (client BaseinfraClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests View a list of work request details in the specified compartment.
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 (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).
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 (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.
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 (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).
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 (client BaseinfraClient) ScaleInfrastructureStorage(ctx context.Context, request ScaleInfrastructureStorageRequest) (response ScaleInfrastructureStorageResponse, err error)
ScaleInfrastructureStorage Scale storage for the specified infrastructure using the specified details.
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 (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).
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 (client *BaseinfraClient) SetRegion(region string)
SetRegion overrides the region of this client.
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).
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 (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).
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 (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).
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 (client BaseinfraClient) UpdateMaintenanceRun(ctx context.Context, request UpdateMaintenanceRunRequest) (response UpdateMaintenanceRunResponse, err error)
UpdateMaintenanceRun Update maintenance run attributes.
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 (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).
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 (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).
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 (client BaseinfraClient) ValidateInfrastructure(ctx context.Context, request ValidateInfrastructureRequest) (response ValidateInfrastructureResponse, err error)
ValidateInfrastructure Validate an Database Infrastructure using the specified details.
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 (client BaseinfraClient) ValidateVmClusterNetwork(ctx context.Context, request ValidateVmClusterNetworkRequest) (response ValidateVmClusterNetworkResponse, err error)
ValidateVmClusterNetwork Validates an VM cluster network on Database Infrastructure.
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()
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 (m ChangeInfrastructureCompartmentDetails) String() string
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
ChangeInfrastructureCompartmentRequest wrapper for the ChangeInfrastructureCompartment operation
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 (request ChangeInfrastructureCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeInfrastructureCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeInfrastructureCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeInfrastructureCompartmentRequest) String() string
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
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 (response ChangeInfrastructureCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeInfrastructureCompartmentResponse) String() string
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 (m ChangeVmClusterNetworkCompartmentDetails) String() string
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
ChangeVmClusterNetworkCompartmentRequest wrapper for the ChangeVmClusterNetworkCompartment operation
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 (request ChangeVmClusterNetworkCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeVmClusterNetworkCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeVmClusterNetworkCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeVmClusterNetworkCompartmentRequest) String() string
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
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 (response ChangeVmClusterNetworkCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeVmClusterNetworkCompartmentResponse) String() string
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 (m ChangeVmInstanceCompartmentDetails) String() string
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
ChangeVmInstanceCompartmentRequest wrapper for the ChangeVmInstanceCompartment operation
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 (request ChangeVmInstanceCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeVmInstanceCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeVmInstanceCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeVmInstanceCompartmentRequest) String() string
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
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 (response ChangeVmInstanceCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeVmInstanceCompartmentResponse) String() string
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 (m ComputeCapacityDetails) String() string
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
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 (m CreateInfrastructureDetails) String() string
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
CreateInfrastructureRequest wrapper for the CreateInfrastructure operation
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 (request CreateInfrastructureRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateInfrastructureRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateInfrastructureRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateInfrastructureRequest) String() string
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
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 (response CreateInfrastructureResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateInfrastructureResponse) String() string
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 (m CreateVmClusterNetworkDetails) String() string
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
CreateVmClusterNetworkRequest wrapper for the CreateVmClusterNetwork operation
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 (request CreateVmClusterNetworkRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateVmClusterNetworkRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateVmClusterNetworkRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateVmClusterNetworkRequest) String() string
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
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 (response CreateVmClusterNetworkResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateVmClusterNetworkResponse) String() string
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 (m CreateVmInstanceDetails) String() string
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
CreateVmInstanceRequest wrapper for the CreateVmInstance operation
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 (request CreateVmInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateVmInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateVmInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateVmInstanceRequest) String() string
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
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 (response CreateVmInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateVmInstanceResponse) String() string
DeleteInfrastructureRequest wrapper for the DeleteInfrastructure operation
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 (request DeleteInfrastructureRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteInfrastructureRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteInfrastructureRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteInfrastructureRequest) String() string
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
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 (response DeleteInfrastructureResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteInfrastructureResponse) String() string
DeleteVmClusterNetworkRequest wrapper for the DeleteVmClusterNetwork operation
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 (request DeleteVmClusterNetworkRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteVmClusterNetworkRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteVmClusterNetworkRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteVmClusterNetworkRequest) String() string
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
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 (response DeleteVmClusterNetworkResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteVmClusterNetworkResponse) String() string
DeleteVmInstanceRequest wrapper for the DeleteVmInstance operation
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 (request DeleteVmInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteVmInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteVmInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteVmInstanceRequest) String() string
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
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 (response DeleteVmInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteVmInstanceResponse) String() string
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 (m DiskGroupCapacityDetails) String() string
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
DownloadInfrastructureConfigFileRequest wrapper for the DownloadInfrastructureConfigFile operation
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 (request DownloadInfrastructureConfigFileRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DownloadInfrastructureConfigFileRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DownloadInfrastructureConfigFileRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DownloadInfrastructureConfigFileRequest) String() string
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
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 (response DownloadInfrastructureConfigFileResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DownloadInfrastructureConfigFileResponse) String() string
DownloadInfrastructureValidationScriptRequest wrapper for the DownloadInfrastructureValidationScript operation
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 (request DownloadInfrastructureValidationScriptRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DownloadInfrastructureValidationScriptRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DownloadInfrastructureValidationScriptRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DownloadInfrastructureValidationScriptRequest) String() string
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
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 (response DownloadInfrastructureValidationScriptResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DownloadInfrastructureValidationScriptResponse) String() string
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 (m GenerateRecommendedVmClusterNetworkDetails) String() string
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
GenerateRecommendedVmClusterNetworkRequest wrapper for the GenerateRecommendedVmClusterNetwork operation
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 (request GenerateRecommendedVmClusterNetworkRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GenerateRecommendedVmClusterNetworkRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GenerateRecommendedVmClusterNetworkRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GenerateRecommendedVmClusterNetworkRequest) String() string
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
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 (response GenerateRecommendedVmClusterNetworkResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GenerateRecommendedVmClusterNetworkResponse) String() string
GetInfrastructureRequest wrapper for the GetInfrastructure operation
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 (request GetInfrastructureRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetInfrastructureRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetInfrastructureRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetInfrastructureRequest) String() string
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
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 (response GetInfrastructureResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetInfrastructureResponse) String() string
GetInfrastructureScaleOptionRequest wrapper for the GetInfrastructureScaleOption operation
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 (request GetInfrastructureScaleOptionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetInfrastructureScaleOptionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetInfrastructureScaleOptionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetInfrastructureScaleOptionRequest) String() string
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
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 (response GetInfrastructureScaleOptionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetInfrastructureScaleOptionResponse) String() string
GetMaintenanceExecutionRequest wrapper for the GetMaintenanceExecution operation
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 (request GetMaintenanceExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetMaintenanceExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetMaintenanceExecutionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetMaintenanceExecutionRequest) String() string
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
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 (response GetMaintenanceExecutionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetMaintenanceExecutionResponse) String() string
GetMaintenanceRunRequest wrapper for the GetMaintenanceRun operation
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 (request GetMaintenanceRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetMaintenanceRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetMaintenanceRunRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetMaintenanceRunRequest) String() string
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
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 (response GetMaintenanceRunResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetMaintenanceRunResponse) String() string
GetVmClusterNetworkRequest wrapper for the GetVmClusterNetwork operation
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 (request GetVmClusterNetworkRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetVmClusterNetworkRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetVmClusterNetworkRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetVmClusterNetworkRequest) String() string
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
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 (response GetVmClusterNetworkResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetVmClusterNetworkResponse) String() string
GetVmInstanceRequest wrapper for the GetVmInstance operation
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 (request GetVmInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetVmInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetVmInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetVmInstanceRequest) String() string
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
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 (response GetVmInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetVmInstanceResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
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 (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetWorkRequestRequest) String() string
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
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 (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetWorkRequestResponse) String() string
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 (m InfoVmNetworkDetails) String() string
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
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 (m Infrastructure) String() string
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
InfrastructureCollection A collection of Database Infrastructure resources.
type InfrastructureCollection struct {
// A list of Database Infrastructure resources.
Items []InfrastructureSummary `mandatory:"true" json:"items"`
}
func (m InfrastructureCollection) String() string
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
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 (m InfrastructureContact) String() string
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
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() []InfrastructureLifecycleStateEnum
GetInfrastructureLifecycleStateEnumValues Enumerates the set of values for InfrastructureLifecycleStateEnum
func GetMappingInfrastructureLifecycleStateEnum(val string) (InfrastructureLifecycleStateEnum, bool)
GetMappingInfrastructureLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
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 (m InfrastructureScaleOption) String() string
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
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 (m InfrastructureServer) String() string
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
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() []InfrastructureServerLifecycleStateEnum
GetInfrastructureServerLifecycleStateEnumValues Enumerates the set of values for InfrastructureServerLifecycleStateEnum
func GetMappingInfrastructureServerLifecycleStateEnum(val string) (InfrastructureServerLifecycleStateEnum, bool)
GetMappingInfrastructureServerLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
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 (m InfrastructureSummary) String() string
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
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() []InfrastructureTypeEnum
GetInfrastructureTypeEnumValues Enumerates the set of values for InfrastructureTypeEnum
func GetMappingInfrastructureTypeEnum(val string) (InfrastructureTypeEnum, bool)
GetMappingInfrastructureTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ListInfrastructuresRequest wrapper for the ListInfrastructures operation
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 (request ListInfrastructuresRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListInfrastructuresRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListInfrastructuresRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListInfrastructuresRequest) String() string
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
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 (response ListInfrastructuresResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListInfrastructuresResponse) String() string
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() []ListInfrastructuresSortByEnum
GetListInfrastructuresSortByEnumValues Enumerates the set of values for ListInfrastructuresSortByEnum
func GetMappingListInfrastructuresSortByEnum(val string) (ListInfrastructuresSortByEnum, bool)
GetMappingListInfrastructuresSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListInfrastructuresSortOrderEnum
GetListInfrastructuresSortOrderEnumValues Enumerates the set of values for ListInfrastructuresSortOrderEnum
func GetMappingListInfrastructuresSortOrderEnum(val string) (ListInfrastructuresSortOrderEnum, bool)
GetMappingListInfrastructuresSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListMaintenanceExecutionsLifecycleStateEnum
GetListMaintenanceExecutionsLifecycleStateEnumValues Enumerates the set of values for ListMaintenanceExecutionsLifecycleStateEnum
func GetMappingListMaintenanceExecutionsLifecycleStateEnum(val string) (ListMaintenanceExecutionsLifecycleStateEnum, bool)
GetMappingListMaintenanceExecutionsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListMaintenanceExecutionsMaintenanceSubtypeEnum
GetListMaintenanceExecutionsMaintenanceSubtypeEnumValues Enumerates the set of values for ListMaintenanceExecutionsMaintenanceSubtypeEnum
func GetMappingListMaintenanceExecutionsMaintenanceSubtypeEnum(val string) (ListMaintenanceExecutionsMaintenanceSubtypeEnum, bool)
GetMappingListMaintenanceExecutionsMaintenanceSubtypeEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListMaintenanceExecutionsMaintenanceTypeEnum
GetListMaintenanceExecutionsMaintenanceTypeEnumValues Enumerates the set of values for ListMaintenanceExecutionsMaintenanceTypeEnum
func GetMappingListMaintenanceExecutionsMaintenanceTypeEnum(val string) (ListMaintenanceExecutionsMaintenanceTypeEnum, bool)
GetMappingListMaintenanceExecutionsMaintenanceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ListMaintenanceExecutionsRequest wrapper for the ListMaintenanceExecutions operation
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 (request ListMaintenanceExecutionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListMaintenanceExecutionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListMaintenanceExecutionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListMaintenanceExecutionsRequest) String() string
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
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 (response ListMaintenanceExecutionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListMaintenanceExecutionsResponse) String() string
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() []ListMaintenanceExecutionsSortByEnum
GetListMaintenanceExecutionsSortByEnumValues Enumerates the set of values for ListMaintenanceExecutionsSortByEnum
func GetMappingListMaintenanceExecutionsSortByEnum(val string) (ListMaintenanceExecutionsSortByEnum, bool)
GetMappingListMaintenanceExecutionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListMaintenanceExecutionsSortOrderEnum
GetListMaintenanceExecutionsSortOrderEnumValues Enumerates the set of values for ListMaintenanceExecutionsSortOrderEnum
func GetMappingListMaintenanceExecutionsSortOrderEnum(val string) (ListMaintenanceExecutionsSortOrderEnum, bool)
GetMappingListMaintenanceExecutionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListMaintenanceExecutionsTargetResourceTypeEnum
GetListMaintenanceExecutionsTargetResourceTypeEnumValues Enumerates the set of values for ListMaintenanceExecutionsTargetResourceTypeEnum
func GetMappingListMaintenanceExecutionsTargetResourceTypeEnum(val string) (ListMaintenanceExecutionsTargetResourceTypeEnum, bool)
GetMappingListMaintenanceExecutionsTargetResourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListMaintenanceExecutionsTypeEnum
GetListMaintenanceExecutionsTypeEnumValues Enumerates the set of values for ListMaintenanceExecutionsTypeEnum
func GetMappingListMaintenanceExecutionsTypeEnum(val string) (ListMaintenanceExecutionsTypeEnum, bool)
GetMappingListMaintenanceExecutionsTypeEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListMaintenanceRunsLifecycleStateEnum
GetListMaintenanceRunsLifecycleStateEnumValues Enumerates the set of values for ListMaintenanceRunsLifecycleStateEnum
func GetMappingListMaintenanceRunsLifecycleStateEnum(val string) (ListMaintenanceRunsLifecycleStateEnum, bool)
GetMappingListMaintenanceRunsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListMaintenanceRunsMaintenanceSubtypeEnum
GetListMaintenanceRunsMaintenanceSubtypeEnumValues Enumerates the set of values for ListMaintenanceRunsMaintenanceSubtypeEnum
func GetMappingListMaintenanceRunsMaintenanceSubtypeEnum(val string) (ListMaintenanceRunsMaintenanceSubtypeEnum, bool)
GetMappingListMaintenanceRunsMaintenanceSubtypeEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListMaintenanceRunsMaintenanceTypeEnum
GetListMaintenanceRunsMaintenanceTypeEnumValues Enumerates the set of values for ListMaintenanceRunsMaintenanceTypeEnum
func GetMappingListMaintenanceRunsMaintenanceTypeEnum(val string) (ListMaintenanceRunsMaintenanceTypeEnum, bool)
GetMappingListMaintenanceRunsMaintenanceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ListMaintenanceRunsRequest wrapper for the ListMaintenanceRuns operation
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 (request ListMaintenanceRunsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListMaintenanceRunsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListMaintenanceRunsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListMaintenanceRunsRequest) String() string
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
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 (response ListMaintenanceRunsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListMaintenanceRunsResponse) String() string
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() []ListMaintenanceRunsSortByEnum
GetListMaintenanceRunsSortByEnumValues Enumerates the set of values for ListMaintenanceRunsSortByEnum
func GetMappingListMaintenanceRunsSortByEnum(val string) (ListMaintenanceRunsSortByEnum, bool)
GetMappingListMaintenanceRunsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListMaintenanceRunsSortOrderEnum
GetListMaintenanceRunsSortOrderEnumValues Enumerates the set of values for ListMaintenanceRunsSortOrderEnum
func GetMappingListMaintenanceRunsSortOrderEnum(val string) (ListMaintenanceRunsSortOrderEnum, bool)
GetMappingListMaintenanceRunsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListMaintenanceRunsTargetResourceTypeEnum
GetListMaintenanceRunsTargetResourceTypeEnumValues Enumerates the set of values for ListMaintenanceRunsTargetResourceTypeEnum
func GetMappingListMaintenanceRunsTargetResourceTypeEnum(val string) (ListMaintenanceRunsTargetResourceTypeEnum, bool)
GetMappingListMaintenanceRunsTargetResourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ListVmClusterNetworksRequest wrapper for the ListVmClusterNetworks operation
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 (request ListVmClusterNetworksRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListVmClusterNetworksRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListVmClusterNetworksRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListVmClusterNetworksRequest) String() string
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
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 (response ListVmClusterNetworksResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListVmClusterNetworksResponse) String() string
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() []ListVmClusterNetworksSortByEnum
GetListVmClusterNetworksSortByEnumValues Enumerates the set of values for ListVmClusterNetworksSortByEnum
func GetMappingListVmClusterNetworksSortByEnum(val string) (ListVmClusterNetworksSortByEnum, bool)
GetMappingListVmClusterNetworksSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListVmClusterNetworksSortOrderEnum
GetListVmClusterNetworksSortOrderEnumValues Enumerates the set of values for ListVmClusterNetworksSortOrderEnum
func GetMappingListVmClusterNetworksSortOrderEnum(val string) (ListVmClusterNetworksSortOrderEnum, bool)
GetMappingListVmClusterNetworksSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListVmClusterNetworksVmNetworkConsumerTypeEnum
GetListVmClusterNetworksVmNetworkConsumerTypeEnumValues Enumerates the set of values for ListVmClusterNetworksVmNetworkConsumerTypeEnum
func GetMappingListVmClusterNetworksVmNetworkConsumerTypeEnum(val string) (ListVmClusterNetworksVmNetworkConsumerTypeEnum, bool)
GetMappingListVmClusterNetworksVmNetworkConsumerTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ListVmInstancesRequest wrapper for the ListVmInstances operation
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 (request ListVmInstancesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListVmInstancesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListVmInstancesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListVmInstancesRequest) String() string
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
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 (response ListVmInstancesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListVmInstancesResponse) String() string
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() []ListVmInstancesSortByEnum
GetListVmInstancesSortByEnumValues Enumerates the set of values for ListVmInstancesSortByEnum
func GetMappingListVmInstancesSortByEnum(val string) (ListVmInstancesSortByEnum, bool)
GetMappingListVmInstancesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListVmInstancesSortOrderEnum
GetListVmInstancesSortOrderEnumValues Enumerates the set of values for ListVmInstancesSortOrderEnum
func GetMappingListVmInstancesSortOrderEnum(val string) (ListVmInstancesSortOrderEnum, bool)
GetMappingListVmInstancesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
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 (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestErrorsRequest) String() string
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
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 (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestErrorsResponse) String() string
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() []ListWorkRequestErrorsSortOrderEnum
GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum
func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)
GetMappingListWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
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 (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestLogsRequest) String() string
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
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 (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestLogsResponse) String() string
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() []ListWorkRequestLogsSortOrderEnum
GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum
func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)
GetMappingListWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
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 (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestsRequest) String() string
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
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 (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestsResponse) String() string
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 (m MaintenanceExecution) String() string
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
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 (m MaintenanceExecutionCollection) String() string
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
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 (m MaintenanceExecutionSummary) String() string
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
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() []MaintenancePreferenceEnum
GetMaintenancePreferenceEnumValues Enumerates the set of values for MaintenancePreferenceEnum
func GetMappingMaintenancePreferenceEnum(val string) (MaintenancePreferenceEnum, bool)
GetMappingMaintenancePreferenceEnum performs case Insensitive comparison on enum value and return the desired enum
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 (m MaintenanceRun) String() string
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
MaintenanceRunCollection A collection of maintenance runs.
type MaintenanceRunCollection struct {
// A list of maintenance runs.
Items []MaintenanceRunSummary `mandatory:"true" json:"items"`
}
func (m MaintenanceRunCollection) String() string
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
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() []MaintenanceRunLifecycleStateEnum
GetMaintenanceRunLifecycleStateEnumValues Enumerates the set of values for MaintenanceRunLifecycleStateEnum
func GetMappingMaintenanceRunLifecycleStateEnum(val string) (MaintenanceRunLifecycleStateEnum, bool)
GetMappingMaintenanceRunLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
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 (m MaintenanceRunSummary) String() string
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
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() []MaintenanceSubtypeEnumEnum
GetMaintenanceSubtypeEnumEnumValues Enumerates the set of values for MaintenanceSubtypeEnumEnum
func GetMappingMaintenanceSubtypeEnumEnum(val string) (MaintenanceSubtypeEnumEnum, bool)
GetMappingMaintenanceSubtypeEnumEnum performs case Insensitive comparison on enum value and return the desired enum
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() []MaintenanceTypeEnumEnum
GetMaintenanceTypeEnumEnumValues Enumerates the set of values for MaintenanceTypeEnumEnum
func GetMappingMaintenanceTypeEnumEnum(val string) (MaintenanceTypeEnumEnum, bool)
GetMappingMaintenanceTypeEnumEnum performs case Insensitive comparison on enum value and return the desired enum
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 (m MaintenanceWindow) String() string
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
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() []MaintenanceWindowDaysOfWeekEnum
GetMaintenanceWindowDaysOfWeekEnumValues Enumerates the set of values for MaintenanceWindowDaysOfWeekEnum
func GetMappingMaintenanceWindowDaysOfWeekEnum(val string) (MaintenanceWindowDaysOfWeekEnum, bool)
GetMappingMaintenanceWindowDaysOfWeekEnum performs case Insensitive comparison on enum value and return the desired enum
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() []MaintenanceWindowMonthsEnum
GetMaintenanceWindowMonthsEnumValues Enumerates the set of values for MaintenanceWindowMonthsEnum
func GetMappingMaintenanceWindowMonthsEnum(val string) (MaintenanceWindowMonthsEnum, bool)
GetMappingMaintenanceWindowMonthsEnum performs case Insensitive comparison on enum value and return the desired enum
MigrateVmInstanceRequest wrapper for the MigrateVmInstance operation
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 (request MigrateVmInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request MigrateVmInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request MigrateVmInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request MigrateVmInstanceRequest) String() string
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
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 (response MigrateVmInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response MigrateVmInstanceResponse) String() string
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(val string) (NetworkBondingInterfaceEnumEnum, bool)
GetMappingNetworkBondingInterfaceEnumEnum performs case Insensitive comparison on enum value and return the desired enum
func GetNetworkBondingInterfaceEnumEnumValues() []NetworkBondingInterfaceEnumEnum
GetNetworkBondingInterfaceEnumEnumValues Enumerates the set of values for NetworkBondingInterfaceEnumEnum
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(val string) (NetworkBondingModeEnum, bool)
GetMappingNetworkBondingModeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetNetworkBondingModeEnumValues() []NetworkBondingModeEnum
GetNetworkBondingModeEnumValues Enumerates the set of values for NetworkBondingModeEnum
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 (m NodeDetails) String() string
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
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(val string) (OperationStatusEnum, bool)
GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationStatusEnumValues() []OperationStatusEnum
GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum
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(val string) (OperationTypeEnum, bool)
GetMappingOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationTypeEnumValues() []OperationTypeEnum
GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum
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(val string) (PatchingModeEnumEnum, bool)
GetMappingPatchingModeEnumEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPatchingModeEnumEnumValues() []PatchingModeEnumEnum
GetPatchingModeEnumEnumValues Enumerates the set of values for PatchingModeEnumEnum
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(val string) (PatchingStatusEnumEnum, bool)
GetMappingPatchingStatusEnumEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPatchingStatusEnumEnumValues() []PatchingStatusEnumEnum
GetPatchingStatusEnumEnumValues Enumerates the set of values for PatchingStatusEnumEnum
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 (m RescheduleMaintenanceRunDetails) String() string
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
RescheduleMaintenanceRunRequest wrapper for the RescheduleMaintenanceRun operation
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 (request RescheduleMaintenanceRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RescheduleMaintenanceRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RescheduleMaintenanceRunRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RescheduleMaintenanceRunRequest) String() string
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
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 (response RescheduleMaintenanceRunResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RescheduleMaintenanceRunResponse) String() string
RestartVmInstanceRequest wrapper for the RestartVmInstance operation
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 (request RestartVmInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RestartVmInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RestartVmInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RestartVmInstanceRequest) String() string
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
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 (response RestartVmInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RestartVmInstanceResponse) String() string
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 (m ScaleInfrastructureStorageDetails) String() string
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
ScaleInfrastructureStorageRequest wrapper for the ScaleInfrastructureStorage operation
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 (request ScaleInfrastructureStorageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ScaleInfrastructureStorageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ScaleInfrastructureStorageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ScaleInfrastructureStorageRequest) String() string
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
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 (response ScaleInfrastructureStorageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ScaleInfrastructureStorageResponse) String() string
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 (m ScaleVmInstanceDetails) String() string
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
ScaleVmInstanceRequest wrapper for the ScaleVmInstance operation
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 (request ScaleVmInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ScaleVmInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ScaleVmInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ScaleVmInstanceRequest) String() string
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
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 (response ScaleVmInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ScaleVmInstanceResponse) String() string
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 (m ScanDetails) String() string
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
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(val string) (ShapeEnumEnum, bool)
GetMappingShapeEnumEnum performs case Insensitive comparison on enum value and return the desired enum
func GetShapeEnumEnumValues() []ShapeEnumEnum
GetShapeEnumEnumValues Enumerates the set of values for ShapeEnumEnum
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(val string) (SortOrderEnum, bool)
GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSortOrderEnumValues() []SortOrderEnum
GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum
StartVmInstanceRequest wrapper for the StartVmInstance operation
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 (request StartVmInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request StartVmInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request StartVmInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request StartVmInstanceRequest) String() string
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
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 (response StartVmInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response StartVmInstanceResponse) String() string
StopVmInstanceRequest wrapper for the StopVmInstance operation
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 (request StopVmInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request StopVmInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request StopVmInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request StopVmInstanceRequest) String() string
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
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 (response StopVmInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response StopVmInstanceResponse) String() string
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 (m StorageCapacityDetails) String() string
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
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(val string) (StorageDiskRedundancyEnum, bool)
GetMappingStorageDiskRedundancyEnum performs case Insensitive comparison on enum value and return the desired enum
func GetStorageDiskRedundancyEnumValues() []StorageDiskRedundancyEnum
GetStorageDiskRedundancyEnumValues Enumerates the set of values for StorageDiskRedundancyEnum
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(val string) (StorageTypeEnum, bool)
GetMappingStorageTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetStorageTypeEnumValues() []StorageTypeEnum
GetStorageTypeEnumValues Enumerates the set of values for StorageTypeEnum
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(val string) (SystemModelEnumEnum, bool)
GetMappingSystemModelEnumEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSystemModelEnumEnumValues() []SystemModelEnumEnum
GetSystemModelEnumEnumValues Enumerates the set of values for SystemModelEnumEnum
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 (m SystemStorageCapacityDetails) String() string
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
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(val string) (TargetResourceTypeEnumEnum, bool)
GetMappingTargetResourceTypeEnumEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTargetResourceTypeEnumEnumValues() []TargetResourceTypeEnumEnum
GetTargetResourceTypeEnumEnumValues Enumerates the set of values for TargetResourceTypeEnumEnum
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(val string) (TypeEnumEnum, bool)
GetMappingTypeEnumEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTypeEnumEnumValues() []TypeEnumEnum
GetTypeEnumEnumValues Enumerates the set of values for TypeEnumEnum
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 (m UpdateInfrastructureDetails) String() string
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
UpdateInfrastructureRequest wrapper for the UpdateInfrastructure operation
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 (request UpdateInfrastructureRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateInfrastructureRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateInfrastructureRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateInfrastructureRequest) String() string
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
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 (response UpdateInfrastructureResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateInfrastructureResponse) String() string
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 (m UpdateMaintenanceRunDetails) String() string
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
UpdateMaintenanceRunRequest wrapper for the UpdateMaintenanceRun operation
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 (request UpdateMaintenanceRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateMaintenanceRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateMaintenanceRunRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateMaintenanceRunRequest) String() string
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
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 (response UpdateMaintenanceRunResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateMaintenanceRunResponse) String() string
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 (m UpdateVmClusterNetworkDetails) String() string
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
UpdateVmClusterNetworkRequest wrapper for the UpdateVmClusterNetwork operation
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 (request UpdateVmClusterNetworkRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateVmClusterNetworkRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateVmClusterNetworkRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateVmClusterNetworkRequest) String() string
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
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 (response UpdateVmClusterNetworkResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateVmClusterNetworkResponse) String() string
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 (m UpdateVmInstanceDetails) String() string
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
UpdateVmInstanceRequest wrapper for the UpdateVmInstance operation
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 (request UpdateVmInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateVmInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateVmInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateVmInstanceRequest) String() string
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
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 (response UpdateVmInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateVmInstanceResponse) String() string
ValidateInfrastructureDetails The validation details for the Database Infrastructure.
type ValidateInfrastructureDetails struct {
// The validation zip file.
ValidationZipFile []byte `mandatory:"true" json:"validationZipFile"`
}
func (m ValidateInfrastructureDetails) String() string
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
ValidateInfrastructureRequest wrapper for the ValidateInfrastructure operation
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 (request ValidateInfrastructureRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ValidateInfrastructureRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ValidateInfrastructureRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ValidateInfrastructureRequest) String() string
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
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 (response ValidateInfrastructureResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ValidateInfrastructureResponse) String() string
ValidateVmClusterNetworkRequest wrapper for the ValidateVmClusterNetwork operation
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 (request ValidateVmClusterNetworkRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ValidateVmClusterNetworkRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ValidateVmClusterNetworkRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ValidateVmClusterNetworkRequest) String() string
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
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 (response ValidateVmClusterNetworkResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ValidateVmClusterNetworkResponse) String() string
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 (m VmClusterNetwork) String() string
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
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 (m VmClusterNetworkCollection) String() string
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
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(val string) (VmClusterNetworkLifecycleStateEnum, bool)
GetMappingVmClusterNetworkLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetVmClusterNetworkLifecycleStateEnumValues() []VmClusterNetworkLifecycleStateEnum
GetVmClusterNetworkLifecycleStateEnumValues Enumerates the set of values for VmClusterNetworkLifecycleStateEnum
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 (m VmClusterNetworkSummary) String() string
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
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(val string) (VmClusterNetworkTypeEnum, bool)
GetMappingVmClusterNetworkTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetVmClusterNetworkTypeEnumValues() []VmClusterNetworkTypeEnum
GetVmClusterNetworkTypeEnumValues Enumerates the set of values for VmClusterNetworkTypeEnum
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 (m VmInstance) String() string
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
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 (m VmInstanceCollection) String() string
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
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(val string) (VmInstanceLifecycleStateEnum, bool)
GetMappingVmInstanceLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetVmInstanceLifecycleStateEnumValues() []VmInstanceLifecycleStateEnum
GetVmInstanceLifecycleStateEnumValues Enumerates the set of values for VmInstanceLifecycleStateEnum
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 (m VmInstanceSummary) String() string
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
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(val string) (VmNetworkConsumerTypeEnum, bool)
GetMappingVmNetworkConsumerTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetVmNetworkConsumerTypeEnumValues() []VmNetworkConsumerTypeEnum
GetVmNetworkConsumerTypeEnumValues Enumerates the set of values for VmNetworkConsumerTypeEnum
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 (m VmNetworkDetails) String() string
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
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 (m WorkRequest) String() string
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
WorkRequestCollection A collection of Work request resources.
type WorkRequestCollection struct {
// A list of Work request resources.
Items []WorkRequest `mandatory:"true" json:"items"`
}
func (m WorkRequestCollection) String() string
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
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 (m WorkRequestError) String() string
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
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 (m WorkRequestErrorCollection) String() string
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
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 (m WorkRequestLogEntry) String() string
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
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 (m WorkRequestLogEntryCollection) String() string
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
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 (m WorkRequestResource) String() string
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