datacc

package
v65.121.1 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: Apache-2.0, UPL-1.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetActionTypeEnumStringValues

func GetActionTypeEnumStringValues() []string

GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum

func GetBasePatchingModeEnumStringValues

func GetBasePatchingModeEnumStringValues() []string

GetBasePatchingModeEnumStringValues Enumerates the set of values in String for BasePatchingModeEnum

func GetInfrastructureLifecycleStateEnumStringValues

func GetInfrastructureLifecycleStateEnumStringValues() []string

GetInfrastructureLifecycleStateEnumStringValues Enumerates the set of values in String for InfrastructureLifecycleStateEnum

func GetInfrastructureServerLifecycleStateEnumStringValues

func GetInfrastructureServerLifecycleStateEnumStringValues() []string

GetInfrastructureServerLifecycleStateEnumStringValues Enumerates the set of values in String for InfrastructureServerLifecycleStateEnum

func GetInfrastructureTypeEnumStringValues

func GetInfrastructureTypeEnumStringValues() []string

GetInfrastructureTypeEnumStringValues Enumerates the set of values in String for InfrastructureTypeEnum

func GetListInfrastructuresSortByEnumStringValues

func GetListInfrastructuresSortByEnumStringValues() []string

GetListInfrastructuresSortByEnumStringValues Enumerates the set of values in String for ListInfrastructuresSortByEnum

func GetListInfrastructuresSortOrderEnumStringValues

func GetListInfrastructuresSortOrderEnumStringValues() []string

GetListInfrastructuresSortOrderEnumStringValues Enumerates the set of values in String for ListInfrastructuresSortOrderEnum

func GetListMaintenanceExecutionsLifecycleStateEnumStringValues

func GetListMaintenanceExecutionsLifecycleStateEnumStringValues() []string

GetListMaintenanceExecutionsLifecycleStateEnumStringValues Enumerates the set of values in String for ListMaintenanceExecutionsLifecycleStateEnum

func GetListMaintenanceExecutionsMaintenanceSubtypeEnumStringValues

func GetListMaintenanceExecutionsMaintenanceSubtypeEnumStringValues() []string

GetListMaintenanceExecutionsMaintenanceSubtypeEnumStringValues Enumerates the set of values in String for ListMaintenanceExecutionsMaintenanceSubtypeEnum

func GetListMaintenanceExecutionsMaintenanceTypeEnumStringValues

func GetListMaintenanceExecutionsMaintenanceTypeEnumStringValues() []string

GetListMaintenanceExecutionsMaintenanceTypeEnumStringValues Enumerates the set of values in String for ListMaintenanceExecutionsMaintenanceTypeEnum

func GetListMaintenanceExecutionsSortByEnumStringValues

func GetListMaintenanceExecutionsSortByEnumStringValues() []string

GetListMaintenanceExecutionsSortByEnumStringValues Enumerates the set of values in String for ListMaintenanceExecutionsSortByEnum

func GetListMaintenanceExecutionsSortOrderEnumStringValues

func GetListMaintenanceExecutionsSortOrderEnumStringValues() []string

GetListMaintenanceExecutionsSortOrderEnumStringValues Enumerates the set of values in String for ListMaintenanceExecutionsSortOrderEnum

func GetListMaintenanceExecutionsTargetResourceTypeEnumStringValues

func GetListMaintenanceExecutionsTargetResourceTypeEnumStringValues() []string

GetListMaintenanceExecutionsTargetResourceTypeEnumStringValues Enumerates the set of values in String for ListMaintenanceExecutionsTargetResourceTypeEnum

func GetListMaintenanceExecutionsTypeEnumStringValues

func GetListMaintenanceExecutionsTypeEnumStringValues() []string

GetListMaintenanceExecutionsTypeEnumStringValues Enumerates the set of values in String for ListMaintenanceExecutionsTypeEnum

func GetListMaintenanceRunsLifecycleStateEnumStringValues

func GetListMaintenanceRunsLifecycleStateEnumStringValues() []string

GetListMaintenanceRunsLifecycleStateEnumStringValues Enumerates the set of values in String for ListMaintenanceRunsLifecycleStateEnum

func GetListMaintenanceRunsMaintenanceSubtypeEnumStringValues

func GetListMaintenanceRunsMaintenanceSubtypeEnumStringValues() []string

GetListMaintenanceRunsMaintenanceSubtypeEnumStringValues Enumerates the set of values in String for ListMaintenanceRunsMaintenanceSubtypeEnum

func GetListMaintenanceRunsMaintenanceTypeEnumStringValues

func GetListMaintenanceRunsMaintenanceTypeEnumStringValues() []string

GetListMaintenanceRunsMaintenanceTypeEnumStringValues Enumerates the set of values in String for ListMaintenanceRunsMaintenanceTypeEnum

func GetListMaintenanceRunsSortByEnumStringValues

func GetListMaintenanceRunsSortByEnumStringValues() []string

GetListMaintenanceRunsSortByEnumStringValues Enumerates the set of values in String for ListMaintenanceRunsSortByEnum

func GetListMaintenanceRunsSortOrderEnumStringValues

func GetListMaintenanceRunsSortOrderEnumStringValues() []string

GetListMaintenanceRunsSortOrderEnumStringValues Enumerates the set of values in String for ListMaintenanceRunsSortOrderEnum

func GetListMaintenanceRunsTargetResourceTypeEnumStringValues

func GetListMaintenanceRunsTargetResourceTypeEnumStringValues() []string

GetListMaintenanceRunsTargetResourceTypeEnumStringValues Enumerates the set of values in String for ListMaintenanceRunsTargetResourceTypeEnum

func GetListVmClusterNetworksSortByEnumStringValues

func GetListVmClusterNetworksSortByEnumStringValues() []string

GetListVmClusterNetworksSortByEnumStringValues Enumerates the set of values in String for ListVmClusterNetworksSortByEnum

func GetListVmClusterNetworksSortOrderEnumStringValues

func GetListVmClusterNetworksSortOrderEnumStringValues() []string

GetListVmClusterNetworksSortOrderEnumStringValues Enumerates the set of values in String for ListVmClusterNetworksSortOrderEnum

func GetListVmClusterNetworksVmNetworkConsumerTypeEnumStringValues

func GetListVmClusterNetworksVmNetworkConsumerTypeEnumStringValues() []string

GetListVmClusterNetworksVmNetworkConsumerTypeEnumStringValues Enumerates the set of values in String for ListVmClusterNetworksVmNetworkConsumerTypeEnum

func GetListVmInstancesSortByEnumStringValues

func GetListVmInstancesSortByEnumStringValues() []string

GetListVmInstancesSortByEnumStringValues Enumerates the set of values in String for ListVmInstancesSortByEnum

func GetListVmInstancesSortOrderEnumStringValues

func GetListVmInstancesSortOrderEnumStringValues() []string

GetListVmInstancesSortOrderEnumStringValues Enumerates the set of values in String for ListVmInstancesSortOrderEnum

func GetListWorkRequestErrorsSortOrderEnumStringValues

func GetListWorkRequestErrorsSortOrderEnumStringValues() []string

GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestLogsSortOrderEnumStringValues

func GetListWorkRequestLogsSortOrderEnumStringValues() []string

GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum

func GetMaintenancePreferenceEnumStringValues

func GetMaintenancePreferenceEnumStringValues() []string

GetMaintenancePreferenceEnumStringValues Enumerates the set of values in String for MaintenancePreferenceEnum

func GetMaintenanceRunLifecycleStateEnumStringValues

func GetMaintenanceRunLifecycleStateEnumStringValues() []string

GetMaintenanceRunLifecycleStateEnumStringValues Enumerates the set of values in String for MaintenanceRunLifecycleStateEnum

func GetMaintenanceSubtypeEnumEnumStringValues

func GetMaintenanceSubtypeEnumEnumStringValues() []string

GetMaintenanceSubtypeEnumEnumStringValues Enumerates the set of values in String for MaintenanceSubtypeEnumEnum

func GetMaintenanceTypeEnumEnumStringValues

func GetMaintenanceTypeEnumEnumStringValues() []string

GetMaintenanceTypeEnumEnumStringValues Enumerates the set of values in String for MaintenanceTypeEnumEnum

func GetMaintenanceWindowDaysOfWeekEnumStringValues

func GetMaintenanceWindowDaysOfWeekEnumStringValues() []string

GetMaintenanceWindowDaysOfWeekEnumStringValues Enumerates the set of values in String for MaintenanceWindowDaysOfWeekEnum

func GetMaintenanceWindowMonthsEnumStringValues

func GetMaintenanceWindowMonthsEnumStringValues() []string

GetMaintenanceWindowMonthsEnumStringValues Enumerates the set of values in String for MaintenanceWindowMonthsEnum

func GetNetworkBondingInterfaceEnumEnumStringValues

func GetNetworkBondingInterfaceEnumEnumStringValues() []string

GetNetworkBondingInterfaceEnumEnumStringValues Enumerates the set of values in String for NetworkBondingInterfaceEnumEnum

func GetNetworkBondingModeEnumStringValues

func GetNetworkBondingModeEnumStringValues() []string

GetNetworkBondingModeEnumStringValues Enumerates the set of values in String for NetworkBondingModeEnum

func GetOperationStatusEnumStringValues

func GetOperationStatusEnumStringValues() []string

GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum

func GetOperationTypeEnumStringValues

func GetOperationTypeEnumStringValues() []string

GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum

func GetPatchingModeEnumEnumStringValues

func GetPatchingModeEnumEnumStringValues() []string

GetPatchingModeEnumEnumStringValues Enumerates the set of values in String for PatchingModeEnumEnum

func GetPatchingStatusEnumEnumStringValues

func GetPatchingStatusEnumEnumStringValues() []string

GetPatchingStatusEnumEnumStringValues Enumerates the set of values in String for PatchingStatusEnumEnum

func GetShapeEnumEnumStringValues

func GetShapeEnumEnumStringValues() []string

GetShapeEnumEnumStringValues Enumerates the set of values in String for ShapeEnumEnum

func GetSortOrderEnumStringValues

func GetSortOrderEnumStringValues() []string

GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum

func GetStorageDiskRedundancyEnumStringValues

func GetStorageDiskRedundancyEnumStringValues() []string

GetStorageDiskRedundancyEnumStringValues Enumerates the set of values in String for StorageDiskRedundancyEnum

func GetStorageTypeEnumStringValues

func GetStorageTypeEnumStringValues() []string

GetStorageTypeEnumStringValues Enumerates the set of values in String for StorageTypeEnum

func GetSystemModelEnumEnumStringValues

func GetSystemModelEnumEnumStringValues() []string

GetSystemModelEnumEnumStringValues Enumerates the set of values in String for SystemModelEnumEnum

func GetTargetResourceTypeEnumEnumStringValues

func GetTargetResourceTypeEnumEnumStringValues() []string

GetTargetResourceTypeEnumEnumStringValues Enumerates the set of values in String for TargetResourceTypeEnumEnum

func GetTypeEnumEnumStringValues

func GetTypeEnumEnumStringValues() []string

GetTypeEnumEnumStringValues Enumerates the set of values in String for TypeEnumEnum

func GetVmClusterNetworkLifecycleStateEnumStringValues

func GetVmClusterNetworkLifecycleStateEnumStringValues() []string

GetVmClusterNetworkLifecycleStateEnumStringValues Enumerates the set of values in String for VmClusterNetworkLifecycleStateEnum

func GetVmClusterNetworkTypeEnumStringValues

func GetVmClusterNetworkTypeEnumStringValues() []string

GetVmClusterNetworkTypeEnumStringValues Enumerates the set of values in String for VmClusterNetworkTypeEnum

func GetVmInstanceLifecycleStateEnumStringValues

func GetVmInstanceLifecycleStateEnumStringValues() []string

GetVmInstanceLifecycleStateEnumStringValues Enumerates the set of values in String for VmInstanceLifecycleStateEnum

func GetVmNetworkConsumerTypeEnumStringValues

func GetVmNetworkConsumerTypeEnumStringValues() []string

GetVmNetworkConsumerTypeEnumStringValues Enumerates the set of values in String for VmNetworkConsumerTypeEnum

Types

type AcfsCapacityDetails

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

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.

func (AcfsCapacityDetails) String

func (m AcfsCapacityDetails) String() string

func (AcfsCapacityDetails) ValidateEnumValue

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

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

type ActionTypeEnum

type ActionTypeEnum string

ActionTypeEnum Enum with underlying type: string

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"
)

Set of constants representing the allowable values for ActionTypeEnum

func GetActionTypeEnumValues

func GetActionTypeEnumValues() []ActionTypeEnum

GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum

func GetMappingActionTypeEnum

func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)

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

type ActivateInfrastructureDetails

type ActivateInfrastructureDetails struct {

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

ActivateInfrastructureDetails The activation details for the Database Infrastructure.

func (ActivateInfrastructureDetails) String

func (ActivateInfrastructureDetails) ValidateEnumValue

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

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

type ActivateInfrastructureRequest

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
}

ActivateInfrastructureRequest wrapper for the ActivateInfrastructure operation

See also

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

func (ActivateInfrastructureRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ActivateInfrastructureRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ActivateInfrastructureRequest) RetryPolicy

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

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

func (ActivateInfrastructureRequest) String

func (request ActivateInfrastructureRequest) String() string

func (ActivateInfrastructureRequest) ValidateEnumValue

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

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

type ActivateInfrastructureResponse

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

ActivateInfrastructureResponse wrapper for the ActivateInfrastructure operation

func (ActivateInfrastructureResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ActivateInfrastructureResponse) String

func (response ActivateInfrastructureResponse) String() string

type BasePatchingModeEnum

type BasePatchingModeEnum string

BasePatchingModeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for BasePatchingModeEnum

func GetBasePatchingModeEnumValues

func GetBasePatchingModeEnumValues() []BasePatchingModeEnum

GetBasePatchingModeEnumValues Enumerates the set of values for BasePatchingModeEnum

func GetMappingBasePatchingModeEnum

func GetMappingBasePatchingModeEnum(val string) (BasePatchingModeEnum, bool)

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

type BaseinfraClient

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

BaseinfraClient a client for Baseinfra

func NewBaseinfraClientWithConfigurationProvider

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

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

func NewBaseinfraClientWithOboToken

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

NewBaseinfraClientWithOboToken Creates a new default Baseinfra client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer

as well as reading the region

func (BaseinfraClient) ActivateInfrastructure

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

ActivateInfrastructure Activate an Database Infrastructure using the specified details.

See also

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

func (BaseinfraClient) ChangeInfrastructureCompartment

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

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

See also

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

func (BaseinfraClient) ChangeVmClusterNetworkCompartment

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

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

See also

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

func (BaseinfraClient) ChangeVmInstanceCompartment

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

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

See also

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

func (*BaseinfraClient) ConfigurationProvider

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

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

func (BaseinfraClient) CreateInfrastructure

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

CreateInfrastructure Create a Database Infrastructure using the specified details.

See also

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

func (BaseinfraClient) CreateVmClusterNetwork

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

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

See also

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

func (BaseinfraClient) CreateVmInstance

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

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

See also

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

func (BaseinfraClient) DeleteInfrastructure

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

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

See also

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

func (BaseinfraClient) DeleteVmClusterNetwork

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

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

See also

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

func (BaseinfraClient) DeleteVmInstance

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

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

See also

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

func (BaseinfraClient) DownloadInfrastructureConfigFile

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

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

See also

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

func (BaseinfraClient) DownloadInfrastructureValidationScript

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

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

See also

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

func (BaseinfraClient) GenerateRecommendedVmClusterNetwork

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

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

See also

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

func (BaseinfraClient) GetInfrastructure

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

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

See also

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

func (BaseinfraClient) GetInfrastructureScaleOption

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

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

See also

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

func (BaseinfraClient) GetMaintenanceExecution

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

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

See also

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

func (BaseinfraClient) GetMaintenanceRun

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

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

See also

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

func (BaseinfraClient) GetVmClusterNetwork

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

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

See also

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

func (BaseinfraClient) GetVmInstance

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

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

See also

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

func (BaseinfraClient) GetWorkRequest

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

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

See also

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

func (BaseinfraClient) ListInfrastructures

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

ListInfrastructures Obtain a list of Database Infrastructures.

See also

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

func (BaseinfraClient) ListMaintenanceExecutions

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

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

See also

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

func (BaseinfraClient) ListMaintenanceRuns

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

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

See also

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

func (BaseinfraClient) ListVmClusterNetworks

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

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

See also

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

func (BaseinfraClient) ListVmInstances

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

ListVmInstances Obtain a list of VM instances.

See also

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

func (BaseinfraClient) ListWorkRequestErrors

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

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

See also

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

func (BaseinfraClient) ListWorkRequestLogs

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

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

See also

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

func (BaseinfraClient) ListWorkRequests

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

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

See also

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

func (BaseinfraClient) MigrateVmInstance

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

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

See also

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

func (BaseinfraClient) RescheduleMaintenanceRun

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

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

See also

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

func (BaseinfraClient) RestartVmInstance

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

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

See also

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

func (BaseinfraClient) ScaleInfrastructureStorage

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

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

See also

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

func (BaseinfraClient) ScaleVmInstance

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

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

See also

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

func (*BaseinfraClient) SetRegion

func (client *BaseinfraClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (BaseinfraClient) StartVmInstance

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

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

See also

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

func (BaseinfraClient) StopVmInstance

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

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

See also

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

func (BaseinfraClient) UpdateInfrastructure

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

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

See also

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

func (BaseinfraClient) UpdateMaintenanceRun

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

UpdateMaintenanceRun Update maintenance run attributes.

See also

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

func (BaseinfraClient) UpdateVmClusterNetwork

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

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

See also

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

func (BaseinfraClient) UpdateVmInstance

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

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

See also

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

func (BaseinfraClient) ValidateInfrastructure

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

ValidateInfrastructure Validate an Database Infrastructure using the specified details.

See also

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

func (BaseinfraClient) ValidateVmClusterNetwork

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

ValidateVmClusterNetwork Validates an VM cluster network on Database Infrastructure.

See also

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

type ChangeInfrastructureCompartmentDetails

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

ChangeInfrastructureCompartmentDetails Updated compartment details.

func (ChangeInfrastructureCompartmentDetails) String

func (ChangeInfrastructureCompartmentDetails) ValidateEnumValue

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

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

type ChangeInfrastructureCompartmentRequest

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
}

ChangeInfrastructureCompartmentRequest wrapper for the ChangeInfrastructureCompartment operation

See also

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

func (ChangeInfrastructureCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeInfrastructureCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeInfrastructureCompartmentRequest) RetryPolicy

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

func (ChangeInfrastructureCompartmentRequest) String

func (ChangeInfrastructureCompartmentRequest) ValidateEnumValue

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

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

type ChangeInfrastructureCompartmentResponse

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

ChangeInfrastructureCompartmentResponse wrapper for the ChangeInfrastructureCompartment operation

func (ChangeInfrastructureCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeInfrastructureCompartmentResponse) String

type ChangeVmClusterNetworkCompartmentDetails

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

ChangeVmClusterNetworkCompartmentDetails Updated compartment details.

func (ChangeVmClusterNetworkCompartmentDetails) String

func (ChangeVmClusterNetworkCompartmentDetails) ValidateEnumValue

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

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

type ChangeVmClusterNetworkCompartmentRequest

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
}

ChangeVmClusterNetworkCompartmentRequest wrapper for the ChangeVmClusterNetworkCompartment operation

See also

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

func (ChangeVmClusterNetworkCompartmentRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (ChangeVmClusterNetworkCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeVmClusterNetworkCompartmentRequest) RetryPolicy

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

func (ChangeVmClusterNetworkCompartmentRequest) String

func (ChangeVmClusterNetworkCompartmentRequest) ValidateEnumValue

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

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

type ChangeVmClusterNetworkCompartmentResponse

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

ChangeVmClusterNetworkCompartmentResponse wrapper for the ChangeVmClusterNetworkCompartment operation

func (ChangeVmClusterNetworkCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeVmClusterNetworkCompartmentResponse) String

type ChangeVmInstanceCompartmentDetails

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

ChangeVmInstanceCompartmentDetails Updated compartment details.

func (ChangeVmInstanceCompartmentDetails) String

func (ChangeVmInstanceCompartmentDetails) ValidateEnumValue

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

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

type ChangeVmInstanceCompartmentRequest

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
}

ChangeVmInstanceCompartmentRequest wrapper for the ChangeVmInstanceCompartment operation

See also

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

func (ChangeVmInstanceCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeVmInstanceCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeVmInstanceCompartmentRequest) RetryPolicy

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

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

func (ChangeVmInstanceCompartmentRequest) String

func (request ChangeVmInstanceCompartmentRequest) String() string

func (ChangeVmInstanceCompartmentRequest) ValidateEnumValue

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

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

type ChangeVmInstanceCompartmentResponse

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

ChangeVmInstanceCompartmentResponse wrapper for the ChangeVmInstanceCompartment operation

func (ChangeVmInstanceCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeVmInstanceCompartmentResponse) String

func (response ChangeVmInstanceCompartmentResponse) String() string

type ComputeCapacityDetails

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

ComputeCapacityDetails Capacity details of the Database Infrastructure.

func (ComputeCapacityDetails) String

func (m ComputeCapacityDetails) String() string

func (ComputeCapacityDetails) ValidateEnumValue

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

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

type CreateInfrastructureDetails

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

CreateInfrastructureDetails Request to create Database Infrastructure resource.

func (CreateInfrastructureDetails) String

func (CreateInfrastructureDetails) ValidateEnumValue

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

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

type CreateInfrastructureRequest

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
}

CreateInfrastructureRequest wrapper for the CreateInfrastructure operation

See also

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

func (CreateInfrastructureRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateInfrastructureRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateInfrastructureRequest) RetryPolicy

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

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

func (CreateInfrastructureRequest) String

func (request CreateInfrastructureRequest) String() string

func (CreateInfrastructureRequest) ValidateEnumValue

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

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

type CreateInfrastructureResponse

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

CreateInfrastructureResponse wrapper for the CreateInfrastructure operation

func (CreateInfrastructureResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateInfrastructureResponse) String

func (response CreateInfrastructureResponse) String() string

type CreateVmClusterNetworkDetails

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

CreateVmClusterNetworkDetails Details for an VM cluster network.

func (CreateVmClusterNetworkDetails) String

func (CreateVmClusterNetworkDetails) ValidateEnumValue

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

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

type CreateVmClusterNetworkRequest

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
}

CreateVmClusterNetworkRequest wrapper for the CreateVmClusterNetwork operation

See also

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

func (CreateVmClusterNetworkRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateVmClusterNetworkRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateVmClusterNetworkRequest) RetryPolicy

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

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

func (CreateVmClusterNetworkRequest) String

func (request CreateVmClusterNetworkRequest) String() string

func (CreateVmClusterNetworkRequest) ValidateEnumValue

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

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

type CreateVmClusterNetworkResponse

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

CreateVmClusterNetworkResponse wrapper for the CreateVmClusterNetwork operation

func (CreateVmClusterNetworkResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateVmClusterNetworkResponse) String

func (response CreateVmClusterNetworkResponse) String() string

type CreateVmInstanceDetails

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

CreateVmInstanceDetails Create VM instance details.

func (CreateVmInstanceDetails) String

func (m CreateVmInstanceDetails) String() string

func (CreateVmInstanceDetails) ValidateEnumValue

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

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

type CreateVmInstanceRequest

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
}

CreateVmInstanceRequest wrapper for the CreateVmInstance operation

See also

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

func (CreateVmInstanceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateVmInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateVmInstanceRequest) RetryPolicy

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

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

func (CreateVmInstanceRequest) String

func (request CreateVmInstanceRequest) String() string

func (CreateVmInstanceRequest) ValidateEnumValue

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

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

type CreateVmInstanceResponse

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

CreateVmInstanceResponse wrapper for the CreateVmInstance operation

func (CreateVmInstanceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateVmInstanceResponse) String

func (response CreateVmInstanceResponse) String() string

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

DeleteInfrastructureRequest wrapper for the DeleteInfrastructure operation

See also

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

func (DeleteInfrastructureRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteInfrastructureRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteInfrastructureRequest) RetryPolicy

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

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

func (DeleteInfrastructureRequest) String

func (request DeleteInfrastructureRequest) String() string

func (DeleteInfrastructureRequest) ValidateEnumValue

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

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

type DeleteInfrastructureResponse

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

DeleteInfrastructureResponse wrapper for the DeleteInfrastructure operation

func (DeleteInfrastructureResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteInfrastructureResponse) String

func (response DeleteInfrastructureResponse) String() string

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

DeleteVmClusterNetworkRequest wrapper for the DeleteVmClusterNetwork operation

See also

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

func (DeleteVmClusterNetworkRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteVmClusterNetworkRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteVmClusterNetworkRequest) RetryPolicy

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

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

func (DeleteVmClusterNetworkRequest) String

func (request DeleteVmClusterNetworkRequest) String() string

func (DeleteVmClusterNetworkRequest) ValidateEnumValue

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

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

type DeleteVmClusterNetworkResponse

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

DeleteVmClusterNetworkResponse wrapper for the DeleteVmClusterNetwork operation

func (DeleteVmClusterNetworkResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteVmClusterNetworkResponse) String

func (response DeleteVmClusterNetworkResponse) String() string

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

DeleteVmInstanceRequest wrapper for the DeleteVmInstance operation

See also

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

func (DeleteVmInstanceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteVmInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteVmInstanceRequest) RetryPolicy

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

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

func (DeleteVmInstanceRequest) String

func (request DeleteVmInstanceRequest) String() string

func (DeleteVmInstanceRequest) ValidateEnumValue

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

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

type DeleteVmInstanceResponse

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

DeleteVmInstanceResponse wrapper for the DeleteVmInstance operation

func (DeleteVmInstanceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteVmInstanceResponse) String

func (response DeleteVmInstanceResponse) String() string

type DiskGroupCapacityDetails

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

DiskGroupCapacityDetails Capacity details of the storage disk group.

func (DiskGroupCapacityDetails) String

func (m DiskGroupCapacityDetails) String() string

func (DiskGroupCapacityDetails) ValidateEnumValue

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

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

type DownloadInfrastructureConfigFileRequest

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
}

DownloadInfrastructureConfigFileRequest wrapper for the DownloadInfrastructureConfigFile operation

See also

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

func (DownloadInfrastructureConfigFileRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DownloadInfrastructureConfigFileRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DownloadInfrastructureConfigFileRequest) RetryPolicy

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

func (DownloadInfrastructureConfigFileRequest) String

func (DownloadInfrastructureConfigFileRequest) ValidateEnumValue

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

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

type DownloadInfrastructureConfigFileResponse

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

DownloadInfrastructureConfigFileResponse wrapper for the DownloadInfrastructureConfigFile operation

func (DownloadInfrastructureConfigFileResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DownloadInfrastructureConfigFileResponse) String

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

DownloadInfrastructureValidationScriptRequest wrapper for the DownloadInfrastructureValidationScript operation

See also

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

func (DownloadInfrastructureValidationScriptRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (DownloadInfrastructureValidationScriptRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DownloadInfrastructureValidationScriptRequest) RetryPolicy

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

func (DownloadInfrastructureValidationScriptRequest) String

func (DownloadInfrastructureValidationScriptRequest) ValidateEnumValue

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

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

type DownloadInfrastructureValidationScriptResponse

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

DownloadInfrastructureValidationScriptResponse wrapper for the DownloadInfrastructureValidationScript operation

func (DownloadInfrastructureValidationScriptResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (DownloadInfrastructureValidationScriptResponse) String

type GenerateRecommendedVmClusterNetworkDetails

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

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

func (GenerateRecommendedVmClusterNetworkDetails) String

func (GenerateRecommendedVmClusterNetworkDetails) ValidateEnumValue

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

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

type GenerateRecommendedVmClusterNetworkRequest

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
}

GenerateRecommendedVmClusterNetworkRequest wrapper for the GenerateRecommendedVmClusterNetwork operation

See also

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

func (GenerateRecommendedVmClusterNetworkRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (GenerateRecommendedVmClusterNetworkRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GenerateRecommendedVmClusterNetworkRequest) RetryPolicy

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

func (GenerateRecommendedVmClusterNetworkRequest) String

func (GenerateRecommendedVmClusterNetworkRequest) ValidateEnumValue

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

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

type GenerateRecommendedVmClusterNetworkResponse

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

GenerateRecommendedVmClusterNetworkResponse wrapper for the GenerateRecommendedVmClusterNetwork operation

func (GenerateRecommendedVmClusterNetworkResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (GenerateRecommendedVmClusterNetworkResponse) String

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

GetInfrastructureRequest wrapper for the GetInfrastructure operation

See also

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

func (GetInfrastructureRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetInfrastructureRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetInfrastructureRequest) RetryPolicy

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

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

func (GetInfrastructureRequest) String

func (request GetInfrastructureRequest) String() string

func (GetInfrastructureRequest) ValidateEnumValue

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

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

type GetInfrastructureResponse

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

GetInfrastructureResponse wrapper for the GetInfrastructure operation

func (GetInfrastructureResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetInfrastructureResponse) String

func (response GetInfrastructureResponse) String() string

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

GetInfrastructureScaleOptionRequest wrapper for the GetInfrastructureScaleOption operation

See also

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

func (GetInfrastructureScaleOptionRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetInfrastructureScaleOptionRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetInfrastructureScaleOptionRequest) RetryPolicy

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

func (GetInfrastructureScaleOptionRequest) String

func (GetInfrastructureScaleOptionRequest) ValidateEnumValue

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

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

type GetInfrastructureScaleOptionResponse

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

GetInfrastructureScaleOptionResponse wrapper for the GetInfrastructureScaleOption operation

func (GetInfrastructureScaleOptionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetInfrastructureScaleOptionResponse) String

func (response GetInfrastructureScaleOptionResponse) String() string

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

GetMaintenanceExecutionRequest wrapper for the GetMaintenanceExecution operation

See also

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

func (GetMaintenanceExecutionRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetMaintenanceExecutionRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetMaintenanceExecutionRequest) RetryPolicy

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

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

func (GetMaintenanceExecutionRequest) String

func (request GetMaintenanceExecutionRequest) String() string

func (GetMaintenanceExecutionRequest) ValidateEnumValue

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

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

type GetMaintenanceExecutionResponse

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

GetMaintenanceExecutionResponse wrapper for the GetMaintenanceExecution operation

func (GetMaintenanceExecutionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetMaintenanceExecutionResponse) String

func (response GetMaintenanceExecutionResponse) String() string

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

GetMaintenanceRunRequest wrapper for the GetMaintenanceRun operation

See also

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

func (GetMaintenanceRunRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetMaintenanceRunRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetMaintenanceRunRequest) RetryPolicy

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

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

func (GetMaintenanceRunRequest) String

func (request GetMaintenanceRunRequest) String() string

func (GetMaintenanceRunRequest) ValidateEnumValue

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

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

type GetMaintenanceRunResponse

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

GetMaintenanceRunResponse wrapper for the GetMaintenanceRun operation

func (GetMaintenanceRunResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetMaintenanceRunResponse) String

func (response GetMaintenanceRunResponse) String() string

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

GetVmClusterNetworkRequest wrapper for the GetVmClusterNetwork operation

See also

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

func (GetVmClusterNetworkRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetVmClusterNetworkRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetVmClusterNetworkRequest) RetryPolicy

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

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

func (GetVmClusterNetworkRequest) String

func (request GetVmClusterNetworkRequest) String() string

func (GetVmClusterNetworkRequest) ValidateEnumValue

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

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

type GetVmClusterNetworkResponse

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

GetVmClusterNetworkResponse wrapper for the GetVmClusterNetwork operation

func (GetVmClusterNetworkResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetVmClusterNetworkResponse) String

func (response GetVmClusterNetworkResponse) String() string

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

GetVmInstanceRequest wrapper for the GetVmInstance operation

See also

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

func (GetVmInstanceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetVmInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetVmInstanceRequest) RetryPolicy

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

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

func (GetVmInstanceRequest) String

func (request GetVmInstanceRequest) String() string

func (GetVmInstanceRequest) ValidateEnumValue

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

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

type GetVmInstanceResponse

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

GetVmInstanceResponse wrapper for the GetVmInstance operation

func (GetVmInstanceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetVmInstanceResponse) String

func (response GetVmInstanceResponse) String() string

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

GetWorkRequestRequest wrapper for the GetWorkRequest operation

See also

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

func (GetWorkRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetWorkRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy

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

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

func (GetWorkRequestRequest) String

func (request GetWorkRequestRequest) String() string

func (GetWorkRequestRequest) ValidateEnumValue

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

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

type GetWorkRequestResponse

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

GetWorkRequestResponse wrapper for the GetWorkRequest operation

func (GetWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String

func (response GetWorkRequestResponse) String() string

type InfoVmNetworkDetails

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

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

func (InfoVmNetworkDetails) String

func (m InfoVmNetworkDetails) String() string

func (InfoVmNetworkDetails) ValidateEnumValue

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

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

type Infrastructure

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

Infrastructure Details about Database Infrastructure resource.

func (Infrastructure) String

func (m Infrastructure) String() string

func (Infrastructure) ValidateEnumValue

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

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

type InfrastructureCollection

type InfrastructureCollection struct {

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

InfrastructureCollection A collection of Database Infrastructure resources.

func (InfrastructureCollection) String

func (m InfrastructureCollection) String() string

func (InfrastructureCollection) ValidateEnumValue

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

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

type InfrastructureContact

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

InfrastructureContact Contact details for Database Infrastructure.

func (InfrastructureContact) String

func (m InfrastructureContact) String() string

func (InfrastructureContact) ValidateEnumValue

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

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

type InfrastructureLifecycleStateEnum

type InfrastructureLifecycleStateEnum string

InfrastructureLifecycleStateEnum Enum with underlying type: string

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"
)

Set of constants representing the allowable values for InfrastructureLifecycleStateEnum

func GetInfrastructureLifecycleStateEnumValues

func GetInfrastructureLifecycleStateEnumValues() []InfrastructureLifecycleStateEnum

GetInfrastructureLifecycleStateEnumValues Enumerates the set of values for InfrastructureLifecycleStateEnum

func GetMappingInfrastructureLifecycleStateEnum

func GetMappingInfrastructureLifecycleStateEnum(val string) (InfrastructureLifecycleStateEnum, bool)

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

type InfrastructureScaleOption

type InfrastructureScaleOption struct {

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

InfrastructureScaleOption The available scale options for the infrastructure.

func (InfrastructureScaleOption) String

func (m InfrastructureScaleOption) String() string

func (InfrastructureScaleOption) ValidateEnumValue

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

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

type InfrastructureServer

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

InfrastructureServer Database Infrastructure Server details.

func (InfrastructureServer) String

func (m InfrastructureServer) String() string

func (InfrastructureServer) ValidateEnumValue

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

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

type InfrastructureServerLifecycleStateEnum

type InfrastructureServerLifecycleStateEnum string

InfrastructureServerLifecycleStateEnum Enum with underlying type: string

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"
)

Set of constants representing the allowable values for InfrastructureServerLifecycleStateEnum

func GetInfrastructureServerLifecycleStateEnumValues

func GetInfrastructureServerLifecycleStateEnumValues() []InfrastructureServerLifecycleStateEnum

GetInfrastructureServerLifecycleStateEnumValues Enumerates the set of values for InfrastructureServerLifecycleStateEnum

func GetMappingInfrastructureServerLifecycleStateEnum

func GetMappingInfrastructureServerLifecycleStateEnum(val string) (InfrastructureServerLifecycleStateEnum, bool)

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

type InfrastructureSummary

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

InfrastructureSummary Database Infrastructure resource summary.

func (InfrastructureSummary) String

func (m InfrastructureSummary) String() string

func (InfrastructureSummary) ValidateEnumValue

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

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

type InfrastructureTypeEnum

type InfrastructureTypeEnum string

InfrastructureTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for InfrastructureTypeEnum

func GetInfrastructureTypeEnumValues

func GetInfrastructureTypeEnumValues() []InfrastructureTypeEnum

GetInfrastructureTypeEnumValues Enumerates the set of values for InfrastructureTypeEnum

func GetMappingInfrastructureTypeEnum

func GetMappingInfrastructureTypeEnum(val string) (InfrastructureTypeEnum, bool)

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

type ListInfrastructuresRequest

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
}

ListInfrastructuresRequest wrapper for the ListInfrastructures operation

See also

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

func (ListInfrastructuresRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListInfrastructuresRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListInfrastructuresRequest) RetryPolicy

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

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

func (ListInfrastructuresRequest) String

func (request ListInfrastructuresRequest) String() string

func (ListInfrastructuresRequest) ValidateEnumValue

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

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

type ListInfrastructuresResponse

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

ListInfrastructuresResponse wrapper for the ListInfrastructures operation

func (ListInfrastructuresResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListInfrastructuresResponse) String

func (response ListInfrastructuresResponse) String() string

type ListInfrastructuresSortByEnum

type ListInfrastructuresSortByEnum string

ListInfrastructuresSortByEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListInfrastructuresSortByEnum

func GetListInfrastructuresSortByEnumValues

func GetListInfrastructuresSortByEnumValues() []ListInfrastructuresSortByEnum

GetListInfrastructuresSortByEnumValues Enumerates the set of values for ListInfrastructuresSortByEnum

func GetMappingListInfrastructuresSortByEnum

func GetMappingListInfrastructuresSortByEnum(val string) (ListInfrastructuresSortByEnum, bool)

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

type ListInfrastructuresSortOrderEnum

type ListInfrastructuresSortOrderEnum string

ListInfrastructuresSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListInfrastructuresSortOrderEnum

func GetListInfrastructuresSortOrderEnumValues

func GetListInfrastructuresSortOrderEnumValues() []ListInfrastructuresSortOrderEnum

GetListInfrastructuresSortOrderEnumValues Enumerates the set of values for ListInfrastructuresSortOrderEnum

func GetMappingListInfrastructuresSortOrderEnum

func GetMappingListInfrastructuresSortOrderEnum(val string) (ListInfrastructuresSortOrderEnum, bool)

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

type ListMaintenanceExecutionsLifecycleStateEnum

type ListMaintenanceExecutionsLifecycleStateEnum string

ListMaintenanceExecutionsLifecycleStateEnum Enum with underlying type: string

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"
)

Set of constants representing the allowable values for ListMaintenanceExecutionsLifecycleStateEnum

func GetListMaintenanceExecutionsLifecycleStateEnumValues

func GetListMaintenanceExecutionsLifecycleStateEnumValues() []ListMaintenanceExecutionsLifecycleStateEnum

GetListMaintenanceExecutionsLifecycleStateEnumValues Enumerates the set of values for ListMaintenanceExecutionsLifecycleStateEnum

func GetMappingListMaintenanceExecutionsLifecycleStateEnum

func GetMappingListMaintenanceExecutionsLifecycleStateEnum(val string) (ListMaintenanceExecutionsLifecycleStateEnum, bool)

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

type ListMaintenanceExecutionsMaintenanceSubtypeEnum

type ListMaintenanceExecutionsMaintenanceSubtypeEnum string

ListMaintenanceExecutionsMaintenanceSubtypeEnum Enum with underlying type: string

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"
)

Set of constants representing the allowable values for ListMaintenanceExecutionsMaintenanceSubtypeEnum

func GetListMaintenanceExecutionsMaintenanceSubtypeEnumValues

func GetListMaintenanceExecutionsMaintenanceSubtypeEnumValues() []ListMaintenanceExecutionsMaintenanceSubtypeEnum

GetListMaintenanceExecutionsMaintenanceSubtypeEnumValues Enumerates the set of values for ListMaintenanceExecutionsMaintenanceSubtypeEnum

func GetMappingListMaintenanceExecutionsMaintenanceSubtypeEnum

func GetMappingListMaintenanceExecutionsMaintenanceSubtypeEnum(val string) (ListMaintenanceExecutionsMaintenanceSubtypeEnum, bool)

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

type ListMaintenanceExecutionsMaintenanceTypeEnum

type ListMaintenanceExecutionsMaintenanceTypeEnum string

ListMaintenanceExecutionsMaintenanceTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListMaintenanceExecutionsMaintenanceTypeEnum

func GetListMaintenanceExecutionsMaintenanceTypeEnumValues

func GetListMaintenanceExecutionsMaintenanceTypeEnumValues() []ListMaintenanceExecutionsMaintenanceTypeEnum

GetListMaintenanceExecutionsMaintenanceTypeEnumValues Enumerates the set of values for ListMaintenanceExecutionsMaintenanceTypeEnum

func GetMappingListMaintenanceExecutionsMaintenanceTypeEnum

func GetMappingListMaintenanceExecutionsMaintenanceTypeEnum(val string) (ListMaintenanceExecutionsMaintenanceTypeEnum, bool)

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

type ListMaintenanceExecutionsRequest

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
}

ListMaintenanceExecutionsRequest wrapper for the ListMaintenanceExecutions operation

See also

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

func (ListMaintenanceExecutionsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListMaintenanceExecutionsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListMaintenanceExecutionsRequest) RetryPolicy

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

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

func (ListMaintenanceExecutionsRequest) String

func (request ListMaintenanceExecutionsRequest) String() string

func (ListMaintenanceExecutionsRequest) ValidateEnumValue

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

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

type ListMaintenanceExecutionsResponse

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

ListMaintenanceExecutionsResponse wrapper for the ListMaintenanceExecutions operation

func (ListMaintenanceExecutionsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListMaintenanceExecutionsResponse) String

func (response ListMaintenanceExecutionsResponse) String() string

type ListMaintenanceExecutionsSortByEnum

type ListMaintenanceExecutionsSortByEnum string

ListMaintenanceExecutionsSortByEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListMaintenanceExecutionsSortByEnum

func GetListMaintenanceExecutionsSortByEnumValues

func GetListMaintenanceExecutionsSortByEnumValues() []ListMaintenanceExecutionsSortByEnum

GetListMaintenanceExecutionsSortByEnumValues Enumerates the set of values for ListMaintenanceExecutionsSortByEnum

func GetMappingListMaintenanceExecutionsSortByEnum

func GetMappingListMaintenanceExecutionsSortByEnum(val string) (ListMaintenanceExecutionsSortByEnum, bool)

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

type ListMaintenanceExecutionsSortOrderEnum

type ListMaintenanceExecutionsSortOrderEnum string

ListMaintenanceExecutionsSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListMaintenanceExecutionsSortOrderEnum

func GetListMaintenanceExecutionsSortOrderEnumValues

func GetListMaintenanceExecutionsSortOrderEnumValues() []ListMaintenanceExecutionsSortOrderEnum

GetListMaintenanceExecutionsSortOrderEnumValues Enumerates the set of values for ListMaintenanceExecutionsSortOrderEnum

func GetMappingListMaintenanceExecutionsSortOrderEnum

func GetMappingListMaintenanceExecutionsSortOrderEnum(val string) (ListMaintenanceExecutionsSortOrderEnum, bool)

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

type ListMaintenanceExecutionsTargetResourceTypeEnum

type ListMaintenanceExecutionsTargetResourceTypeEnum string

ListMaintenanceExecutionsTargetResourceTypeEnum Enum with underlying type: string

const (
	ListMaintenanceExecutionsTargetResourceTypeDbCcInfrastructure ListMaintenanceExecutionsTargetResourceTypeEnum = "DB_CC_INFRASTRUCTURE"
)

Set of constants representing the allowable values for ListMaintenanceExecutionsTargetResourceTypeEnum

func GetListMaintenanceExecutionsTargetResourceTypeEnumValues

func GetListMaintenanceExecutionsTargetResourceTypeEnumValues() []ListMaintenanceExecutionsTargetResourceTypeEnum

GetListMaintenanceExecutionsTargetResourceTypeEnumValues Enumerates the set of values for ListMaintenanceExecutionsTargetResourceTypeEnum

func GetMappingListMaintenanceExecutionsTargetResourceTypeEnum

func GetMappingListMaintenanceExecutionsTargetResourceTypeEnum(val string) (ListMaintenanceExecutionsTargetResourceTypeEnum, bool)

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

type ListMaintenanceExecutionsTypeEnum

type ListMaintenanceExecutionsTypeEnum string

ListMaintenanceExecutionsTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListMaintenanceExecutionsTypeEnum

func GetListMaintenanceExecutionsTypeEnumValues

func GetListMaintenanceExecutionsTypeEnumValues() []ListMaintenanceExecutionsTypeEnum

GetListMaintenanceExecutionsTypeEnumValues Enumerates the set of values for ListMaintenanceExecutionsTypeEnum

func GetMappingListMaintenanceExecutionsTypeEnum

func GetMappingListMaintenanceExecutionsTypeEnum(val string) (ListMaintenanceExecutionsTypeEnum, bool)

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

type ListMaintenanceRunsLifecycleStateEnum

type ListMaintenanceRunsLifecycleStateEnum string

ListMaintenanceRunsLifecycleStateEnum Enum with underlying type: string

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"
)

Set of constants representing the allowable values for ListMaintenanceRunsLifecycleStateEnum

func GetListMaintenanceRunsLifecycleStateEnumValues

func GetListMaintenanceRunsLifecycleStateEnumValues() []ListMaintenanceRunsLifecycleStateEnum

GetListMaintenanceRunsLifecycleStateEnumValues Enumerates the set of values for ListMaintenanceRunsLifecycleStateEnum

func GetMappingListMaintenanceRunsLifecycleStateEnum

func GetMappingListMaintenanceRunsLifecycleStateEnum(val string) (ListMaintenanceRunsLifecycleStateEnum, bool)

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

type ListMaintenanceRunsMaintenanceSubtypeEnum

type ListMaintenanceRunsMaintenanceSubtypeEnum string

ListMaintenanceRunsMaintenanceSubtypeEnum Enum with underlying type: string

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"
)

Set of constants representing the allowable values for ListMaintenanceRunsMaintenanceSubtypeEnum

func GetListMaintenanceRunsMaintenanceSubtypeEnumValues

func GetListMaintenanceRunsMaintenanceSubtypeEnumValues() []ListMaintenanceRunsMaintenanceSubtypeEnum

GetListMaintenanceRunsMaintenanceSubtypeEnumValues Enumerates the set of values for ListMaintenanceRunsMaintenanceSubtypeEnum

func GetMappingListMaintenanceRunsMaintenanceSubtypeEnum

func GetMappingListMaintenanceRunsMaintenanceSubtypeEnum(val string) (ListMaintenanceRunsMaintenanceSubtypeEnum, bool)

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

type ListMaintenanceRunsMaintenanceTypeEnum

type ListMaintenanceRunsMaintenanceTypeEnum string

ListMaintenanceRunsMaintenanceTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListMaintenanceRunsMaintenanceTypeEnum

func GetListMaintenanceRunsMaintenanceTypeEnumValues

func GetListMaintenanceRunsMaintenanceTypeEnumValues() []ListMaintenanceRunsMaintenanceTypeEnum

GetListMaintenanceRunsMaintenanceTypeEnumValues Enumerates the set of values for ListMaintenanceRunsMaintenanceTypeEnum

func GetMappingListMaintenanceRunsMaintenanceTypeEnum

func GetMappingListMaintenanceRunsMaintenanceTypeEnum(val string) (ListMaintenanceRunsMaintenanceTypeEnum, bool)

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

type ListMaintenanceRunsRequest

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
}

ListMaintenanceRunsRequest wrapper for the ListMaintenanceRuns operation

See also

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

func (ListMaintenanceRunsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListMaintenanceRunsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListMaintenanceRunsRequest) RetryPolicy

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

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

func (ListMaintenanceRunsRequest) String

func (request ListMaintenanceRunsRequest) String() string

func (ListMaintenanceRunsRequest) ValidateEnumValue

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

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

type ListMaintenanceRunsResponse

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

ListMaintenanceRunsResponse wrapper for the ListMaintenanceRuns operation

func (ListMaintenanceRunsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListMaintenanceRunsResponse) String

func (response ListMaintenanceRunsResponse) String() string

type ListMaintenanceRunsSortByEnum

type ListMaintenanceRunsSortByEnum string

ListMaintenanceRunsSortByEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListMaintenanceRunsSortByEnum

func GetListMaintenanceRunsSortByEnumValues

func GetListMaintenanceRunsSortByEnumValues() []ListMaintenanceRunsSortByEnum

GetListMaintenanceRunsSortByEnumValues Enumerates the set of values for ListMaintenanceRunsSortByEnum

func GetMappingListMaintenanceRunsSortByEnum

func GetMappingListMaintenanceRunsSortByEnum(val string) (ListMaintenanceRunsSortByEnum, bool)

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

type ListMaintenanceRunsSortOrderEnum

type ListMaintenanceRunsSortOrderEnum string

ListMaintenanceRunsSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListMaintenanceRunsSortOrderEnum

func GetListMaintenanceRunsSortOrderEnumValues

func GetListMaintenanceRunsSortOrderEnumValues() []ListMaintenanceRunsSortOrderEnum

GetListMaintenanceRunsSortOrderEnumValues Enumerates the set of values for ListMaintenanceRunsSortOrderEnum

func GetMappingListMaintenanceRunsSortOrderEnum

func GetMappingListMaintenanceRunsSortOrderEnum(val string) (ListMaintenanceRunsSortOrderEnum, bool)

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

type ListMaintenanceRunsTargetResourceTypeEnum

type ListMaintenanceRunsTargetResourceTypeEnum string

ListMaintenanceRunsTargetResourceTypeEnum Enum with underlying type: string

const (
	ListMaintenanceRunsTargetResourceTypeDbCcInfrastructure ListMaintenanceRunsTargetResourceTypeEnum = "DB_CC_INFRASTRUCTURE"
)

Set of constants representing the allowable values for ListMaintenanceRunsTargetResourceTypeEnum

func GetListMaintenanceRunsTargetResourceTypeEnumValues

func GetListMaintenanceRunsTargetResourceTypeEnumValues() []ListMaintenanceRunsTargetResourceTypeEnum

GetListMaintenanceRunsTargetResourceTypeEnumValues Enumerates the set of values for ListMaintenanceRunsTargetResourceTypeEnum

func GetMappingListMaintenanceRunsTargetResourceTypeEnum

func GetMappingListMaintenanceRunsTargetResourceTypeEnum(val string) (ListMaintenanceRunsTargetResourceTypeEnum, bool)

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

type ListVmClusterNetworksRequest

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
}

ListVmClusterNetworksRequest wrapper for the ListVmClusterNetworks operation

See also

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

func (ListVmClusterNetworksRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListVmClusterNetworksRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListVmClusterNetworksRequest) RetryPolicy

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

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

func (ListVmClusterNetworksRequest) String

func (request ListVmClusterNetworksRequest) String() string

func (ListVmClusterNetworksRequest) ValidateEnumValue

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

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

type ListVmClusterNetworksResponse

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

ListVmClusterNetworksResponse wrapper for the ListVmClusterNetworks operation

func (ListVmClusterNetworksResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListVmClusterNetworksResponse) String

func (response ListVmClusterNetworksResponse) String() string

type ListVmClusterNetworksSortByEnum

type ListVmClusterNetworksSortByEnum string

ListVmClusterNetworksSortByEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListVmClusterNetworksSortByEnum

func GetListVmClusterNetworksSortByEnumValues

func GetListVmClusterNetworksSortByEnumValues() []ListVmClusterNetworksSortByEnum

GetListVmClusterNetworksSortByEnumValues Enumerates the set of values for ListVmClusterNetworksSortByEnum

func GetMappingListVmClusterNetworksSortByEnum

func GetMappingListVmClusterNetworksSortByEnum(val string) (ListVmClusterNetworksSortByEnum, bool)

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

type ListVmClusterNetworksSortOrderEnum

type ListVmClusterNetworksSortOrderEnum string

ListVmClusterNetworksSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListVmClusterNetworksSortOrderEnum

func GetListVmClusterNetworksSortOrderEnumValues

func GetListVmClusterNetworksSortOrderEnumValues() []ListVmClusterNetworksSortOrderEnum

GetListVmClusterNetworksSortOrderEnumValues Enumerates the set of values for ListVmClusterNetworksSortOrderEnum

func GetMappingListVmClusterNetworksSortOrderEnum

func GetMappingListVmClusterNetworksSortOrderEnum(val string) (ListVmClusterNetworksSortOrderEnum, bool)

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

type ListVmClusterNetworksVmNetworkConsumerTypeEnum

type ListVmClusterNetworksVmNetworkConsumerTypeEnum string

ListVmClusterNetworksVmNetworkConsumerTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListVmClusterNetworksVmNetworkConsumerTypeEnum

func GetListVmClusterNetworksVmNetworkConsumerTypeEnumValues

func GetListVmClusterNetworksVmNetworkConsumerTypeEnumValues() []ListVmClusterNetworksVmNetworkConsumerTypeEnum

GetListVmClusterNetworksVmNetworkConsumerTypeEnumValues Enumerates the set of values for ListVmClusterNetworksVmNetworkConsumerTypeEnum

func GetMappingListVmClusterNetworksVmNetworkConsumerTypeEnum

func GetMappingListVmClusterNetworksVmNetworkConsumerTypeEnum(val string) (ListVmClusterNetworksVmNetworkConsumerTypeEnum, bool)

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

type ListVmInstancesRequest

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
}

ListVmInstancesRequest wrapper for the ListVmInstances operation

See also

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

func (ListVmInstancesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListVmInstancesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListVmInstancesRequest) RetryPolicy

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

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

func (ListVmInstancesRequest) String

func (request ListVmInstancesRequest) String() string

func (ListVmInstancesRequest) ValidateEnumValue

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

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

type ListVmInstancesResponse

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

ListVmInstancesResponse wrapper for the ListVmInstances operation

func (ListVmInstancesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListVmInstancesResponse) String

func (response ListVmInstancesResponse) String() string

type ListVmInstancesSortByEnum

type ListVmInstancesSortByEnum string

ListVmInstancesSortByEnum Enum with underlying type: string

const (
	ListVmInstancesSortByTimecreated     ListVmInstancesSortByEnum = "timeCreated"
	ListVmInstancesSortByDisplayname     ListVmInstancesSortByEnum = "displayName"
	ListVmInstancesSortByBuildidentifier ListVmInstancesSortByEnum = "buildIdentifier"
)

Set of constants representing the allowable values for ListVmInstancesSortByEnum

func GetListVmInstancesSortByEnumValues

func GetListVmInstancesSortByEnumValues() []ListVmInstancesSortByEnum

GetListVmInstancesSortByEnumValues Enumerates the set of values for ListVmInstancesSortByEnum

func GetMappingListVmInstancesSortByEnum

func GetMappingListVmInstancesSortByEnum(val string) (ListVmInstancesSortByEnum, bool)

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

type ListVmInstancesSortOrderEnum

type ListVmInstancesSortOrderEnum string

ListVmInstancesSortOrderEnum Enum with underlying type: string

const (
	ListVmInstancesSortOrderAsc  ListVmInstancesSortOrderEnum = "ASC"
	ListVmInstancesSortOrderDesc ListVmInstancesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListVmInstancesSortOrderEnum

func GetListVmInstancesSortOrderEnumValues

func GetListVmInstancesSortOrderEnumValues() []ListVmInstancesSortOrderEnum

GetListVmInstancesSortOrderEnumValues Enumerates the set of values for ListVmInstancesSortOrderEnum

func GetMappingListVmInstancesSortOrderEnum

func GetMappingListVmInstancesSortOrderEnum(val string) (ListVmInstancesSortOrderEnum, bool)

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

type ListWorkRequestErrorsRequest

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
}

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

See also

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

func (ListWorkRequestErrorsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy

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

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

func (ListWorkRequestErrorsRequest) String

func (request ListWorkRequestErrorsRequest) String() string

func (ListWorkRequestErrorsRequest) ValidateEnumValue

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

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

type ListWorkRequestErrorsResponse

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

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

func (ListWorkRequestErrorsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestErrorsSortOrderEnum

type ListWorkRequestErrorsSortOrderEnum string

ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestErrorsSortOrderEnumValues

func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum

GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)

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

type ListWorkRequestLogsRequest

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
}

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

See also

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

func (ListWorkRequestLogsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestLogsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy

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

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

func (ListWorkRequestLogsRequest) String

func (request ListWorkRequestLogsRequest) String() string

func (ListWorkRequestLogsRequest) ValidateEnumValue

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

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

type ListWorkRequestLogsResponse

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

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

func (ListWorkRequestLogsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestLogsSortOrderEnum

type ListWorkRequestLogsSortOrderEnum string

ListWorkRequestLogsSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestLogsSortOrderEnumValues

func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum

GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)

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

type ListWorkRequestsRequest

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
}

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

See also

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

func (ListWorkRequestsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy

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

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

func (ListWorkRequestsRequest) String

func (request ListWorkRequestsRequest) String() string

func (ListWorkRequestsRequest) ValidateEnumValue

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

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

type ListWorkRequestsResponse

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

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

func (ListWorkRequestsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String

func (response ListWorkRequestsResponse) String() string

type MaintenanceExecution

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

MaintenanceExecution Details of a maintenance executions.

func (MaintenanceExecution) String

func (m MaintenanceExecution) String() string

func (MaintenanceExecution) ValidateEnumValue

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

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

type MaintenanceExecutionCollection

type MaintenanceExecutionCollection struct {

	// A list of maintenance run execution history.
	Items []MaintenanceExecutionSummary `mandatory:"true" json:"items"`
}

MaintenanceExecutionCollection A collection of maintenance run execution history.

func (MaintenanceExecutionCollection) String

func (MaintenanceExecutionCollection) ValidateEnumValue

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

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

type MaintenanceExecutionSummary

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

MaintenanceExecutionSummary Summary of a maintenance executions.

func (MaintenanceExecutionSummary) String

func (MaintenanceExecutionSummary) ValidateEnumValue

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

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

type MaintenancePreferenceEnum

type MaintenancePreferenceEnum string

MaintenancePreferenceEnum Enum with underlying type: string

const (
	MaintenancePreferenceNoPreference     MaintenancePreferenceEnum = "NO_PREFERENCE"
	MaintenancePreferenceCustomPreference MaintenancePreferenceEnum = "CUSTOM_PREFERENCE"
)

Set of constants representing the allowable values for MaintenancePreferenceEnum

func GetMaintenancePreferenceEnumValues

func GetMaintenancePreferenceEnumValues() []MaintenancePreferenceEnum

GetMaintenancePreferenceEnumValues Enumerates the set of values for MaintenancePreferenceEnum

func GetMappingMaintenancePreferenceEnum

func GetMappingMaintenancePreferenceEnum(val string) (MaintenancePreferenceEnum, bool)

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

type MaintenanceRun

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

MaintenanceRun Details of a maintenance run.

func (MaintenanceRun) String

func (m MaintenanceRun) String() string

func (MaintenanceRun) ValidateEnumValue

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

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

type MaintenanceRunCollection

type MaintenanceRunCollection struct {

	// A list of maintenance runs.
	Items []MaintenanceRunSummary `mandatory:"true" json:"items"`
}

MaintenanceRunCollection A collection of maintenance runs.

func (MaintenanceRunCollection) String

func (m MaintenanceRunCollection) String() string

func (MaintenanceRunCollection) ValidateEnumValue

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

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

type MaintenanceRunLifecycleStateEnum

type MaintenanceRunLifecycleStateEnum string

MaintenanceRunLifecycleStateEnum Enum with underlying type: string

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"
)

Set of constants representing the allowable values for MaintenanceRunLifecycleStateEnum

func GetMaintenanceRunLifecycleStateEnumValues

func GetMaintenanceRunLifecycleStateEnumValues() []MaintenanceRunLifecycleStateEnum

GetMaintenanceRunLifecycleStateEnumValues Enumerates the set of values for MaintenanceRunLifecycleStateEnum

func GetMappingMaintenanceRunLifecycleStateEnum

func GetMappingMaintenanceRunLifecycleStateEnum(val string) (MaintenanceRunLifecycleStateEnum, bool)

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

type MaintenanceRunSummary

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

MaintenanceRunSummary Summary of a maintenance run.

func (MaintenanceRunSummary) String

func (m MaintenanceRunSummary) String() string

func (MaintenanceRunSummary) ValidateEnumValue

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

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

type MaintenanceSubtypeEnumEnum

type MaintenanceSubtypeEnumEnum string

MaintenanceSubtypeEnumEnum Enum with underlying type: string

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"
)

Set of constants representing the allowable values for MaintenanceSubtypeEnumEnum

func GetMaintenanceSubtypeEnumEnumValues

func GetMaintenanceSubtypeEnumEnumValues() []MaintenanceSubtypeEnumEnum

GetMaintenanceSubtypeEnumEnumValues Enumerates the set of values for MaintenanceSubtypeEnumEnum

func GetMappingMaintenanceSubtypeEnumEnum

func GetMappingMaintenanceSubtypeEnumEnum(val string) (MaintenanceSubtypeEnumEnum, bool)

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

type MaintenanceTypeEnumEnum

type MaintenanceTypeEnumEnum string

MaintenanceTypeEnumEnum Enum with underlying type: string

const (
	MaintenanceTypeEnumPlanned   MaintenanceTypeEnumEnum = "PLANNED"
	MaintenanceTypeEnumUnplanned MaintenanceTypeEnumEnum = "UNPLANNED"
)

Set of constants representing the allowable values for MaintenanceTypeEnumEnum

func GetMaintenanceTypeEnumEnumValues

func GetMaintenanceTypeEnumEnumValues() []MaintenanceTypeEnumEnum

GetMaintenanceTypeEnumEnumValues Enumerates the set of values for MaintenanceTypeEnumEnum

func GetMappingMaintenanceTypeEnumEnum

func GetMappingMaintenanceTypeEnumEnum(val string) (MaintenanceTypeEnumEnum, bool)

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

type MaintenanceWindow

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

MaintenanceWindow The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window.

func (MaintenanceWindow) String

func (m MaintenanceWindow) String() string

func (MaintenanceWindow) ValidateEnumValue

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

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

type MaintenanceWindowDaysOfWeekEnum

type MaintenanceWindowDaysOfWeekEnum string

MaintenanceWindowDaysOfWeekEnum Enum with underlying type: string

const (
	MaintenanceWindowDaysOfWeekMonday    MaintenanceWindowDaysOfWeekEnum = "MONDAY"
	MaintenanceWindowDaysOfWeekTuesday   MaintenanceWindowDaysOfWeekEnum = "TUESDAY"
	MaintenanceWindowDaysOfWeekWednesday MaintenanceWindowDaysOfWeekEnum = "WEDNESDAY"
	MaintenanceWindowDaysOfWeekThursday  MaintenanceWindowDaysOfWeekEnum = "THURSDAY"
	MaintenanceWindowDaysOfWeekFriday    MaintenanceWindowDaysOfWeekEnum = "FRIDAY"
	MaintenanceWindowDaysOfWeekSaturday  MaintenanceWindowDaysOfWeekEnum = "SATURDAY"
	MaintenanceWindowDaysOfWeekSunday    MaintenanceWindowDaysOfWeekEnum = "SUNDAY"
)

Set of constants representing the allowable values for MaintenanceWindowDaysOfWeekEnum

func GetMaintenanceWindowDaysOfWeekEnumValues

func GetMaintenanceWindowDaysOfWeekEnumValues() []MaintenanceWindowDaysOfWeekEnum

GetMaintenanceWindowDaysOfWeekEnumValues Enumerates the set of values for MaintenanceWindowDaysOfWeekEnum

func GetMappingMaintenanceWindowDaysOfWeekEnum

func GetMappingMaintenanceWindowDaysOfWeekEnum(val string) (MaintenanceWindowDaysOfWeekEnum, bool)

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

type MaintenanceWindowMonthsEnum

type MaintenanceWindowMonthsEnum string

MaintenanceWindowMonthsEnum Enum with underlying type: string

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"
)

Set of constants representing the allowable values for MaintenanceWindowMonthsEnum

func GetMaintenanceWindowMonthsEnumValues

func GetMaintenanceWindowMonthsEnumValues() []MaintenanceWindowMonthsEnum

GetMaintenanceWindowMonthsEnumValues Enumerates the set of values for MaintenanceWindowMonthsEnum

func GetMappingMaintenanceWindowMonthsEnum

func GetMappingMaintenanceWindowMonthsEnum(val string) (MaintenanceWindowMonthsEnum, bool)

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

type MigrateVmInstanceRequest

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
}

MigrateVmInstanceRequest wrapper for the MigrateVmInstance operation

See also

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

func (MigrateVmInstanceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (MigrateVmInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (MigrateVmInstanceRequest) RetryPolicy

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

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

func (MigrateVmInstanceRequest) String

func (request MigrateVmInstanceRequest) String() string

func (MigrateVmInstanceRequest) ValidateEnumValue

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

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

type MigrateVmInstanceResponse

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

MigrateVmInstanceResponse wrapper for the MigrateVmInstance operation

func (MigrateVmInstanceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (MigrateVmInstanceResponse) String

func (response MigrateVmInstanceResponse) String() string

type NetworkBondingInterfaceEnumEnum

type NetworkBondingInterfaceEnumEnum string

NetworkBondingInterfaceEnumEnum Enum with underlying type: string

const (
	NetworkBondingInterfaceEnumBtbond1 NetworkBondingInterfaceEnumEnum = "BTBOND1"
	NetworkBondingInterfaceEnumBtbond2 NetworkBondingInterfaceEnumEnum = "BTBOND2"
	NetworkBondingInterfaceEnumBtbond3 NetworkBondingInterfaceEnumEnum = "BTBOND3"
	NetworkBondingInterfaceEnumBtbond4 NetworkBondingInterfaceEnumEnum = "BTBOND4"
	NetworkBondingInterfaceEnumBtbond5 NetworkBondingInterfaceEnumEnum = "BTBOND5"
	NetworkBondingInterfaceEnumBtbond6 NetworkBondingInterfaceEnumEnum = "BTBOND6"
)

Set of constants representing the allowable values for NetworkBondingInterfaceEnumEnum

func GetMappingNetworkBondingInterfaceEnumEnum

func GetMappingNetworkBondingInterfaceEnumEnum(val string) (NetworkBondingInterfaceEnumEnum, bool)

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

func GetNetworkBondingInterfaceEnumEnumValues

func GetNetworkBondingInterfaceEnumEnumValues() []NetworkBondingInterfaceEnumEnum

GetNetworkBondingInterfaceEnumEnumValues Enumerates the set of values for NetworkBondingInterfaceEnumEnum

type NetworkBondingModeEnum

type NetworkBondingModeEnum string

NetworkBondingModeEnum Enum with underlying type: string

const (
	NetworkBondingModeActiveBackup NetworkBondingModeEnum = "ACTIVE_BACKUP"
	NetworkBondingModeLacp         NetworkBondingModeEnum = "LACP"
)

Set of constants representing the allowable values for NetworkBondingModeEnum

func GetMappingNetworkBondingModeEnum

func GetMappingNetworkBondingModeEnum(val string) (NetworkBondingModeEnum, bool)

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

func GetNetworkBondingModeEnumValues

func GetNetworkBondingModeEnumValues() []NetworkBondingModeEnum

GetNetworkBondingModeEnumValues Enumerates the set of values for NetworkBondingModeEnum

type NodeDetails

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

NodeDetails Node details associated with a VM cluster network.

func (NodeDetails) String

func (m NodeDetails) String() string

func (NodeDetails) ValidateEnumValue

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

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

type OperationStatusEnum

type OperationStatusEnum string

OperationStatusEnum Enum with underlying type: string

const (
	OperationStatusAccepted   OperationStatusEnum = "ACCEPTED"
	OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS"
	OperationStatusFailed     OperationStatusEnum = "FAILED"
	OperationStatusSucceeded  OperationStatusEnum = "SUCCEEDED"
	OperationStatusCanceling  OperationStatusEnum = "CANCELING"
	OperationStatusCanceled   OperationStatusEnum = "CANCELED"
	OperationStatusWaiting    OperationStatusEnum = "WAITING"
)

Set of constants representing the allowable values for OperationStatusEnum

func GetMappingOperationStatusEnum

func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)

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

func GetOperationStatusEnumValues

func GetOperationStatusEnumValues() []OperationStatusEnum

GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum

type OperationTypeEnum

type OperationTypeEnum string

OperationTypeEnum Enum with underlying type: string

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"
)

Set of constants representing the allowable values for OperationTypeEnum

func GetMappingOperationTypeEnum

func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)

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

func GetOperationTypeEnumValues

func GetOperationTypeEnumValues() []OperationTypeEnum

GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum

type PatchingModeEnumEnum

type PatchingModeEnumEnum string

PatchingModeEnumEnum Enum with underlying type: string

const (
	PatchingModeEnumRolling    PatchingModeEnumEnum = "ROLLING"
	PatchingModeEnumNonrolling PatchingModeEnumEnum = "NONROLLING"
)

Set of constants representing the allowable values for PatchingModeEnumEnum

func GetMappingPatchingModeEnumEnum

func GetMappingPatchingModeEnumEnum(val string) (PatchingModeEnumEnum, bool)

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

func GetPatchingModeEnumEnumValues

func GetPatchingModeEnumEnumValues() []PatchingModeEnumEnum

GetPatchingModeEnumEnumValues Enumerates the set of values for PatchingModeEnumEnum

type PatchingStatusEnumEnum

type PatchingStatusEnumEnum string

PatchingStatusEnumEnum Enum with underlying type: string

const (
	PatchingStatusEnumCreating  PatchingStatusEnumEnum = "CREATING"
	PatchingStatusEnumPatching  PatchingStatusEnumEnum = "PATCHING"
	PatchingStatusEnumWaiting   PatchingStatusEnumEnum = "WAITING"
	PatchingStatusEnumScheduled PatchingStatusEnumEnum = "SCHEDULED"
	PatchingStatusEnumComplete  PatchingStatusEnumEnum = "COMPLETE"
	PatchingStatusEnumFailed    PatchingStatusEnumEnum = "FAILED"
)

Set of constants representing the allowable values for PatchingStatusEnumEnum

func GetMappingPatchingStatusEnumEnum

func GetMappingPatchingStatusEnumEnum(val string) (PatchingStatusEnumEnum, bool)

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

func GetPatchingStatusEnumEnumValues

func GetPatchingStatusEnumEnumValues() []PatchingStatusEnumEnum

GetPatchingStatusEnumEnumValues Enumerates the set of values for PatchingStatusEnumEnum

type RescheduleMaintenanceRunDetails

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

RescheduleMaintenanceRunDetails Request parameters for rescheduling a maintenance run.

func (RescheduleMaintenanceRunDetails) String

func (RescheduleMaintenanceRunDetails) ValidateEnumValue

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

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

type RescheduleMaintenanceRunRequest

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
}

RescheduleMaintenanceRunRequest wrapper for the RescheduleMaintenanceRun operation

See also

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

func (RescheduleMaintenanceRunRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (RescheduleMaintenanceRunRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (RescheduleMaintenanceRunRequest) RetryPolicy

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

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

func (RescheduleMaintenanceRunRequest) String

func (request RescheduleMaintenanceRunRequest) String() string

func (RescheduleMaintenanceRunRequest) ValidateEnumValue

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

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

type RescheduleMaintenanceRunResponse

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

RescheduleMaintenanceRunResponse wrapper for the RescheduleMaintenanceRun operation

func (RescheduleMaintenanceRunResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (RescheduleMaintenanceRunResponse) String

func (response RescheduleMaintenanceRunResponse) String() string

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

RestartVmInstanceRequest wrapper for the RestartVmInstance operation

See also

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

func (RestartVmInstanceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (RestartVmInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (RestartVmInstanceRequest) RetryPolicy

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

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

func (RestartVmInstanceRequest) String

func (request RestartVmInstanceRequest) String() string

func (RestartVmInstanceRequest) ValidateEnumValue

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

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

type RestartVmInstanceResponse

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

RestartVmInstanceResponse wrapper for the RestartVmInstance operation

func (RestartVmInstanceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (RestartVmInstanceResponse) String

func (response RestartVmInstanceResponse) String() string

type ScaleInfrastructureStorageDetails

type ScaleInfrastructureStorageDetails struct {

	// The scale option to be selected for the infrastructure.
	SsdConfigurationRequested ShapeEnumEnum `mandatory:"false" json:"ssdConfigurationRequested,omitempty"`
}

ScaleInfrastructureStorageDetails The scale option to be selected for the infrastructure.

func (ScaleInfrastructureStorageDetails) String

func (ScaleInfrastructureStorageDetails) ValidateEnumValue

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

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

type ScaleInfrastructureStorageRequest

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
}

ScaleInfrastructureStorageRequest wrapper for the ScaleInfrastructureStorage operation

See also

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

func (ScaleInfrastructureStorageRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ScaleInfrastructureStorageRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ScaleInfrastructureStorageRequest) RetryPolicy

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

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

func (ScaleInfrastructureStorageRequest) String

func (request ScaleInfrastructureStorageRequest) String() string

func (ScaleInfrastructureStorageRequest) ValidateEnumValue

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

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

type ScaleInfrastructureStorageResponse

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

ScaleInfrastructureStorageResponse wrapper for the ScaleInfrastructureStorage operation

func (ScaleInfrastructureStorageResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ScaleInfrastructureStorageResponse) String

func (response ScaleInfrastructureStorageResponse) String() string

type ScaleVmInstanceDetails

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

ScaleVmInstanceDetails Scale the VM instance.

func (ScaleVmInstanceDetails) String

func (m ScaleVmInstanceDetails) String() string

func (ScaleVmInstanceDetails) ValidateEnumValue

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

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

type ScaleVmInstanceRequest

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
}

ScaleVmInstanceRequest wrapper for the ScaleVmInstance operation

See also

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

func (ScaleVmInstanceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ScaleVmInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ScaleVmInstanceRequest) RetryPolicy

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

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

func (ScaleVmInstanceRequest) String

func (request ScaleVmInstanceRequest) String() string

func (ScaleVmInstanceRequest) ValidateEnumValue

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

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

type ScaleVmInstanceResponse

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

ScaleVmInstanceResponse wrapper for the ScaleVmInstance operation

func (ScaleVmInstanceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ScaleVmInstanceResponse) String

func (response ScaleVmInstanceResponse) String() string

type ScanDetails

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

ScanDetails The Single Client Access Name (SCAN) details.

func (ScanDetails) String

func (m ScanDetails) String() string

func (ScanDetails) ValidateEnumValue

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

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

type ShapeEnumEnum

type ShapeEnumEnum string

ShapeEnumEnum Enum with underlying type: string

const (
	ShapeEnumSixSsds        ShapeEnumEnum = "SIX_SSDS"
	ShapeEnumTwelveSsds     ShapeEnumEnum = "TWELVE_SSDS"
	ShapeEnumEighteenSsds   ShapeEnumEnum = "EIGHTEEN_SSDS"
	ShapeEnumTwentyFourSsds ShapeEnumEnum = "TWENTY_FOUR_SSDS"
)

Set of constants representing the allowable values for ShapeEnumEnum

func GetMappingShapeEnumEnum

func GetMappingShapeEnumEnum(val string) (ShapeEnumEnum, bool)

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

func GetShapeEnumEnumValues

func GetShapeEnumEnumValues() []ShapeEnumEnum

GetShapeEnumEnumValues Enumerates the set of values for ShapeEnumEnum

type SortOrderEnum

type SortOrderEnum string

SortOrderEnum Enum with underlying type: string

const (
	SortOrderAsc  SortOrderEnum = "ASC"
	SortOrderDesc SortOrderEnum = "DESC"
)

Set of constants representing the allowable values for SortOrderEnum

func GetMappingSortOrderEnum

func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)

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

func GetSortOrderEnumValues

func GetSortOrderEnumValues() []SortOrderEnum

GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum

type StartVmInstanceRequest

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
}

StartVmInstanceRequest wrapper for the StartVmInstance operation

See also

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

func (StartVmInstanceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (StartVmInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (StartVmInstanceRequest) RetryPolicy

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

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

func (StartVmInstanceRequest) String

func (request StartVmInstanceRequest) String() string

func (StartVmInstanceRequest) ValidateEnumValue

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

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

type StartVmInstanceResponse

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

StartVmInstanceResponse wrapper for the StartVmInstance operation

func (StartVmInstanceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (StartVmInstanceResponse) String

func (response StartVmInstanceResponse) String() string

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

StopVmInstanceRequest wrapper for the StopVmInstance operation

See also

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

func (StopVmInstanceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (StopVmInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (StopVmInstanceRequest) RetryPolicy

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

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

func (StopVmInstanceRequest) String

func (request StopVmInstanceRequest) String() string

func (StopVmInstanceRequest) ValidateEnumValue

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

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

type StopVmInstanceResponse

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

StopVmInstanceResponse wrapper for the StopVmInstance operation

func (StopVmInstanceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (StopVmInstanceResponse) String

func (response StopVmInstanceResponse) String() string

type StorageCapacityDetails

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

StorageCapacityDetails Capacity details of the Storage disk group.

func (StorageCapacityDetails) String

func (m StorageCapacityDetails) String() string

func (StorageCapacityDetails) ValidateEnumValue

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

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

type StorageDiskRedundancyEnum

type StorageDiskRedundancyEnum string

StorageDiskRedundancyEnum Enum with underlying type: string

const (
	StorageDiskRedundancyHigh   StorageDiskRedundancyEnum = "HIGH"
	StorageDiskRedundancyMirror StorageDiskRedundancyEnum = "MIRROR"
	StorageDiskRedundancyFlex   StorageDiskRedundancyEnum = "FLEX"
)

Set of constants representing the allowable values for StorageDiskRedundancyEnum

func GetMappingStorageDiskRedundancyEnum

func GetMappingStorageDiskRedundancyEnum(val string) (StorageDiskRedundancyEnum, bool)

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

func GetStorageDiskRedundancyEnumValues

func GetStorageDiskRedundancyEnumValues() []StorageDiskRedundancyEnum

GetStorageDiskRedundancyEnumValues Enumerates the set of values for StorageDiskRedundancyEnum

type StorageTypeEnum

type StorageTypeEnum string

StorageTypeEnum Enum with underlying type: string

const (
	StorageTypeHighCapacity StorageTypeEnum = "HIGH_CAPACITY"
	StorageTypeExtended     StorageTypeEnum = "EXTENDED"
	StorageTypeExtremeFlash StorageTypeEnum = "EXTREME_FLASH"
)

Set of constants representing the allowable values for StorageTypeEnum

func GetMappingStorageTypeEnum

func GetMappingStorageTypeEnum(val string) (StorageTypeEnum, bool)

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

func GetStorageTypeEnumValues

func GetStorageTypeEnumValues() []StorageTypeEnum

GetStorageTypeEnumValues Enumerates the set of values for StorageTypeEnum

type SystemModelEnumEnum

type SystemModelEnumEnum string

SystemModelEnumEnum Enum with underlying type: string

const (
	SystemModelEnumX11Ha768 SystemModelEnumEnum = "X11_HA_768"
	SystemModelEnumX10Ha512 SystemModelEnumEnum = "X10_HA_512"
	SystemModelEnumX8Ha384  SystemModelEnumEnum = "X8_HA_384"
)

Set of constants representing the allowable values for SystemModelEnumEnum

func GetMappingSystemModelEnumEnum

func GetMappingSystemModelEnumEnum(val string) (SystemModelEnumEnum, bool)

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

func GetSystemModelEnumEnumValues

func GetSystemModelEnumEnumValues() []SystemModelEnumEnum

GetSystemModelEnumEnumValues Enumerates the set of values for SystemModelEnumEnum

type SystemStorageCapacityDetails

type SystemStorageCapacityDetails struct {

	// List of storage disk group capacity details.
	DiskGroups []DiskGroupCapacityDetails `mandatory:"false" json:"diskGroups"`

	Acfs *AcfsCapacityDetails `mandatory:"false" json:"acfs"`
}

SystemStorageCapacityDetails Capacity details of different storage types.

func (SystemStorageCapacityDetails) String

func (SystemStorageCapacityDetails) ValidateEnumValue

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

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

type TargetResourceTypeEnumEnum

type TargetResourceTypeEnumEnum string

TargetResourceTypeEnumEnum Enum with underlying type: string

const (
	TargetResourceTypeEnumDbCcInfrastructure TargetResourceTypeEnumEnum = "DB_CC_INFRASTRUCTURE"
)

Set of constants representing the allowable values for TargetResourceTypeEnumEnum

func GetMappingTargetResourceTypeEnumEnum

func GetMappingTargetResourceTypeEnumEnum(val string) (TargetResourceTypeEnumEnum, bool)

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

func GetTargetResourceTypeEnumEnumValues

func GetTargetResourceTypeEnumEnumValues() []TargetResourceTypeEnumEnum

GetTargetResourceTypeEnumEnumValues Enumerates the set of values for TargetResourceTypeEnumEnum

type TypeEnumEnum

type TypeEnumEnum string

TypeEnumEnum Enum with underlying type: string

const (
	TypeEnumNotify  TypeEnumEnum = "NOTIFY"
	TypeEnumExecute TypeEnumEnum = "EXECUTE"
)

Set of constants representing the allowable values for TypeEnumEnum

func GetMappingTypeEnumEnum

func GetMappingTypeEnumEnum(val string) (TypeEnumEnum, bool)

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

func GetTypeEnumEnumValues

func GetTypeEnumEnumValues() []TypeEnumEnum

GetTypeEnumEnumValues Enumerates the set of values for TypeEnumEnum

type UpdateInfrastructureDetails

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

UpdateInfrastructureDetails Request to update Database Infrastructure resource.

func (UpdateInfrastructureDetails) String

func (UpdateInfrastructureDetails) ValidateEnumValue

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

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

type UpdateInfrastructureRequest

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
}

UpdateInfrastructureRequest wrapper for the UpdateInfrastructure operation

See also

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

func (UpdateInfrastructureRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateInfrastructureRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateInfrastructureRequest) RetryPolicy

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

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

func (UpdateInfrastructureRequest) String

func (request UpdateInfrastructureRequest) String() string

func (UpdateInfrastructureRequest) ValidateEnumValue

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

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

type UpdateInfrastructureResponse

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

UpdateInfrastructureResponse wrapper for the UpdateInfrastructure operation

func (UpdateInfrastructureResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateInfrastructureResponse) String

func (response UpdateInfrastructureResponse) String() string

type UpdateMaintenanceRunDetails

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

UpdateMaintenanceRunDetails Request to update maintenance run resource.

func (UpdateMaintenanceRunDetails) String

func (UpdateMaintenanceRunDetails) ValidateEnumValue

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

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

type UpdateMaintenanceRunRequest

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
}

UpdateMaintenanceRunRequest wrapper for the UpdateMaintenanceRun operation

See also

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

func (UpdateMaintenanceRunRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateMaintenanceRunRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateMaintenanceRunRequest) RetryPolicy

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

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

func (UpdateMaintenanceRunRequest) String

func (request UpdateMaintenanceRunRequest) String() string

func (UpdateMaintenanceRunRequest) ValidateEnumValue

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

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

type UpdateMaintenanceRunResponse

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

UpdateMaintenanceRunResponse wrapper for the UpdateMaintenanceRun operation

func (UpdateMaintenanceRunResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateMaintenanceRunResponse) String

func (response UpdateMaintenanceRunResponse) String() string

type UpdateVmClusterNetworkDetails

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

UpdateVmClusterNetworkDetails Details for an VM cluster network.

func (UpdateVmClusterNetworkDetails) String

func (UpdateVmClusterNetworkDetails) ValidateEnumValue

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

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

type UpdateVmClusterNetworkRequest

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
}

UpdateVmClusterNetworkRequest wrapper for the UpdateVmClusterNetwork operation

See also

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

func (UpdateVmClusterNetworkRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateVmClusterNetworkRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateVmClusterNetworkRequest) RetryPolicy

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

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

func (UpdateVmClusterNetworkRequest) String

func (request UpdateVmClusterNetworkRequest) String() string

func (UpdateVmClusterNetworkRequest) ValidateEnumValue

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

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

type UpdateVmClusterNetworkResponse

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

UpdateVmClusterNetworkResponse wrapper for the UpdateVmClusterNetwork operation

func (UpdateVmClusterNetworkResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateVmClusterNetworkResponse) String

func (response UpdateVmClusterNetworkResponse) String() string

type UpdateVmInstanceDetails

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

UpdateVmInstanceDetails Updated VM instance details.

func (UpdateVmInstanceDetails) String

func (m UpdateVmInstanceDetails) String() string

func (UpdateVmInstanceDetails) ValidateEnumValue

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

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

type UpdateVmInstanceRequest

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
}

UpdateVmInstanceRequest wrapper for the UpdateVmInstance operation

See also

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

func (UpdateVmInstanceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateVmInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateVmInstanceRequest) RetryPolicy

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

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

func (UpdateVmInstanceRequest) String

func (request UpdateVmInstanceRequest) String() string

func (UpdateVmInstanceRequest) ValidateEnumValue

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

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

type UpdateVmInstanceResponse

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

UpdateVmInstanceResponse wrapper for the UpdateVmInstance operation

func (UpdateVmInstanceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateVmInstanceResponse) String

func (response UpdateVmInstanceResponse) String() string

type ValidateInfrastructureDetails

type ValidateInfrastructureDetails struct {

	// The validation zip file.
	ValidationZipFile []byte `mandatory:"true" json:"validationZipFile"`
}

ValidateInfrastructureDetails The validation details for the Database Infrastructure.

func (ValidateInfrastructureDetails) String

func (ValidateInfrastructureDetails) ValidateEnumValue

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

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

type ValidateInfrastructureRequest

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
}

ValidateInfrastructureRequest wrapper for the ValidateInfrastructure operation

See also

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

func (ValidateInfrastructureRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ValidateInfrastructureRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ValidateInfrastructureRequest) RetryPolicy

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

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

func (ValidateInfrastructureRequest) String

func (request ValidateInfrastructureRequest) String() string

func (ValidateInfrastructureRequest) ValidateEnumValue

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

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

type ValidateInfrastructureResponse

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

ValidateInfrastructureResponse wrapper for the ValidateInfrastructure operation

func (ValidateInfrastructureResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ValidateInfrastructureResponse) String

func (response ValidateInfrastructureResponse) String() string

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

ValidateVmClusterNetworkRequest wrapper for the ValidateVmClusterNetwork operation

See also

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

func (ValidateVmClusterNetworkRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ValidateVmClusterNetworkRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ValidateVmClusterNetworkRequest) RetryPolicy

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

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

func (ValidateVmClusterNetworkRequest) String

func (request ValidateVmClusterNetworkRequest) String() string

func (ValidateVmClusterNetworkRequest) ValidateEnumValue

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

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

type ValidateVmClusterNetworkResponse

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

ValidateVmClusterNetworkResponse wrapper for the ValidateVmClusterNetwork operation

func (ValidateVmClusterNetworkResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ValidateVmClusterNetworkResponse) String

func (response ValidateVmClusterNetworkResponse) String() string

type VmClusterNetwork

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

VmClusterNetwork Details of the VM cluster network on Database Infrastructure.

func (VmClusterNetwork) String

func (m VmClusterNetwork) String() string

func (VmClusterNetwork) ValidateEnumValue

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

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

type VmClusterNetworkCollection

type VmClusterNetworkCollection struct {

	// A list of VM cluster network resources.
	Items []VmClusterNetworkSummary `mandatory:"true" json:"items"`
}

VmClusterNetworkCollection A collection of VM cluster network Database Infrastructure resources.

func (VmClusterNetworkCollection) String

func (VmClusterNetworkCollection) ValidateEnumValue

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

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

type VmClusterNetworkLifecycleStateEnum

type VmClusterNetworkLifecycleStateEnum string

VmClusterNetworkLifecycleStateEnum Enum with underlying type: string

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"
)

Set of constants representing the allowable values for VmClusterNetworkLifecycleStateEnum

func GetMappingVmClusterNetworkLifecycleStateEnum

func GetMappingVmClusterNetworkLifecycleStateEnum(val string) (VmClusterNetworkLifecycleStateEnum, bool)

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

func GetVmClusterNetworkLifecycleStateEnumValues

func GetVmClusterNetworkLifecycleStateEnumValues() []VmClusterNetworkLifecycleStateEnum

GetVmClusterNetworkLifecycleStateEnumValues Enumerates the set of values for VmClusterNetworkLifecycleStateEnum

type VmClusterNetworkSummary

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

VmClusterNetworkSummary Summary of the VM cluster network on Database Infrastructure.

func (VmClusterNetworkSummary) String

func (m VmClusterNetworkSummary) String() string

func (VmClusterNetworkSummary) ValidateEnumValue

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

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

type VmClusterNetworkTypeEnum

type VmClusterNetworkTypeEnum string

VmClusterNetworkTypeEnum Enum with underlying type: string

const (
	VmClusterNetworkTypeClient VmClusterNetworkTypeEnum = "CLIENT"
	VmClusterNetworkTypeBackup VmClusterNetworkTypeEnum = "BACKUP"
)

Set of constants representing the allowable values for VmClusterNetworkTypeEnum

func GetMappingVmClusterNetworkTypeEnum

func GetMappingVmClusterNetworkTypeEnum(val string) (VmClusterNetworkTypeEnum, bool)

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

func GetVmClusterNetworkTypeEnumValues

func GetVmClusterNetworkTypeEnumValues() []VmClusterNetworkTypeEnum

GetVmClusterNetworkTypeEnumValues Enumerates the set of values for VmClusterNetworkTypeEnum

type VmInstance

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

VmInstance VM instance details.

func (VmInstance) String

func (m VmInstance) String() string

func (VmInstance) ValidateEnumValue

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

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

type VmInstanceCollection

type VmInstanceCollection struct {

	// A list of VM instance summary resources.
	Items []VmInstanceSummary `mandatory:"true" json:"items"`
}

VmInstanceCollection A collection of VM instance on Database Infrastructure summary resources.

func (VmInstanceCollection) String

func (m VmInstanceCollection) String() string

func (VmInstanceCollection) ValidateEnumValue

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

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

type VmInstanceLifecycleStateEnum

type VmInstanceLifecycleStateEnum string

VmInstanceLifecycleStateEnum Enum with underlying type: string

const (
	VmInstanceLifecycleStateCreating VmInstanceLifecycleStateEnum = "CREATING"
	VmInstanceLifecycleStateActive   VmInstanceLifecycleStateEnum = "ACTIVE"
	VmInstanceLifecycleStateInactive VmInstanceLifecycleStateEnum = "INACTIVE"
	VmInstanceLifecycleStateUpdating VmInstanceLifecycleStateEnum = "UPDATING"
	VmInstanceLifecycleStateDeleting VmInstanceLifecycleStateEnum = "DELETING"
	VmInstanceLifecycleStateDeleted  VmInstanceLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for VmInstanceLifecycleStateEnum

func GetMappingVmInstanceLifecycleStateEnum

func GetMappingVmInstanceLifecycleStateEnum(val string) (VmInstanceLifecycleStateEnum, bool)

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

func GetVmInstanceLifecycleStateEnumValues

func GetVmInstanceLifecycleStateEnumValues() []VmInstanceLifecycleStateEnum

GetVmInstanceLifecycleStateEnumValues Enumerates the set of values for VmInstanceLifecycleStateEnum

type VmInstanceSummary

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

VmInstanceSummary VM instance on Database Infrastructure summary.

func (VmInstanceSummary) String

func (m VmInstanceSummary) String() string

func (VmInstanceSummary) ValidateEnumValue

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

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

type VmNetworkConsumerTypeEnum

type VmNetworkConsumerTypeEnum string

VmNetworkConsumerTypeEnum Enum with underlying type: string

const (
	VmNetworkConsumerTypeInstance VmNetworkConsumerTypeEnum = "INSTANCE"
	VmNetworkConsumerTypeCluster  VmNetworkConsumerTypeEnum = "CLUSTER"
)

Set of constants representing the allowable values for VmNetworkConsumerTypeEnum

func GetMappingVmNetworkConsumerTypeEnum

func GetMappingVmNetworkConsumerTypeEnum(val string) (VmNetworkConsumerTypeEnum, bool)

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

func GetVmNetworkConsumerTypeEnumValues

func GetVmNetworkConsumerTypeEnumValues() []VmNetworkConsumerTypeEnum

GetVmNetworkConsumerTypeEnumValues Enumerates the set of values for VmNetworkConsumerTypeEnum

type VmNetworkDetails

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

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

func (VmNetworkDetails) String

func (m VmNetworkDetails) String() string

func (VmNetworkDetails) ValidateEnumValue

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

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

type WorkRequest

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

WorkRequest Work request details.

func (WorkRequest) String

func (m WorkRequest) String() string

func (WorkRequest) ValidateEnumValue

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

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

type WorkRequestCollection

type WorkRequestCollection struct {

	// A list of Work request resources.
	Items []WorkRequest `mandatory:"true" json:"items"`
}

WorkRequestCollection A collection of Work request resources.

func (WorkRequestCollection) String

func (m WorkRequestCollection) String() string

func (WorkRequestCollection) ValidateEnumValue

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

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

type WorkRequestError

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

WorkRequestError An error encountered while executing a work request.

func (WorkRequestError) String

func (m WorkRequestError) String() string

func (WorkRequestError) ValidateEnumValue

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

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

type WorkRequestErrorCollection

type WorkRequestErrorCollection struct {

	// A list of work request error resources.
	Items []WorkRequestError `mandatory:"true" json:"items"`
}

WorkRequestErrorCollection A collection of work request error resources.

func (WorkRequestErrorCollection) String

func (WorkRequestErrorCollection) ValidateEnumValue

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

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

type WorkRequestLogEntry

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

WorkRequestLogEntry A log message from the execution of a work request.

func (WorkRequestLogEntry) String

func (m WorkRequestLogEntry) String() string

func (WorkRequestLogEntry) ValidateEnumValue

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

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

type WorkRequestLogEntryCollection

type WorkRequestLogEntryCollection struct {

	// A list of work request log entry resources.
	Items []WorkRequestLogEntry `mandatory:"true" json:"items"`
}

WorkRequestLogEntryCollection A collection of work request log entry resources.

func (WorkRequestLogEntryCollection) String

func (WorkRequestLogEntryCollection) ValidateEnumValue

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

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

type WorkRequestResource

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

WorkRequestResource A resource created or operated on by a work request.

func (WorkRequestResource) String

func (m WorkRequestResource) String() string

func (WorkRequestResource) ValidateEnumValue

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

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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL