bds

package
v65.71.1 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: Apache-2.0, UPL-1.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetActionTypesEnumStringValues

func GetActionTypesEnumStringValues() []string

GetActionTypesEnumStringValues Enumerates the set of values in String for ActionTypesEnum

func GetAddBlockStorageDetailsNodeTypeEnumStringValues added in v65.3.0

func GetAddBlockStorageDetailsNodeTypeEnumStringValues() []string

GetAddBlockStorageDetailsNodeTypeEnumStringValues Enumerates the set of values in String for AddBlockStorageDetailsNodeTypeEnum

func GetAddWorkerNodesDetailsNodeTypeEnumStringValues added in v65.3.0

func GetAddWorkerNodesDetailsNodeTypeEnumStringValues() []string

GetAddWorkerNodesDetailsNodeTypeEnumStringValues Enumerates the set of values in String for AddWorkerNodesDetailsNodeTypeEnum

func GetAutoScalePolicyDetailsActionTypeEnumStringValues added in v65.3.0

func GetAutoScalePolicyDetailsActionTypeEnumStringValues() []string

GetAutoScalePolicyDetailsActionTypeEnumStringValues Enumerates the set of values in String for AutoScalePolicyDetailsActionTypeEnum

func GetAutoScalePolicyDetailsPolicyTypeEnumStringValues added in v65.3.0

func GetAutoScalePolicyDetailsPolicyTypeEnumStringValues() []string

GetAutoScalePolicyDetailsPolicyTypeEnumStringValues Enumerates the set of values in String for AutoScalePolicyDetailsPolicyTypeEnum

func GetAutoScalePolicyDetailsTriggerTypeEnumStringValues added in v65.3.0

func GetAutoScalePolicyDetailsTriggerTypeEnumStringValues() []string

GetAutoScalePolicyDetailsTriggerTypeEnumStringValues Enumerates the set of values in String for AutoScalePolicyDetailsTriggerTypeEnum

func GetAutoScalePolicyMetricRuleMetricTypeEnumStringValues

func GetAutoScalePolicyMetricRuleMetricTypeEnumStringValues() []string

GetAutoScalePolicyMetricRuleMetricTypeEnumStringValues Enumerates the set of values in String for AutoScalePolicyMetricRuleMetricTypeEnum

func GetAutoScalePolicyPolicyTypeEnumStringValues

func GetAutoScalePolicyPolicyTypeEnumStringValues() []string

GetAutoScalePolicyPolicyTypeEnumStringValues Enumerates the set of values in String for AutoScalePolicyPolicyTypeEnum

func GetAutoScalePolicyRuleActionEnumStringValues

func GetAutoScalePolicyRuleActionEnumStringValues() []string

GetAutoScalePolicyRuleActionEnumStringValues Enumerates the set of values in String for AutoScalePolicyRuleActionEnum

func GetAutoScalingConfigurationLifecycleStateEnumStringValues

func GetAutoScalingConfigurationLifecycleStateEnumStringValues() []string

GetAutoScalingConfigurationLifecycleStateEnumStringValues Enumerates the set of values in String for AutoScalingConfigurationLifecycleStateEnum

func GetBdsApiKeyLifecycleStateEnumStringValues

func GetBdsApiKeyLifecycleStateEnumStringValues() []string

GetBdsApiKeyLifecycleStateEnumStringValues Enumerates the set of values in String for BdsApiKeyLifecycleStateEnum

func GetBdsInstanceClusterProfileEnumStringValues added in v65.28.0

func GetBdsInstanceClusterProfileEnumStringValues() []string

GetBdsInstanceClusterProfileEnumStringValues Enumerates the set of values in String for BdsInstanceClusterProfileEnum

func GetBdsInstanceClusterVersionEnumStringValues

func GetBdsInstanceClusterVersionEnumStringValues() []string

GetBdsInstanceClusterVersionEnumStringValues Enumerates the set of values in String for BdsInstanceClusterVersionEnum

func GetBdsInstanceLifecycleStateEnumStringValues

func GetBdsInstanceLifecycleStateEnumStringValues() []string

GetBdsInstanceLifecycleStateEnumStringValues Enumerates the set of values in String for BdsInstanceLifecycleStateEnum

func GetBdsMetastoreConfigurationLifecycleStateEnumStringValues

func GetBdsMetastoreConfigurationLifecycleStateEnumStringValues() []string

GetBdsMetastoreConfigurationLifecycleStateEnumStringValues Enumerates the set of values in String for BdsMetastoreConfigurationLifecycleStateEnum

func GetBdsMetastoreConfigurationMetastoreTypeEnumStringValues

func GetBdsMetastoreConfigurationMetastoreTypeEnumStringValues() []string

GetBdsMetastoreConfigurationMetastoreTypeEnumStringValues Enumerates the set of values in String for BdsMetastoreConfigurationMetastoreTypeEnum

func GetCertificateServiceInfoSummaryServiceCertificateStatusEnumStringValues added in v65.53.0

func GetCertificateServiceInfoSummaryServiceCertificateStatusEnumStringValues() []string

GetCertificateServiceInfoSummaryServiceCertificateStatusEnumStringValues Enumerates the set of values in String for CertificateServiceInfoSummaryServiceCertificateStatusEnum

func GetCertificateServiceInfoSummaryServiceEnumStringValues added in v65.53.0

func GetCertificateServiceInfoSummaryServiceEnumStringValues() []string

GetCertificateServiceInfoSummaryServiceEnumStringValues Enumerates the set of values in String for CertificateServiceInfoSummaryServiceEnum

func GetHostSpecificCertificateDetailsCertificateTypeEnumStringValues added in v65.53.0

func GetHostSpecificCertificateDetailsCertificateTypeEnumStringValues() []string

GetHostSpecificCertificateDetailsCertificateTypeEnumStringValues Enumerates the set of values in String for HostSpecificCertificateDetailsCertificateTypeEnum

func GetLevelTypeDetailsLevelTypeEnumStringValues added in v65.65.3

func GetLevelTypeDetailsLevelTypeEnumStringValues() []string

GetLevelTypeDetailsLevelTypeEnumStringValues Enumerates the set of values in String for LevelTypeDetailsLevelTypeEnum

func GetListAutoScalingConfigurationsSortByEnumStringValues

func GetListAutoScalingConfigurationsSortByEnumStringValues() []string

GetListAutoScalingConfigurationsSortByEnumStringValues Enumerates the set of values in String for ListAutoScalingConfigurationsSortByEnum

func GetListAutoScalingConfigurationsSortOrderEnumStringValues

func GetListAutoScalingConfigurationsSortOrderEnumStringValues() []string

GetListAutoScalingConfigurationsSortOrderEnumStringValues Enumerates the set of values in String for ListAutoScalingConfigurationsSortOrderEnum

func GetListBdsApiKeysSortByEnumStringValues

func GetListBdsApiKeysSortByEnumStringValues() []string

GetListBdsApiKeysSortByEnumStringValues Enumerates the set of values in String for ListBdsApiKeysSortByEnum

func GetListBdsApiKeysSortOrderEnumStringValues

func GetListBdsApiKeysSortOrderEnumStringValues() []string

GetListBdsApiKeysSortOrderEnumStringValues Enumerates the set of values in String for ListBdsApiKeysSortOrderEnum

func GetListBdsInstancesSortByEnumStringValues

func GetListBdsInstancesSortByEnumStringValues() []string

GetListBdsInstancesSortByEnumStringValues Enumerates the set of values in String for ListBdsInstancesSortByEnum

func GetListBdsInstancesSortOrderEnumStringValues

func GetListBdsInstancesSortOrderEnumStringValues() []string

GetListBdsInstancesSortOrderEnumStringValues Enumerates the set of values in String for ListBdsInstancesSortOrderEnum

func GetListBdsMetastoreConfigurationsSortByEnumStringValues

func GetListBdsMetastoreConfigurationsSortByEnumStringValues() []string

GetListBdsMetastoreConfigurationsSortByEnumStringValues Enumerates the set of values in String for ListBdsMetastoreConfigurationsSortByEnum

func GetListBdsMetastoreConfigurationsSortOrderEnumStringValues

func GetListBdsMetastoreConfigurationsSortOrderEnumStringValues() []string

GetListBdsMetastoreConfigurationsSortOrderEnumStringValues Enumerates the set of values in String for ListBdsMetastoreConfigurationsSortOrderEnum

func GetListNodeBackupConfigurationsSortByEnumStringValues added in v65.65.3

func GetListNodeBackupConfigurationsSortByEnumStringValues() []string

GetListNodeBackupConfigurationsSortByEnumStringValues Enumerates the set of values in String for ListNodeBackupConfigurationsSortByEnum

func GetListNodeBackupConfigurationsSortOrderEnumStringValues added in v65.65.3

func GetListNodeBackupConfigurationsSortOrderEnumStringValues() []string

GetListNodeBackupConfigurationsSortOrderEnumStringValues Enumerates the set of values in String for ListNodeBackupConfigurationsSortOrderEnum

func GetListNodeBackupsSortByEnumStringValues added in v65.65.3

func GetListNodeBackupsSortByEnumStringValues() []string

GetListNodeBackupsSortByEnumStringValues Enumerates the set of values in String for ListNodeBackupsSortByEnum

func GetListNodeBackupsSortOrderEnumStringValues added in v65.65.3

func GetListNodeBackupsSortOrderEnumStringValues() []string

GetListNodeBackupsSortOrderEnumStringValues Enumerates the set of values in String for ListNodeBackupsSortOrderEnum

func GetListNodeReplaceConfigurationsSortByEnumStringValues added in v65.65.3

func GetListNodeReplaceConfigurationsSortByEnumStringValues() []string

GetListNodeReplaceConfigurationsSortByEnumStringValues Enumerates the set of values in String for ListNodeReplaceConfigurationsSortByEnum

func GetListNodeReplaceConfigurationsSortOrderEnumStringValues added in v65.65.3

func GetListNodeReplaceConfigurationsSortOrderEnumStringValues() []string

GetListNodeReplaceConfigurationsSortOrderEnumStringValues Enumerates the set of values in String for ListNodeReplaceConfigurationsSortOrderEnum

func GetListOsPatchesSortByEnumStringValues added in v65.44.0

func GetListOsPatchesSortByEnumStringValues() []string

GetListOsPatchesSortByEnumStringValues Enumerates the set of values in String for ListOsPatchesSortByEnum

func GetListOsPatchesSortOrderEnumStringValues added in v65.44.0

func GetListOsPatchesSortOrderEnumStringValues() []string

GetListOsPatchesSortOrderEnumStringValues Enumerates the set of values in String for ListOsPatchesSortOrderEnum

func GetListPatchHistoriesSortByEnumStringValues added in v65.3.0

func GetListPatchHistoriesSortByEnumStringValues() []string

GetListPatchHistoriesSortByEnumStringValues Enumerates the set of values in String for ListPatchHistoriesSortByEnum

func GetListPatchHistoriesSortOrderEnumStringValues added in v65.3.0

func GetListPatchHistoriesSortOrderEnumStringValues() []string

GetListPatchHistoriesSortOrderEnumStringValues Enumerates the set of values in String for ListPatchHistoriesSortOrderEnum

func GetListResourcePrincipalConfigurationsSortByEnumStringValues added in v65.71.0

func GetListResourcePrincipalConfigurationsSortByEnumStringValues() []string

GetListResourcePrincipalConfigurationsSortByEnumStringValues Enumerates the set of values in String for ListResourcePrincipalConfigurationsSortByEnum

func GetListResourcePrincipalConfigurationsSortOrderEnumStringValues added in v65.71.0

func GetListResourcePrincipalConfigurationsSortOrderEnumStringValues() []string

GetListResourcePrincipalConfigurationsSortOrderEnumStringValues Enumerates the set of values in String for ListResourcePrincipalConfigurationsSortOrderEnum

func GetListWorkRequestErrorsSortByEnumStringValues

func GetListWorkRequestErrorsSortByEnumStringValues() []string

GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortOrderEnumStringValues

func GetListWorkRequestErrorsSortOrderEnumStringValues() []string

GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestLogsSortByEnumStringValues

func GetListWorkRequestLogsSortByEnumStringValues() []string

GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortOrderEnumStringValues

func GetListWorkRequestLogsSortOrderEnumStringValues() []string

GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestsSortByEnumStringValues

func GetListWorkRequestsSortByEnumStringValues() []string

GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortOrderEnumStringValues

func GetListWorkRequestsSortOrderEnumStringValues() []string

GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum

func GetMetricThresholdRuleOperatorEnumStringValues

func GetMetricThresholdRuleOperatorEnumStringValues() []string

GetMetricThresholdRuleOperatorEnumStringValues Enumerates the set of values in String for MetricThresholdRuleOperatorEnum

func GetNodeBackupBackupTriggerTypeEnumStringValues added in v65.65.3

func GetNodeBackupBackupTriggerTypeEnumStringValues() []string

GetNodeBackupBackupTriggerTypeEnumStringValues Enumerates the set of values in String for NodeBackupBackupTriggerTypeEnum

func GetNodeBackupBackupTypeEnumStringValues added in v65.65.3

func GetNodeBackupBackupTypeEnumStringValues() []string

GetNodeBackupBackupTypeEnumStringValues Enumerates the set of values in String for NodeBackupBackupTypeEnum

func GetNodeBackupConfigurationLifecycleStateEnumStringValues added in v65.65.3

func GetNodeBackupConfigurationLifecycleStateEnumStringValues() []string

GetNodeBackupConfigurationLifecycleStateEnumStringValues Enumerates the set of values in String for NodeBackupConfigurationLifecycleStateEnum

func GetNodeBackupLifecycleStateEnumStringValues added in v65.65.3

func GetNodeBackupLifecycleStateEnumStringValues() []string

GetNodeBackupLifecycleStateEnumStringValues Enumerates the set of values in String for NodeBackupLifecycleStateEnum

func GetNodeLifecycleStateEnumStringValues

func GetNodeLifecycleStateEnumStringValues() []string

GetNodeLifecycleStateEnumStringValues Enumerates the set of values in String for NodeLifecycleStateEnum

func GetNodeNodeTypeEnumStringValues

func GetNodeNodeTypeEnumStringValues() []string

GetNodeNodeTypeEnumStringValues Enumerates the set of values in String for NodeNodeTypeEnum

func GetNodeReplaceConfigurationLifecycleStateEnumStringValues added in v65.65.3

func GetNodeReplaceConfigurationLifecycleStateEnumStringValues() []string

GetNodeReplaceConfigurationLifecycleStateEnumStringValues Enumerates the set of values in String for NodeReplaceConfigurationLifecycleStateEnum

func GetNodeReplaceConfigurationMetricTypeEnumStringValues added in v65.65.3

func GetNodeReplaceConfigurationMetricTypeEnumStringValues() []string

GetNodeReplaceConfigurationMetricTypeEnumStringValues Enumerates the set of values in String for NodeReplaceConfigurationMetricTypeEnum

func GetOdhPatchingConfigPatchingConfigStrategyEnumStringValues added in v65.71.0

func GetOdhPatchingConfigPatchingConfigStrategyEnumStringValues() []string

GetOdhPatchingConfigPatchingConfigStrategyEnumStringValues Enumerates the set of values in String for OdhPatchingConfigPatchingConfigStrategyEnum

func GetOperationStatusEnumStringValues

func GetOperationStatusEnumStringValues() []string

GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum

func GetOperationTypesEnumStringValues

func GetOperationTypesEnumStringValues() []string

GetOperationTypesEnumStringValues Enumerates the set of values in String for OperationTypesEnum

func GetOsPatchDetailsPatchTypeEnumStringValues added in v65.44.0

func GetOsPatchDetailsPatchTypeEnumStringValues() []string

GetOsPatchDetailsPatchTypeEnumStringValues Enumerates the set of values in String for OsPatchDetailsPatchTypeEnum

func GetOsPatchPackageSummaryUpdateTypeEnumStringValues added in v65.44.0

func GetOsPatchPackageSummaryUpdateTypeEnumStringValues() []string

GetOsPatchPackageSummaryUpdateTypeEnumStringValues Enumerates the set of values in String for OsPatchPackageSummaryUpdateTypeEnum

func GetPatchHistorySummaryLifecycleStateEnumStringValues added in v65.3.0

func GetPatchHistorySummaryLifecycleStateEnumStringValues() []string

GetPatchHistorySummaryLifecycleStateEnumStringValues Enumerates the set of values in String for PatchHistorySummaryLifecycleStateEnum

func GetPatchHistorySummaryPatchTypeEnumStringValues added in v65.44.0

func GetPatchHistorySummaryPatchTypeEnumStringValues() []string

GetPatchHistorySummaryPatchTypeEnumStringValues Enumerates the set of values in String for PatchHistorySummaryPatchTypeEnum

func GetPatchingConfigsPatchingConfigStrategyEnumStringValues added in v65.65.1

func GetPatchingConfigsPatchingConfigStrategyEnumStringValues() []string

GetPatchingConfigsPatchingConfigStrategyEnumStringValues Enumerates the set of values in String for PatchingConfigsPatchingConfigStrategyEnum

func GetResourcePrincipalConfigurationLifecycleStateEnumStringValues added in v65.71.0

func GetResourcePrincipalConfigurationLifecycleStateEnumStringValues() []string

GetResourcePrincipalConfigurationLifecycleStateEnumStringValues Enumerates the set of values in String for ResourcePrincipalConfigurationLifecycleStateEnum

func GetScheduleTypeEnumStringValues added in v65.3.0

func GetScheduleTypeEnumStringValues() []string

GetScheduleTypeEnumStringValues Enumerates the set of values in String for ScheduleTypeEnum

func GetServiceEnumStringValues added in v65.53.0

func GetServiceEnumStringValues() []string

GetServiceEnumStringValues Enumerates the set of values in String for ServiceEnum

func GetSortOrdersEnumStringValues

func GetSortOrdersEnumStringValues() []string

GetSortOrdersEnumStringValues Enumerates the set of values in String for SortOrdersEnum

Types

type ActionTypesEnum

type ActionTypesEnum string

ActionTypesEnum Enum with underlying type: string

const (
	ActionTypesCreated    ActionTypesEnum = "CREATED"
	ActionTypesUpdated    ActionTypesEnum = "UPDATED"
	ActionTypesDeleted    ActionTypesEnum = "DELETED"
	ActionTypesInProgress ActionTypesEnum = "IN_PROGRESS"
	ActionTypesFailed     ActionTypesEnum = "FAILED"
)

Set of constants representing the allowable values for ActionTypesEnum

func GetActionTypesEnumValues

func GetActionTypesEnumValues() []ActionTypesEnum

GetActionTypesEnumValues Enumerates the set of values for ActionTypesEnum

func GetMappingActionTypesEnum

func GetMappingActionTypesEnum(val string) (ActionTypesEnum, bool)

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

type ActivateBdsMetastoreConfigurationDetails

type ActivateBdsMetastoreConfigurationDetails struct {

	// Base-64 encoded password for the cluster admin user.
	ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"`

	// Base-64 encoded passphrase of the BDS Api Key. Set only if metastore's type is EXTERNAL.
	BdsApiKeyPassphrase *string `mandatory:"false" json:"bdsApiKeyPassphrase"`
}

ActivateBdsMetastoreConfigurationDetails The reqeust body when activating a BDS metastore configuration

func (ActivateBdsMetastoreConfigurationDetails) String

func (ActivateBdsMetastoreConfigurationDetails) ValidateEnumValue

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

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

type ActivateBdsMetastoreConfigurationRequest

type ActivateBdsMetastoreConfigurationRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// The metastore configuration ID
	MetastoreConfigId *string `mandatory:"true" contributesTo:"path" name:"metastoreConfigId"`

	// The request body when activating specified metastore configuration.
	ActivateBdsMetastoreConfigurationDetails `contributesTo:"body"`

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

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

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

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

ActivateBdsMetastoreConfigurationRequest wrapper for the ActivateBdsMetastoreConfiguration operation

See also

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

func (ActivateBdsMetastoreConfigurationRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (ActivateBdsMetastoreConfigurationRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ActivateBdsMetastoreConfigurationRequest) RetryPolicy

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

func (ActivateBdsMetastoreConfigurationRequest) String

func (ActivateBdsMetastoreConfigurationRequest) ValidateEnumValue

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

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

type ActivateBdsMetastoreConfigurationResponse

type ActivateBdsMetastoreConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

ActivateBdsMetastoreConfigurationResponse wrapper for the ActivateBdsMetastoreConfiguration operation

func (ActivateBdsMetastoreConfigurationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ActivateBdsMetastoreConfigurationResponse) String

type AddAutoScalePolicyDetails added in v65.3.0

type AddAutoScalePolicyDetails interface {
}

AddAutoScalePolicyDetails Policy definition for the autoscale configuration. An autoscaling policy is part of an autoscaling configuration. For more information, see Autoscaling (https://docs.cloud.oracle.com/iaas/Content/bigdata/create-cluster.htm#cluster-autoscale) You can create following type of autoscaling policies: - **MetricBasedVerticalScalingPolicy:** Vertical autoscaling action is triggered when a performance metric exceeds a threshold - **MetricBasedHorizontalScalingPolicy:** Horizontal autoscaling action is triggered when a performance metric exceeds a threshold - **ScheduleBasedVerticalScalingPolicy:** Vertical autoscaling action is triggered at the specific times that you schedule. - **ScheduleBasedHorizontalScalingPolicy:** Horizontal autoscaling action is triggered at the specific times that you schedule. An autoscaling configuration can have one of above supported policies.

type AddAutoScalingConfigurationDetails

type AddAutoScalingConfigurationDetails struct {

	// A node type that is managed by an autoscale configuration. The only supported types are WORKER and COMPUTE_ONLY_WORKER.
	NodeType NodeNodeTypeEnum `mandatory:"true" json:"nodeType"`

	// Whether the autoscale configuration is enabled.
	IsEnabled *bool `mandatory:"true" json:"isEnabled"`

	// Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
	ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"`

	// A user-friendly name. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	Policy *AutoScalePolicy `mandatory:"false" json:"policy"`

	PolicyDetails AddAutoScalePolicyDetails `mandatory:"false" json:"policyDetails"`
}

AddAutoScalingConfigurationDetails The information about the autoscale configuration.

func (AddAutoScalingConfigurationDetails) String

func (*AddAutoScalingConfigurationDetails) UnmarshalJSON added in v65.3.0

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

UnmarshalJSON unmarshals from json

func (AddAutoScalingConfigurationDetails) ValidateEnumValue

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

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

type AddAutoScalingConfigurationRequest

type AddAutoScalingConfigurationRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Details for creating an autoscale configuration.
	AddAutoScalingConfigurationDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error, without risk of executing that same action again. Retry tokens expire after 24
	// hours but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might 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
}

AddAutoScalingConfigurationRequest wrapper for the AddAutoScalingConfiguration operation

See also

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

func (AddAutoScalingConfigurationRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (AddAutoScalingConfigurationRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (AddAutoScalingConfigurationRequest) RetryPolicy

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

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

func (AddAutoScalingConfigurationRequest) String

func (request AddAutoScalingConfigurationRequest) String() string

func (AddAutoScalingConfigurationRequest) ValidateEnumValue

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

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

type AddAutoScalingConfigurationResponse

type AddAutoScalingConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

AddAutoScalingConfigurationResponse wrapper for the AddAutoScalingConfiguration operation

func (AddAutoScalingConfigurationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (AddAutoScalingConfigurationResponse) String

func (response AddAutoScalingConfigurationResponse) String() string

type AddBlockStorageDetails

type AddBlockStorageDetails struct {

	// Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
	ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"`

	// The size of block volume in GB to be added to each worker node. All the
	// details needed for attaching the block volume are managed by service itself.
	BlockVolumeSizeInGBs *int64 `mandatory:"true" json:"blockVolumeSizeInGBs"`

	// Worker node types.
	NodeType AddBlockStorageDetailsNodeTypeEnum `mandatory:"true" json:"nodeType"`
}

AddBlockStorageDetails The information about added block volumes.

func (AddBlockStorageDetails) String

func (m AddBlockStorageDetails) String() string

func (AddBlockStorageDetails) ValidateEnumValue

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

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

type AddBlockStorageDetailsNodeTypeEnum added in v65.3.0

type AddBlockStorageDetailsNodeTypeEnum string

AddBlockStorageDetailsNodeTypeEnum Enum with underlying type: string

const (
	AddBlockStorageDetailsNodeTypeWorker            AddBlockStorageDetailsNodeTypeEnum = "WORKER"
	AddBlockStorageDetailsNodeTypeComputeOnlyWorker AddBlockStorageDetailsNodeTypeEnum = "COMPUTE_ONLY_WORKER"
	AddBlockStorageDetailsNodeTypeKafkaBroker       AddBlockStorageDetailsNodeTypeEnum = "KAFKA_BROKER"
)

Set of constants representing the allowable values for AddBlockStorageDetailsNodeTypeEnum

func GetAddBlockStorageDetailsNodeTypeEnumValues added in v65.3.0

func GetAddBlockStorageDetailsNodeTypeEnumValues() []AddBlockStorageDetailsNodeTypeEnum

GetAddBlockStorageDetailsNodeTypeEnumValues Enumerates the set of values for AddBlockStorageDetailsNodeTypeEnum

func GetMappingAddBlockStorageDetailsNodeTypeEnum added in v65.3.0

func GetMappingAddBlockStorageDetailsNodeTypeEnum(val string) (AddBlockStorageDetailsNodeTypeEnum, bool)

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

type AddBlockStorageRequest

type AddBlockStorageRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Details for the added block storage.
	AddBlockStorageDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error, without risk of executing that same action again. Retry tokens expire after 24
	// hours but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might 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
}

AddBlockStorageRequest wrapper for the AddBlockStorage operation

See also

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

func (AddBlockStorageRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (AddBlockStorageRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (AddBlockStorageRequest) RetryPolicy

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

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

func (AddBlockStorageRequest) String

func (request AddBlockStorageRequest) String() string

func (AddBlockStorageRequest) ValidateEnumValue

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

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

type AddBlockStorageResponse

type AddBlockStorageResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

AddBlockStorageResponse wrapper for the AddBlockStorage operation

func (AddBlockStorageResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (AddBlockStorageResponse) String

func (response AddBlockStorageResponse) String() string

type AddCloudSqlDetails

type AddCloudSqlDetails struct {

	// Shape of the node.
	Shape *string `mandatory:"true" json:"shape"`

	// Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
	ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"`

	ShapeConfig *ShapeConfigDetails `mandatory:"false" json:"shapeConfig"`

	// The size of block volume in GB to be attached to the given node. All details needed for attaching the block volume are managed by the service itself.
	BlockVolumeSizeInGBs *int64 `mandatory:"false" json:"blockVolumeSizeInGBs"`
}

AddCloudSqlDetails The information about the added Cloud SQL.

func (AddCloudSqlDetails) String

func (m AddCloudSqlDetails) String() string

func (AddCloudSqlDetails) ValidateEnumValue

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

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

type AddCloudSqlRequest

type AddCloudSqlRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Details for the Cloud SQL capability
	AddCloudSqlDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error, without risk of executing that same action again. Retry tokens expire after 24
	// hours but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might 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
}

AddCloudSqlRequest wrapper for the AddCloudSql operation

See also

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

func (AddCloudSqlRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (AddCloudSqlRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (AddCloudSqlRequest) RetryPolicy

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

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

func (AddCloudSqlRequest) String

func (request AddCloudSqlRequest) String() string

func (AddCloudSqlRequest) ValidateEnumValue

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

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

type AddCloudSqlResponse

type AddCloudSqlResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

AddCloudSqlResponse wrapper for the AddCloudSql operation

func (AddCloudSqlResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (AddCloudSqlResponse) String

func (response AddCloudSqlResponse) String() string

type AddKafkaDetails added in v65.40.1

type AddKafkaDetails struct {

	// Shape of the Kafka broker node.
	Shape *string `mandatory:"true" json:"shape"`

	// Number of Kafka nodes for the cluster.
	NumberOfKafkaNodes *int `mandatory:"true" json:"numberOfKafkaNodes"`

	// Base-64 encoded password for the cluster admin user.
	ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"`

	ShapeConfig *ShapeConfigDetails `mandatory:"false" json:"shapeConfig"`

	// The size of block volme in GB to be attached to the given node. All details needed for attaching the block volume are managed by the service itself.
	BlockVolumeSizeInGBs *int64 `mandatory:"false" json:"blockVolumeSizeInGBs"`
}

AddKafkaDetails The information about the Kafka service to be added.

func (AddKafkaDetails) String added in v65.40.1

func (m AddKafkaDetails) String() string

func (AddKafkaDetails) ValidateEnumValue added in v65.40.1

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

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

type AddKafkaRequest added in v65.40.1

type AddKafkaRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Details of the Kafka broker nodes to employ to enable the service.
	AddKafkaDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error, without risk of executing that same action again. Retry tokens expire after 24
	// hours but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might 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
}

AddKafkaRequest wrapper for the AddKafka operation

See also

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

func (AddKafkaRequest) BinaryRequestBody added in v65.40.1

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

BinaryRequestBody implements the OCIRequest interface

func (AddKafkaRequest) HTTPRequest added in v65.40.1

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

HTTPRequest implements the OCIRequest interface

func (AddKafkaRequest) RetryPolicy added in v65.40.1

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

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

func (AddKafkaRequest) String added in v65.40.1

func (request AddKafkaRequest) String() string

func (AddKafkaRequest) ValidateEnumValue added in v65.40.1

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

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

type AddKafkaResponse added in v65.40.1

type AddKafkaResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

AddKafkaResponse wrapper for the AddKafka operation

func (AddKafkaResponse) HTTPResponse added in v65.40.1

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

HTTPResponse implements the OCIResponse interface

func (AddKafkaResponse) String added in v65.40.1

func (response AddKafkaResponse) String() string

type AddMasterNodesDetails added in v65.44.0

type AddMasterNodesDetails struct {

	// Base-64 encoded Cluster Admin Password for cluster admin user.
	ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"`

	// Number of additional master nodes for the cluster.
	NumberOfMasterNodes *int `mandatory:"true" json:"numberOfMasterNodes"`

	// Shape of the node. It's a read-only property derived from existing Master node.
	Shape *string `mandatory:"false" json:"shape"`

	// The size of block volume in GB to be attached to the given node. It's a read-only property.
	BlockVolumeSizeInGBs *int64 `mandatory:"false" json:"blockVolumeSizeInGBs"`

	ShapeConfig *ShapeConfigDetails `mandatory:"false" json:"shapeConfig"`
}

AddMasterNodesDetails The information about added master nodes.

func (AddMasterNodesDetails) String added in v65.44.0

func (m AddMasterNodesDetails) String() string

func (AddMasterNodesDetails) ValidateEnumValue added in v65.44.0

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

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

type AddMasterNodesRequest added in v65.44.0

type AddMasterNodesRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Details for the newly added nodes.
	AddMasterNodesDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error, without risk of executing that same action again. Retry tokens expire after 24
	// hours but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might 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
}

AddMasterNodesRequest wrapper for the AddMasterNodes operation

See also

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

func (AddMasterNodesRequest) BinaryRequestBody added in v65.44.0

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

BinaryRequestBody implements the OCIRequest interface

func (AddMasterNodesRequest) HTTPRequest added in v65.44.0

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

HTTPRequest implements the OCIRequest interface

func (AddMasterNodesRequest) RetryPolicy added in v65.44.0

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

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

func (AddMasterNodesRequest) String added in v65.44.0

func (request AddMasterNodesRequest) String() string

func (AddMasterNodesRequest) ValidateEnumValue added in v65.44.0

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

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

type AddMasterNodesResponse added in v65.44.0

type AddMasterNodesResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

AddMasterNodesResponse wrapper for the AddMasterNodes operation

func (AddMasterNodesResponse) HTTPResponse added in v65.44.0

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

HTTPResponse implements the OCIResponse interface

func (AddMasterNodesResponse) String added in v65.44.0

func (response AddMasterNodesResponse) String() string

type AddMetricBasedHorizontalScalingPolicyDetails added in v65.3.0

type AddMetricBasedHorizontalScalingPolicyDetails struct {
	ScaleOutConfig *MetricBasedHorizontalScaleOutConfig `mandatory:"false" json:"scaleOutConfig"`

	ScaleInConfig *MetricBasedHorizontalScaleInConfig `mandatory:"false" json:"scaleInConfig"`
}

AddMetricBasedHorizontalScalingPolicyDetails Details of a metric based horizontal autoscaling policy. In a metric-based autoscaling policy, an autoscaling action is triggered when a performance metric exceeds a threshold.

func (AddMetricBasedHorizontalScalingPolicyDetails) MarshalJSON added in v65.3.0

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

MarshalJSON marshals to json representation

func (AddMetricBasedHorizontalScalingPolicyDetails) String added in v65.3.0

func (AddMetricBasedHorizontalScalingPolicyDetails) ValidateEnumValue added in v65.3.0

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

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

type AddMetricBasedVerticalScalingPolicyDetails added in v65.3.0

type AddMetricBasedVerticalScalingPolicyDetails struct {
	ScaleUpConfig *MetricBasedVerticalScaleUpConfig `mandatory:"false" json:"scaleUpConfig"`

	ScaleDownConfig *MetricBasedVerticalScaleDownConfig `mandatory:"false" json:"scaleDownConfig"`
}

AddMetricBasedVerticalScalingPolicyDetails Details of a metric based vertical autoscaling policy. In a metric-based autoscaling policy, an autoscaling action is triggered when a performance metric exceeds a threshold.

func (AddMetricBasedVerticalScalingPolicyDetails) MarshalJSON added in v65.3.0

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

MarshalJSON marshals to json representation

func (AddMetricBasedVerticalScalingPolicyDetails) String added in v65.3.0

func (AddMetricBasedVerticalScalingPolicyDetails) ValidateEnumValue added in v65.3.0

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

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

type AddScheduleBasedHorizontalScalingPolicyDetails added in v65.3.0

type AddScheduleBasedHorizontalScalingPolicyDetails struct {

	// The time zone of the execution schedule, in IANA time zone database name format
	Timezone *string `mandatory:"false" json:"timezone"`

	// Details of a horizontal scaling schedule.
	ScheduleDetails []HorizontalScalingScheduleDetails `mandatory:"false" json:"scheduleDetails"`
}

AddScheduleBasedHorizontalScalingPolicyDetails Details of a schedule based horizontal autoscaling policy. In a schedule-based autoscaling policy, an autoscaling action is triggered at the scheduled execution time.

func (AddScheduleBasedHorizontalScalingPolicyDetails) MarshalJSON added in v65.3.0

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

MarshalJSON marshals to json representation

func (AddScheduleBasedHorizontalScalingPolicyDetails) String added in v65.3.0

func (*AddScheduleBasedHorizontalScalingPolicyDetails) UnmarshalJSON added in v65.3.0

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

UnmarshalJSON unmarshals from json

func (AddScheduleBasedHorizontalScalingPolicyDetails) ValidateEnumValue added in v65.3.0

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

type AddScheduleBasedVerticalScalingPolicyDetails added in v65.3.0

type AddScheduleBasedVerticalScalingPolicyDetails struct {

	// The time zone of the execution schedule, in IANA time zone database name format
	Timezone *string `mandatory:"false" json:"timezone"`

	// Details of a vertical scaling schedule.
	ScheduleDetails []VerticalScalingScheduleDetails `mandatory:"false" json:"scheduleDetails"`
}

AddScheduleBasedVerticalScalingPolicyDetails Details of a schedule based vertical autoscaling policy. In a schedule-based autoscaling policy, an autoscaling action is triggered at the scheduled execution time.

func (AddScheduleBasedVerticalScalingPolicyDetails) MarshalJSON added in v65.3.0

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

MarshalJSON marshals to json representation

func (AddScheduleBasedVerticalScalingPolicyDetails) String added in v65.3.0

func (*AddScheduleBasedVerticalScalingPolicyDetails) UnmarshalJSON added in v65.3.0

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

UnmarshalJSON unmarshals from json

func (AddScheduleBasedVerticalScalingPolicyDetails) ValidateEnumValue added in v65.3.0

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

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

type AddUtilityNodesDetails added in v65.44.0

type AddUtilityNodesDetails struct {

	// Base-64 encoded Cluster Admin Password for cluster admin user.
	ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"`

	// Number of additional utility nodes for the cluster.
	NumberOfUtilityNodes *int `mandatory:"true" json:"numberOfUtilityNodes"`

	// Shape of the node. It's a read-only property derived from existing Utility node.
	Shape *string `mandatory:"false" json:"shape"`

	// The size of block volume in GB to be attached to the given node. It's a read-only property.
	BlockVolumeSizeInGBs *int64 `mandatory:"false" json:"blockVolumeSizeInGBs"`

	ShapeConfig *ShapeConfigDetails `mandatory:"false" json:"shapeConfig"`
}

AddUtilityNodesDetails The information about added utility nodes.

func (AddUtilityNodesDetails) String added in v65.44.0

func (m AddUtilityNodesDetails) String() string

func (AddUtilityNodesDetails) ValidateEnumValue added in v65.44.0

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

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

type AddUtilityNodesRequest added in v65.44.0

type AddUtilityNodesRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Details for the newly added nodes.
	AddUtilityNodesDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error, without risk of executing that same action again. Retry tokens expire after 24
	// hours but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might 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
}

AddUtilityNodesRequest wrapper for the AddUtilityNodes operation

See also

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

func (AddUtilityNodesRequest) BinaryRequestBody added in v65.44.0

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

BinaryRequestBody implements the OCIRequest interface

func (AddUtilityNodesRequest) HTTPRequest added in v65.44.0

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

HTTPRequest implements the OCIRequest interface

func (AddUtilityNodesRequest) RetryPolicy added in v65.44.0

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

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

func (AddUtilityNodesRequest) String added in v65.44.0

func (request AddUtilityNodesRequest) String() string

func (AddUtilityNodesRequest) ValidateEnumValue added in v65.44.0

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

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

type AddUtilityNodesResponse added in v65.44.0

type AddUtilityNodesResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

AddUtilityNodesResponse wrapper for the AddUtilityNodes operation

func (AddUtilityNodesResponse) HTTPResponse added in v65.44.0

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

HTTPResponse implements the OCIResponse interface

func (AddUtilityNodesResponse) String added in v65.44.0

func (response AddUtilityNodesResponse) String() string

type AddWorkerNodesDetails

type AddWorkerNodesDetails struct {

	// Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
	ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"`

	// Number of additional worker nodes for the cluster.
	NumberOfWorkerNodes *int `mandatory:"true" json:"numberOfWorkerNodes"`

	// Worker node types, can either be Worker Data node or Compute only worker node.
	NodeType AddWorkerNodesDetailsNodeTypeEnum `mandatory:"true" json:"nodeType"`

	// Shape of the node. This has to be specified when adding compute only worker node at the first time. Otherwise, it's a read-only property.
	Shape *string `mandatory:"false" json:"shape"`

	// The size of block volume in GB to be attached to the given node. This has to be specified when adding compute only worker node at the first time. Otherwise, it's a read-only property.
	BlockVolumeSizeInGBs *int64 `mandatory:"false" json:"blockVolumeSizeInGBs"`

	ShapeConfig *ShapeConfigDetails `mandatory:"false" json:"shapeConfig"`
}

AddWorkerNodesDetails The information about added nodes.

func (AddWorkerNodesDetails) String

func (m AddWorkerNodesDetails) String() string

func (AddWorkerNodesDetails) ValidateEnumValue

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

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

type AddWorkerNodesDetailsNodeTypeEnum added in v65.3.0

type AddWorkerNodesDetailsNodeTypeEnum string

AddWorkerNodesDetailsNodeTypeEnum Enum with underlying type: string

const (
	AddWorkerNodesDetailsNodeTypeWorker            AddWorkerNodesDetailsNodeTypeEnum = "WORKER"
	AddWorkerNodesDetailsNodeTypeComputeOnlyWorker AddWorkerNodesDetailsNodeTypeEnum = "COMPUTE_ONLY_WORKER"
	AddWorkerNodesDetailsNodeTypeEdge              AddWorkerNodesDetailsNodeTypeEnum = "EDGE"
	AddWorkerNodesDetailsNodeTypeKafkaBroker       AddWorkerNodesDetailsNodeTypeEnum = "KAFKA_BROKER"
)

Set of constants representing the allowable values for AddWorkerNodesDetailsNodeTypeEnum

func GetAddWorkerNodesDetailsNodeTypeEnumValues added in v65.3.0

func GetAddWorkerNodesDetailsNodeTypeEnumValues() []AddWorkerNodesDetailsNodeTypeEnum

GetAddWorkerNodesDetailsNodeTypeEnumValues Enumerates the set of values for AddWorkerNodesDetailsNodeTypeEnum

func GetMappingAddWorkerNodesDetailsNodeTypeEnum added in v65.3.0

func GetMappingAddWorkerNodesDetailsNodeTypeEnum(val string) (AddWorkerNodesDetailsNodeTypeEnum, bool)

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

type AddWorkerNodesRequest

type AddWorkerNodesRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Details for the newly added nodes.
	AddWorkerNodesDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error, without risk of executing that same action again. Retry tokens expire after 24
	// hours but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might 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
}

AddWorkerNodesRequest wrapper for the AddWorkerNodes operation

See also

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

func (AddWorkerNodesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (AddWorkerNodesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (AddWorkerNodesRequest) RetryPolicy

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

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

func (AddWorkerNodesRequest) String

func (request AddWorkerNodesRequest) String() string

func (AddWorkerNodesRequest) ValidateEnumValue

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

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

type AddWorkerNodesResponse

type AddWorkerNodesResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

AddWorkerNodesResponse wrapper for the AddWorkerNodes operation

func (AddWorkerNodesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (AddWorkerNodesResponse) String

func (response AddWorkerNodesResponse) String() string

type AutoScalePolicy

type AutoScalePolicy struct {

	// Types of autoscale policies. Options are SCHEDULE-BASED or THRESHOLD-BASED. (Only THRESHOLD-BASED is supported in this release.)
	PolicyType AutoScalePolicyPolicyTypeEnum `mandatory:"true" json:"policyType"`

	// The list of rules for autoscaling. If an action has multiple rules, the last rule in the array will be applied.
	Rules []AutoScalePolicyRule `mandatory:"true" json:"rules"`
}

AutoScalePolicy This model for autoscaling policy is deprecated and not supported for ODH clusters. Use the `AutoScalePolicyDetails` model to manage autoscale policy details for ODH clusters.

func (AutoScalePolicy) String

func (m AutoScalePolicy) String() string

func (AutoScalePolicy) ValidateEnumValue

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

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

type AutoScalePolicyDetails added in v65.3.0

type AutoScalePolicyDetails interface {

	// The type of autoscaling trigger.
	GetTriggerType() AutoScalePolicyDetailsTriggerTypeEnum

	// The type of autoscaling action to take.
	GetActionType() AutoScalePolicyDetailsActionTypeEnum
}

AutoScalePolicyDetails Details of an autoscale policy. You can create following types of autoscaling policies: - **MetricBasedVerticalScalingPolicy:** Vertical autoscaling action is triggered when a performance metric exceeds a threshold - **MetricBasedHorizontalScalingPolicy:** Horizontal autoscaling action is triggered when a performance metric exceeds a threshold - **ScheduleBasedVerticalScalingPolicy:** Vertical autoscaling action is triggered at the specific times that you schedule. - **ScheduleBasedHorizontalScalingPolicy:** Horizontal autoscaling action is triggered at the specific times that you schedule.

type AutoScalePolicyDetailsActionTypeEnum added in v65.3.0

type AutoScalePolicyDetailsActionTypeEnum string

AutoScalePolicyDetailsActionTypeEnum Enum with underlying type: string

const (
	AutoScalePolicyDetailsActionTypeVerticalScaling   AutoScalePolicyDetailsActionTypeEnum = "VERTICAL_SCALING"
	AutoScalePolicyDetailsActionTypeHorizontalScaling AutoScalePolicyDetailsActionTypeEnum = "HORIZONTAL_SCALING"
)

Set of constants representing the allowable values for AutoScalePolicyDetailsActionTypeEnum

func GetAutoScalePolicyDetailsActionTypeEnumValues added in v65.3.0

func GetAutoScalePolicyDetailsActionTypeEnumValues() []AutoScalePolicyDetailsActionTypeEnum

GetAutoScalePolicyDetailsActionTypeEnumValues Enumerates the set of values for AutoScalePolicyDetailsActionTypeEnum

func GetMappingAutoScalePolicyDetailsActionTypeEnum added in v65.3.0

func GetMappingAutoScalePolicyDetailsActionTypeEnum(val string) (AutoScalePolicyDetailsActionTypeEnum, bool)

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

type AutoScalePolicyDetailsPolicyTypeEnum added in v65.3.0

type AutoScalePolicyDetailsPolicyTypeEnum string

AutoScalePolicyDetailsPolicyTypeEnum Enum with underlying type: string

const (
	AutoScalePolicyDetailsPolicyTypeMetricBasedVerticalScalingPolicy     AutoScalePolicyDetailsPolicyTypeEnum = "METRIC_BASED_VERTICAL_SCALING_POLICY"
	AutoScalePolicyDetailsPolicyTypeMetricBasedHorizontalScalingPolicy   AutoScalePolicyDetailsPolicyTypeEnum = "METRIC_BASED_HORIZONTAL_SCALING_POLICY"
	AutoScalePolicyDetailsPolicyTypeScheduleBasedVerticalScalingPolicy   AutoScalePolicyDetailsPolicyTypeEnum = "SCHEDULE_BASED_VERTICAL_SCALING_POLICY"
	AutoScalePolicyDetailsPolicyTypeScheduleBasedHorizontalScalingPolicy AutoScalePolicyDetailsPolicyTypeEnum = "SCHEDULE_BASED_HORIZONTAL_SCALING_POLICY"
)

Set of constants representing the allowable values for AutoScalePolicyDetailsPolicyTypeEnum

func GetAutoScalePolicyDetailsPolicyTypeEnumValues added in v65.3.0

func GetAutoScalePolicyDetailsPolicyTypeEnumValues() []AutoScalePolicyDetailsPolicyTypeEnum

GetAutoScalePolicyDetailsPolicyTypeEnumValues Enumerates the set of values for AutoScalePolicyDetailsPolicyTypeEnum

func GetMappingAutoScalePolicyDetailsPolicyTypeEnum added in v65.3.0

func GetMappingAutoScalePolicyDetailsPolicyTypeEnum(val string) (AutoScalePolicyDetailsPolicyTypeEnum, bool)

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

type AutoScalePolicyDetailsTriggerTypeEnum added in v65.3.0

type AutoScalePolicyDetailsTriggerTypeEnum string

AutoScalePolicyDetailsTriggerTypeEnum Enum with underlying type: string

const (
	AutoScalePolicyDetailsTriggerTypeMetricBased   AutoScalePolicyDetailsTriggerTypeEnum = "METRIC_BASED"
	AutoScalePolicyDetailsTriggerTypeScheduleBased AutoScalePolicyDetailsTriggerTypeEnum = "SCHEDULE_BASED"
)

Set of constants representing the allowable values for AutoScalePolicyDetailsTriggerTypeEnum

func GetAutoScalePolicyDetailsTriggerTypeEnumValues added in v65.3.0

func GetAutoScalePolicyDetailsTriggerTypeEnumValues() []AutoScalePolicyDetailsTriggerTypeEnum

GetAutoScalePolicyDetailsTriggerTypeEnumValues Enumerates the set of values for AutoScalePolicyDetailsTriggerTypeEnum

func GetMappingAutoScalePolicyDetailsTriggerTypeEnum added in v65.3.0

func GetMappingAutoScalePolicyDetailsTriggerTypeEnum(val string) (AutoScalePolicyDetailsTriggerTypeEnum, bool)

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

type AutoScalePolicyMetricRule

type AutoScalePolicyMetricRule struct {

	// Allowed values are CPU_UTILIZATION and MEMORY_UTILIZATION.
	MetricType AutoScalePolicyMetricRuleMetricTypeEnum `mandatory:"true" json:"metricType"`

	Threshold *MetricThresholdRule `mandatory:"true" json:"threshold"`
}

AutoScalePolicyMetricRule Metric and threshold details for triggering an autoscale action.

func (AutoScalePolicyMetricRule) String

func (m AutoScalePolicyMetricRule) String() string

func (AutoScalePolicyMetricRule) ValidateEnumValue

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

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

type AutoScalePolicyMetricRuleMetricTypeEnum

type AutoScalePolicyMetricRuleMetricTypeEnum string

AutoScalePolicyMetricRuleMetricTypeEnum Enum with underlying type: string

const (
	AutoScalePolicyMetricRuleMetricTypeCpuUtilization    AutoScalePolicyMetricRuleMetricTypeEnum = "CPU_UTILIZATION"
	AutoScalePolicyMetricRuleMetricTypeMemoryUtilization AutoScalePolicyMetricRuleMetricTypeEnum = "MEMORY_UTILIZATION"
)

Set of constants representing the allowable values for AutoScalePolicyMetricRuleMetricTypeEnum

func GetAutoScalePolicyMetricRuleMetricTypeEnumValues

func GetAutoScalePolicyMetricRuleMetricTypeEnumValues() []AutoScalePolicyMetricRuleMetricTypeEnum

GetAutoScalePolicyMetricRuleMetricTypeEnumValues Enumerates the set of values for AutoScalePolicyMetricRuleMetricTypeEnum

func GetMappingAutoScalePolicyMetricRuleMetricTypeEnum

func GetMappingAutoScalePolicyMetricRuleMetricTypeEnum(val string) (AutoScalePolicyMetricRuleMetricTypeEnum, bool)

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

type AutoScalePolicyPolicyTypeEnum

type AutoScalePolicyPolicyTypeEnum string

AutoScalePolicyPolicyTypeEnum Enum with underlying type: string

const (
	AutoScalePolicyPolicyTypeThresholdBased AutoScalePolicyPolicyTypeEnum = "THRESHOLD_BASED"
	AutoScalePolicyPolicyTypeScheduleBased  AutoScalePolicyPolicyTypeEnum = "SCHEDULE_BASED"
	AutoScalePolicyPolicyTypeNone           AutoScalePolicyPolicyTypeEnum = "NONE"
)

Set of constants representing the allowable values for AutoScalePolicyPolicyTypeEnum

func GetAutoScalePolicyPolicyTypeEnumValues

func GetAutoScalePolicyPolicyTypeEnumValues() []AutoScalePolicyPolicyTypeEnum

GetAutoScalePolicyPolicyTypeEnumValues Enumerates the set of values for AutoScalePolicyPolicyTypeEnum

func GetMappingAutoScalePolicyPolicyTypeEnum

func GetMappingAutoScalePolicyPolicyTypeEnum(val string) (AutoScalePolicyPolicyTypeEnum, bool)

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

type AutoScalePolicyRule

type AutoScalePolicyRule struct {

	// The valid value are CHANGE_SHAPE_SCALE_UP or CHANGE_SHAPE_SCALE_DOWN.
	Action AutoScalePolicyRuleActionEnum `mandatory:"true" json:"action"`

	Metric *AutoScalePolicyMetricRule `mandatory:"true" json:"metric"`
}

AutoScalePolicyRule A rule that defines a specific autoscale action to take and the metric that triggers that action.

func (AutoScalePolicyRule) String

func (m AutoScalePolicyRule) String() string

func (AutoScalePolicyRule) ValidateEnumValue

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

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

type AutoScalePolicyRuleActionEnum

type AutoScalePolicyRuleActionEnum string

AutoScalePolicyRuleActionEnum Enum with underlying type: string

const (
	AutoScalePolicyRuleActionUp   AutoScalePolicyRuleActionEnum = "CHANGE_SHAPE_SCALE_UP"
	AutoScalePolicyRuleActionDown AutoScalePolicyRuleActionEnum = "CHANGE_SHAPE_SCALE_DOWN"
)

Set of constants representing the allowable values for AutoScalePolicyRuleActionEnum

func GetAutoScalePolicyRuleActionEnumValues

func GetAutoScalePolicyRuleActionEnumValues() []AutoScalePolicyRuleActionEnum

GetAutoScalePolicyRuleActionEnumValues Enumerates the set of values for AutoScalePolicyRuleActionEnum

func GetMappingAutoScalePolicyRuleActionEnum

func GetMappingAutoScalePolicyRuleActionEnum(val string) (AutoScalePolicyRuleActionEnum, bool)

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

type AutoScalingConfiguration

type AutoScalingConfiguration struct {

	// The unique identifier for the autoscale configuration.
	Id *string `mandatory:"true" json:"id"`

	// A user-friendly name. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// A node type that is managed by an autoscale configuration. The only supported types are WORKER and COMPUTE_ONLY_WORKER.
	NodeType NodeNodeTypeEnum `mandatory:"true" json:"nodeType"`

	// The state of the autoscale configuration.
	LifecycleState AutoScalingConfigurationLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The time the cluster was created, shown as an RFC 3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The time the autoscale configuration was updated, shown as an RFC 3339 formatted datetime string.
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	Policy *AutoScalePolicy `mandatory:"true" json:"policy"`

	PolicyDetails AutoScalePolicyDetails `mandatory:"false" json:"policyDetails"`
}

AutoScalingConfiguration The information about the autoscale configuration.

func (AutoScalingConfiguration) String

func (m AutoScalingConfiguration) String() string

func (*AutoScalingConfiguration) UnmarshalJSON added in v65.3.0

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

UnmarshalJSON unmarshals from json

func (AutoScalingConfiguration) ValidateEnumValue

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

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

type AutoScalingConfigurationLifecycleStateEnum

type AutoScalingConfigurationLifecycleStateEnum string

AutoScalingConfigurationLifecycleStateEnum Enum with underlying type: string

const (
	AutoScalingConfigurationLifecycleStateCreating AutoScalingConfigurationLifecycleStateEnum = "CREATING"
	AutoScalingConfigurationLifecycleStateActive   AutoScalingConfigurationLifecycleStateEnum = "ACTIVE"
	AutoScalingConfigurationLifecycleStateInactive AutoScalingConfigurationLifecycleStateEnum = "INACTIVE"
	AutoScalingConfigurationLifecycleStateUpdating AutoScalingConfigurationLifecycleStateEnum = "UPDATING"
	AutoScalingConfigurationLifecycleStateDeleting AutoScalingConfigurationLifecycleStateEnum = "DELETING"
	AutoScalingConfigurationLifecycleStateDeleted  AutoScalingConfigurationLifecycleStateEnum = "DELETED"
	AutoScalingConfigurationLifecycleStateFailed   AutoScalingConfigurationLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for AutoScalingConfigurationLifecycleStateEnum

func GetAutoScalingConfigurationLifecycleStateEnumValues

func GetAutoScalingConfigurationLifecycleStateEnumValues() []AutoScalingConfigurationLifecycleStateEnum

GetAutoScalingConfigurationLifecycleStateEnumValues Enumerates the set of values for AutoScalingConfigurationLifecycleStateEnum

func GetMappingAutoScalingConfigurationLifecycleStateEnum

func GetMappingAutoScalingConfigurationLifecycleStateEnum(val string) (AutoScalingConfigurationLifecycleStateEnum, bool)

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

type AutoScalingConfigurationSummary

type AutoScalingConfigurationSummary struct {

	// The OCID of the autoscale configuration.
	Id *string `mandatory:"true" json:"id"`

	// A user-friendly name. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The state of the autoscale configuration.
	LifecycleState AutoScalingConfigurationLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// A node type that is managed by an autoscale configuration. The only supported types are WORKER and COMPUTE_ONLY_WORKER.
	NodeType NodeNodeTypeEnum `mandatory:"true" json:"nodeType"`

	// The time the cluster was created, shown as an RFC 3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The time the autoscale configuration was updated, shown as an RFC 3339 formatted datetime string.
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	Policy *AutoScalePolicy `mandatory:"true" json:"policy"`

	PolicyDetails AutoScalePolicyDetails `mandatory:"false" json:"policyDetails"`
}

AutoScalingConfigurationSummary The information about the autoscale configuration.

func (AutoScalingConfigurationSummary) String

func (*AutoScalingConfigurationSummary) UnmarshalJSON added in v65.3.0

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

UnmarshalJSON unmarshals from json

func (AutoScalingConfigurationSummary) ValidateEnumValue

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

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

type BackupNodeDetails added in v65.65.3

type BackupNodeDetails struct {
	LevelTypeDetails LevelTypeDetails `mandatory:"true" json:"levelTypeDetails"`

	// Incremental backup type includes only the changes since the last backup. Full backup type includes all changes since the volume was created.
	BackupType NodeBackupBackupTypeEnum `mandatory:"false" json:"backupType,omitempty"`
}

BackupNodeDetails The information about the nodes to backup.

func (BackupNodeDetails) String added in v65.65.3

func (m BackupNodeDetails) String() string

func (*BackupNodeDetails) UnmarshalJSON added in v65.65.3

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

UnmarshalJSON unmarshals from json

func (BackupNodeDetails) ValidateEnumValue added in v65.65.3

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

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

type BackupNodeRequest added in v65.65.3

type BackupNodeRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Details for Taking the node's backup
	BackupNodeDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error, without risk of executing that same action again. Retry tokens expire after 24
	// hours but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might 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
}

BackupNodeRequest wrapper for the BackupNode operation

See also

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

func (BackupNodeRequest) BinaryRequestBody added in v65.65.3

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

BinaryRequestBody implements the OCIRequest interface

func (BackupNodeRequest) HTTPRequest added in v65.65.3

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

HTTPRequest implements the OCIRequest interface

func (BackupNodeRequest) RetryPolicy added in v65.65.3

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

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

func (BackupNodeRequest) String added in v65.65.3

func (request BackupNodeRequest) String() string

func (BackupNodeRequest) ValidateEnumValue added in v65.65.3

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

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

type BackupNodeResponse added in v65.65.3

type BackupNodeResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

BackupNodeResponse wrapper for the BackupNode operation

func (BackupNodeResponse) HTTPResponse added in v65.65.3

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

HTTPResponse implements the OCIResponse interface

func (BackupNodeResponse) String added in v65.65.3

func (response BackupNodeResponse) String() string

type BatchingBasedOdhPatchingConfig added in v65.71.0

type BatchingBasedOdhPatchingConfig struct {

	// How many nodes to be patched in each iteration.
	BatchSize *int `mandatory:"true" json:"batchSize"`

	// The wait time between batches in seconds.
	WaitTimeBetweenBatchInSeconds *int `mandatory:"true" json:"waitTimeBetweenBatchInSeconds"`
}

BatchingBasedOdhPatchingConfig Patching configurations which allows patch the nodes batch by batch.

func (BatchingBasedOdhPatchingConfig) MarshalJSON added in v65.71.0

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

MarshalJSON marshals to json representation

func (BatchingBasedOdhPatchingConfig) String added in v65.71.0

func (BatchingBasedOdhPatchingConfig) ValidateEnumValue added in v65.71.0

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

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

type BatchingBasedPatchingConfigs added in v65.65.1

type BatchingBasedPatchingConfigs struct {

	// How many nodes to be patched and rebooted in each iteration.
	BatchSize *int `mandatory:"true" json:"batchSize"`

	// The wait time between batches in seconds.
	WaitTimeBetweenBatchInSeconds *int `mandatory:"true" json:"waitTimeBetweenBatchInSeconds"`

	// Acceptable number of failed-to-be-patched nodes in each batch. The maximum number of failed-to-patch nodes cannot exceed 20% of the number of nodes.
	ToleranceThresholdPerBatch *int `mandatory:"true" json:"toleranceThresholdPerBatch"`
}

BatchingBasedPatchingConfigs Configuration that applies the patch in batches, the batch size is a user defined parameter.

func (BatchingBasedPatchingConfigs) MarshalJSON added in v65.65.1

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

MarshalJSON marshals to json representation

func (BatchingBasedPatchingConfigs) String added in v65.65.1

func (BatchingBasedPatchingConfigs) ValidateEnumValue added in v65.65.1

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

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

type BdsApiKey

type BdsApiKey struct {

	// Identifier of the user's API key.
	Id *string `mandatory:"true" json:"id"`

	// The user OCID for which this API key was created.
	UserId *string `mandatory:"true" json:"userId"`

	// User friendly identifier used to uniquely differentiate between different API keys.
	// Only ASCII alphanumeric characters with no spaces allowed.
	KeyAlias *string `mandatory:"true" json:"keyAlias"`

	// The name of the region to establish the Object Storage endpoint. Example us-phoenix-1 .
	DefaultRegion *string `mandatory:"true" json:"defaultRegion"`

	// The OCID of your tenancy.
	TenantId *string `mandatory:"true" json:"tenantId"`

	// The fingerprint that corresponds to the public API key requested.
	Fingerprint *string `mandatory:"true" json:"fingerprint"`

	// The full path and file name of the private key used for authentication. This location will be automatically selected
	// on the BDS local file system.
	Pemfilepath *string `mandatory:"true" json:"pemfilepath"`

	// The state of the key.
	LifecycleState BdsApiKeyLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The time the API key was created, shown as an RFC 3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
}

BdsApiKey The API key information.

func (BdsApiKey) String

func (m BdsApiKey) String() string

func (BdsApiKey) ValidateEnumValue

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

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

type BdsApiKeyLifecycleStateEnum

type BdsApiKeyLifecycleStateEnum string

BdsApiKeyLifecycleStateEnum Enum with underlying type: string

const (
	BdsApiKeyLifecycleStateCreating BdsApiKeyLifecycleStateEnum = "CREATING"
	BdsApiKeyLifecycleStateActive   BdsApiKeyLifecycleStateEnum = "ACTIVE"
	BdsApiKeyLifecycleStateDeleting BdsApiKeyLifecycleStateEnum = "DELETING"
	BdsApiKeyLifecycleStateDeleted  BdsApiKeyLifecycleStateEnum = "DELETED"
	BdsApiKeyLifecycleStateFailed   BdsApiKeyLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for BdsApiKeyLifecycleStateEnum

func GetBdsApiKeyLifecycleStateEnumValues

func GetBdsApiKeyLifecycleStateEnumValues() []BdsApiKeyLifecycleStateEnum

GetBdsApiKeyLifecycleStateEnumValues Enumerates the set of values for BdsApiKeyLifecycleStateEnum

func GetMappingBdsApiKeyLifecycleStateEnum

func GetMappingBdsApiKeyLifecycleStateEnum(val string) (BdsApiKeyLifecycleStateEnum, bool)

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

type BdsApiKeySummary

type BdsApiKeySummary struct {

	// Identifier of the user's API key.
	Id *string `mandatory:"true" json:"id"`

	// User friendly identifier used to uniquely differentiate between different API keys.
	// Only ASCII alphanumeric characters with no spaces allowed.
	KeyAlias *string `mandatory:"true" json:"keyAlias"`

	// The current status of the API key.
	LifecycleState BdsApiKeyLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The name of the region to establish the Object Storage endpoint which was set as part of key creation operation.
	// If no region was provided this will be set to be the same region where the cluster lives. Example us-phoenix-1 .
	DefaultRegion *string `mandatory:"true" json:"defaultRegion"`

	// The time the API key was created, shown as an RFC 3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
}

BdsApiKeySummary The API key summary.

func (BdsApiKeySummary) String

func (m BdsApiKeySummary) String() string

func (BdsApiKeySummary) ValidateEnumValue

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

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

type BdsClient

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

BdsClient a client for Bds

func NewBdsClientWithConfigurationProvider

func NewBdsClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client BdsClient, err error)

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

func NewBdsClientWithOboToken

func NewBdsClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client BdsClient, err error)

NewBdsClientWithOboToken Creates a new default Bds 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 (BdsClient) ActivateBdsMetastoreConfiguration

func (client BdsClient) ActivateBdsMetastoreConfiguration(ctx context.Context, request ActivateBdsMetastoreConfigurationRequest) (response ActivateBdsMetastoreConfigurationResponse, err error)

ActivateBdsMetastoreConfiguration Activate specified metastore configuration.

See also

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

func (BdsClient) AddAutoScalingConfiguration

func (client BdsClient) AddAutoScalingConfiguration(ctx context.Context, request AddAutoScalingConfigurationRequest) (response AddAutoScalingConfigurationResponse, err error)

AddAutoScalingConfiguration Add an autoscale configuration to the cluster.

See also

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

func (BdsClient) AddBlockStorage

func (client BdsClient) AddBlockStorage(ctx context.Context, request AddBlockStorageRequest) (response AddBlockStorageResponse, err error)

AddBlockStorage Adds block storage to existing worker/compute only worker nodes. The same amount of storage will be added to all worker/compute only worker nodes. No change will be made to storage that is already attached. Block storage cannot be removed.

See also

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

func (BdsClient) AddCloudSql

func (client BdsClient) AddCloudSql(ctx context.Context, request AddCloudSqlRequest) (response AddCloudSqlResponse, err error)

AddCloudSql Adds Cloud SQL to your cluster. You can use Cloud SQL to query against non-relational data stored in multiple big data sources, including Apache Hive, HDFS, Oracle NoSQL Database, and Apache HBase. Adding Cloud SQL adds a query server node to the cluster and creates cell servers on all the worker nodes in the cluster.

See also

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

func (BdsClient) AddKafka added in v65.40.1

func (client BdsClient) AddKafka(ctx context.Context, request AddKafkaRequest) (response AddKafkaResponse, err error)

AddKafka Adds Kafka to a cluster.

See also

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

func (BdsClient) AddMasterNodes added in v65.44.0

func (client BdsClient) AddMasterNodes(ctx context.Context, request AddMasterNodesRequest) (response AddMasterNodesResponse, err error)

AddMasterNodes Increases the size (scales out) of a cluster by adding master nodes. The added master nodes will have the same shape and will have the same amount of attached block storage as other master nodes in the cluster.

See also

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

func (BdsClient) AddUtilityNodes added in v65.44.0

func (client BdsClient) AddUtilityNodes(ctx context.Context, request AddUtilityNodesRequest) (response AddUtilityNodesResponse, err error)

AddUtilityNodes Increases the size (scales out) of a cluster by adding utility nodes. The added utility nodes will have the same shape and will have the same amount of attached block storage as other utility nodes in the cluster.

See also

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

func (BdsClient) AddWorkerNodes

func (client BdsClient) AddWorkerNodes(ctx context.Context, request AddWorkerNodesRequest) (response AddWorkerNodesResponse, err error)

AddWorkerNodes Increases the size (scales out) a cluster by adding worker nodes(data/compute). The added worker nodes will have the same shape and will have the same amount of attached block storage as other worker nodes in the cluster.

See also

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

func (BdsClient) BackupNode added in v65.65.3

func (client BdsClient) BackupNode(ctx context.Context, request BackupNodeRequest) (response BackupNodeResponse, err error)

BackupNode Takes a backup of of given nodes.

See also

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

func (BdsClient) CertificateServiceInfo added in v65.53.0

func (client BdsClient) CertificateServiceInfo(ctx context.Context, request CertificateServiceInfoRequest) (response CertificateServiceInfoResponse, err error)

CertificateServiceInfo A list of services and their certificate details.

See also

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

func (BdsClient) ChangeBdsInstanceCompartment

func (client BdsClient) ChangeBdsInstanceCompartment(ctx context.Context, request ChangeBdsInstanceCompartmentRequest) (response ChangeBdsInstanceCompartmentResponse, err error)

ChangeBdsInstanceCompartment Moves a Big Data Service cluster into a different compartment.

See also

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

func (BdsClient) ChangeShape

func (client BdsClient) ChangeShape(ctx context.Context, request ChangeShapeRequest) (response ChangeShapeResponse, err error)

ChangeShape Changes the size of a cluster by scaling up or scaling down the nodes. Nodes are scaled up or down by changing the shapes of all the nodes of the same type to the next larger or smaller shape. The node types are master, utility, worker, and Cloud SQL. Only nodes with VM-STANDARD shapes can be scaled.

See also

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

func (*BdsClient) ConfigurationProvider

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

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

func (BdsClient) CreateBdsApiKey

func (client BdsClient) CreateBdsApiKey(ctx context.Context, request CreateBdsApiKeyRequest) (response CreateBdsApiKeyResponse, err error)

CreateBdsApiKey Create an API key on behalf of the specified user.

See also

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

func (BdsClient) CreateBdsInstance

func (client BdsClient) CreateBdsInstance(ctx context.Context, request CreateBdsInstanceRequest) (response CreateBdsInstanceResponse, err error)

CreateBdsInstance Creates a Big Data Service cluster.

See also

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

func (BdsClient) CreateBdsMetastoreConfiguration

func (client BdsClient) CreateBdsMetastoreConfiguration(ctx context.Context, request CreateBdsMetastoreConfigurationRequest) (response CreateBdsMetastoreConfigurationResponse, err error)

CreateBdsMetastoreConfiguration Create and activate external metastore configuration.

See also

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

func (BdsClient) CreateNodeBackupConfiguration added in v65.65.3

func (client BdsClient) CreateNodeBackupConfiguration(ctx context.Context, request CreateNodeBackupConfigurationRequest) (response CreateNodeBackupConfigurationResponse, err error)

CreateNodeBackupConfiguration Add a node volume backup configuration to the cluster for an indicated node type or node.

See also

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

func (BdsClient) CreateNodeReplaceConfiguration added in v65.65.3

func (client BdsClient) CreateNodeReplaceConfiguration(ctx context.Context, request CreateNodeReplaceConfigurationRequest) (response CreateNodeReplaceConfigurationResponse, err error)

CreateNodeReplaceConfiguration Add a nodeReplaceConfigurations to the cluster.

See also

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

func (BdsClient) CreateResourcePrincipalConfiguration added in v65.71.0

func (client BdsClient) CreateResourcePrincipalConfiguration(ctx context.Context, request CreateResourcePrincipalConfigurationRequest) (response CreateResourcePrincipalConfigurationResponse, err error)

CreateResourcePrincipalConfiguration Create a resource principal session token configuration.

See also

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

func (BdsClient) DeleteBdsApiKey

func (client BdsClient) DeleteBdsApiKey(ctx context.Context, request DeleteBdsApiKeyRequest) (response DeleteBdsApiKeyResponse, err error)

DeleteBdsApiKey Deletes the user's API key represented by the provided ID.

See also

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

func (BdsClient) DeleteBdsInstance

func (client BdsClient) DeleteBdsInstance(ctx context.Context, request DeleteBdsInstanceRequest) (response DeleteBdsInstanceResponse, err error)

DeleteBdsInstance Deletes the cluster identified by the given ID.

See also

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

func (BdsClient) DeleteBdsMetastoreConfiguration

func (client BdsClient) DeleteBdsMetastoreConfiguration(ctx context.Context, request DeleteBdsMetastoreConfigurationRequest) (response DeleteBdsMetastoreConfigurationResponse, err error)

DeleteBdsMetastoreConfiguration Delete the BDS metastore configuration represented by the provided ID.

See also

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

func (BdsClient) DeleteNodeBackup added in v65.65.3

func (client BdsClient) DeleteNodeBackup(ctx context.Context, request DeleteNodeBackupRequest) (response DeleteNodeBackupResponse, err error)

DeleteNodeBackup Delete the NodeBackup represented by the provided ID.

See also

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

func (BdsClient) DeleteNodeBackupConfiguration added in v65.65.3

func (client BdsClient) DeleteNodeBackupConfiguration(ctx context.Context, request DeleteNodeBackupConfigurationRequest) (response DeleteNodeBackupConfigurationResponse, err error)

DeleteNodeBackupConfiguration Delete the NodeBackupConfiguration represented by the provided ID.

See also

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

func (BdsClient) DisableCertificate added in v65.53.0

func (client BdsClient) DisableCertificate(ctx context.Context, request DisableCertificateRequest) (response DisableCertificateResponse, err error)

DisableCertificate Disabling TLS/SSL for various ODH services running on the BDS cluster.

See also

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

func (BdsClient) EnableCertificate added in v65.53.0

func (client BdsClient) EnableCertificate(ctx context.Context, request EnableCertificateRequest) (response EnableCertificateResponse, err error)

EnableCertificate Configuring TLS/SSL for various ODH services running on the BDS cluster.

See also

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

func (BdsClient) ExecuteBootstrapScript added in v65.31.1

func (client BdsClient) ExecuteBootstrapScript(ctx context.Context, request ExecuteBootstrapScriptRequest) (response ExecuteBootstrapScriptResponse, err error)

ExecuteBootstrapScript Execute bootstrap script.

See also

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

func (BdsClient) ForceRefreshResourcePrincipal added in v65.71.0

func (client BdsClient) ForceRefreshResourcePrincipal(ctx context.Context, request ForceRefreshResourcePrincipalRequest) (response ForceRefreshResourcePrincipalResponse, err error)

ForceRefreshResourcePrincipal Force Refresh Resource Principal for the cluster.

See also

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

func (BdsClient) GetAutoScalingConfiguration

func (client BdsClient) GetAutoScalingConfiguration(ctx context.Context, request GetAutoScalingConfigurationRequest) (response GetAutoScalingConfigurationResponse, err error)

GetAutoScalingConfiguration Returns details of the autoscale configuration identified by the given ID.

See also

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

func (BdsClient) GetBdsApiKey

func (client BdsClient) GetBdsApiKey(ctx context.Context, request GetBdsApiKeyRequest) (response GetBdsApiKeyResponse, err error)

GetBdsApiKey Returns the user's API key information for the given ID.

See also

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

func (BdsClient) GetBdsInstance

func (client BdsClient) GetBdsInstance(ctx context.Context, request GetBdsInstanceRequest) (response GetBdsInstanceResponse, err error)

GetBdsInstance Returns information about the Big Data Service cluster identified by the given ID.

See also

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

func (BdsClient) GetBdsMetastoreConfiguration

func (client BdsClient) GetBdsMetastoreConfiguration(ctx context.Context, request GetBdsMetastoreConfigurationRequest) (response GetBdsMetastoreConfigurationResponse, err error)

GetBdsMetastoreConfiguration Returns the BDS Metastore configuration information for the given ID.

See also

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

func (BdsClient) GetNodeBackup added in v65.65.3

func (client BdsClient) GetNodeBackup(ctx context.Context, request GetNodeBackupRequest) (response GetNodeBackupResponse, err error)

GetNodeBackup Returns details of NodeBackup identified by the given ID.

See also

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

func (BdsClient) GetNodeBackupConfiguration added in v65.65.3

func (client BdsClient) GetNodeBackupConfiguration(ctx context.Context, request GetNodeBackupConfigurationRequest) (response GetNodeBackupConfigurationResponse, err error)

GetNodeBackupConfiguration Returns details of the NodeBackupConfiguration identified by the given ID.

See also

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

func (BdsClient) GetNodeReplaceConfiguration added in v65.65.3

func (client BdsClient) GetNodeReplaceConfiguration(ctx context.Context, request GetNodeReplaceConfigurationRequest) (response GetNodeReplaceConfigurationResponse, err error)

GetNodeReplaceConfiguration Returns details of the nodeReplaceConfiguration identified by the given ID.

See also

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

func (BdsClient) GetOsPatchDetails added in v65.44.0

func (client BdsClient) GetOsPatchDetails(ctx context.Context, request GetOsPatchDetailsRequest) (response GetOsPatchDetailsResponse, err error)

GetOsPatchDetails Get the details of an os patch

See also

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

func (BdsClient) GetResourcePrincipalConfiguration added in v65.71.0

func (client BdsClient) GetResourcePrincipalConfiguration(ctx context.Context, request GetResourcePrincipalConfigurationRequest) (response GetResourcePrincipalConfigurationResponse, err error)

GetResourcePrincipalConfiguration Returns details of the resourcePrincipalConfiguration identified by the given ID.

See also

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

func (BdsClient) GetWorkRequest

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

GetWorkRequest Returns the status of the work request identified by the given ID.

See also

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

func (BdsClient) InstallOsPatch added in v65.44.0

func (client BdsClient) InstallOsPatch(ctx context.Context, request InstallOsPatchRequest) (response InstallOsPatchResponse, err error)

InstallOsPatch Install an os patch on a cluster

See also

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

func (BdsClient) InstallPatch added in v65.3.0

func (client BdsClient) InstallPatch(ctx context.Context, request InstallPatchRequest) (response InstallPatchResponse, err error)

InstallPatch Install the specified patch to this cluster.

See also

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

func (BdsClient) ListAutoScalingConfigurations

func (client BdsClient) ListAutoScalingConfigurations(ctx context.Context, request ListAutoScalingConfigurationsRequest) (response ListAutoScalingConfigurationsResponse, err error)

ListAutoScalingConfigurations Returns information about the autoscaling configurations for a cluster.

See also

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

func (BdsClient) ListBdsApiKeys

func (client BdsClient) ListBdsApiKeys(ctx context.Context, request ListBdsApiKeysRequest) (response ListBdsApiKeysResponse, err error)

ListBdsApiKeys Returns a list of all API keys associated with this Big Data Service cluster.

See also

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

func (BdsClient) ListBdsInstances

func (client BdsClient) ListBdsInstances(ctx context.Context, request ListBdsInstancesRequest) (response ListBdsInstancesResponse, err error)

ListBdsInstances Returns a list of all Big Data Service clusters in a compartment.

See also

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

func (BdsClient) ListBdsMetastoreConfigurations

func (client BdsClient) ListBdsMetastoreConfigurations(ctx context.Context, request ListBdsMetastoreConfigurationsRequest) (response ListBdsMetastoreConfigurationsResponse, err error)

ListBdsMetastoreConfigurations Returns a list of metastore configurations ssociated with this Big Data Service cluster.

See also

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

func (BdsClient) ListNodeBackupConfigurations added in v65.65.3

func (client BdsClient) ListNodeBackupConfigurations(ctx context.Context, request ListNodeBackupConfigurationsRequest) (response ListNodeBackupConfigurationsResponse, err error)

ListNodeBackupConfigurations Returns information about the NodeBackupConfigurations.

See also

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

func (BdsClient) ListNodeBackups added in v65.65.3

func (client BdsClient) ListNodeBackups(ctx context.Context, request ListNodeBackupsRequest) (response ListNodeBackupsResponse, err error)

ListNodeBackups Returns information about the node Backups.

See also

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

func (BdsClient) ListNodeReplaceConfigurations added in v65.65.3

func (client BdsClient) ListNodeReplaceConfigurations(ctx context.Context, request ListNodeReplaceConfigurationsRequest) (response ListNodeReplaceConfigurationsResponse, err error)

ListNodeReplaceConfigurations Returns information about the NodeReplaceConfiguration.

See also

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

func (BdsClient) ListOsPatches added in v65.44.0

func (client BdsClient) ListOsPatches(ctx context.Context, request ListOsPatchesRequest) (response ListOsPatchesResponse, err error)

ListOsPatches List all available os patches for a given cluster

See also

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

func (BdsClient) ListPatchHistories added in v65.3.0

func (client BdsClient) ListPatchHistories(ctx context.Context, request ListPatchHistoriesRequest) (response ListPatchHistoriesResponse, err error)

ListPatchHistories List the patch history of this cluster.

See also

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

func (BdsClient) ListPatches added in v65.3.0

func (client BdsClient) ListPatches(ctx context.Context, request ListPatchesRequest) (response ListPatchesResponse, err error)

ListPatches List all the available patches for this cluster.

See also

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

func (BdsClient) ListResourcePrincipalConfigurations added in v65.71.0

func (client BdsClient) ListResourcePrincipalConfigurations(ctx context.Context, request ListResourcePrincipalConfigurationsRequest) (response ListResourcePrincipalConfigurationsResponse, err error)

ListResourcePrincipalConfigurations Returns information about the ResourcePrincipalConfiguration.

See also

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

func (BdsClient) ListWorkRequestErrors

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

ListWorkRequestErrors Returns a paginated list of errors for a work request identified by the given ID.

See also

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

func (BdsClient) ListWorkRequestLogs

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

ListWorkRequestLogs Returns a paginated list of logs for a given work request.

See also

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

func (BdsClient) ListWorkRequests

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

ListWorkRequests Lists the work requests in a compartment.

See also

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

func (BdsClient) RemoveAutoScalingConfiguration

func (client BdsClient) RemoveAutoScalingConfiguration(ctx context.Context, request RemoveAutoScalingConfigurationRequest) (response RemoveAutoScalingConfigurationResponse, err error)

RemoveAutoScalingConfiguration Deletes an autoscale configuration.

See also

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

func (BdsClient) RemoveCloudSql

func (client BdsClient) RemoveCloudSql(ctx context.Context, request RemoveCloudSqlRequest) (response RemoveCloudSqlResponse, err error)

RemoveCloudSql Removes Cloud SQL from the cluster.

See also

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

func (BdsClient) RemoveKafka added in v65.40.1

func (client BdsClient) RemoveKafka(ctx context.Context, request RemoveKafkaRequest) (response RemoveKafkaResponse, err error)

RemoveKafka Remove Kafka from the cluster.

See also

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

func (BdsClient) RemoveNode added in v65.3.0

func (client BdsClient) RemoveNode(ctx context.Context, request RemoveNodeRequest) (response RemoveNodeResponse, err error)

RemoveNode Remove a single node of a Big Data Service cluster

See also

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

func (BdsClient) RemoveNodeReplaceConfiguration added in v65.65.3

func (client BdsClient) RemoveNodeReplaceConfiguration(ctx context.Context, request RemoveNodeReplaceConfigurationRequest) (response RemoveNodeReplaceConfigurationResponse, err error)

RemoveNodeReplaceConfiguration Deletes a nodeReplaceConfiguration

See also

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

func (BdsClient) RemoveResourcePrincipalConfiguration added in v65.71.0

func (client BdsClient) RemoveResourcePrincipalConfiguration(ctx context.Context, request RemoveResourcePrincipalConfigurationRequest) (response RemoveResourcePrincipalConfigurationResponse, err error)

RemoveResourcePrincipalConfiguration Delete the resource principal configuration for the cluster.

See also

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

func (BdsClient) RenewCertificate added in v65.53.0

func (client BdsClient) RenewCertificate(ctx context.Context, request RenewCertificateRequest) (response RenewCertificateResponse, err error)

RenewCertificate Renewing TLS/SSL for various ODH services running on the BDS cluster.

See also

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

func (BdsClient) ReplaceNode added in v65.65.3

func (client BdsClient) ReplaceNode(ctx context.Context, request ReplaceNodeRequest) (response ReplaceNodeResponse, err error)

ReplaceNode Replaces a node of a Big Data Service cluster from backup.

See also

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

func (BdsClient) RestartNode

func (client BdsClient) RestartNode(ctx context.Context, request RestartNodeRequest) (response RestartNodeResponse, err error)

RestartNode Restarts a single node of a Big Data Service cluster

See also

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

func (*BdsClient) SetRegion

func (client *BdsClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (BdsClient) StartBdsInstance added in v65.22.0

func (client BdsClient) StartBdsInstance(ctx context.Context, request StartBdsInstanceRequest) (response StartBdsInstanceResponse, err error)

StartBdsInstance Starts the BDS cluster that was stopped earlier.

See also

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

func (BdsClient) StopBdsInstance added in v65.22.0

func (client BdsClient) StopBdsInstance(ctx context.Context, request StopBdsInstanceRequest) (response StopBdsInstanceResponse, err error)

StopBdsInstance Stops the BDS cluster that can be started at later point of time.

See also

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

func (BdsClient) TestBdsMetastoreConfiguration

func (client BdsClient) TestBdsMetastoreConfiguration(ctx context.Context, request TestBdsMetastoreConfigurationRequest) (response TestBdsMetastoreConfigurationResponse, err error)

TestBdsMetastoreConfiguration Test specified metastore configuration.

See also

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

func (BdsClient) TestBdsObjectStorageConnection

func (client BdsClient) TestBdsObjectStorageConnection(ctx context.Context, request TestBdsObjectStorageConnectionRequest) (response TestBdsObjectStorageConnectionResponse, err error)

TestBdsObjectStorageConnection Test access to specified Object Storage bucket using the API key.

See also

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

func (BdsClient) UpdateAutoScalingConfiguration

func (client BdsClient) UpdateAutoScalingConfiguration(ctx context.Context, request UpdateAutoScalingConfigurationRequest) (response UpdateAutoScalingConfigurationResponse, err error)

UpdateAutoScalingConfiguration Updates fields on an autoscale configuration, including the name, the threshold value, and whether the autoscale configuration is enabled.

See also

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

func (BdsClient) UpdateBdsInstance

func (client BdsClient) UpdateBdsInstance(ctx context.Context, request UpdateBdsInstanceRequest) (response UpdateBdsInstanceResponse, err error)

UpdateBdsInstance Updates the Big Data Service cluster identified by the given ID.

See also

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

func (BdsClient) UpdateBdsMetastoreConfiguration

func (client BdsClient) UpdateBdsMetastoreConfiguration(ctx context.Context, request UpdateBdsMetastoreConfigurationRequest) (response UpdateBdsMetastoreConfigurationResponse, err error)

UpdateBdsMetastoreConfiguration Update the BDS metastore configuration represented by the provided ID.

See also

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

func (BdsClient) UpdateNodeBackupConfiguration added in v65.65.3

func (client BdsClient) UpdateNodeBackupConfiguration(ctx context.Context, request UpdateNodeBackupConfigurationRequest) (response UpdateNodeBackupConfigurationResponse, err error)

UpdateNodeBackupConfiguration Updates fields on NodeBackupConfiguration, including the name, the schedule.

See also

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

func (BdsClient) UpdateNodeReplaceConfiguration added in v65.65.3

func (client BdsClient) UpdateNodeReplaceConfiguration(ctx context.Context, request UpdateNodeReplaceConfigurationRequest) (response UpdateNodeReplaceConfigurationResponse, err error)

UpdateNodeReplaceConfiguration Updates fields on nodeReplaceConfigurations, including the name, the schedule

See also

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

func (BdsClient) UpdateResourcePrincipalConfiguration added in v65.71.0

func (client BdsClient) UpdateResourcePrincipalConfiguration(ctx context.Context, request UpdateResourcePrincipalConfigurationRequest) (response UpdateResourcePrincipalConfigurationResponse, err error)

UpdateResourcePrincipalConfiguration Updates fields on resourcePrincipalConfiguration, including the name, the lifeSpanInHours of the token.

See also

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

type BdsInstance

type BdsInstance struct {

	// The OCID of the Big Data Service resource.
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The name of the cluster.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The state of the cluster.
	LifecycleState BdsInstanceLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Boolean flag specifying whether or not the cluster is highly available (HA)
	IsHighAvailability *bool `mandatory:"true" json:"isHighAvailability"`

	// Boolean flag specifying whether or not the cluster should be set up as secure.
	IsSecure *bool `mandatory:"true" json:"isSecure"`

	// Boolean flag specifying whether or not Cloud SQL should be configured.
	IsCloudSqlConfigured *bool `mandatory:"true" json:"isCloudSqlConfigured"`

	// Boolean flag specifying whether or not Kafka should be configured.
	IsKafkaConfigured *bool `mandatory:"true" json:"isKafkaConfigured"`

	// The list of nodes in the cluster.
	Nodes []Node `mandatory:"true" json:"nodes"`

	// Number of nodes that forming the cluster
	NumberOfNodes *int `mandatory:"true" json:"numberOfNodes"`

	// Version of the Hadoop distribution.
	ClusterVersion BdsInstanceClusterVersionEnum `mandatory:"false" json:"clusterVersion,omitempty"`

	NetworkConfig *NetworkConfig `mandatory:"false" json:"networkConfig"`

	ClusterDetails *ClusterDetails `mandatory:"false" json:"clusterDetails"`

	CloudSqlDetails *CloudSqlDetails `mandatory:"false" json:"cloudSqlDetails"`

	// The user who created the cluster.
	CreatedBy *string `mandatory:"false" json:"createdBy"`

	// The time the cluster was created, shown as an RFC 3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the cluster was updated, shown as an RFC 3339 formatted datetime string.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// Number of nodes that require a maintenance reboot
	NumberOfNodesRequiringMaintenanceReboot *int `mandatory:"false" json:"numberOfNodesRequiringMaintenanceReboot"`

	// pre-authenticated URL of the bootstrap script in Object Store that can be downloaded and executed.
	BootstrapScriptUrl *string `mandatory:"false" json:"bootstrapScriptUrl"`

	// Simple key-value pair that is applied without any predefined name, type, or scope.
	// Exists for cross-compatibility only. For 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.
	// For example, `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The OCID of the Key Management master encryption key.
	KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`

	// Profile of the Big Data Service cluster.
	ClusterProfile BdsInstanceClusterProfileEnum `mandatory:"false" json:"clusterProfile,omitempty"`
}

BdsInstance Description of the cluster.

func (BdsInstance) String

func (m BdsInstance) String() string

func (BdsInstance) ValidateEnumValue

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

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

type BdsInstanceClusterProfileEnum added in v65.28.0

type BdsInstanceClusterProfileEnum string

BdsInstanceClusterProfileEnum Enum with underlying type: string

const (
	BdsInstanceClusterProfileHadoopExtended BdsInstanceClusterProfileEnum = "HADOOP_EXTENDED"
	BdsInstanceClusterProfileHadoop         BdsInstanceClusterProfileEnum = "HADOOP"
	BdsInstanceClusterProfileHive           BdsInstanceClusterProfileEnum = "HIVE"
	BdsInstanceClusterProfileSpark          BdsInstanceClusterProfileEnum = "SPARK"
	BdsInstanceClusterProfileHbase          BdsInstanceClusterProfileEnum = "HBASE"
	BdsInstanceClusterProfileTrino          BdsInstanceClusterProfileEnum = "TRINO"
	BdsInstanceClusterProfileKafka          BdsInstanceClusterProfileEnum = "KAFKA"
)

Set of constants representing the allowable values for BdsInstanceClusterProfileEnum

func GetBdsInstanceClusterProfileEnumValues added in v65.28.0

func GetBdsInstanceClusterProfileEnumValues() []BdsInstanceClusterProfileEnum

GetBdsInstanceClusterProfileEnumValues Enumerates the set of values for BdsInstanceClusterProfileEnum

func GetMappingBdsInstanceClusterProfileEnum added in v65.28.0

func GetMappingBdsInstanceClusterProfileEnum(val string) (BdsInstanceClusterProfileEnum, bool)

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

type BdsInstanceClusterVersionEnum

type BdsInstanceClusterVersionEnum string

BdsInstanceClusterVersionEnum Enum with underlying type: string

const (
	BdsInstanceClusterVersionCdh5  BdsInstanceClusterVersionEnum = "CDH5"
	BdsInstanceClusterVersionCdh6  BdsInstanceClusterVersionEnum = "CDH6"
	BdsInstanceClusterVersionOdh1  BdsInstanceClusterVersionEnum = "ODH1"
	BdsInstanceClusterVersionOdh09 BdsInstanceClusterVersionEnum = "ODH0_9"
	BdsInstanceClusterVersionOdh20 BdsInstanceClusterVersionEnum = "ODH2_0"
)

Set of constants representing the allowable values for BdsInstanceClusterVersionEnum

func GetBdsInstanceClusterVersionEnumValues

func GetBdsInstanceClusterVersionEnumValues() []BdsInstanceClusterVersionEnum

GetBdsInstanceClusterVersionEnumValues Enumerates the set of values for BdsInstanceClusterVersionEnum

func GetMappingBdsInstanceClusterVersionEnum

func GetMappingBdsInstanceClusterVersionEnum(val string) (BdsInstanceClusterVersionEnum, bool)

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

type BdsInstanceLifecycleStateEnum

type BdsInstanceLifecycleStateEnum string

BdsInstanceLifecycleStateEnum Enum with underlying type: string

const (
	BdsInstanceLifecycleStateCreating   BdsInstanceLifecycleStateEnum = "CREATING"
	BdsInstanceLifecycleStateActive     BdsInstanceLifecycleStateEnum = "ACTIVE"
	BdsInstanceLifecycleStateUpdating   BdsInstanceLifecycleStateEnum = "UPDATING"
	BdsInstanceLifecycleStateSuspending BdsInstanceLifecycleStateEnum = "SUSPENDING"
	BdsInstanceLifecycleStateSuspended  BdsInstanceLifecycleStateEnum = "SUSPENDED"
	BdsInstanceLifecycleStateResuming   BdsInstanceLifecycleStateEnum = "RESUMING"
	BdsInstanceLifecycleStateDeleting   BdsInstanceLifecycleStateEnum = "DELETING"
	BdsInstanceLifecycleStateDeleted    BdsInstanceLifecycleStateEnum = "DELETED"
	BdsInstanceLifecycleStateFailed     BdsInstanceLifecycleStateEnum = "FAILED"
	BdsInstanceLifecycleStateInactive   BdsInstanceLifecycleStateEnum = "INACTIVE"
)

Set of constants representing the allowable values for BdsInstanceLifecycleStateEnum

func GetBdsInstanceLifecycleStateEnumValues

func GetBdsInstanceLifecycleStateEnumValues() []BdsInstanceLifecycleStateEnum

GetBdsInstanceLifecycleStateEnumValues Enumerates the set of values for BdsInstanceLifecycleStateEnum

func GetMappingBdsInstanceLifecycleStateEnum

func GetMappingBdsInstanceLifecycleStateEnum(val string) (BdsInstanceLifecycleStateEnum, bool)

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

type BdsInstanceSummary

type BdsInstanceSummary struct {

	// The OCID of the Big Data Service resource.
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The name of the cluster.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The state of the cluster.
	LifecycleState BdsInstanceLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The number of nodes that form the cluster.
	NumberOfNodes *int `mandatory:"true" json:"numberOfNodes"`

	// Boolean flag specifying whether or not the cluster is highly available(HA).
	IsHighAvailability *bool `mandatory:"true" json:"isHighAvailability"`

	// Boolean flag specifying whether or not the cluster should be set up as secure.
	IsSecure *bool `mandatory:"true" json:"isSecure"`

	// Boolean flag specifying whether Cloud SQL is configured or not.
	IsCloudSqlConfigured *bool `mandatory:"true" json:"isCloudSqlConfigured"`

	// Boolean flag specifying whether Kafka is configured or not.
	IsKafkaConfigured *bool `mandatory:"true" json:"isKafkaConfigured"`

	// The time the cluster was created, shown as an RFC 3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// Number of nodes that require a maintenance reboot
	NumberOfNodesRequiringMaintenanceReboot *int `mandatory:"false" json:"numberOfNodesRequiringMaintenanceReboot"`

	// Version of the Hadoop distribution.
	ClusterVersion BdsInstanceClusterVersionEnum `mandatory:"false" json:"clusterVersion,omitempty"`

	// Profile of the Big Data Service cluster.
	ClusterProfile BdsInstanceClusterProfileEnum `mandatory:"false" json:"clusterProfile,omitempty"`

	// Simple key-value pair that is applied without any predefined name, type, or scope.
	// Exists for cross-compatibility only. For 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.
	// For example, `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

BdsInstanceSummary Summary details of the Big Data Service cluster.

func (BdsInstanceSummary) String

func (m BdsInstanceSummary) String() string

func (BdsInstanceSummary) ValidateEnumValue

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

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

type BdsMetastoreConfiguration

type BdsMetastoreConfiguration struct {

	// The ID of the metastore configuration
	Id *string `mandatory:"true" json:"id"`

	// The display name of metastore configuration
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The type of the metastore in the metastore configuration.
	MetastoreType BdsMetastoreConfigurationMetastoreTypeEnum `mandatory:"true" json:"metastoreType"`

	// the lifecycle state of the metastore configuration.
	LifecycleState BdsMetastoreConfigurationLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The time when the configuration was created, shown as an RFC 3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The OCID of the Data Catalog metastore. Set only if metastore's type is EXTERNAL.
	MetastoreId *string `mandatory:"false" json:"metastoreId"`

	// The ID of BDS API Key used for metastore configuration. Set only if metastore's type is EXTERNAL.
	BdsApiKeyId *string `mandatory:"false" json:"bdsApiKeyId"`

	// The time when the configuration was updated, shown as an RFC 3339 formatted datetime string.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
}

BdsMetastoreConfiguration The metastore configuration information.

func (BdsMetastoreConfiguration) String

func (m BdsMetastoreConfiguration) String() string

func (BdsMetastoreConfiguration) ValidateEnumValue

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

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

type BdsMetastoreConfigurationLifecycleStateEnum

type BdsMetastoreConfigurationLifecycleStateEnum string

BdsMetastoreConfigurationLifecycleStateEnum Enum with underlying type: string

const (
	BdsMetastoreConfigurationLifecycleStateCreating   BdsMetastoreConfigurationLifecycleStateEnum = "CREATING"
	BdsMetastoreConfigurationLifecycleStateActivating BdsMetastoreConfigurationLifecycleStateEnum = "ACTIVATING"
	BdsMetastoreConfigurationLifecycleStateActive     BdsMetastoreConfigurationLifecycleStateEnum = "ACTIVE"
	BdsMetastoreConfigurationLifecycleStateInactive   BdsMetastoreConfigurationLifecycleStateEnum = "INACTIVE"
	BdsMetastoreConfigurationLifecycleStateUpdating   BdsMetastoreConfigurationLifecycleStateEnum = "UPDATING"
	BdsMetastoreConfigurationLifecycleStateFailed     BdsMetastoreConfigurationLifecycleStateEnum = "FAILED"
	BdsMetastoreConfigurationLifecycleStateDeleting   BdsMetastoreConfigurationLifecycleStateEnum = "DELETING"
	BdsMetastoreConfigurationLifecycleStateDeleted    BdsMetastoreConfigurationLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for BdsMetastoreConfigurationLifecycleStateEnum

func GetBdsMetastoreConfigurationLifecycleStateEnumValues

func GetBdsMetastoreConfigurationLifecycleStateEnumValues() []BdsMetastoreConfigurationLifecycleStateEnum

GetBdsMetastoreConfigurationLifecycleStateEnumValues Enumerates the set of values for BdsMetastoreConfigurationLifecycleStateEnum

func GetMappingBdsMetastoreConfigurationLifecycleStateEnum

func GetMappingBdsMetastoreConfigurationLifecycleStateEnum(val string) (BdsMetastoreConfigurationLifecycleStateEnum, bool)

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

type BdsMetastoreConfigurationMetastoreTypeEnum

type BdsMetastoreConfigurationMetastoreTypeEnum string

BdsMetastoreConfigurationMetastoreTypeEnum Enum with underlying type: string

const (
	BdsMetastoreConfigurationMetastoreTypeLocal    BdsMetastoreConfigurationMetastoreTypeEnum = "LOCAL"
	BdsMetastoreConfigurationMetastoreTypeExternal BdsMetastoreConfigurationMetastoreTypeEnum = "EXTERNAL"
)

Set of constants representing the allowable values for BdsMetastoreConfigurationMetastoreTypeEnum

func GetBdsMetastoreConfigurationMetastoreTypeEnumValues

func GetBdsMetastoreConfigurationMetastoreTypeEnumValues() []BdsMetastoreConfigurationMetastoreTypeEnum

GetBdsMetastoreConfigurationMetastoreTypeEnumValues Enumerates the set of values for BdsMetastoreConfigurationMetastoreTypeEnum

func GetMappingBdsMetastoreConfigurationMetastoreTypeEnum

func GetMappingBdsMetastoreConfigurationMetastoreTypeEnum(val string) (BdsMetastoreConfigurationMetastoreTypeEnum, bool)

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

type BdsMetastoreConfigurationSummary

type BdsMetastoreConfigurationSummary struct {

	// The ID of the metastore configuration
	Id *string `mandatory:"true" json:"id"`

	// The display name of metastore configuration
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The type of the metastore in the metastore configuration.
	MetastoreType BdsMetastoreConfigurationMetastoreTypeEnum `mandatory:"true" json:"metastoreType"`

	// the lifecycle state of the metastore configuration.
	LifecycleState BdsMetastoreConfigurationLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The time when the configuration was created, shown as an RFC 3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The OCID of the Data Catalog metastore. Set only if metastore's type is EXTERNAL.
	MetastoreId *string `mandatory:"false" json:"metastoreId"`

	// The ID of BDS API Key used for metastore configuration. Set only if metastore's type is EXTERNAL.
	BdsApiKeyId *string `mandatory:"false" json:"bdsApiKeyId"`

	// The time when the configuration was updated, shown as an RFC 3339 formatted datetime string.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
}

BdsMetastoreConfigurationSummary The summary of metastore configuration information.

func (BdsMetastoreConfigurationSummary) String

func (BdsMetastoreConfigurationSummary) ValidateEnumValue

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

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

type CertificateServiceInfoDetails added in v65.53.0

type CertificateServiceInfoDetails struct {

	// List of services for which TLS/SSL needs to be enabled.
	Services []ServiceEnum `mandatory:"true" json:"services"`
}

CertificateServiceInfoDetails Details for certificate service info

func (CertificateServiceInfoDetails) String added in v65.53.0

func (CertificateServiceInfoDetails) ValidateEnumValue added in v65.53.0

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

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

type CertificateServiceInfoRequest added in v65.53.0

type CertificateServiceInfoRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Details for certificate service info
	CertificateServiceInfoDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error, without risk of executing that same action again. Retry tokens expire after 24
	// hours but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might 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
}

CertificateServiceInfoRequest wrapper for the CertificateServiceInfo operation

See also

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

func (CertificateServiceInfoRequest) BinaryRequestBody added in v65.53.0

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

BinaryRequestBody implements the OCIRequest interface

func (CertificateServiceInfoRequest) HTTPRequest added in v65.53.0

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

HTTPRequest implements the OCIRequest interface

func (CertificateServiceInfoRequest) RetryPolicy added in v65.53.0

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

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

func (CertificateServiceInfoRequest) String added in v65.53.0

func (request CertificateServiceInfoRequest) String() string

func (CertificateServiceInfoRequest) ValidateEnumValue added in v65.53.0

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

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

type CertificateServiceInfoResponse added in v65.53.0

type CertificateServiceInfoResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

CertificateServiceInfoResponse wrapper for the CertificateServiceInfo operation

func (CertificateServiceInfoResponse) HTTPResponse added in v65.53.0

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

HTTPResponse implements the OCIResponse interface

func (CertificateServiceInfoResponse) String added in v65.53.0

func (response CertificateServiceInfoResponse) String() string

type CertificateServiceInfoSummary added in v65.53.0

type CertificateServiceInfoSummary struct {

	// Name of the service
	Service CertificateServiceInfoSummaryServiceEnum `mandatory:"true" json:"service"`

	// Whether certificate is enabled or disabled
	ServiceCertificateStatus CertificateServiceInfoSummaryServiceCertificateStatusEnum `mandatory:"true" json:"serviceCertificateStatus"`

	// List of Host specific certificate details
	HostSpecificCertificateDetails []HostSpecificCertificateDetails `mandatory:"true" json:"hostSpecificCertificateDetails"`
}

CertificateServiceInfoSummary List of TLS/SSL information of services

func (CertificateServiceInfoSummary) String added in v65.53.0

func (CertificateServiceInfoSummary) ValidateEnumValue added in v65.53.0

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

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

type CertificateServiceInfoSummaryServiceCertificateStatusEnum added in v65.53.0

type CertificateServiceInfoSummaryServiceCertificateStatusEnum string

CertificateServiceInfoSummaryServiceCertificateStatusEnum Enum with underlying type: string

const (
	CertificateServiceInfoSummaryServiceCertificateStatusEnabled  CertificateServiceInfoSummaryServiceCertificateStatusEnum = "ENABLED"
	CertificateServiceInfoSummaryServiceCertificateStatusDisabled CertificateServiceInfoSummaryServiceCertificateStatusEnum = "DISABLED"
)

Set of constants representing the allowable values for CertificateServiceInfoSummaryServiceCertificateStatusEnum

func GetCertificateServiceInfoSummaryServiceCertificateStatusEnumValues added in v65.53.0

func GetCertificateServiceInfoSummaryServiceCertificateStatusEnumValues() []CertificateServiceInfoSummaryServiceCertificateStatusEnum

GetCertificateServiceInfoSummaryServiceCertificateStatusEnumValues Enumerates the set of values for CertificateServiceInfoSummaryServiceCertificateStatusEnum

func GetMappingCertificateServiceInfoSummaryServiceCertificateStatusEnum added in v65.53.0

func GetMappingCertificateServiceInfoSummaryServiceCertificateStatusEnum(val string) (CertificateServiceInfoSummaryServiceCertificateStatusEnum, bool)

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

type CertificateServiceInfoSummaryServiceEnum added in v65.53.0

type CertificateServiceInfoSummaryServiceEnum string

CertificateServiceInfoSummaryServiceEnum Enum with underlying type: string

const (
	CertificateServiceInfoSummaryServiceZookeeper CertificateServiceInfoSummaryServiceEnum = "ZOOKEEPER"
	CertificateServiceInfoSummaryServiceAms       CertificateServiceInfoSummaryServiceEnum = "AMS"
	CertificateServiceInfoSummaryServiceHdfs      CertificateServiceInfoSummaryServiceEnum = "HDFS"
	CertificateServiceInfoSummaryServiceYarn      CertificateServiceInfoSummaryServiceEnum = "YARN"
	CertificateServiceInfoSummaryServiceMapreduce CertificateServiceInfoSummaryServiceEnum = "MAPREDUCE"
	CertificateServiceInfoSummaryServiceOozie     CertificateServiceInfoSummaryServiceEnum = "OOZIE"
	CertificateServiceInfoSummaryServiceHbase     CertificateServiceInfoSummaryServiceEnum = "HBASE"
	CertificateServiceInfoSummaryServiceSpark     CertificateServiceInfoSummaryServiceEnum = "SPARK"
	CertificateServiceInfoSummaryServiceHive      CertificateServiceInfoSummaryServiceEnum = "HIVE"
	CertificateServiceInfoSummaryServiceKafka     CertificateServiceInfoSummaryServiceEnum = "KAFKA"
	CertificateServiceInfoSummaryServiceFlink     CertificateServiceInfoSummaryServiceEnum = "FLINK"
	CertificateServiceInfoSummaryServiceRegistry  CertificateServiceInfoSummaryServiceEnum = "REGISTRY"
)

Set of constants representing the allowable values for CertificateServiceInfoSummaryServiceEnum

func GetCertificateServiceInfoSummaryServiceEnumValues added in v65.53.0

func GetCertificateServiceInfoSummaryServiceEnumValues() []CertificateServiceInfoSummaryServiceEnum

GetCertificateServiceInfoSummaryServiceEnumValues Enumerates the set of values for CertificateServiceInfoSummaryServiceEnum

func GetMappingCertificateServiceInfoSummaryServiceEnum added in v65.53.0

func GetMappingCertificateServiceInfoSummaryServiceEnum(val string) (CertificateServiceInfoSummaryServiceEnum, bool)

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

type ChangeBdsInstanceCompartmentDetails

type ChangeBdsInstanceCompartmentDetails struct {

	// The OCID of the compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeBdsInstanceCompartmentDetails Move a Cluster to a Different Compartment

func (ChangeBdsInstanceCompartmentDetails) String

func (ChangeBdsInstanceCompartmentDetails) ValidateEnumValue

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

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

type ChangeBdsInstanceCompartmentRequest

type ChangeBdsInstanceCompartmentRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Details for the comparment change.
	ChangeBdsInstanceCompartmentDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error, without risk of executing that same action again. Retry tokens expire after 24
	// hours but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might 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
}

ChangeBdsInstanceCompartmentRequest wrapper for the ChangeBdsInstanceCompartment operation

See also

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

func (ChangeBdsInstanceCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeBdsInstanceCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeBdsInstanceCompartmentRequest) RetryPolicy

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

func (ChangeBdsInstanceCompartmentRequest) String

func (ChangeBdsInstanceCompartmentRequest) ValidateEnumValue

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

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

type ChangeBdsInstanceCompartmentResponse

type ChangeBdsInstanceCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

ChangeBdsInstanceCompartmentResponse wrapper for the ChangeBdsInstanceCompartment operation

func (ChangeBdsInstanceCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeBdsInstanceCompartmentResponse) String

func (response ChangeBdsInstanceCompartmentResponse) String() string

type ChangeShapeDetails

type ChangeShapeDetails struct {

	// Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
	ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"`

	Nodes *ChangeShapeNodes `mandatory:"true" json:"nodes"`
}

ChangeShapeDetails Resize details specified for individual nodes.

func (ChangeShapeDetails) String

func (m ChangeShapeDetails) String() string

func (ChangeShapeDetails) ValidateEnumValue

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

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

type ChangeShapeNodes

type ChangeShapeNodes struct {

	// Change shape of worker nodes to the desired target shape. Both VM_STANDARD and E4 Flex shapes are allowed here.
	Worker *string `mandatory:"false" json:"worker"`

	WorkerShapeConfig *ShapeConfigDetails `mandatory:"false" json:"workerShapeConfig"`

	// Change shape of compute only worker nodes to the desired target shape. Both VM_STANDARD and E4 Flex shapes are allowed here.
	ComputeOnlyWorker *string `mandatory:"false" json:"computeOnlyWorker"`

	ComputeOnlyWorkerShapeConfig *ShapeConfigDetails `mandatory:"false" json:"computeOnlyWorkerShapeConfig"`

	// Change shape of master nodes to the desired target shape. Both VM_STANDARD and E4 Flex shapes are allowed here.
	Master *string `mandatory:"false" json:"master"`

	MasterShapeConfig *ShapeConfigDetails `mandatory:"false" json:"masterShapeConfig"`

	// Change shape of utility nodes to the desired target shape. Both VM_STANDARD and E4 Flex shapes are allowed here.
	Utility *string `mandatory:"false" json:"utility"`

	UtilityShapeConfig *ShapeConfigDetails `mandatory:"false" json:"utilityShapeConfig"`

	// Change shape of the Cloud SQL node to the desired target shape. Both VM_STANDARD and E4 Flex shapes are allowed here.
	Cloudsql *string `mandatory:"false" json:"cloudsql"`

	CloudsqlShapeConfig *ShapeConfigDetails `mandatory:"false" json:"cloudsqlShapeConfig"`

	// Change shape of edge nodes to the desired target shape. Both VM_STANDARD and E4 Flex shapes are allowed here.
	Edge *string `mandatory:"false" json:"edge"`

	EdgeShapeConfig *ShapeConfigDetails `mandatory:"false" json:"edgeShapeConfig"`

	// Change shape of Kafka Broker nodes to the desired target shape. Both VM_STANDARD and E4 Flex shapes are allowed here.
	KafkaBroker *string `mandatory:"false" json:"kafkaBroker"`

	KafkaBrokerShapeConfig *ShapeConfigDetails `mandatory:"false" json:"kafkaBrokerShapeConfig"`
}

ChangeShapeNodes Individual worker nodes groups details.

func (ChangeShapeNodes) String

func (m ChangeShapeNodes) String() string

func (ChangeShapeNodes) ValidateEnumValue

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

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

type ChangeShapeRequest

type ChangeShapeRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Individual change shape settings per node type. You can change the shape of master, worker, utility and Cloud SQL nodes.
	ChangeShapeDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error, without risk of executing that same action again. Retry tokens expire after 24
	// hours but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might 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
}

ChangeShapeRequest wrapper for the ChangeShape operation

See also

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

func (ChangeShapeRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeShapeRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeShapeRequest) RetryPolicy

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

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

func (ChangeShapeRequest) String

func (request ChangeShapeRequest) String() string

func (ChangeShapeRequest) ValidateEnumValue

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

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

type ChangeShapeResponse

type ChangeShapeResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

ChangeShapeResponse wrapper for the ChangeShape operation

func (ChangeShapeResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeShapeResponse) String

func (response ChangeShapeResponse) String() string

type CloudSqlDetails

type CloudSqlDetails struct {

	// Shape of the node
	Shape *string `mandatory:"true" json:"shape"`

	// IP address of the Cloud SQL node.
	IpAddress *string `mandatory:"true" json:"ipAddress"`

	// The size of block volume in GB that needs to be attached to a given node.
	// All the necessary details needed for attachment are managed by service itself.
	BlockVolumeSizeInGBs *int64 `mandatory:"false" json:"blockVolumeSizeInGBs"`

	// Boolean flag specifying whether or not Kerberos principals are mapped
	// to database users.
	IsKerberosMappedToDatabaseUsers *bool `mandatory:"false" json:"isKerberosMappedToDatabaseUsers"`

	// Details about the Kerberos principals.
	KerberosDetails []KerberosDetails `mandatory:"false" json:"kerberosDetails"`
}

CloudSqlDetails The information about added Cloud SQL capability

func (CloudSqlDetails) String

func (m CloudSqlDetails) String() string

func (CloudSqlDetails) ValidateEnumValue

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

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

type ClusterDetails

type ClusterDetails struct {

	// The time the cluster was created, shown as an RFC 3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// BDA version installed in the cluster
	BdaVersion *string `mandatory:"false" json:"bdaVersion"`

	// Big Data Manager version installed in the cluster.
	BdmVersion *string `mandatory:"false" json:"bdmVersion"`

	// Big Data Service version installed in the cluster.
	BdsVersion *string `mandatory:"false" json:"bdsVersion"`

	// Oracle Linux version installed in the cluster.
	OsVersion *string `mandatory:"false" json:"osVersion"`

	// Cloud SQL query server database version.
	DbVersion *string `mandatory:"false" json:"dbVersion"`

	// Cloud SQL cell version.
	BdCellVersion *string `mandatory:"false" json:"bdCellVersion"`

	// Big Data SQL version.
	CsqlCellVersion *string `mandatory:"false" json:"csqlCellVersion"`

	// The time the cluster was automatically or manually refreshed, shown as an RFC 3339 formatted datetime string.
	TimeRefreshed *common.SDKTime `mandatory:"false" json:"timeRefreshed"`

	// The URL of Cloudera Manager
	ClouderaManagerUrl *string `mandatory:"false" json:"clouderaManagerUrl"`

	// The URL of Ambari
	AmbariUrl *string `mandatory:"false" json:"ambariUrl"`

	// The URL of Big Data Manager.
	BigDataManagerUrl *string `mandatory:"false" json:"bigDataManagerUrl"`

	// The URL of the Hue server.
	HueServerUrl *string `mandatory:"false" json:"hueServerUrl"`

	// Version of the ODH (Oracle Distribution including Apache Hadoop) installed on the cluster.
	OdhVersion *string `mandatory:"false" json:"odhVersion"`

	// The URL of the Jupyterhub.
	JupyterHubUrl *string `mandatory:"false" json:"jupyterHubUrl"`
}

ClusterDetails Specific info about a Hadoop cluster

func (ClusterDetails) String

func (m ClusterDetails) String() string

func (ClusterDetails) ValidateEnumValue

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

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

type CreateBdsApiKeyDetails

type CreateBdsApiKeyDetails struct {

	// The OCID of the user for whom this new generated API key pair will be created.
	UserId *string `mandatory:"true" json:"userId"`

	// Base64 passphrase used to secure the private key which will be created on user behalf.
	Passphrase *string `mandatory:"true" json:"passphrase"`

	// User friendly identifier used to uniquely differentiate between different API keys associated with this Big Data Service cluster.
	// Only ASCII alphanumeric characters with no spaces allowed.
	KeyAlias *string `mandatory:"true" json:"keyAlias"`

	// The name of the region to establish the Object Storage endpoint. See https://docs.oracle.com/en-us/iaas/api/#/en/identity/20160918/Region/
	// for additional information.
	DefaultRegion *string `mandatory:"false" json:"defaultRegion"`
}

CreateBdsApiKeyDetails API key created on user's behalf.

func (CreateBdsApiKeyDetails) String

func (m CreateBdsApiKeyDetails) String() string

func (CreateBdsApiKeyDetails) ValidateEnumValue

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

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

type CreateBdsApiKeyRequest

type CreateBdsApiKeyRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Create a new user's API key.
	CreateBdsApiKeyDetails `contributesTo:"body"`

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

	// The client request ID for tracing.
	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
}

CreateBdsApiKeyRequest wrapper for the CreateBdsApiKey operation

See also

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

func (CreateBdsApiKeyRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateBdsApiKeyRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateBdsApiKeyRequest) RetryPolicy

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

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

func (CreateBdsApiKeyRequest) String

func (request CreateBdsApiKeyRequest) String() string

func (CreateBdsApiKeyRequest) ValidateEnumValue

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

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

type CreateBdsApiKeyResponse

type CreateBdsApiKeyResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

CreateBdsApiKeyResponse wrapper for the CreateBdsApiKey operation

func (CreateBdsApiKeyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateBdsApiKeyResponse) String

func (response CreateBdsApiKeyResponse) String() string

type CreateBdsInstanceDetails

type CreateBdsInstanceDetails struct {

	// The OCID of the compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Name of the Big Data Service cluster.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Version of the Hadoop distribution.
	ClusterVersion BdsInstanceClusterVersionEnum `mandatory:"true" json:"clusterVersion"`

	// The SSH public key used to authenticate the cluster connection.
	ClusterPublicKey *string `mandatory:"true" json:"clusterPublicKey"`

	// Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
	ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"`

	// Boolean flag specifying whether or not the cluster is highly available (HA).
	IsHighAvailability *bool `mandatory:"true" json:"isHighAvailability"`

	// Boolean flag specifying whether or not the cluster should be set up as secure.
	IsSecure *bool `mandatory:"true" json:"isSecure"`

	// The list of nodes in the Big Data Service cluster.
	Nodes []CreateNodeDetails `mandatory:"true" json:"nodes"`

	NetworkConfig *NetworkConfig `mandatory:"false" json:"networkConfig"`

	// Pre-authenticated URL of the script in Object Store that is downloaded and executed.
	BootstrapScriptUrl *string `mandatory:"false" json:"bootstrapScriptUrl"`

	// The user-defined kerberos realm name.
	KerberosRealmName *string `mandatory:"false" json:"kerberosRealmName"`

	// Simple key-value pair that is applied without any predefined name, type, or scope.
	// Exists for cross-compatibility only. For 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.
	// For example, `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The OCID of the Key Management master encryption key.
	KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`

	// Profile of the Big Data Service cluster.
	ClusterProfile BdsInstanceClusterProfileEnum `mandatory:"false" json:"clusterProfile,omitempty"`
}

CreateBdsInstanceDetails The information about the new cluster.

func (CreateBdsInstanceDetails) String

func (m CreateBdsInstanceDetails) String() string

func (CreateBdsInstanceDetails) ValidateEnumValue

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

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

type CreateBdsInstanceRequest

type CreateBdsInstanceRequest struct {

	// Details for the new cluster.
	CreateBdsInstanceDetails `contributesTo:"body"`

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

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error, without risk of executing that same action again. Retry tokens expire after 24
	// hours but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might 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
}

CreateBdsInstanceRequest wrapper for the CreateBdsInstance operation

See also

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

func (CreateBdsInstanceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateBdsInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateBdsInstanceRequest) RetryPolicy

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

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

func (CreateBdsInstanceRequest) String

func (request CreateBdsInstanceRequest) String() string

func (CreateBdsInstanceRequest) ValidateEnumValue

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

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

type CreateBdsInstanceResponse

type CreateBdsInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

CreateBdsInstanceResponse wrapper for the CreateBdsInstance operation

func (CreateBdsInstanceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateBdsInstanceResponse) String

func (response CreateBdsInstanceResponse) String() string

type CreateBdsMetastoreConfigurationDetails

type CreateBdsMetastoreConfigurationDetails struct {

	// The OCID of the Data Catalog metastore.
	MetastoreId *string `mandatory:"true" json:"metastoreId"`

	// The ID of BDS Api Key used for Data Catalog metastore integration.
	BdsApiKeyId *string `mandatory:"true" json:"bdsApiKeyId"`

	// Base-64 encoded passphrase of the BDS Api Key.
	BdsApiKeyPassphrase *string `mandatory:"true" json:"bdsApiKeyPassphrase"`

	// Base-64 encoded password for the cluster admin user.
	ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"`

	// The display name of the metastore configuration
	DisplayName *string `mandatory:"false" json:"displayName"`
}

CreateBdsMetastoreConfigurationDetails The request body when creating BDS metastore configuration.

func (CreateBdsMetastoreConfigurationDetails) String

func (CreateBdsMetastoreConfigurationDetails) ValidateEnumValue

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

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

type CreateBdsMetastoreConfigurationRequest

type CreateBdsMetastoreConfigurationRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// The request body when creating and activating external metastore configuration.
	CreateBdsMetastoreConfigurationDetails `contributesTo:"body"`

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

	// The client request ID for tracing.
	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
}

CreateBdsMetastoreConfigurationRequest wrapper for the CreateBdsMetastoreConfiguration operation

See also

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

func (CreateBdsMetastoreConfigurationRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateBdsMetastoreConfigurationRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateBdsMetastoreConfigurationRequest) RetryPolicy

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

func (CreateBdsMetastoreConfigurationRequest) String

func (CreateBdsMetastoreConfigurationRequest) ValidateEnumValue

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

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

type CreateBdsMetastoreConfigurationResponse

type CreateBdsMetastoreConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

CreateBdsMetastoreConfigurationResponse wrapper for the CreateBdsMetastoreConfiguration operation

func (CreateBdsMetastoreConfigurationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateBdsMetastoreConfigurationResponse) String

type CreateNodeBackupConfigurationDetails added in v65.65.3

type CreateNodeBackupConfigurationDetails struct {
	LevelTypeDetails LevelTypeDetails `mandatory:"true" json:"levelTypeDetails"`

	// Day/time recurrence (specified following RFC 5545) at which to trigger the backup process. Currently only DAILY, WEEKLY and MONTHLY frequency is supported. Days of the week are specified using BYDAY field. Time of the day is specified using BYHOUR. Other fields are not supported.
	Schedule *string `mandatory:"true" json:"schedule"`

	// A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time zone of the execution schedule, in IANA time zone database name format
	Timezone *string `mandatory:"false" json:"timezone"`

	// Number of backup copies to retain.
	NumberOfBackupsToRetain *int `mandatory:"false" json:"numberOfBackupsToRetain"`

	// Incremental backup type includes only the changes since the last backup. Full backup type includes all changes since the volume was created.
	BackupType NodeBackupBackupTypeEnum `mandatory:"false" json:"backupType,omitempty"`
}

CreateNodeBackupConfigurationDetails The information about the NodeBackupConfiguration.

func (CreateNodeBackupConfigurationDetails) String added in v65.65.3

func (*CreateNodeBackupConfigurationDetails) UnmarshalJSON added in v65.65.3

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

UnmarshalJSON unmarshals from json

func (CreateNodeBackupConfigurationDetails) ValidateEnumValue added in v65.65.3

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

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

type CreateNodeBackupConfigurationRequest added in v65.65.3

type CreateNodeBackupConfigurationRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Details for adding nodeBackupConfiguration to the BDS cluster.
	CreateNodeBackupConfigurationDetails `contributesTo:"body"`

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

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error, without risk of executing that same action again. Retry tokens expire after 24
	// hours but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might 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
}

CreateNodeBackupConfigurationRequest wrapper for the CreateNodeBackupConfiguration operation

See also

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

func (CreateNodeBackupConfigurationRequest) BinaryRequestBody added in v65.65.3

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

BinaryRequestBody implements the OCIRequest interface

func (CreateNodeBackupConfigurationRequest) HTTPRequest added in v65.65.3

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

HTTPRequest implements the OCIRequest interface

func (CreateNodeBackupConfigurationRequest) RetryPolicy added in v65.65.3

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

func (CreateNodeBackupConfigurationRequest) String added in v65.65.3

func (CreateNodeBackupConfigurationRequest) ValidateEnumValue added in v65.65.3

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

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

type CreateNodeBackupConfigurationResponse added in v65.65.3

type CreateNodeBackupConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

CreateNodeBackupConfigurationResponse wrapper for the CreateNodeBackupConfiguration operation

func (CreateNodeBackupConfigurationResponse) HTTPResponse added in v65.65.3

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

HTTPResponse implements the OCIResponse interface

func (CreateNodeBackupConfigurationResponse) String added in v65.65.3

type CreateNodeDetails

type CreateNodeDetails struct {

	// The Big Data Service cluster node type.
	NodeType NodeNodeTypeEnum `mandatory:"true" json:"nodeType"`

	// Shape of the node.
	Shape *string `mandatory:"true" json:"shape"`

	// The size of block volume in GB to be attached to a given node. All the
	// details needed for attaching the block volume are managed by service itself.
	BlockVolumeSizeInGBs *int64 `mandatory:"true" json:"blockVolumeSizeInGBs"`

	// The OCID of the subnet in which the node will be created.
	SubnetId *string `mandatory:"true" json:"subnetId"`

	ShapeConfig *ShapeConfigDetails `mandatory:"false" json:"shapeConfig"`
}

CreateNodeDetails The information about the new node.

func (CreateNodeDetails) String

func (m CreateNodeDetails) String() string

func (CreateNodeDetails) ValidateEnumValue

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

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

type CreateNodeReplaceConfigurationDetails added in v65.65.3

type CreateNodeReplaceConfigurationDetails struct {
	LevelTypeDetails LevelTypeDetails `mandatory:"true" json:"levelTypeDetails"`

	// Base-64 encoded password for the cluster admin user.
	ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"`

	// Type of compute instance health metric to use for node replacement
	MetricType NodeReplaceConfigurationMetricTypeEnum `mandatory:"true" json:"metricType"`

	// This value is the minimum period of time to wait before triggering node replacement. The value is in minutes.
	DurationInMinutes *int `mandatory:"true" json:"durationInMinutes"`

	// A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`
}

CreateNodeReplaceConfigurationDetails The information about the NodeReplaceConfiguration

func (CreateNodeReplaceConfigurationDetails) String added in v65.65.3

func (*CreateNodeReplaceConfigurationDetails) UnmarshalJSON added in v65.65.3

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

UnmarshalJSON unmarshals from json

func (CreateNodeReplaceConfigurationDetails) ValidateEnumValue added in v65.65.3

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

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

type CreateNodeReplaceConfigurationRequest added in v65.65.3

type CreateNodeReplaceConfigurationRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Details for adding nodeReplaceConfiguration to the BDS cluster.
	CreateNodeReplaceConfigurationDetails `contributesTo:"body"`

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

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error, without risk of executing that same action again. Retry tokens expire after 24
	// hours but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might 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
}

CreateNodeReplaceConfigurationRequest wrapper for the CreateNodeReplaceConfiguration operation

See also

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

func (CreateNodeReplaceConfigurationRequest) BinaryRequestBody added in v65.65.3

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

BinaryRequestBody implements the OCIRequest interface

func (CreateNodeReplaceConfigurationRequest) HTTPRequest added in v65.65.3

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

HTTPRequest implements the OCIRequest interface

func (CreateNodeReplaceConfigurationRequest) RetryPolicy added in v65.65.3

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

func (CreateNodeReplaceConfigurationRequest) String added in v65.65.3

func (CreateNodeReplaceConfigurationRequest) ValidateEnumValue added in v65.65.3

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

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

type CreateNodeReplaceConfigurationResponse added in v65.65.3

type CreateNodeReplaceConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

CreateNodeReplaceConfigurationResponse wrapper for the CreateNodeReplaceConfiguration operation

func (CreateNodeReplaceConfigurationResponse) HTTPResponse added in v65.65.3

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

HTTPResponse implements the OCIResponse interface

func (CreateNodeReplaceConfigurationResponse) String added in v65.65.3

type CreateResourcePrincipalConfigurationDetails added in v65.71.0

type CreateResourcePrincipalConfigurationDetails struct {

	// A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Base-64 encoded Cluster Admin Password for cluster admin user.
	ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"`

	// Life span in hours for the resource principal session token.
	SessionTokenLifeSpanDurationInHours *int `mandatory:"false" json:"sessionTokenLifeSpanDurationInHours"`
}

CreateResourcePrincipalConfigurationDetails Details of creating a resource principal configuration for the cluster.

func (CreateResourcePrincipalConfigurationDetails) String added in v65.71.0

func (CreateResourcePrincipalConfigurationDetails) ValidateEnumValue added in v65.71.0

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

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

type CreateResourcePrincipalConfigurationRequest added in v65.71.0

type CreateResourcePrincipalConfigurationRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Details of creating resource principal session token for the bds cluster.
	CreateResourcePrincipalConfigurationDetails `contributesTo:"body"`

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

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error, without risk of executing that same action again. Retry tokens expire after 24
	// hours but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might 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
}

CreateResourcePrincipalConfigurationRequest wrapper for the CreateResourcePrincipalConfiguration operation

See also

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

func (CreateResourcePrincipalConfigurationRequest) BinaryRequestBody added in v65.71.0

BinaryRequestBody implements the OCIRequest interface

func (CreateResourcePrincipalConfigurationRequest) HTTPRequest added in v65.71.0

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

HTTPRequest implements the OCIRequest interface

func (CreateResourcePrincipalConfigurationRequest) RetryPolicy added in v65.71.0

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

func (CreateResourcePrincipalConfigurationRequest) String added in v65.71.0

func (CreateResourcePrincipalConfigurationRequest) ValidateEnumValue added in v65.71.0

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

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

type CreateResourcePrincipalConfigurationResponse added in v65.71.0

type CreateResourcePrincipalConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

CreateResourcePrincipalConfigurationResponse wrapper for the CreateResourcePrincipalConfiguration operation

func (CreateResourcePrincipalConfigurationResponse) HTTPResponse added in v65.71.0

HTTPResponse implements the OCIResponse interface

func (CreateResourcePrincipalConfigurationResponse) String added in v65.71.0

type DayBasedHorizontalScalingScheduleDetails added in v65.3.0

type DayBasedHorizontalScalingScheduleDetails struct {

	// Time of day and horizontal scaling configuration.
	TimeAndHorizontalScalingConfig []TimeAndHorizontalScalingConfig `mandatory:"false" json:"timeAndHorizontalScalingConfig"`
}

DayBasedHorizontalScalingScheduleDetails Details of day based horizontal scaling schedule.

func (DayBasedHorizontalScalingScheduleDetails) MarshalJSON added in v65.3.0

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

MarshalJSON marshals to json representation

func (DayBasedHorizontalScalingScheduleDetails) String added in v65.3.0

func (DayBasedHorizontalScalingScheduleDetails) ValidateEnumValue added in v65.3.0

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

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

type DayBasedVerticalScalingScheduleDetails added in v65.3.0

type DayBasedVerticalScalingScheduleDetails struct {

	// Time of day and vertical scaling configuration
	TimeAndVerticalScalingConfig []TimeAndVerticalScalingConfig `mandatory:"false" json:"timeAndVerticalScalingConfig"`
}

DayBasedVerticalScalingScheduleDetails Details of day based vertical scaling schedule.

func (DayBasedVerticalScalingScheduleDetails) MarshalJSON added in v65.3.0

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

MarshalJSON marshals to json representation

func (DayBasedVerticalScalingScheduleDetails) String added in v65.3.0

func (DayBasedVerticalScalingScheduleDetails) ValidateEnumValue added in v65.3.0

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

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

type DefaultError

type DefaultError struct {

	// A short error code that defines the error, meant for programmatic parsing.
	Code *string `mandatory:"true" json:"code"`

	// A human-readable error string.
	Message *string `mandatory:"true" json:"message"`
}

DefaultError Error Information.

func (DefaultError) String

func (m DefaultError) String() string

func (DefaultError) ValidateEnumValue

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

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

type DeleteBdsApiKeyRequest

type DeleteBdsApiKeyRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// The API key identifier.
	ApiKeyId *string `mandatory:"true" contributesTo:"path" name:"apiKeyId"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

DeleteBdsApiKeyRequest wrapper for the DeleteBdsApiKey operation

See also

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

func (DeleteBdsApiKeyRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteBdsApiKeyRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteBdsApiKeyRequest) RetryPolicy

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

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

func (DeleteBdsApiKeyRequest) String

func (request DeleteBdsApiKeyRequest) String() string

func (DeleteBdsApiKeyRequest) ValidateEnumValue

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

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

type DeleteBdsApiKeyResponse

type DeleteBdsApiKeyResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

DeleteBdsApiKeyResponse wrapper for the DeleteBdsApiKey operation

func (DeleteBdsApiKeyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteBdsApiKeyResponse) String

func (response DeleteBdsApiKeyResponse) String() string

type DeleteBdsInstanceRequest

type DeleteBdsInstanceRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

DeleteBdsInstanceRequest wrapper for the DeleteBdsInstance operation

See also

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

func (DeleteBdsInstanceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteBdsInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteBdsInstanceRequest) RetryPolicy

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

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

func (DeleteBdsInstanceRequest) String

func (request DeleteBdsInstanceRequest) String() string

func (DeleteBdsInstanceRequest) ValidateEnumValue

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

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

type DeleteBdsInstanceResponse

type DeleteBdsInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

DeleteBdsInstanceResponse wrapper for the DeleteBdsInstance operation

func (DeleteBdsInstanceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteBdsInstanceResponse) String

func (response DeleteBdsInstanceResponse) String() string

type DeleteBdsMetastoreConfigurationRequest

type DeleteBdsMetastoreConfigurationRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// The metastore configuration ID
	MetastoreConfigId *string `mandatory:"true" contributesTo:"path" name:"metastoreConfigId"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

DeleteBdsMetastoreConfigurationRequest wrapper for the DeleteBdsMetastoreConfiguration operation

See also

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

func (DeleteBdsMetastoreConfigurationRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteBdsMetastoreConfigurationRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteBdsMetastoreConfigurationRequest) RetryPolicy

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

func (DeleteBdsMetastoreConfigurationRequest) String

func (DeleteBdsMetastoreConfigurationRequest) ValidateEnumValue

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

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

type DeleteBdsMetastoreConfigurationResponse

type DeleteBdsMetastoreConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

DeleteBdsMetastoreConfigurationResponse wrapper for the DeleteBdsMetastoreConfiguration operation

func (DeleteBdsMetastoreConfigurationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteBdsMetastoreConfigurationResponse) String

type DeleteNodeBackupConfigurationRequest added in v65.65.3

type DeleteNodeBackupConfigurationRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Unique Oracle-assigned identifier of the NodeBackupConfiguration.
	NodeBackupConfigurationId *string `mandatory:"true" contributesTo:"path" name:"nodeBackupConfigurationId"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

DeleteNodeBackupConfigurationRequest wrapper for the DeleteNodeBackupConfiguration operation

See also

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

func (DeleteNodeBackupConfigurationRequest) BinaryRequestBody added in v65.65.3

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteNodeBackupConfigurationRequest) HTTPRequest added in v65.65.3

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

HTTPRequest implements the OCIRequest interface

func (DeleteNodeBackupConfigurationRequest) RetryPolicy added in v65.65.3

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

func (DeleteNodeBackupConfigurationRequest) String added in v65.65.3

func (DeleteNodeBackupConfigurationRequest) ValidateEnumValue added in v65.65.3

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

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

type DeleteNodeBackupConfigurationResponse added in v65.65.3

type DeleteNodeBackupConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

DeleteNodeBackupConfigurationResponse wrapper for the DeleteNodeBackupConfiguration operation

func (DeleteNodeBackupConfigurationResponse) HTTPResponse added in v65.65.3

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

HTTPResponse implements the OCIResponse interface

func (DeleteNodeBackupConfigurationResponse) String added in v65.65.3

type DeleteNodeBackupRequest added in v65.65.3

type DeleteNodeBackupRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Unique assigned identifier of the nodeBackupId.
	NodeBackupId *string `mandatory:"true" contributesTo:"path" name:"nodeBackupId"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

DeleteNodeBackupRequest wrapper for the DeleteNodeBackup operation

See also

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

func (DeleteNodeBackupRequest) BinaryRequestBody added in v65.65.3

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteNodeBackupRequest) HTTPRequest added in v65.65.3

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

HTTPRequest implements the OCIRequest interface

func (DeleteNodeBackupRequest) RetryPolicy added in v65.65.3

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

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

func (DeleteNodeBackupRequest) String added in v65.65.3

func (request DeleteNodeBackupRequest) String() string

func (DeleteNodeBackupRequest) ValidateEnumValue added in v65.65.3

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

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

type DeleteNodeBackupResponse added in v65.65.3

type DeleteNodeBackupResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

DeleteNodeBackupResponse wrapper for the DeleteNodeBackup operation

func (DeleteNodeBackupResponse) HTTPResponse added in v65.65.3

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

HTTPResponse implements the OCIResponse interface

func (DeleteNodeBackupResponse) String added in v65.65.3

func (response DeleteNodeBackupResponse) String() string

type DisableCertificateDetails added in v65.53.0

type DisableCertificateDetails struct {

	// Base-64 encoded password for the cluster admin user.
	ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"`

	// List of services for which certificate needs to be disabled.
	Services []ServiceEnum `mandatory:"true" json:"services"`
}

DisableCertificateDetails The request body info about disable certificate service list.

func (DisableCertificateDetails) String added in v65.53.0

func (m DisableCertificateDetails) String() string

func (DisableCertificateDetails) ValidateEnumValue added in v65.53.0

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

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

type DisableCertificateRequest added in v65.53.0

type DisableCertificateRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Details for disabling certificate.
	DisableCertificateDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error, without risk of executing that same action again. Retry tokens expire after 24
	// hours but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might 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
}

DisableCertificateRequest wrapper for the DisableCertificate operation

See also

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

func (DisableCertificateRequest) BinaryRequestBody added in v65.53.0

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

BinaryRequestBody implements the OCIRequest interface

func (DisableCertificateRequest) HTTPRequest added in v65.53.0

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

HTTPRequest implements the OCIRequest interface

func (DisableCertificateRequest) RetryPolicy added in v65.53.0

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

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

func (DisableCertificateRequest) String added in v65.53.0

func (request DisableCertificateRequest) String() string

func (DisableCertificateRequest) ValidateEnumValue added in v65.53.0

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

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

type DisableCertificateResponse added in v65.53.0

type DisableCertificateResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

DisableCertificateResponse wrapper for the DisableCertificate operation

func (DisableCertificateResponse) HTTPResponse added in v65.53.0

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

HTTPResponse implements the OCIResponse interface

func (DisableCertificateResponse) String added in v65.53.0

func (response DisableCertificateResponse) String() string

type DomainBasedOdhPatchingConfig added in v65.71.0

type DomainBasedOdhPatchingConfig struct {

	// The wait time between AD/FD in seconds.
	WaitTimeBetweenDomainInSeconds *int `mandatory:"true" json:"waitTimeBetweenDomainInSeconds"`
}

DomainBasedOdhPatchingConfig This patching config will patch all nodes in one AD/FD at a time.

func (DomainBasedOdhPatchingConfig) MarshalJSON added in v65.71.0

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

MarshalJSON marshals to json representation

func (DomainBasedOdhPatchingConfig) String added in v65.71.0

func (DomainBasedOdhPatchingConfig) ValidateEnumValue added in v65.71.0

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

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

type DomainBasedPatchingConfigs added in v65.71.0

type DomainBasedPatchingConfigs struct {

	// The wait time between AD/FD in seconds.
	WaitTimeBetweenDomainInSeconds *int `mandatory:"true" json:"waitTimeBetweenDomainInSeconds"`

	// Acceptable number of failed-to-be-patched nodes in each domain. The maximum number of failed-to-patch nodes cannot exceed 20% of the number of nodes.
	ToleranceThresholdPerDomain *int `mandatory:"true" json:"toleranceThresholdPerDomain"`
}

DomainBasedPatchingConfigs This patching config will patch all nodes in one AD/FD at a time.

func (DomainBasedPatchingConfigs) MarshalJSON added in v65.71.0

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

MarshalJSON marshals to json representation

func (DomainBasedPatchingConfigs) String added in v65.71.0

func (DomainBasedPatchingConfigs) ValidateEnumValue added in v65.71.0

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

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

type DowntimeBasedOdhPatchingConfig added in v65.71.0

type DowntimeBasedOdhPatchingConfig struct {
}

DowntimeBasedOdhPatchingConfig Patching configurations which allows downtime. This patching config will patch all the nodes in parallel.

func (DowntimeBasedOdhPatchingConfig) MarshalJSON added in v65.71.0

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

MarshalJSON marshals to json representation

func (DowntimeBasedOdhPatchingConfig) String added in v65.71.0

func (DowntimeBasedOdhPatchingConfig) ValidateEnumValue added in v65.71.0

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

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

type DowntimeBasedPatchingConfigs added in v65.65.1

type DowntimeBasedPatchingConfigs struct {
}

DowntimeBasedPatchingConfigs Patching configurations which allows downtime. This patching config will patch and reboot all the nodes in parallel.

func (DowntimeBasedPatchingConfigs) MarshalJSON added in v65.65.1

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

MarshalJSON marshals to json representation

func (DowntimeBasedPatchingConfigs) String added in v65.65.1

func (DowntimeBasedPatchingConfigs) ValidateEnumValue added in v65.65.1

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

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

type EnableCertificateDetails added in v65.53.0

type EnableCertificateDetails struct {

	// Base-64 encoded password for the cluster admin user.
	ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"`

	// List of services for which certificate needs to be enabled.
	Services []ServiceEnum `mandatory:"true" json:"services"`

	// Plain text certificate/s in order, separated by new line character. If not provided in request a self-signed root certificate is generated inside the cluster. In case hostCertDetails is provided, root certificate is mandatory.
	RootCertificate *string `mandatory:"false" json:"rootCertificate"`

	// List of leaf certificates to use for services on each host. If custom host certificate is provided the root certificate becomes required.
	HostCertDetails []HostCertDetails `mandatory:"false" json:"hostCertDetails"`

	// Base-64 encoded password for CA certificate's private key. This value can be empty.
	ServerKeyPassword *string `mandatory:"false" json:"serverKeyPassword"`
}

EnableCertificateDetails The request body info about configure certificate service list.

func (EnableCertificateDetails) String added in v65.53.0

func (m EnableCertificateDetails) String() string

func (EnableCertificateDetails) ValidateEnumValue added in v65.53.0

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

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

type EnableCertificateRequest added in v65.53.0

type EnableCertificateRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Details for configuring certificate.
	EnableCertificateDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error, without risk of executing that same action again. Retry tokens expire after 24
	// hours but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might 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
}

EnableCertificateRequest wrapper for the EnableCertificate operation

See also

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

func (EnableCertificateRequest) BinaryRequestBody added in v65.53.0

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

BinaryRequestBody implements the OCIRequest interface

func (EnableCertificateRequest) HTTPRequest added in v65.53.0

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

HTTPRequest implements the OCIRequest interface

func (EnableCertificateRequest) RetryPolicy added in v65.53.0

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

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

func (EnableCertificateRequest) String added in v65.53.0

func (request EnableCertificateRequest) String() string

func (EnableCertificateRequest) ValidateEnumValue added in v65.53.0

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

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

type EnableCertificateResponse added in v65.53.0

type EnableCertificateResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

EnableCertificateResponse wrapper for the EnableCertificate operation

func (EnableCertificateResponse) HTTPResponse added in v65.53.0

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

HTTPResponse implements the OCIResponse interface

func (EnableCertificateResponse) String added in v65.53.0

func (response EnableCertificateResponse) String() string

type ExecuteBootstrapScriptDetails added in v65.31.1

type ExecuteBootstrapScriptDetails struct {

	// Base-64 encoded password for the cluster admin user.
	ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"`

	// pre-authenticated URL of the bootstrap script in Object Store that can be downloaded and executed.
	BootstrapScriptUrl *string `mandatory:"false" json:"bootstrapScriptUrl"`
}

ExecuteBootstrapScriptDetails The information about the bootstrap script to be executed.

func (ExecuteBootstrapScriptDetails) String added in v65.31.1

func (ExecuteBootstrapScriptDetails) ValidateEnumValue added in v65.31.1

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

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

type ExecuteBootstrapScriptRequest added in v65.31.1

type ExecuteBootstrapScriptRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Details of the bootstrap script to execute on this cluster.
	ExecuteBootstrapScriptDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error, without risk of executing that same action again. Retry tokens expire after 24
	// hours but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might 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
}

ExecuteBootstrapScriptRequest wrapper for the ExecuteBootstrapScript operation

See also

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

func (ExecuteBootstrapScriptRequest) BinaryRequestBody added in v65.31.1

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

BinaryRequestBody implements the OCIRequest interface

func (ExecuteBootstrapScriptRequest) HTTPRequest added in v65.31.1

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

HTTPRequest implements the OCIRequest interface

func (ExecuteBootstrapScriptRequest) RetryPolicy added in v65.31.1

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

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

func (ExecuteBootstrapScriptRequest) String added in v65.31.1

func (request ExecuteBootstrapScriptRequest) String() string

func (ExecuteBootstrapScriptRequest) ValidateEnumValue added in v65.31.1

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

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

type ExecuteBootstrapScriptResponse added in v65.31.1

type ExecuteBootstrapScriptResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

ExecuteBootstrapScriptResponse wrapper for the ExecuteBootstrapScript operation

func (ExecuteBootstrapScriptResponse) HTTPResponse added in v65.31.1

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

HTTPResponse implements the OCIResponse interface

func (ExecuteBootstrapScriptResponse) String added in v65.31.1

func (response ExecuteBootstrapScriptResponse) String() string

type ForceRefreshResourcePrincipalDetails added in v65.71.0

type ForceRefreshResourcePrincipalDetails struct {

	// Base-64 encoded Cluster Admin Password for cluster admin user.
	ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"`
}

ForceRefreshResourcePrincipalDetails Force Refresh Resource Principal Session Token Details.

func (ForceRefreshResourcePrincipalDetails) String added in v65.71.0

func (ForceRefreshResourcePrincipalDetails) ValidateEnumValue added in v65.71.0

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

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

type ForceRefreshResourcePrincipalRequest added in v65.71.0

type ForceRefreshResourcePrincipalRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Unique Oracle-assigned identifier of the ResourcePrincipalConfiguration.
	ResourcePrincipalConfigurationId *string `mandatory:"true" contributesTo:"path" name:"resourcePrincipalConfigurationId"`

	// Details of refreshing resource principal session token
	ForceRefreshResourcePrincipalDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error, without risk of executing that same action again. Retry tokens expire after 24
	// hours but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might 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
}

ForceRefreshResourcePrincipalRequest wrapper for the ForceRefreshResourcePrincipal operation

See also

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

func (ForceRefreshResourcePrincipalRequest) BinaryRequestBody added in v65.71.0

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

BinaryRequestBody implements the OCIRequest interface

func (ForceRefreshResourcePrincipalRequest) HTTPRequest added in v65.71.0

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

HTTPRequest implements the OCIRequest interface

func (ForceRefreshResourcePrincipalRequest) RetryPolicy added in v65.71.0

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

func (ForceRefreshResourcePrincipalRequest) String added in v65.71.0

func (ForceRefreshResourcePrincipalRequest) ValidateEnumValue added in v65.71.0

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

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

type ForceRefreshResourcePrincipalResponse added in v65.71.0

type ForceRefreshResourcePrincipalResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

ForceRefreshResourcePrincipalResponse wrapper for the ForceRefreshResourcePrincipal operation

func (ForceRefreshResourcePrincipalResponse) HTTPResponse added in v65.71.0

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

HTTPResponse implements the OCIResponse interface

func (ForceRefreshResourcePrincipalResponse) String added in v65.71.0

type GetAutoScalingConfigurationRequest

type GetAutoScalingConfigurationRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Unique Oracle-assigned identifier of the autoscale configuration.
	AutoScalingConfigurationId *string `mandatory:"true" contributesTo:"path" name:"autoScalingConfigurationId"`

	// The client request ID for tracing.
	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
}

GetAutoScalingConfigurationRequest wrapper for the GetAutoScalingConfiguration operation

See also

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

func (GetAutoScalingConfigurationRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetAutoScalingConfigurationRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetAutoScalingConfigurationRequest) RetryPolicy

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

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

func (GetAutoScalingConfigurationRequest) String

func (request GetAutoScalingConfigurationRequest) String() string

func (GetAutoScalingConfigurationRequest) ValidateEnumValue

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

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

type GetAutoScalingConfigurationResponse

type GetAutoScalingConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

GetAutoScalingConfigurationResponse wrapper for the GetAutoScalingConfiguration operation

func (GetAutoScalingConfigurationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetAutoScalingConfigurationResponse) String

func (response GetAutoScalingConfigurationResponse) String() string

type GetBdsApiKeyRequest

type GetBdsApiKeyRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// The API key identifier.
	ApiKeyId *string `mandatory:"true" contributesTo:"path" name:"apiKeyId"`

	// The client request ID for tracing.
	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
}

GetBdsApiKeyRequest wrapper for the GetBdsApiKey operation

See also

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

func (GetBdsApiKeyRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetBdsApiKeyRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetBdsApiKeyRequest) RetryPolicy

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

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

func (GetBdsApiKeyRequest) String

func (request GetBdsApiKeyRequest) String() string

func (GetBdsApiKeyRequest) ValidateEnumValue

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

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

type GetBdsApiKeyResponse

type GetBdsApiKeyResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

GetBdsApiKeyResponse wrapper for the GetBdsApiKey operation

func (GetBdsApiKeyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetBdsApiKeyResponse) String

func (response GetBdsApiKeyResponse) String() string

type GetBdsInstanceRequest

type GetBdsInstanceRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// The client request ID for tracing.
	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
}

GetBdsInstanceRequest wrapper for the GetBdsInstance operation

See also

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

func (GetBdsInstanceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetBdsInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetBdsInstanceRequest) RetryPolicy

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

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

func (GetBdsInstanceRequest) String

func (request GetBdsInstanceRequest) String() string

func (GetBdsInstanceRequest) ValidateEnumValue

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

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

type GetBdsInstanceResponse

type GetBdsInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

GetBdsInstanceResponse wrapper for the GetBdsInstance operation

func (GetBdsInstanceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetBdsInstanceResponse) String

func (response GetBdsInstanceResponse) String() string

type GetBdsMetastoreConfigurationRequest

type GetBdsMetastoreConfigurationRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// The metastore configuration ID
	MetastoreConfigId *string `mandatory:"true" contributesTo:"path" name:"metastoreConfigId"`

	// The client request ID for tracing.
	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
}

GetBdsMetastoreConfigurationRequest wrapper for the GetBdsMetastoreConfiguration operation

See also

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

func (GetBdsMetastoreConfigurationRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetBdsMetastoreConfigurationRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetBdsMetastoreConfigurationRequest) RetryPolicy

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

func (GetBdsMetastoreConfigurationRequest) String

func (GetBdsMetastoreConfigurationRequest) ValidateEnumValue

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

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

type GetBdsMetastoreConfigurationResponse

type GetBdsMetastoreConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

GetBdsMetastoreConfigurationResponse wrapper for the GetBdsMetastoreConfiguration operation

func (GetBdsMetastoreConfigurationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetBdsMetastoreConfigurationResponse) String

func (response GetBdsMetastoreConfigurationResponse) String() string

type GetNodeBackupConfigurationRequest added in v65.65.3

type GetNodeBackupConfigurationRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Unique Oracle-assigned identifier of the NodeBackupConfiguration.
	NodeBackupConfigurationId *string `mandatory:"true" contributesTo:"path" name:"nodeBackupConfigurationId"`

	// The client request ID for tracing.
	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
}

GetNodeBackupConfigurationRequest wrapper for the GetNodeBackupConfiguration operation

See also

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

func (GetNodeBackupConfigurationRequest) BinaryRequestBody added in v65.65.3

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

BinaryRequestBody implements the OCIRequest interface

func (GetNodeBackupConfigurationRequest) HTTPRequest added in v65.65.3

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

HTTPRequest implements the OCIRequest interface

func (GetNodeBackupConfigurationRequest) RetryPolicy added in v65.65.3

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

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

func (GetNodeBackupConfigurationRequest) String added in v65.65.3

func (request GetNodeBackupConfigurationRequest) String() string

func (GetNodeBackupConfigurationRequest) ValidateEnumValue added in v65.65.3

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

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

type GetNodeBackupConfigurationResponse added in v65.65.3

type GetNodeBackupConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

GetNodeBackupConfigurationResponse wrapper for the GetNodeBackupConfiguration operation

func (GetNodeBackupConfigurationResponse) HTTPResponse added in v65.65.3

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

HTTPResponse implements the OCIResponse interface

func (GetNodeBackupConfigurationResponse) String added in v65.65.3

func (response GetNodeBackupConfigurationResponse) String() string

type GetNodeBackupRequest added in v65.65.3

type GetNodeBackupRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Unique assigned identifier of the nodeBackupId.
	NodeBackupId *string `mandatory:"true" contributesTo:"path" name:"nodeBackupId"`

	// The client request ID for tracing.
	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
}

GetNodeBackupRequest wrapper for the GetNodeBackup operation

See also

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

func (GetNodeBackupRequest) BinaryRequestBody added in v65.65.3

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

BinaryRequestBody implements the OCIRequest interface

func (GetNodeBackupRequest) HTTPRequest added in v65.65.3

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

HTTPRequest implements the OCIRequest interface

func (GetNodeBackupRequest) RetryPolicy added in v65.65.3

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

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

func (GetNodeBackupRequest) String added in v65.65.3

func (request GetNodeBackupRequest) String() string

func (GetNodeBackupRequest) ValidateEnumValue added in v65.65.3

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

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

type GetNodeBackupResponse added in v65.65.3

type GetNodeBackupResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

GetNodeBackupResponse wrapper for the GetNodeBackup operation

func (GetNodeBackupResponse) HTTPResponse added in v65.65.3

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

HTTPResponse implements the OCIResponse interface

func (GetNodeBackupResponse) String added in v65.65.3

func (response GetNodeBackupResponse) String() string

type GetNodeReplaceConfigurationRequest added in v65.65.3

type GetNodeReplaceConfigurationRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Unique Oracle-assigned identifier of the  NodeReplaceConfiguration.
	NodeReplaceConfigurationId *string `mandatory:"true" contributesTo:"path" name:"nodeReplaceConfigurationId"`

	// The client request ID for tracing.
	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
}

GetNodeReplaceConfigurationRequest wrapper for the GetNodeReplaceConfiguration operation

See also

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

func (GetNodeReplaceConfigurationRequest) BinaryRequestBody added in v65.65.3

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

BinaryRequestBody implements the OCIRequest interface

func (GetNodeReplaceConfigurationRequest) HTTPRequest added in v65.65.3

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

HTTPRequest implements the OCIRequest interface

func (GetNodeReplaceConfigurationRequest) RetryPolicy added in v65.65.3

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

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

func (GetNodeReplaceConfigurationRequest) String added in v65.65.3

func (request GetNodeReplaceConfigurationRequest) String() string

func (GetNodeReplaceConfigurationRequest) ValidateEnumValue added in v65.65.3

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

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

type GetNodeReplaceConfigurationResponse added in v65.65.3

type GetNodeReplaceConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

GetNodeReplaceConfigurationResponse wrapper for the GetNodeReplaceConfiguration operation

func (GetNodeReplaceConfigurationResponse) HTTPResponse added in v65.65.3

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

HTTPResponse implements the OCIResponse interface

func (GetNodeReplaceConfigurationResponse) String added in v65.65.3

func (response GetNodeReplaceConfigurationResponse) String() string

type GetOsPatchDetailsRequest added in v65.44.0

type GetOsPatchDetailsRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// The version of the OS patch.
	OsPatchVersion *string `mandatory:"true" contributesTo:"query" name:"osPatchVersion"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error, without risk of executing that same action again. Retry tokens expire after 24
	// hours but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might 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
}

GetOsPatchDetailsRequest wrapper for the GetOsPatchDetails operation

See also

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

func (GetOsPatchDetailsRequest) BinaryRequestBody added in v65.44.0

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

BinaryRequestBody implements the OCIRequest interface

func (GetOsPatchDetailsRequest) HTTPRequest added in v65.44.0

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

HTTPRequest implements the OCIRequest interface

func (GetOsPatchDetailsRequest) RetryPolicy added in v65.44.0

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

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

func (GetOsPatchDetailsRequest) String added in v65.44.0

func (request GetOsPatchDetailsRequest) String() string

func (GetOsPatchDetailsRequest) ValidateEnumValue added in v65.44.0

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

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

type GetOsPatchDetailsResponse added in v65.44.0

type GetOsPatchDetailsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

GetOsPatchDetailsResponse wrapper for the GetOsPatchDetails operation

func (GetOsPatchDetailsResponse) HTTPResponse added in v65.44.0

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

HTTPResponse implements the OCIResponse interface

func (GetOsPatchDetailsResponse) String added in v65.44.0

func (response GetOsPatchDetailsResponse) String() string

type GetResourcePrincipalConfigurationRequest added in v65.71.0

type GetResourcePrincipalConfigurationRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Unique Oracle-assigned identifier of the ResourcePrincipalConfiguration.
	ResourcePrincipalConfigurationId *string `mandatory:"true" contributesTo:"path" name:"resourcePrincipalConfigurationId"`

	// The client request ID for tracing.
	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
}

GetResourcePrincipalConfigurationRequest wrapper for the GetResourcePrincipalConfiguration operation

See also

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

func (GetResourcePrincipalConfigurationRequest) BinaryRequestBody added in v65.71.0

BinaryRequestBody implements the OCIRequest interface

func (GetResourcePrincipalConfigurationRequest) HTTPRequest added in v65.71.0

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

HTTPRequest implements the OCIRequest interface

func (GetResourcePrincipalConfigurationRequest) RetryPolicy added in v65.71.0

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

func (GetResourcePrincipalConfigurationRequest) String added in v65.71.0

func (GetResourcePrincipalConfigurationRequest) ValidateEnumValue added in v65.71.0

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

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

type GetResourcePrincipalConfigurationResponse added in v65.71.0

type GetResourcePrincipalConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

GetResourcePrincipalConfigurationResponse wrapper for the GetResourcePrincipalConfiguration operation

func (GetResourcePrincipalConfigurationResponse) HTTPResponse added in v65.71.0

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

HTTPResponse implements the OCIResponse interface

func (GetResourcePrincipalConfigurationResponse) String added in v65.71.0

type GetWorkRequestRequest

type GetWorkRequestRequest struct {

	// The ID of the asynchronous request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

	// The client request ID for tracing.
	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.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/bds/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"`

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

	// A non-negative integer number representing the number of seconds the client should wait before polling
	// this endpoint again.
	RetryAfter *float32 `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 HorizontalScalingScheduleDetails added in v65.3.0

type HorizontalScalingScheduleDetails interface {
}

HorizontalScalingScheduleDetails Details of a horizontal scaling schedule.

type HostCertDetails added in v65.53.0

type HostCertDetails struct {

	// Fully qualified domain name (FQDN) of the host
	HostName *string `mandatory:"true" json:"hostName"`

	// Certificate value in string format
	Certificate *string `mandatory:"true" json:"certificate"`

	// Private key of the provided certificate
	PrivateKey *string `mandatory:"true" json:"privateKey"`
}

HostCertDetails Details about the host and corresponding certificate.

func (HostCertDetails) String added in v65.53.0

func (m HostCertDetails) String() string

func (HostCertDetails) ValidateEnumValue added in v65.53.0

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

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

type HostSpecificCertificateDetails added in v65.53.0

type HostSpecificCertificateDetails struct {

	// Name of the host.
	HostName *string `mandatory:"false" json:"hostName"`

	// Type of certificate self signed or CA signed
	CertificateType HostSpecificCertificateDetailsCertificateTypeEnum `mandatory:"false" json:"certificateType,omitempty"`

	// The time the certificate expires, shown as an RFC 3339 formatted datetime string.
	TimeExpiry *common.SDKTime `mandatory:"false" json:"timeExpiry"`
}

HostSpecificCertificateDetails Host specific certificate details

func (HostSpecificCertificateDetails) String added in v65.53.0

func (HostSpecificCertificateDetails) ValidateEnumValue added in v65.53.0

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

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

type HostSpecificCertificateDetailsCertificateTypeEnum added in v65.53.0

type HostSpecificCertificateDetailsCertificateTypeEnum string

HostSpecificCertificateDetailsCertificateTypeEnum Enum with underlying type: string

const (
	HostSpecificCertificateDetailsCertificateTypeCustomSigned HostSpecificCertificateDetailsCertificateTypeEnum = "CUSTOM_SIGNED"
	HostSpecificCertificateDetailsCertificateTypeSelfSigned   HostSpecificCertificateDetailsCertificateTypeEnum = "SELF_SIGNED"
)

Set of constants representing the allowable values for HostSpecificCertificateDetailsCertificateTypeEnum

func GetHostSpecificCertificateDetailsCertificateTypeEnumValues added in v65.53.0

func GetHostSpecificCertificateDetailsCertificateTypeEnumValues() []HostSpecificCertificateDetailsCertificateTypeEnum

GetHostSpecificCertificateDetailsCertificateTypeEnumValues Enumerates the set of values for HostSpecificCertificateDetailsCertificateTypeEnum

func GetMappingHostSpecificCertificateDetailsCertificateTypeEnum added in v65.53.0

func GetMappingHostSpecificCertificateDetailsCertificateTypeEnum(val string) (HostSpecificCertificateDetailsCertificateTypeEnum, bool)

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

type InstallOsPatchDetails added in v65.44.0

type InstallOsPatchDetails struct {

	// The target os patch version.
	OsPatchVersion *string `mandatory:"true" json:"osPatchVersion"`

	// Base-64 encoded password for the cluster admin user.
	ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"`

	PatchingConfigs PatchingConfigs `mandatory:"false" json:"patchingConfigs"`
}

InstallOsPatchDetails Os patch details for installing a os patches to a cluster.

func (InstallOsPatchDetails) String added in v65.44.0

func (m InstallOsPatchDetails) String() string

func (*InstallOsPatchDetails) UnmarshalJSON added in v65.65.1

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

UnmarshalJSON unmarshals from json

func (InstallOsPatchDetails) ValidateEnumValue added in v65.44.0

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

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

type InstallOsPatchRequest added in v65.44.0

type InstallOsPatchRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Details of the target os patch that will be installed
	InstallOsPatchDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error, without risk of executing that same action again. Retry tokens expire after 24
	// hours but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might 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
}

InstallOsPatchRequest wrapper for the InstallOsPatch operation

See also

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

func (InstallOsPatchRequest) BinaryRequestBody added in v65.44.0

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

BinaryRequestBody implements the OCIRequest interface

func (InstallOsPatchRequest) HTTPRequest added in v65.44.0

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

HTTPRequest implements the OCIRequest interface

func (InstallOsPatchRequest) RetryPolicy added in v65.44.0

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

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

func (InstallOsPatchRequest) String added in v65.44.0

func (request InstallOsPatchRequest) String() string

func (InstallOsPatchRequest) ValidateEnumValue added in v65.44.0

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

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

type InstallOsPatchResponse added in v65.44.0

type InstallOsPatchResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

InstallOsPatchResponse wrapper for the InstallOsPatch operation

func (InstallOsPatchResponse) HTTPResponse added in v65.44.0

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

HTTPResponse implements the OCIResponse interface

func (InstallOsPatchResponse) String added in v65.44.0

func (response InstallOsPatchResponse) String() string

type InstallPatchDetails added in v65.3.0

type InstallPatchDetails struct {

	// The version of the patch to be installed.
	Version *string `mandatory:"true" json:"version"`

	// Base-64 encoded password for the cluster admin user.
	ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"`

	PatchingConfig OdhPatchingConfig `mandatory:"false" json:"patchingConfig"`
}

InstallPatchDetails The reqeust body while installing a patch to a cluster.

func (InstallPatchDetails) String added in v65.3.0

func (m InstallPatchDetails) String() string

func (*InstallPatchDetails) UnmarshalJSON added in v65.71.0

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

UnmarshalJSON unmarshals from json

func (InstallPatchDetails) ValidateEnumValue added in v65.3.0

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

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

type InstallPatchRequest added in v65.3.0

type InstallPatchRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Details of the patch to be installed.
	InstallPatchDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error, without risk of executing that same action again. Retry tokens expire after 24
	// hours but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might 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
}

InstallPatchRequest wrapper for the InstallPatch operation

See also

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

func (InstallPatchRequest) BinaryRequestBody added in v65.3.0

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

BinaryRequestBody implements the OCIRequest interface

func (InstallPatchRequest) HTTPRequest added in v65.3.0

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

HTTPRequest implements the OCIRequest interface

func (InstallPatchRequest) RetryPolicy added in v65.3.0

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

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

func (InstallPatchRequest) String added in v65.3.0

func (request InstallPatchRequest) String() string

func (InstallPatchRequest) ValidateEnumValue added in v65.3.0

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

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

type InstallPatchResponse added in v65.3.0

type InstallPatchResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

InstallPatchResponse wrapper for the InstallPatch operation

func (InstallPatchResponse) HTTPResponse added in v65.3.0

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

HTTPResponse implements the OCIResponse interface

func (InstallPatchResponse) String added in v65.3.0

func (response InstallPatchResponse) String() string

type KerberosDetails

type KerberosDetails struct {

	// Name of the Kerberos principal.
	PrincipalName *string `mandatory:"true" json:"principalName"`

	// Location of the keytab file
	KeytabFile *string `mandatory:"true" json:"keytabFile"`
}

KerberosDetails Details about the Kerberos principals.

func (KerberosDetails) String

func (m KerberosDetails) String() string

func (KerberosDetails) ValidateEnumValue

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

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

type LevelTypeDetails added in v65.65.3

type LevelTypeDetails interface {
}

LevelTypeDetails Details of the type of level used to trigger the creation of a new node backup configuration or node replacement configuration.

type LevelTypeDetailsLevelTypeEnum added in v65.65.3

type LevelTypeDetailsLevelTypeEnum string

LevelTypeDetailsLevelTypeEnum Enum with underlying type: string

const (
	LevelTypeDetailsLevelTypeLevel     LevelTypeDetailsLevelTypeEnum = "NODE_LEVEL"
	LevelTypeDetailsLevelTypeTypeLevel LevelTypeDetailsLevelTypeEnum = "NODE_TYPE_LEVEL"
)

Set of constants representing the allowable values for LevelTypeDetailsLevelTypeEnum

func GetLevelTypeDetailsLevelTypeEnumValues added in v65.65.3

func GetLevelTypeDetailsLevelTypeEnumValues() []LevelTypeDetailsLevelTypeEnum

GetLevelTypeDetailsLevelTypeEnumValues Enumerates the set of values for LevelTypeDetailsLevelTypeEnum

func GetMappingLevelTypeDetailsLevelTypeEnum added in v65.65.3

func GetMappingLevelTypeDetailsLevelTypeEnum(val string) (LevelTypeDetailsLevelTypeEnum, bool)

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

type ListAutoScalingConfigurationsRequest

type ListAutoScalingConfigurationsRequest struct {

	// The OCID of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

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

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

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListAutoScalingConfigurationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListAutoScalingConfigurationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

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

	// The state of the autoscale configuration.
	LifecycleState AutoScalingConfigurationLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The client request ID for tracing.
	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
}

ListAutoScalingConfigurationsRequest wrapper for the ListAutoScalingConfigurations operation

See also

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

func (ListAutoScalingConfigurationsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListAutoScalingConfigurationsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListAutoScalingConfigurationsRequest) RetryPolicy

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

func (ListAutoScalingConfigurationsRequest) String

func (ListAutoScalingConfigurationsRequest) ValidateEnumValue

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

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

type ListAutoScalingConfigurationsResponse

type ListAutoScalingConfigurationsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a request, provide this 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 a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListAutoScalingConfigurationsResponse wrapper for the ListAutoScalingConfigurations operation

func (ListAutoScalingConfigurationsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListAutoScalingConfigurationsResponse) String

type ListAutoScalingConfigurationsSortByEnum

type ListAutoScalingConfigurationsSortByEnum string

ListAutoScalingConfigurationsSortByEnum Enum with underlying type: string

const (
	ListAutoScalingConfigurationsSortByTimecreated ListAutoScalingConfigurationsSortByEnum = "timeCreated"
	ListAutoScalingConfigurationsSortByDisplayname ListAutoScalingConfigurationsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListAutoScalingConfigurationsSortByEnum

func GetListAutoScalingConfigurationsSortByEnumValues

func GetListAutoScalingConfigurationsSortByEnumValues() []ListAutoScalingConfigurationsSortByEnum

GetListAutoScalingConfigurationsSortByEnumValues Enumerates the set of values for ListAutoScalingConfigurationsSortByEnum

func GetMappingListAutoScalingConfigurationsSortByEnum

func GetMappingListAutoScalingConfigurationsSortByEnum(val string) (ListAutoScalingConfigurationsSortByEnum, bool)

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

type ListAutoScalingConfigurationsSortOrderEnum

type ListAutoScalingConfigurationsSortOrderEnum string

ListAutoScalingConfigurationsSortOrderEnum Enum with underlying type: string

const (
	ListAutoScalingConfigurationsSortOrderAsc  ListAutoScalingConfigurationsSortOrderEnum = "ASC"
	ListAutoScalingConfigurationsSortOrderDesc ListAutoScalingConfigurationsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListAutoScalingConfigurationsSortOrderEnum

func GetListAutoScalingConfigurationsSortOrderEnumValues

func GetListAutoScalingConfigurationsSortOrderEnumValues() []ListAutoScalingConfigurationsSortOrderEnum

GetListAutoScalingConfigurationsSortOrderEnumValues Enumerates the set of values for ListAutoScalingConfigurationsSortOrderEnum

func GetMappingListAutoScalingConfigurationsSortOrderEnum

func GetMappingListAutoScalingConfigurationsSortOrderEnum(val string) (ListAutoScalingConfigurationsSortOrderEnum, bool)

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

type ListBdsApiKeysRequest

type ListBdsApiKeysRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// The state of the API key.
	LifecycleState BdsApiKeyLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The OCID of the user for whom the API key belongs.
	UserId *string `mandatory:"false" contributesTo:"query" name:"userId"`

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

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

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListBdsApiKeysSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListBdsApiKeysSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

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

	// The client request ID for tracing.
	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
}

ListBdsApiKeysRequest wrapper for the ListBdsApiKeys operation

See also

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

func (ListBdsApiKeysRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListBdsApiKeysRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListBdsApiKeysRequest) RetryPolicy

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

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

func (ListBdsApiKeysRequest) String

func (request ListBdsApiKeysRequest) String() string

func (ListBdsApiKeysRequest) ValidateEnumValue

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

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

type ListBdsApiKeysResponse

type ListBdsApiKeysResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a request, provide this 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 a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListBdsApiKeysResponse wrapper for the ListBdsApiKeys operation

func (ListBdsApiKeysResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListBdsApiKeysResponse) String

func (response ListBdsApiKeysResponse) String() string

type ListBdsApiKeysSortByEnum

type ListBdsApiKeysSortByEnum string

ListBdsApiKeysSortByEnum Enum with underlying type: string

const (
	ListBdsApiKeysSortByTimecreated ListBdsApiKeysSortByEnum = "timeCreated"
	ListBdsApiKeysSortByDisplayname ListBdsApiKeysSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListBdsApiKeysSortByEnum

func GetListBdsApiKeysSortByEnumValues

func GetListBdsApiKeysSortByEnumValues() []ListBdsApiKeysSortByEnum

GetListBdsApiKeysSortByEnumValues Enumerates the set of values for ListBdsApiKeysSortByEnum

func GetMappingListBdsApiKeysSortByEnum

func GetMappingListBdsApiKeysSortByEnum(val string) (ListBdsApiKeysSortByEnum, bool)

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

type ListBdsApiKeysSortOrderEnum

type ListBdsApiKeysSortOrderEnum string

ListBdsApiKeysSortOrderEnum Enum with underlying type: string

const (
	ListBdsApiKeysSortOrderAsc  ListBdsApiKeysSortOrderEnum = "ASC"
	ListBdsApiKeysSortOrderDesc ListBdsApiKeysSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListBdsApiKeysSortOrderEnum

func GetListBdsApiKeysSortOrderEnumValues

func GetListBdsApiKeysSortOrderEnumValues() []ListBdsApiKeysSortOrderEnum

GetListBdsApiKeysSortOrderEnumValues Enumerates the set of values for ListBdsApiKeysSortOrderEnum

func GetMappingListBdsApiKeysSortOrderEnum

func GetMappingListBdsApiKeysSortOrderEnum(val string) (ListBdsApiKeysSortOrderEnum, bool)

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

type ListBdsInstancesRequest

type ListBdsInstancesRequest struct {

	// The OCID of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The state of the cluster.
	LifecycleState BdsInstanceLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

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

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

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListBdsInstancesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListBdsInstancesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

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

	// The client request ID for tracing.
	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
}

ListBdsInstancesRequest wrapper for the ListBdsInstances operation

See also

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

func (ListBdsInstancesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListBdsInstancesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListBdsInstancesRequest) RetryPolicy

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

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

func (ListBdsInstancesRequest) String

func (request ListBdsInstancesRequest) String() string

func (ListBdsInstancesRequest) ValidateEnumValue

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

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

type ListBdsInstancesResponse

type ListBdsInstancesResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a request, provide this 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 a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListBdsInstancesResponse wrapper for the ListBdsInstances operation

func (ListBdsInstancesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListBdsInstancesResponse) String

func (response ListBdsInstancesResponse) String() string

type ListBdsInstancesSortByEnum

type ListBdsInstancesSortByEnum string

ListBdsInstancesSortByEnum Enum with underlying type: string

const (
	ListBdsInstancesSortByTimecreated ListBdsInstancesSortByEnum = "timeCreated"
	ListBdsInstancesSortByDisplayname ListBdsInstancesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListBdsInstancesSortByEnum

func GetListBdsInstancesSortByEnumValues

func GetListBdsInstancesSortByEnumValues() []ListBdsInstancesSortByEnum

GetListBdsInstancesSortByEnumValues Enumerates the set of values for ListBdsInstancesSortByEnum

func GetMappingListBdsInstancesSortByEnum

func GetMappingListBdsInstancesSortByEnum(val string) (ListBdsInstancesSortByEnum, bool)

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

type ListBdsInstancesSortOrderEnum

type ListBdsInstancesSortOrderEnum string

ListBdsInstancesSortOrderEnum Enum with underlying type: string

const (
	ListBdsInstancesSortOrderAsc  ListBdsInstancesSortOrderEnum = "ASC"
	ListBdsInstancesSortOrderDesc ListBdsInstancesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListBdsInstancesSortOrderEnum

func GetListBdsInstancesSortOrderEnumValues

func GetListBdsInstancesSortOrderEnumValues() []ListBdsInstancesSortOrderEnum

GetListBdsInstancesSortOrderEnumValues Enumerates the set of values for ListBdsInstancesSortOrderEnum

func GetMappingListBdsInstancesSortOrderEnum

func GetMappingListBdsInstancesSortOrderEnum(val string) (ListBdsInstancesSortOrderEnum, bool)

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

type ListBdsMetastoreConfigurationsRequest

type ListBdsMetastoreConfigurationsRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// The type of the metastore in the metastore configuration
	MetastoreType BdsMetastoreConfigurationMetastoreTypeEnum `mandatory:"false" contributesTo:"query" name:"metastoreType" omitEmpty:"true"`

	// The OCID of the Data Catalog metastore in the metastore configuration
	MetastoreId *string `mandatory:"false" contributesTo:"query" name:"metastoreId"`

	// The lifecycle state of the metastore in the metastore configuration
	LifecycleState BdsMetastoreConfigurationLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The ID of the API key that is associated with the external metastore in the metastore configuration
	BdsApiKeyId *string `mandatory:"false" contributesTo:"query" name:"bdsApiKeyId"`

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

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

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListBdsMetastoreConfigurationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListBdsMetastoreConfigurationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

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

	// The client request ID for tracing.
	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
}

ListBdsMetastoreConfigurationsRequest wrapper for the ListBdsMetastoreConfigurations operation

See also

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

func (ListBdsMetastoreConfigurationsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListBdsMetastoreConfigurationsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListBdsMetastoreConfigurationsRequest) RetryPolicy

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

func (ListBdsMetastoreConfigurationsRequest) String

func (ListBdsMetastoreConfigurationsRequest) ValidateEnumValue

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

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

type ListBdsMetastoreConfigurationsResponse

type ListBdsMetastoreConfigurationsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a request, provide this 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 a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListBdsMetastoreConfigurationsResponse wrapper for the ListBdsMetastoreConfigurations operation

func (ListBdsMetastoreConfigurationsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListBdsMetastoreConfigurationsResponse) String

type ListBdsMetastoreConfigurationsSortByEnum

type ListBdsMetastoreConfigurationsSortByEnum string

ListBdsMetastoreConfigurationsSortByEnum Enum with underlying type: string

const (
	ListBdsMetastoreConfigurationsSortByTimecreated ListBdsMetastoreConfigurationsSortByEnum = "timeCreated"
	ListBdsMetastoreConfigurationsSortByDisplayname ListBdsMetastoreConfigurationsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListBdsMetastoreConfigurationsSortByEnum

func GetListBdsMetastoreConfigurationsSortByEnumValues

func GetListBdsMetastoreConfigurationsSortByEnumValues() []ListBdsMetastoreConfigurationsSortByEnum

GetListBdsMetastoreConfigurationsSortByEnumValues Enumerates the set of values for ListBdsMetastoreConfigurationsSortByEnum

func GetMappingListBdsMetastoreConfigurationsSortByEnum

func GetMappingListBdsMetastoreConfigurationsSortByEnum(val string) (ListBdsMetastoreConfigurationsSortByEnum, bool)

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

type ListBdsMetastoreConfigurationsSortOrderEnum

type ListBdsMetastoreConfigurationsSortOrderEnum string

ListBdsMetastoreConfigurationsSortOrderEnum Enum with underlying type: string

const (
	ListBdsMetastoreConfigurationsSortOrderAsc  ListBdsMetastoreConfigurationsSortOrderEnum = "ASC"
	ListBdsMetastoreConfigurationsSortOrderDesc ListBdsMetastoreConfigurationsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListBdsMetastoreConfigurationsSortOrderEnum

func GetListBdsMetastoreConfigurationsSortOrderEnumValues

func GetListBdsMetastoreConfigurationsSortOrderEnumValues() []ListBdsMetastoreConfigurationsSortOrderEnum

GetListBdsMetastoreConfigurationsSortOrderEnumValues Enumerates the set of values for ListBdsMetastoreConfigurationsSortOrderEnum

func GetMappingListBdsMetastoreConfigurationsSortOrderEnum

func GetMappingListBdsMetastoreConfigurationsSortOrderEnum(val string) (ListBdsMetastoreConfigurationsSortOrderEnum, bool)

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

type ListNodeBackupConfigurationsRequest added in v65.65.3

type ListNodeBackupConfigurationsRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

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

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

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListNodeBackupConfigurationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListNodeBackupConfigurationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

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

	// The state of the NodeBackupConfiguration configuration.
	LifecycleState NodeBackupConfigurationLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The client request ID for tracing.
	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
}

ListNodeBackupConfigurationsRequest wrapper for the ListNodeBackupConfigurations operation

See also

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

func (ListNodeBackupConfigurationsRequest) BinaryRequestBody added in v65.65.3

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

BinaryRequestBody implements the OCIRequest interface

func (ListNodeBackupConfigurationsRequest) HTTPRequest added in v65.65.3

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

HTTPRequest implements the OCIRequest interface

func (ListNodeBackupConfigurationsRequest) RetryPolicy added in v65.65.3

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

func (ListNodeBackupConfigurationsRequest) String added in v65.65.3

func (ListNodeBackupConfigurationsRequest) ValidateEnumValue added in v65.65.3

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

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

type ListNodeBackupConfigurationsResponse added in v65.65.3

type ListNodeBackupConfigurationsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a request, provide this 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 a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListNodeBackupConfigurationsResponse wrapper for the ListNodeBackupConfigurations operation

func (ListNodeBackupConfigurationsResponse) HTTPResponse added in v65.65.3

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

HTTPResponse implements the OCIResponse interface

func (ListNodeBackupConfigurationsResponse) String added in v65.65.3

func (response ListNodeBackupConfigurationsResponse) String() string

type ListNodeBackupConfigurationsSortByEnum added in v65.65.3

type ListNodeBackupConfigurationsSortByEnum string

ListNodeBackupConfigurationsSortByEnum Enum with underlying type: string

const (
	ListNodeBackupConfigurationsSortByTimecreated ListNodeBackupConfigurationsSortByEnum = "timeCreated"
	ListNodeBackupConfigurationsSortByDisplayname ListNodeBackupConfigurationsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListNodeBackupConfigurationsSortByEnum

func GetListNodeBackupConfigurationsSortByEnumValues added in v65.65.3

func GetListNodeBackupConfigurationsSortByEnumValues() []ListNodeBackupConfigurationsSortByEnum

GetListNodeBackupConfigurationsSortByEnumValues Enumerates the set of values for ListNodeBackupConfigurationsSortByEnum

func GetMappingListNodeBackupConfigurationsSortByEnum added in v65.65.3

func GetMappingListNodeBackupConfigurationsSortByEnum(val string) (ListNodeBackupConfigurationsSortByEnum, bool)

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

type ListNodeBackupConfigurationsSortOrderEnum added in v65.65.3

type ListNodeBackupConfigurationsSortOrderEnum string

ListNodeBackupConfigurationsSortOrderEnum Enum with underlying type: string

const (
	ListNodeBackupConfigurationsSortOrderAsc  ListNodeBackupConfigurationsSortOrderEnum = "ASC"
	ListNodeBackupConfigurationsSortOrderDesc ListNodeBackupConfigurationsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListNodeBackupConfigurationsSortOrderEnum

func GetListNodeBackupConfigurationsSortOrderEnumValues added in v65.65.3

func GetListNodeBackupConfigurationsSortOrderEnumValues() []ListNodeBackupConfigurationsSortOrderEnum

GetListNodeBackupConfigurationsSortOrderEnumValues Enumerates the set of values for ListNodeBackupConfigurationsSortOrderEnum

func GetMappingListNodeBackupConfigurationsSortOrderEnum added in v65.65.3

func GetMappingListNodeBackupConfigurationsSortOrderEnum(val string) (ListNodeBackupConfigurationsSortOrderEnum, bool)

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

type ListNodeBackupsRequest added in v65.65.3

type ListNodeBackupsRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

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

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

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListNodeBackupsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListNodeBackupsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The node host name belonged to a node that has a node backup.
	NodeHostName *string `mandatory:"false" contributesTo:"query" name:"nodeHostName"`

	// The state of the Node's Backup.
	LifecycleState NodeBackupLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

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

	// The display name belonged to the node backup.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

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

ListNodeBackupsRequest wrapper for the ListNodeBackups operation

See also

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

func (ListNodeBackupsRequest) BinaryRequestBody added in v65.65.3

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

BinaryRequestBody implements the OCIRequest interface

func (ListNodeBackupsRequest) HTTPRequest added in v65.65.3

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

HTTPRequest implements the OCIRequest interface

func (ListNodeBackupsRequest) RetryPolicy added in v65.65.3

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

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

func (ListNodeBackupsRequest) String added in v65.65.3

func (request ListNodeBackupsRequest) String() string

func (ListNodeBackupsRequest) ValidateEnumValue added in v65.65.3

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

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

type ListNodeBackupsResponse added in v65.65.3

type ListNodeBackupsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a request, provide this 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 a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListNodeBackupsResponse wrapper for the ListNodeBackups operation

func (ListNodeBackupsResponse) HTTPResponse added in v65.65.3

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

HTTPResponse implements the OCIResponse interface

func (ListNodeBackupsResponse) String added in v65.65.3

func (response ListNodeBackupsResponse) String() string

type ListNodeBackupsSortByEnum added in v65.65.3

type ListNodeBackupsSortByEnum string

ListNodeBackupsSortByEnum Enum with underlying type: string

const (
	ListNodeBackupsSortByTimecreated ListNodeBackupsSortByEnum = "timeCreated"
	ListNodeBackupsSortByDisplayname ListNodeBackupsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListNodeBackupsSortByEnum

func GetListNodeBackupsSortByEnumValues added in v65.65.3

func GetListNodeBackupsSortByEnumValues() []ListNodeBackupsSortByEnum

GetListNodeBackupsSortByEnumValues Enumerates the set of values for ListNodeBackupsSortByEnum

func GetMappingListNodeBackupsSortByEnum added in v65.65.3

func GetMappingListNodeBackupsSortByEnum(val string) (ListNodeBackupsSortByEnum, bool)

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

type ListNodeBackupsSortOrderEnum added in v65.65.3

type ListNodeBackupsSortOrderEnum string

ListNodeBackupsSortOrderEnum Enum with underlying type: string

const (
	ListNodeBackupsSortOrderAsc  ListNodeBackupsSortOrderEnum = "ASC"
	ListNodeBackupsSortOrderDesc ListNodeBackupsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListNodeBackupsSortOrderEnum

func GetListNodeBackupsSortOrderEnumValues added in v65.65.3

func GetListNodeBackupsSortOrderEnumValues() []ListNodeBackupsSortOrderEnum

GetListNodeBackupsSortOrderEnumValues Enumerates the set of values for ListNodeBackupsSortOrderEnum

func GetMappingListNodeBackupsSortOrderEnum added in v65.65.3

func GetMappingListNodeBackupsSortOrderEnum(val string) (ListNodeBackupsSortOrderEnum, bool)

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

type ListNodeReplaceConfigurationsRequest added in v65.65.3

type ListNodeReplaceConfigurationsRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

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

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

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListNodeReplaceConfigurationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListNodeReplaceConfigurationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

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

	// The state of the NodeReplaceConfiguration.
	LifecycleState NodeReplaceConfigurationLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The client request ID for tracing.
	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
}

ListNodeReplaceConfigurationsRequest wrapper for the ListNodeReplaceConfigurations operation

See also

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

func (ListNodeReplaceConfigurationsRequest) BinaryRequestBody added in v65.65.3

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

BinaryRequestBody implements the OCIRequest interface

func (ListNodeReplaceConfigurationsRequest) HTTPRequest added in v65.65.3

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

HTTPRequest implements the OCIRequest interface

func (ListNodeReplaceConfigurationsRequest) RetryPolicy added in v65.65.3

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

func (ListNodeReplaceConfigurationsRequest) String added in v65.65.3

func (ListNodeReplaceConfigurationsRequest) ValidateEnumValue added in v65.65.3

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

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

type ListNodeReplaceConfigurationsResponse added in v65.65.3

type ListNodeReplaceConfigurationsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a request, provide this 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 a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListNodeReplaceConfigurationsResponse wrapper for the ListNodeReplaceConfigurations operation

func (ListNodeReplaceConfigurationsResponse) HTTPResponse added in v65.65.3

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

HTTPResponse implements the OCIResponse interface

func (ListNodeReplaceConfigurationsResponse) String added in v65.65.3

type ListNodeReplaceConfigurationsSortByEnum added in v65.65.3

type ListNodeReplaceConfigurationsSortByEnum string

ListNodeReplaceConfigurationsSortByEnum Enum with underlying type: string

const (
	ListNodeReplaceConfigurationsSortByTimecreated ListNodeReplaceConfigurationsSortByEnum = "timeCreated"
	ListNodeReplaceConfigurationsSortByDisplayname ListNodeReplaceConfigurationsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListNodeReplaceConfigurationsSortByEnum

func GetListNodeReplaceConfigurationsSortByEnumValues added in v65.65.3

func GetListNodeReplaceConfigurationsSortByEnumValues() []ListNodeReplaceConfigurationsSortByEnum

GetListNodeReplaceConfigurationsSortByEnumValues Enumerates the set of values for ListNodeReplaceConfigurationsSortByEnum

func GetMappingListNodeReplaceConfigurationsSortByEnum added in v65.65.3

func GetMappingListNodeReplaceConfigurationsSortByEnum(val string) (ListNodeReplaceConfigurationsSortByEnum, bool)

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

type ListNodeReplaceConfigurationsSortOrderEnum added in v65.65.3

type ListNodeReplaceConfigurationsSortOrderEnum string

ListNodeReplaceConfigurationsSortOrderEnum Enum with underlying type: string

const (
	ListNodeReplaceConfigurationsSortOrderAsc  ListNodeReplaceConfigurationsSortOrderEnum = "ASC"
	ListNodeReplaceConfigurationsSortOrderDesc ListNodeReplaceConfigurationsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListNodeReplaceConfigurationsSortOrderEnum

func GetListNodeReplaceConfigurationsSortOrderEnumValues added in v65.65.3

func GetListNodeReplaceConfigurationsSortOrderEnumValues() []ListNodeReplaceConfigurationsSortOrderEnum

GetListNodeReplaceConfigurationsSortOrderEnumValues Enumerates the set of values for ListNodeReplaceConfigurationsSortOrderEnum

func GetMappingListNodeReplaceConfigurationsSortOrderEnum added in v65.65.3

func GetMappingListNodeReplaceConfigurationsSortOrderEnum(val string) (ListNodeReplaceConfigurationsSortOrderEnum, bool)

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

type ListOsPatchesRequest added in v65.44.0

type ListOsPatchesRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

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

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

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListOsPatchesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListOsPatchesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error, without risk of executing that same action again. Retry tokens expire after 24
	// hours but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might 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
}

ListOsPatchesRequest wrapper for the ListOsPatches operation

See also

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

func (ListOsPatchesRequest) BinaryRequestBody added in v65.44.0

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

BinaryRequestBody implements the OCIRequest interface

func (ListOsPatchesRequest) HTTPRequest added in v65.44.0

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

HTTPRequest implements the OCIRequest interface

func (ListOsPatchesRequest) RetryPolicy added in v65.44.0

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

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

func (ListOsPatchesRequest) String added in v65.44.0

func (request ListOsPatchesRequest) String() string

func (ListOsPatchesRequest) ValidateEnumValue added in v65.44.0

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

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

type ListOsPatchesResponse added in v65.44.0

type ListOsPatchesResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

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

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

ListOsPatchesResponse wrapper for the ListOsPatches operation

func (ListOsPatchesResponse) HTTPResponse added in v65.44.0

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

HTTPResponse implements the OCIResponse interface

func (ListOsPatchesResponse) String added in v65.44.0

func (response ListOsPatchesResponse) String() string

type ListOsPatchesSortByEnum added in v65.44.0

type ListOsPatchesSortByEnum string

ListOsPatchesSortByEnum Enum with underlying type: string

const (
	ListOsPatchesSortByTimecreated ListOsPatchesSortByEnum = "timeCreated"
	ListOsPatchesSortByDisplayname ListOsPatchesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListOsPatchesSortByEnum

func GetListOsPatchesSortByEnumValues added in v65.44.0

func GetListOsPatchesSortByEnumValues() []ListOsPatchesSortByEnum

GetListOsPatchesSortByEnumValues Enumerates the set of values for ListOsPatchesSortByEnum

func GetMappingListOsPatchesSortByEnum added in v65.44.0

func GetMappingListOsPatchesSortByEnum(val string) (ListOsPatchesSortByEnum, bool)

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

type ListOsPatchesSortOrderEnum added in v65.44.0

type ListOsPatchesSortOrderEnum string

ListOsPatchesSortOrderEnum Enum with underlying type: string

const (
	ListOsPatchesSortOrderAsc  ListOsPatchesSortOrderEnum = "ASC"
	ListOsPatchesSortOrderDesc ListOsPatchesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListOsPatchesSortOrderEnum

func GetListOsPatchesSortOrderEnumValues added in v65.44.0

func GetListOsPatchesSortOrderEnumValues() []ListOsPatchesSortOrderEnum

GetListOsPatchesSortOrderEnumValues Enumerates the set of values for ListOsPatchesSortOrderEnum

func GetMappingListOsPatchesSortOrderEnum added in v65.44.0

func GetMappingListOsPatchesSortOrderEnum(val string) (ListOsPatchesSortOrderEnum, bool)

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

type ListPatchHistoriesRequest added in v65.3.0

type ListPatchHistoriesRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

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

	// The status of the patch.
	LifecycleState PatchHistorySummaryLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The version of the patch
	PatchVersion *string `mandatory:"false" contributesTo:"query" name:"patchVersion"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListPatchHistoriesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListPatchHistoriesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

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

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

	// The type of a BDS patch history entity.
	PatchType PatchHistorySummaryPatchTypeEnum `mandatory:"false" contributesTo:"query" name:"patchType" 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
}

ListPatchHistoriesRequest wrapper for the ListPatchHistories operation

See also

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

func (ListPatchHistoriesRequest) BinaryRequestBody added in v65.3.0

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

BinaryRequestBody implements the OCIRequest interface

func (ListPatchHistoriesRequest) HTTPRequest added in v65.3.0

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

HTTPRequest implements the OCIRequest interface

func (ListPatchHistoriesRequest) RetryPolicy added in v65.3.0

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

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

func (ListPatchHistoriesRequest) String added in v65.3.0

func (request ListPatchHistoriesRequest) String() string

func (ListPatchHistoriesRequest) ValidateEnumValue added in v65.3.0

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

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

type ListPatchHistoriesResponse added in v65.3.0

type ListPatchHistoriesResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

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

ListPatchHistoriesResponse wrapper for the ListPatchHistories operation

func (ListPatchHistoriesResponse) HTTPResponse added in v65.3.0

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

HTTPResponse implements the OCIResponse interface

func (ListPatchHistoriesResponse) String added in v65.3.0

func (response ListPatchHistoriesResponse) String() string

type ListPatchHistoriesSortByEnum added in v65.3.0

type ListPatchHistoriesSortByEnum string

ListPatchHistoriesSortByEnum Enum with underlying type: string

const (
	ListPatchHistoriesSortByTimecreated ListPatchHistoriesSortByEnum = "timeCreated"
	ListPatchHistoriesSortByDisplayname ListPatchHistoriesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListPatchHistoriesSortByEnum

func GetListPatchHistoriesSortByEnumValues added in v65.3.0

func GetListPatchHistoriesSortByEnumValues() []ListPatchHistoriesSortByEnum

GetListPatchHistoriesSortByEnumValues Enumerates the set of values for ListPatchHistoriesSortByEnum

func GetMappingListPatchHistoriesSortByEnum added in v65.3.0

func GetMappingListPatchHistoriesSortByEnum(val string) (ListPatchHistoriesSortByEnum, bool)

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

type ListPatchHistoriesSortOrderEnum added in v65.3.0

type ListPatchHistoriesSortOrderEnum string

ListPatchHistoriesSortOrderEnum Enum with underlying type: string

const (
	ListPatchHistoriesSortOrderAsc  ListPatchHistoriesSortOrderEnum = "ASC"
	ListPatchHistoriesSortOrderDesc ListPatchHistoriesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListPatchHistoriesSortOrderEnum

func GetListPatchHistoriesSortOrderEnumValues added in v65.3.0

func GetListPatchHistoriesSortOrderEnumValues() []ListPatchHistoriesSortOrderEnum

GetListPatchHistoriesSortOrderEnumValues Enumerates the set of values for ListPatchHistoriesSortOrderEnum

func GetMappingListPatchHistoriesSortOrderEnum added in v65.3.0

func GetMappingListPatchHistoriesSortOrderEnum(val string) (ListPatchHistoriesSortOrderEnum, bool)

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

type ListPatchesRequest added in v65.3.0

type ListPatchesRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

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

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

	// The maximum number of items to return.
	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
}

ListPatchesRequest wrapper for the ListPatches operation

See also

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

func (ListPatchesRequest) BinaryRequestBody added in v65.3.0

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

BinaryRequestBody implements the OCIRequest interface

func (ListPatchesRequest) HTTPRequest added in v65.3.0

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

HTTPRequest implements the OCIRequest interface

func (ListPatchesRequest) RetryPolicy added in v65.3.0

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

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

func (ListPatchesRequest) String added in v65.3.0

func (request ListPatchesRequest) String() string

func (ListPatchesRequest) ValidateEnumValue added in v65.3.0

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

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

type ListPatchesResponse added in v65.3.0

type ListPatchesResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

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

ListPatchesResponse wrapper for the ListPatches operation

func (ListPatchesResponse) HTTPResponse added in v65.3.0

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

HTTPResponse implements the OCIResponse interface

func (ListPatchesResponse) String added in v65.3.0

func (response ListPatchesResponse) String() string

type ListResourcePrincipalConfigurationsRequest added in v65.71.0

type ListResourcePrincipalConfigurationsRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

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

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

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListResourcePrincipalConfigurationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListResourcePrincipalConfigurationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

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

	// The state of the ResourcePrincipalConfiguration.
	LifecycleState ResourcePrincipalConfigurationLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The client request ID for tracing.
	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
}

ListResourcePrincipalConfigurationsRequest wrapper for the ListResourcePrincipalConfigurations operation

See also

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

func (ListResourcePrincipalConfigurationsRequest) BinaryRequestBody added in v65.71.0

BinaryRequestBody implements the OCIRequest interface

func (ListResourcePrincipalConfigurationsRequest) HTTPRequest added in v65.71.0

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

HTTPRequest implements the OCIRequest interface

func (ListResourcePrincipalConfigurationsRequest) RetryPolicy added in v65.71.0

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

func (ListResourcePrincipalConfigurationsRequest) String added in v65.71.0

func (ListResourcePrincipalConfigurationsRequest) ValidateEnumValue added in v65.71.0

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

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

type ListResourcePrincipalConfigurationsResponse added in v65.71.0

type ListResourcePrincipalConfigurationsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a request, provide this 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 a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListResourcePrincipalConfigurationsResponse wrapper for the ListResourcePrincipalConfigurations operation

func (ListResourcePrincipalConfigurationsResponse) HTTPResponse added in v65.71.0

HTTPResponse implements the OCIResponse interface

func (ListResourcePrincipalConfigurationsResponse) String added in v65.71.0

type ListResourcePrincipalConfigurationsSortByEnum added in v65.71.0

type ListResourcePrincipalConfigurationsSortByEnum string

ListResourcePrincipalConfigurationsSortByEnum Enum with underlying type: string

const (
	ListResourcePrincipalConfigurationsSortByTimecreated ListResourcePrincipalConfigurationsSortByEnum = "timeCreated"
	ListResourcePrincipalConfigurationsSortByDisplayname ListResourcePrincipalConfigurationsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListResourcePrincipalConfigurationsSortByEnum

func GetListResourcePrincipalConfigurationsSortByEnumValues added in v65.71.0

func GetListResourcePrincipalConfigurationsSortByEnumValues() []ListResourcePrincipalConfigurationsSortByEnum

GetListResourcePrincipalConfigurationsSortByEnumValues Enumerates the set of values for ListResourcePrincipalConfigurationsSortByEnum

func GetMappingListResourcePrincipalConfigurationsSortByEnum added in v65.71.0

func GetMappingListResourcePrincipalConfigurationsSortByEnum(val string) (ListResourcePrincipalConfigurationsSortByEnum, bool)

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

type ListResourcePrincipalConfigurationsSortOrderEnum added in v65.71.0

type ListResourcePrincipalConfigurationsSortOrderEnum string

ListResourcePrincipalConfigurationsSortOrderEnum Enum with underlying type: string

const (
	ListResourcePrincipalConfigurationsSortOrderAsc  ListResourcePrincipalConfigurationsSortOrderEnum = "ASC"
	ListResourcePrincipalConfigurationsSortOrderDesc ListResourcePrincipalConfigurationsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListResourcePrincipalConfigurationsSortOrderEnum

func GetListResourcePrincipalConfigurationsSortOrderEnumValues added in v65.71.0

func GetListResourcePrincipalConfigurationsSortOrderEnumValues() []ListResourcePrincipalConfigurationsSortOrderEnum

GetListResourcePrincipalConfigurationsSortOrderEnumValues Enumerates the set of values for ListResourcePrincipalConfigurationsSortOrderEnum

func GetMappingListResourcePrincipalConfigurationsSortOrderEnum added in v65.71.0

func GetMappingListResourcePrincipalConfigurationsSortOrderEnum(val string) (ListResourcePrincipalConfigurationsSortOrderEnum, bool)

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

type ListWorkRequestErrorsRequest

type ListWorkRequestErrorsRequest struct {

	// The ID of the asynchronous request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

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

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

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The client request ID for tracing.
	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
}

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/bds/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 []WorkRequestError instances
	Items []WorkRequestError `presentIn:"body"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

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

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 ListWorkRequestErrorsSortByEnum

type ListWorkRequestErrorsSortByEnum string

ListWorkRequestErrorsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestErrorsSortByTimecreated ListWorkRequestErrorsSortByEnum = "timeCreated"
	ListWorkRequestErrorsSortByDisplayname ListWorkRequestErrorsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortByEnumValues

func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum

GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)

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

type ListWorkRequestErrorsSortOrderEnum

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 ID of the asynchronous request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

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

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

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The client request ID for tracing.
	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
}

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/bds/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 []WorkRequestLogEntry instances
	Items []WorkRequestLogEntry `presentIn:"body"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

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

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 ListWorkRequestLogsSortByEnum

type ListWorkRequestLogsSortByEnum string

ListWorkRequestLogsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestLogsSortByTimecreated ListWorkRequestLogsSortByEnum = "timeCreated"
	ListWorkRequestLogsSortByDisplayname ListWorkRequestLogsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortByEnumValues

func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum

GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)

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

type ListWorkRequestLogsSortOrderEnum

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 of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The OCID of the resource.
	ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`

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

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

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The client request ID for tracing.
	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
}

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/bds/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 []WorkRequest instances
	Items []WorkRequest `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a request, provide this 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 a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	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 ListWorkRequestsSortByEnum

type ListWorkRequestsSortByEnum string

ListWorkRequestsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestsSortByTimecreated ListWorkRequestsSortByEnum = "timeCreated"
	ListWorkRequestsSortByDisplayname ListWorkRequestsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortByEnumValues

func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum

GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)

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

type ListWorkRequestsSortOrderEnum

type ListWorkRequestsSortOrderEnum string

ListWorkRequestsSortOrderEnum Enum with underlying type: string

const (
	ListWorkRequestsSortOrderAsc  ListWorkRequestsSortOrderEnum = "ASC"
	ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum

func GetListWorkRequestsSortOrderEnumValues

func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum

GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)

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

type MetricBasedHorizontalScaleInConfig added in v65.3.0

type MetricBasedHorizontalScaleInConfig struct {
	Metric *AutoScalePolicyMetricRule `mandatory:"false" json:"metric"`

	// This value is the minimum number of nodes the cluster can be scaled-in to.
	MinNodeCount *int `mandatory:"false" json:"minNodeCount"`

	// This value is the number of nodes to remove during a scale-in event.
	StepSize *int `mandatory:"false" json:"stepSize"`
}

MetricBasedHorizontalScaleInConfig Configration for a metric based horizontal scale-in policy.

func (MetricBasedHorizontalScaleInConfig) String added in v65.3.0

func (MetricBasedHorizontalScaleInConfig) ValidateEnumValue added in v65.3.0

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

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

type MetricBasedHorizontalScaleOutConfig added in v65.3.0

type MetricBasedHorizontalScaleOutConfig struct {
	Metric *AutoScalePolicyMetricRule `mandatory:"false" json:"metric"`

	// This value is the maximum number of nodes the cluster can be scaled-out to.
	MaxNodeCount *int `mandatory:"false" json:"maxNodeCount"`

	// This value is the number of nodes to add during a scale-out event.
	StepSize *int `mandatory:"false" json:"stepSize"`
}

MetricBasedHorizontalScaleOutConfig Configration for a metric based horizontal scale-out policy.

func (MetricBasedHorizontalScaleOutConfig) String added in v65.3.0

func (MetricBasedHorizontalScaleOutConfig) ValidateEnumValue added in v65.3.0

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

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

type MetricBasedHorizontalScalingPolicyDetails added in v65.3.0

type MetricBasedHorizontalScalingPolicyDetails struct {
	ScaleOutConfig *MetricBasedHorizontalScaleOutConfig `mandatory:"false" json:"scaleOutConfig"`

	ScaleInConfig *MetricBasedHorizontalScaleInConfig `mandatory:"false" json:"scaleInConfig"`

	// The type of autoscaling trigger.
	TriggerType AutoScalePolicyDetailsTriggerTypeEnum `mandatory:"true" json:"triggerType"`

	// The type of autoscaling action to take.
	ActionType AutoScalePolicyDetailsActionTypeEnum `mandatory:"true" json:"actionType"`
}

MetricBasedHorizontalScalingPolicyDetails Details of a metric based horizontal autoscaling policy. In a metric-based autoscaling policy, an autoscaling action is triggered when a performance metric exceeds a threshold.

func (MetricBasedHorizontalScalingPolicyDetails) GetActionType added in v65.3.0

GetActionType returns ActionType

func (MetricBasedHorizontalScalingPolicyDetails) GetTriggerType added in v65.3.0

GetTriggerType returns TriggerType

func (MetricBasedHorizontalScalingPolicyDetails) MarshalJSON added in v65.3.0

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

MarshalJSON marshals to json representation

func (MetricBasedHorizontalScalingPolicyDetails) String added in v65.3.0

func (MetricBasedHorizontalScalingPolicyDetails) ValidateEnumValue added in v65.3.0

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

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

type MetricBasedVerticalScaleDownConfig added in v65.3.0

type MetricBasedVerticalScaleDownConfig struct {
	Metric *AutoScalePolicyMetricRule `mandatory:"false" json:"metric"`

	// For nodes with flexible compute shapes (https://docs.cloud.oracle.com/iaas/Content/bigdata/create-cluster.htm#cluster-plan-shape), this value is the minimum number of OCPUs each node can be scaled-down to. This value is not used for nodes with fixed compute shapes.
	MinOcpusPerNode *int `mandatory:"false" json:"minOcpusPerNode"`

	// For nodes with flexible compute shapes (https://docs.cloud.oracle.com/iaas/Content/bigdata/create-cluster.htm#cluster-plan-shape), this value is the minimum memory in GBs each node can be scaled-down to. This value is not used for nodes with fixed compute shapes.
	MinMemoryPerNode *int `mandatory:"false" json:"minMemoryPerNode"`

	// For nodes with flexible compute shapes (https://docs.cloud.oracle.com/iaas/Content/bigdata/create-cluster.htm#cluster-plan-shape), this value is the number of OCPUs to remove from each node during a scale-down event. This value is not used for nodes with fixed compute shapes.
	OcpuStepSize *int `mandatory:"false" json:"ocpuStepSize"`

	// For nodes with flexible compute shapes (https://docs.cloud.oracle.com/iaas/Content/bigdata/create-cluster.htm#cluster-plan-shape), this value is the size of memory in GBs to remove from each node during a scale-down event. This value is not used for nodes with fixed compute shapes.
	MemoryStepSize *int `mandatory:"false" json:"memoryStepSize"`
}

MetricBasedVerticalScaleDownConfig Configration for a metric based vertical scale-down policy.

func (MetricBasedVerticalScaleDownConfig) String added in v65.3.0

func (MetricBasedVerticalScaleDownConfig) ValidateEnumValue added in v65.3.0

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

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

type MetricBasedVerticalScaleUpConfig added in v65.3.0

type MetricBasedVerticalScaleUpConfig struct {
	Metric *AutoScalePolicyMetricRule `mandatory:"false" json:"metric"`

	// For nodes with flexible compute shapes (https://docs.cloud.oracle.com/iaas/Content/bigdata/create-cluster.htm#cluster-plan-shape), this value is the maximum number of OCPUs each node can be scaled-up to. This value is not used for nodes with fixed compute shapes.
	MaxOcpusPerNode *int `mandatory:"false" json:"maxOcpusPerNode"`

	// For nodes with flexible compute shapes (https://docs.cloud.oracle.com/iaas/Content/bigdata/create-cluster.htm#cluster-plan-shape), this value is the maximum memory in GBs each node can be scaled-up to. This value is not used for nodes with fixed compute shapes.
	MaxMemoryPerNode *int `mandatory:"false" json:"maxMemoryPerNode"`

	// For nodes with flexible compute shapes (https://docs.cloud.oracle.com/iaas/Content/bigdata/create-cluster.htm#cluster-plan-shape), this value is the number of OCPUs to add to each node during a scale-up event. This value is not used for nodes with fixed compute shapes.
	OcpuStepSize *int `mandatory:"false" json:"ocpuStepSize"`

	// For nodes with flexible compute shapes (https://docs.cloud.oracle.com/iaas/Content/bigdata/create-cluster.htm#cluster-plan-shape), this value is the size of memory in GBs to add to each node during a scale-up event. This value is not used for nodes with fixed compute shapes.
	MemoryStepSize *int `mandatory:"false" json:"memoryStepSize"`
}

MetricBasedVerticalScaleUpConfig Configration for a metric based vertical scale-up policy.

func (MetricBasedVerticalScaleUpConfig) String added in v65.3.0

func (MetricBasedVerticalScaleUpConfig) ValidateEnumValue added in v65.3.0

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

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

type MetricBasedVerticalScalingPolicyDetails added in v65.3.0

type MetricBasedVerticalScalingPolicyDetails struct {
	ScaleUpConfig *MetricBasedVerticalScaleUpConfig `mandatory:"false" json:"scaleUpConfig"`

	ScaleDownConfig *MetricBasedVerticalScaleDownConfig `mandatory:"false" json:"scaleDownConfig"`

	// The type of autoscaling trigger.
	TriggerType AutoScalePolicyDetailsTriggerTypeEnum `mandatory:"true" json:"triggerType"`

	// The type of autoscaling action to take.
	ActionType AutoScalePolicyDetailsActionTypeEnum `mandatory:"true" json:"actionType"`
}

MetricBasedVerticalScalingPolicyDetails Details of a metric based vertical autoscaling policy. In a metric-based autoscaling policy, an autoscaling action is triggered when a performance metric exceeds a threshold.

func (MetricBasedVerticalScalingPolicyDetails) GetActionType added in v65.3.0

GetActionType returns ActionType

func (MetricBasedVerticalScalingPolicyDetails) GetTriggerType added in v65.3.0

GetTriggerType returns TriggerType

func (MetricBasedVerticalScalingPolicyDetails) MarshalJSON added in v65.3.0

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

MarshalJSON marshals to json representation

func (MetricBasedVerticalScalingPolicyDetails) String added in v65.3.0

func (MetricBasedVerticalScalingPolicyDetails) ValidateEnumValue added in v65.3.0

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

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

type MetricThresholdRule

type MetricThresholdRule struct {

	// This value is the minimum period of time the metric value exceeds the threshold value before the action is triggered. The value is in minutes.
	DurationInMinutes *int `mandatory:"true" json:"durationInMinutes"`

	// The comparison operator to use. Options are greater than (GT) or less than (LT).
	Operator MetricThresholdRuleOperatorEnum `mandatory:"true" json:"operator"`

	// Integer non-negative value. 0 < value < 100
	Value *int `mandatory:"true" json:"value"`
}

MetricThresholdRule An autoscale action is triggered when a performance metric exceeds a threshold.

func (MetricThresholdRule) String

func (m MetricThresholdRule) String() string

func (MetricThresholdRule) ValidateEnumValue

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

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type MetricThresholdRuleOperatorEnum

type MetricThresholdRuleOperatorEnum string

MetricThresholdRuleOperatorEnum Enum with underlying type: string

const (
	MetricThresholdRuleOperatorGt MetricThresholdRuleOperatorEnum = "GT"
	MetricThresholdRuleOperatorLt MetricThresholdRuleOperatorEnum = "LT"
)

Set of constants representing the allowable values for MetricThresholdRuleOperatorEnum

func GetMappingMetricThresholdRuleOperatorEnum

func GetMappingMetricThresholdRuleOperatorEnum(val string) (MetricThresholdRuleOperatorEnum, bool)

GetMappingMetricThresholdRuleOperatorEnum performs case Insensitive comparison on enum value and return the desired enum

func GetMetricThresholdRuleOperatorEnumValues

func GetMetricThresholdRuleOperatorEnumValues() []MetricThresholdRuleOperatorEnum

GetMetricThresholdRuleOperatorEnumValues Enumerates the set of values for MetricThresholdRuleOperatorEnum

type NetworkConfig

type NetworkConfig struct {

	// A boolean flag whether to configure a NAT gateway.
	IsNatGatewayRequired *bool `mandatory:"false" json:"isNatGatewayRequired"`

	// The CIDR IP address block of the VCN.
	CidrBlock *string `mandatory:"false" json:"cidrBlock"`
}

NetworkConfig Additional configuration of the user's network.

func (NetworkConfig) String

func (m NetworkConfig) String() string

func (NetworkConfig) ValidateEnumValue

func (m NetworkConfig) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type Node

type Node struct {

	// The OCID of the underlying Oracle Cloud Infrastructure Compute instance.
	InstanceId *string `mandatory:"true" json:"instanceId"`

	// The name of the node.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The state of the node.
	LifecycleState NodeLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Cluster node type.
	NodeType NodeNodeTypeEnum `mandatory:"true" json:"nodeType"`

	// Shape of the node.
	Shape *string `mandatory:"true" json:"shape"`

	// The OCID of the subnet in which the node is to be created.
	SubnetId *string `mandatory:"true" json:"subnetId"`

	// IP address of the node.
	IpAddress *string `mandatory:"true" json:"ipAddress"`

	// The fingerprint of the SSH key used for node access.
	SshFingerprint *string `mandatory:"true" json:"sshFingerprint"`

	// The name of the availability domain in which the node is running.
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The name of the fault domain in which the node is running.
	FaultDomain *string `mandatory:"true" json:"faultDomain"`

	// The time the node was created, shown as an RFC 3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The list of block volumes attached to a given node.
	AttachedBlockVolumes []VolumeAttachmentDetail `mandatory:"false" json:"attachedBlockVolumes"`

	// The fully-qualified hostname (FQDN) of the node.
	Hostname *string `mandatory:"false" json:"hostname"`

	// The OCID of the image from which the node was created.
	ImageId *string `mandatory:"false" json:"imageId"`

	// The time the cluster was updated, shown as an RFC 3339 formatted datetime string.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The total number of OCPUs available to the node.
	Ocpus *int `mandatory:"false" json:"ocpus"`

	// The total amount of memory available to the node, in gigabytes.
	MemoryInGBs *int `mandatory:"false" json:"memoryInGBs"`

	// The number of NVMe drives to be used for storage. A single drive has 6.8 TB available.
	Nvmes *int `mandatory:"false" json:"nvmes"`

	// The aggregate size of all local disks, in gigabytes. If the instance does not have any local disks, this field is null.
	LocalDisksTotalSizeInGBs *float64 `mandatory:"false" json:"localDisksTotalSizeInGBs"`

	// The date and time the instance is expected to be stopped / started, in the format defined by RFC3339.
	TimeMaintenanceRebootDue *common.SDKTime `mandatory:"false" json:"timeMaintenanceRebootDue"`

	// BDS-assigned Operating System version for the node.
	OsVersion *string `mandatory:"false" json:"osVersion"`

	// Indicates if the node requires a reboot to either reflect the latest os kernel or take actions for maintenance reboot.
	IsRebootRequired *bool `mandatory:"false" json:"isRebootRequired"`

	// Version of the ODH (Oracle Distribution including Apache Hadoop) for the node.
	OdhVersion *string `mandatory:"false" json:"odhVersion"`

	// The date and time the instance was replaced by a new vm with a node backup.
	TimeReplaced *common.SDKTime `mandatory:"false" json:"timeReplaced"`

	// The node back id that was used for replacing the node.
	NodeBackupId *string `mandatory:"false" json:"nodeBackupId"`
}

Node Details about a node.

func (Node) String

func (m Node) String() string

func (Node) ValidateEnumValue

func (m Node) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NodeBackup added in v65.65.3

type NodeBackup struct {

	// The id of the node backup.
	Id *string `mandatory:"true" json:"id"`

	// BDS generated name for the backup. Format is nodeHostName_timeCreated
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The instance OCID of the node, which is the resource from which the node backup was acquired.
	NodeInstanceId *string `mandatory:"true" json:"nodeInstanceId"`

	// Host name of the node to which this backup belongs.
	NodeHostName *string `mandatory:"true" json:"nodeHostName"`

	// type based on how backup action was initiated.
	BackupTriggerType NodeBackupBackupTriggerTypeEnum `mandatory:"true" json:"backupTriggerType"`

	// Incremental backup type includes only the changes since the last backup. Full backup type includes all changes since the volume was created.
	BackupType NodeBackupBackupTypeEnum `mandatory:"true" json:"backupType"`

	// The state of the NodeBackup.
	LifecycleState NodeBackupLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The time the cluster was created, shown as an RFC 3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The ID of the nodeBackupConfiguration if the NodeBackup is automatically created by applying the configuration.
	NodeBackupConfigId *string `mandatory:"false" json:"nodeBackupConfigId"`
}

NodeBackup The information about the Node's backup.

func (NodeBackup) String added in v65.65.3

func (m NodeBackup) String() string

func (NodeBackup) ValidateEnumValue added in v65.65.3

func (m NodeBackup) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NodeBackupBackupTriggerTypeEnum added in v65.65.3

type NodeBackupBackupTriggerTypeEnum string

NodeBackupBackupTriggerTypeEnum Enum with underlying type: string

const (
	NodeBackupBackupTriggerTypeManual    NodeBackupBackupTriggerTypeEnum = "MANUAL"
	NodeBackupBackupTriggerTypeScheduled NodeBackupBackupTriggerTypeEnum = "SCHEDULED"
)

Set of constants representing the allowable values for NodeBackupBackupTriggerTypeEnum

func GetMappingNodeBackupBackupTriggerTypeEnum added in v65.65.3

func GetMappingNodeBackupBackupTriggerTypeEnum(val string) (NodeBackupBackupTriggerTypeEnum, bool)

GetMappingNodeBackupBackupTriggerTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetNodeBackupBackupTriggerTypeEnumValues added in v65.65.3

func GetNodeBackupBackupTriggerTypeEnumValues() []NodeBackupBackupTriggerTypeEnum

GetNodeBackupBackupTriggerTypeEnumValues Enumerates the set of values for NodeBackupBackupTriggerTypeEnum

type NodeBackupBackupTypeEnum added in v65.65.3

type NodeBackupBackupTypeEnum string

NodeBackupBackupTypeEnum Enum with underlying type: string

const (
	NodeBackupBackupTypeFull        NodeBackupBackupTypeEnum = "FULL"
	NodeBackupBackupTypeIncremental NodeBackupBackupTypeEnum = "INCREMENTAL"
)

Set of constants representing the allowable values for NodeBackupBackupTypeEnum

func GetMappingNodeBackupBackupTypeEnum added in v65.65.3

func GetMappingNodeBackupBackupTypeEnum(val string) (NodeBackupBackupTypeEnum, bool)

GetMappingNodeBackupBackupTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetNodeBackupBackupTypeEnumValues added in v65.65.3

func GetNodeBackupBackupTypeEnumValues() []NodeBackupBackupTypeEnum

GetNodeBackupBackupTypeEnumValues Enumerates the set of values for NodeBackupBackupTypeEnum

type NodeBackupConfiguration added in v65.65.3

type NodeBackupConfiguration struct {

	// The unique identifier for the NodeBackupConfiguration.
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the bdsInstance which is the parent resource id.
	BdsInstanceId *string `mandatory:"true" json:"bdsInstanceId"`

	// A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	LevelTypeDetails LevelTypeDetails `mandatory:"true" json:"levelTypeDetails"`

	// The state of the NodeBackupConfiguration.
	LifecycleState NodeBackupConfigurationLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The time the NodeBackupConfiguration was created, shown as an RFC 3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The time the NodeBackupConfiguration was updated, shown as an RFC 3339 formatted datetime string.
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The time zone of the execution schedule, in IANA time zone database name format
	Timezone *string `mandatory:"true" json:"timezone"`

	// Day/time recurrence (specified following RFC 5545) at which to trigger the backup process. Currently only DAILY, WEEKLY and MONTHLY frequency is supported. Days of the week are specified using BYDAY field. Time of the day is specified using BYHOUR. Other fields are not supported.
	Schedule *string `mandatory:"true" json:"schedule"`

	// Number of backup copies to retain.
	NumberOfBackupsToRetain *int `mandatory:"true" json:"numberOfBackupsToRetain"`

	// Incremental backup type includes only the changes since the last backup. Full backup type includes all changes since the volume was created.
	BackupType NodeBackupBackupTypeEnum `mandatory:"false" json:"backupType,omitempty"`
}

NodeBackupConfiguration The information about the NodeBackupConfiguration.

func (NodeBackupConfiguration) String added in v65.65.3

func (m NodeBackupConfiguration) String() string

func (*NodeBackupConfiguration) UnmarshalJSON added in v65.65.3

func (m *NodeBackupConfiguration) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (NodeBackupConfiguration) ValidateEnumValue added in v65.65.3

func (m NodeBackupConfiguration) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NodeBackupConfigurationLifecycleStateEnum added in v65.65.3

type NodeBackupConfigurationLifecycleStateEnum string

NodeBackupConfigurationLifecycleStateEnum Enum with underlying type: string

const (
	NodeBackupConfigurationLifecycleStateCreating NodeBackupConfigurationLifecycleStateEnum = "CREATING"
	NodeBackupConfigurationLifecycleStateActive   NodeBackupConfigurationLifecycleStateEnum = "ACTIVE"
	NodeBackupConfigurationLifecycleStateUpdating NodeBackupConfigurationLifecycleStateEnum = "UPDATING"
	NodeBackupConfigurationLifecycleStateDeleting NodeBackupConfigurationLifecycleStateEnum = "DELETING"
	NodeBackupConfigurationLifecycleStateDeleted  NodeBackupConfigurationLifecycleStateEnum = "DELETED"
	NodeBackupConfigurationLifecycleStateFailed   NodeBackupConfigurationLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for NodeBackupConfigurationLifecycleStateEnum

func GetMappingNodeBackupConfigurationLifecycleStateEnum added in v65.65.3

func GetMappingNodeBackupConfigurationLifecycleStateEnum(val string) (NodeBackupConfigurationLifecycleStateEnum, bool)

GetMappingNodeBackupConfigurationLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetNodeBackupConfigurationLifecycleStateEnumValues added in v65.65.3

func GetNodeBackupConfigurationLifecycleStateEnumValues() []NodeBackupConfigurationLifecycleStateEnum

GetNodeBackupConfigurationLifecycleStateEnumValues Enumerates the set of values for NodeBackupConfigurationLifecycleStateEnum

type NodeBackupConfigurationSummary added in v65.65.3

type NodeBackupConfigurationSummary struct {

	// The id of the NodeBackupConfiguration.
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the bdsInstance which is the parent resource id.
	BdsInstanceId *string `mandatory:"true" json:"bdsInstanceId"`

	// A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	LevelTypeDetails LevelTypeDetails `mandatory:"true" json:"levelTypeDetails"`

	// The state of the NodeBackupConfiguration.
	LifecycleState NodeBackupConfigurationLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The time the NodeBackupConfiguration was created, shown as an RFC 3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The time the NodeBackupConfiguration was updated, shown as an RFC 3339 formatted datetime string.
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
}

NodeBackupConfigurationSummary The information about the NodeBackupConfiguration.

func (NodeBackupConfigurationSummary) String added in v65.65.3

func (*NodeBackupConfigurationSummary) UnmarshalJSON added in v65.65.3

func (m *NodeBackupConfigurationSummary) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (NodeBackupConfigurationSummary) ValidateEnumValue added in v65.65.3

func (m NodeBackupConfigurationSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NodeBackupLifecycleStateEnum added in v65.65.3

type NodeBackupLifecycleStateEnum string

NodeBackupLifecycleStateEnum Enum with underlying type: string

const (
	NodeBackupLifecycleStateCreating NodeBackupLifecycleStateEnum = "CREATING"
	NodeBackupLifecycleStateActive   NodeBackupLifecycleStateEnum = "ACTIVE"
	NodeBackupLifecycleStateUpdating NodeBackupLifecycleStateEnum = "UPDATING"
	NodeBackupLifecycleStateDeleting NodeBackupLifecycleStateEnum = "DELETING"
	NodeBackupLifecycleStateDeleted  NodeBackupLifecycleStateEnum = "DELETED"
	NodeBackupLifecycleStateFailed   NodeBackupLifecycleStateEnum = "FAILED"
	NodeBackupLifecycleStatePartial  NodeBackupLifecycleStateEnum = "PARTIAL"
)

Set of constants representing the allowable values for NodeBackupLifecycleStateEnum

func GetMappingNodeBackupLifecycleStateEnum added in v65.65.3

func GetMappingNodeBackupLifecycleStateEnum(val string) (NodeBackupLifecycleStateEnum, bool)

GetMappingNodeBackupLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetNodeBackupLifecycleStateEnumValues added in v65.65.3

func GetNodeBackupLifecycleStateEnumValues() []NodeBackupLifecycleStateEnum

GetNodeBackupLifecycleStateEnumValues Enumerates the set of values for NodeBackupLifecycleStateEnum

type NodeBackupSummary added in v65.65.3

type NodeBackupSummary struct {

	// The id of the node backup.
	Id *string `mandatory:"true" json:"id"`

	// BDS generated name for the backup. Format is nodeHostName_timeCreated.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The instance OCID of the node, which is the resource from which the node backup was acquired.
	NodeInstanceId *string `mandatory:"true" json:"nodeInstanceId"`

	// Host name of the node that the backup belongs to.
	NodeHostName *string `mandatory:"true" json:"nodeHostName"`

	// type based on how backup action was initiated.
	BackupTriggerType NodeBackupBackupTriggerTypeEnum `mandatory:"true" json:"backupTriggerType"`

	// Incremental backup type includes only the changes since the last backup. Full backup type includes all changes since the volume was created
	BackupType NodeBackupBackupTypeEnum `mandatory:"true" json:"backupType"`

	// The state of NodeBackup.
	LifecycleState NodeBackupLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The time the cluster was created, shown as an RFC 3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
}

NodeBackupSummary The information about the nodeBackupSummary.

func (NodeBackupSummary) String added in v65.65.3

func (m NodeBackupSummary) String() string

func (NodeBackupSummary) ValidateEnumValue added in v65.65.3

func (m NodeBackupSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NodeLevelDetails added in v65.65.3

type NodeLevelDetails struct {

	// Host name of the node to create backup configuration.
	NodeHostName *string `mandatory:"true" json:"nodeHostName"`
}

NodeLevelDetails Details of node level used to trigger the creation of a new node backup configuration and node replacement configuration.

func (NodeLevelDetails) MarshalJSON added in v65.65.3

func (m NodeLevelDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (NodeLevelDetails) String added in v65.65.3

func (m NodeLevelDetails) String() string

func (NodeLevelDetails) ValidateEnumValue added in v65.65.3

func (m NodeLevelDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NodeLifecycleStateEnum

type NodeLifecycleStateEnum string

NodeLifecycleStateEnum Enum with underlying type: string

const (
	NodeLifecycleStateCreating NodeLifecycleStateEnum = "CREATING"
	NodeLifecycleStateActive   NodeLifecycleStateEnum = "ACTIVE"
	NodeLifecycleStateInactive NodeLifecycleStateEnum = "INACTIVE"
	NodeLifecycleStateUpdating NodeLifecycleStateEnum = "UPDATING"
	NodeLifecycleStateDeleting NodeLifecycleStateEnum = "DELETING"
	NodeLifecycleStateDeleted  NodeLifecycleStateEnum = "DELETED"
	NodeLifecycleStateFailed   NodeLifecycleStateEnum = "FAILED"
	NodeLifecycleStateStopped  NodeLifecycleStateEnum = "STOPPED"
	NodeLifecycleStateStopping NodeLifecycleStateEnum = "STOPPING"
	NodeLifecycleStateStarting NodeLifecycleStateEnum = "STARTING"
)

Set of constants representing the allowable values for NodeLifecycleStateEnum

func GetMappingNodeLifecycleStateEnum

func GetMappingNodeLifecycleStateEnum(val string) (NodeLifecycleStateEnum, bool)

GetMappingNodeLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetNodeLifecycleStateEnumValues

func GetNodeLifecycleStateEnumValues() []NodeLifecycleStateEnum

GetNodeLifecycleStateEnumValues Enumerates the set of values for NodeLifecycleStateEnum

type NodeNodeTypeEnum

type NodeNodeTypeEnum string

NodeNodeTypeEnum Enum with underlying type: string

const (
	NodeNodeTypeMaster            NodeNodeTypeEnum = "MASTER"
	NodeNodeTypeEdge              NodeNodeTypeEnum = "EDGE"
	NodeNodeTypeUtility           NodeNodeTypeEnum = "UTILITY"
	NodeNodeTypeWorker            NodeNodeTypeEnum = "WORKER"
	NodeNodeTypeComputeOnlyWorker NodeNodeTypeEnum = "COMPUTE_ONLY_WORKER"
	NodeNodeTypeKafkaBroker       NodeNodeTypeEnum = "KAFKA_BROKER"
	NodeNodeTypeBursting          NodeNodeTypeEnum = "BURSTING"
	NodeNodeTypeCloudSql          NodeNodeTypeEnum = "CLOUD_SQL"
)

Set of constants representing the allowable values for NodeNodeTypeEnum

func GetMappingNodeNodeTypeEnum

func GetMappingNodeNodeTypeEnum(val string) (NodeNodeTypeEnum, bool)

GetMappingNodeNodeTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetNodeNodeTypeEnumValues

func GetNodeNodeTypeEnumValues() []NodeNodeTypeEnum

GetNodeNodeTypeEnumValues Enumerates the set of values for NodeNodeTypeEnum

type NodeReplaceConfiguration added in v65.65.3

type NodeReplaceConfiguration struct {

	// The unique identifier for the NodeReplaceConfiguration.
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the bdsInstance which is the parent resource id.
	BdsInstanceId *string `mandatory:"true" json:"bdsInstanceId"`

	// A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	LevelTypeDetails LevelTypeDetails `mandatory:"true" json:"levelTypeDetails"`

	// The state of the NodeReplaceConfiguration.
	LifecycleState NodeReplaceConfigurationLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The time the NodeReplaceConfiguration was created, shown as an RFC 3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The time the NodeReplaceConfiguration was updated, shown as an RFC 3339 formatted datetime string.
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// Type of compute instance health metric to use for node replacement
	MetricType NodeReplaceConfigurationMetricTypeEnum `mandatory:"true" json:"metricType"`

	// This value is the minimum period of time to wait for metric emission before triggering node replacement. The value is in minutes.
	DurationInMinutes *int `mandatory:"true" json:"durationInMinutes"`
}

NodeReplaceConfiguration The information about the NodeReplaceConfiguration.

func (NodeReplaceConfiguration) String added in v65.65.3

func (m NodeReplaceConfiguration) String() string

func (*NodeReplaceConfiguration) UnmarshalJSON added in v65.65.3

func (m *NodeReplaceConfiguration) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (NodeReplaceConfiguration) ValidateEnumValue added in v65.65.3

func (m NodeReplaceConfiguration) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NodeReplaceConfigurationLifecycleStateEnum added in v65.65.3

type NodeReplaceConfigurationLifecycleStateEnum string

NodeReplaceConfigurationLifecycleStateEnum Enum with underlying type: string

const (
	NodeReplaceConfigurationLifecycleStateCreating NodeReplaceConfigurationLifecycleStateEnum = "CREATING"
	NodeReplaceConfigurationLifecycleStateActive   NodeReplaceConfigurationLifecycleStateEnum = "ACTIVE"
	NodeReplaceConfigurationLifecycleStateUpdating NodeReplaceConfigurationLifecycleStateEnum = "UPDATING"
	NodeReplaceConfigurationLifecycleStateDeleting NodeReplaceConfigurationLifecycleStateEnum = "DELETING"
	NodeReplaceConfigurationLifecycleStateDeleted  NodeReplaceConfigurationLifecycleStateEnum = "DELETED"
	NodeReplaceConfigurationLifecycleStateFailed   NodeReplaceConfigurationLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for NodeReplaceConfigurationLifecycleStateEnum

func GetMappingNodeReplaceConfigurationLifecycleStateEnum added in v65.65.3

func GetMappingNodeReplaceConfigurationLifecycleStateEnum(val string) (NodeReplaceConfigurationLifecycleStateEnum, bool)

GetMappingNodeReplaceConfigurationLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetNodeReplaceConfigurationLifecycleStateEnumValues added in v65.65.3

func GetNodeReplaceConfigurationLifecycleStateEnumValues() []NodeReplaceConfigurationLifecycleStateEnum

GetNodeReplaceConfigurationLifecycleStateEnumValues Enumerates the set of values for NodeReplaceConfigurationLifecycleStateEnum

type NodeReplaceConfigurationMetricTypeEnum added in v65.65.3

type NodeReplaceConfigurationMetricTypeEnum string

NodeReplaceConfigurationMetricTypeEnum Enum with underlying type: string

const (
	NodeReplaceConfigurationMetricTypeStatus              NodeReplaceConfigurationMetricTypeEnum = "INSTANCE_STATUS"
	NodeReplaceConfigurationMetricTypeAccessibilityStatus NodeReplaceConfigurationMetricTypeEnum = "INSTANCE_ACCESSIBILITY_STATUS"
)

Set of constants representing the allowable values for NodeReplaceConfigurationMetricTypeEnum

func GetMappingNodeReplaceConfigurationMetricTypeEnum added in v65.65.3

func GetMappingNodeReplaceConfigurationMetricTypeEnum(val string) (NodeReplaceConfigurationMetricTypeEnum, bool)

GetMappingNodeReplaceConfigurationMetricTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetNodeReplaceConfigurationMetricTypeEnumValues added in v65.65.3

func GetNodeReplaceConfigurationMetricTypeEnumValues() []NodeReplaceConfigurationMetricTypeEnum

GetNodeReplaceConfigurationMetricTypeEnumValues Enumerates the set of values for NodeReplaceConfigurationMetricTypeEnum

type NodeReplaceConfigurationSummary added in v65.65.3

type NodeReplaceConfigurationSummary struct {

	// The id of the NodeReplaceConfiguration.
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the bdsInstance which is the parent resource id.
	BdsInstanceId *string `mandatory:"true" json:"bdsInstanceId"`

	// A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	LevelTypeDetails LevelTypeDetails `mandatory:"true" json:"levelTypeDetails"`

	// The state of the NodeReplaceConfiguration.
	LifecycleState NodeReplaceConfigurationLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The time the NodeReplaceConfiguration was created, shown as an RFC 3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The time the NodeReplaceConfiguration was updated, shown as an RFC 3339 formatted datetime string.
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
}

NodeReplaceConfigurationSummary The information about the NodeReplaceConfigurationSummary.

func (NodeReplaceConfigurationSummary) String added in v65.65.3

func (*NodeReplaceConfigurationSummary) UnmarshalJSON added in v65.65.3

func (m *NodeReplaceConfigurationSummary) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (NodeReplaceConfigurationSummary) ValidateEnumValue added in v65.65.3

func (m NodeReplaceConfigurationSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NodeTypeLevelDetails added in v65.65.3

type NodeTypeLevelDetails struct {

	// Type of the node or nodes of the node backup configuration or node replacement configuration which are going to be created.
	NodeType NodeNodeTypeEnum `mandatory:"true" json:"nodeType"`
}

NodeTypeLevelDetails Details of node type level used to trigger the creation of a new node backup configuration and node replacement configuration.

func (NodeTypeLevelDetails) MarshalJSON added in v65.65.3

func (m NodeTypeLevelDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (NodeTypeLevelDetails) String added in v65.65.3

func (m NodeTypeLevelDetails) String() string

func (NodeTypeLevelDetails) ValidateEnumValue added in v65.65.3

func (m NodeTypeLevelDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type OdhPatchingConfig added in v65.71.0

type OdhPatchingConfig interface {
}

OdhPatchingConfig Detailed configurations for defining the behavior when installing ODH patches. If not provided, nodes will be patched with down time.

type OdhPatchingConfigPatchingConfigStrategyEnum added in v65.71.0

type OdhPatchingConfigPatchingConfigStrategyEnum string

OdhPatchingConfigPatchingConfigStrategyEnum Enum with underlying type: string

const (
	OdhPatchingConfigPatchingConfigStrategyDowntimeBased OdhPatchingConfigPatchingConfigStrategyEnum = "DOWNTIME_BASED"
	OdhPatchingConfigPatchingConfigStrategyBatchingBased OdhPatchingConfigPatchingConfigStrategyEnum = "BATCHING_BASED"
	OdhPatchingConfigPatchingConfigStrategyDomainBased   OdhPatchingConfigPatchingConfigStrategyEnum = "DOMAIN_BASED"
)

Set of constants representing the allowable values for OdhPatchingConfigPatchingConfigStrategyEnum

func GetMappingOdhPatchingConfigPatchingConfigStrategyEnum added in v65.71.0

func GetMappingOdhPatchingConfigPatchingConfigStrategyEnum(val string) (OdhPatchingConfigPatchingConfigStrategyEnum, bool)

GetMappingOdhPatchingConfigPatchingConfigStrategyEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOdhPatchingConfigPatchingConfigStrategyEnumValues added in v65.71.0

func GetOdhPatchingConfigPatchingConfigStrategyEnumValues() []OdhPatchingConfigPatchingConfigStrategyEnum

GetOdhPatchingConfigPatchingConfigStrategyEnumValues Enumerates the set of values for OdhPatchingConfigPatchingConfigStrategyEnum

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"
)

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 OperationTypesEnum

type OperationTypesEnum string

OperationTypesEnum Enum with underlying type: string

const (
	OperationTypesCreateBds                            OperationTypesEnum = "CREATE_BDS"
	OperationTypesUpdateBds                            OperationTypesEnum = "UPDATE_BDS"
	OperationTypesDeleteBds                            OperationTypesEnum = "DELETE_BDS"
	OperationTypesAddBlockStorage                      OperationTypesEnum = "ADD_BLOCK_STORAGE"
	OperationTypesAddMasterNodes                       OperationTypesEnum = "ADD_MASTER_NODES"
	OperationTypesAddUtilityNodes                      OperationTypesEnum = "ADD_UTILITY_NODES"
	OperationTypesAddWorkerNodes                       OperationTypesEnum = "ADD_WORKER_NODES"
	OperationTypesAddCloudSql                          OperationTypesEnum = "ADD_CLOUD_SQL"
	OperationTypesRemoveCloudSql                       OperationTypesEnum = "REMOVE_CLOUD_SQL"
	OperationTypesChangeCompartmentForBds              OperationTypesEnum = "CHANGE_COMPARTMENT_FOR_BDS"
	OperationTypesChangeShape                          OperationTypesEnum = "CHANGE_SHAPE"
	OperationTypesUpdateInfra                          OperationTypesEnum = "UPDATE_INFRA"
	OperationTypesRestartNode                          OperationTypesEnum = "RESTART_NODE"
	OperationTypesRemoveNode                           OperationTypesEnum = "REMOVE_NODE"
	OperationTypesCreateAutoscaleConfig                OperationTypesEnum = "CREATE_AUTOSCALE_CONFIG"
	OperationTypesUpdateAutoscaleConfig                OperationTypesEnum = "UPDATE_AUTOSCALE_CONFIG"
	OperationTypesDeleteAutoscaleConfig                OperationTypesEnum = "DELETE_AUTOSCALE_CONFIG"
	OperationTypesAutoscaleConfig                      OperationTypesEnum = "AUTOSCALE_CONFIG"
	OperationTypesAutoscaleRun                         OperationTypesEnum = "AUTOSCALE_RUN"
	OperationTypesCreateApiKey                         OperationTypesEnum = "CREATE_API_KEY"
	OperationTypesDeleteApiKey                         OperationTypesEnum = "DELETE_API_KEY"
	OperationTypesTestObjectStoreConnection            OperationTypesEnum = "TEST_OBJECT_STORE_CONNECTION"
	OperationTypesCreateMetastoreConfig                OperationTypesEnum = "CREATE_METASTORE_CONFIG"
	OperationTypesDeleteMetastoreConfig                OperationTypesEnum = "DELETE_METASTORE_CONFIG"
	OperationTypesUpdateMetastoreConfig                OperationTypesEnum = "UPDATE_METASTORE_CONFIG"
	OperationTypesActivateMetastoreConfig              OperationTypesEnum = "ACTIVATE_METASTORE_CONFIG"
	OperationTypesTestMetastoreConfig                  OperationTypesEnum = "TEST_METASTORE_CONFIG"
	OperationTypesPatchBds                             OperationTypesEnum = "PATCH_BDS"
	OperationTypesPatchOdh                             OperationTypesEnum = "PATCH_ODH"
	OperationTypesPatchOs                              OperationTypesEnum = "PATCH_OS"
	OperationTypesStopBds                              OperationTypesEnum = "STOP_BDS"
	OperationTypesStartBds                             OperationTypesEnum = "START_BDS"
	OperationTypesAddKafka                             OperationTypesEnum = "ADD_KAFKA"
	OperationTypesRemoveKafka                          OperationTypesEnum = "REMOVE_KAFKA"
	OperationTypesExecuteBootstrapScript               OperationTypesEnum = "EXECUTE_BOOTSTRAP_SCRIPT"
	OperationTypesOdhServiceCertificateUpdate          OperationTypesEnum = "ODH_SERVICE_CERTIFICATE_UPDATE"
	OperationTypesCreateBackupConfig                   OperationTypesEnum = "CREATE_BACKUP_CONFIG"
	OperationTypesUpdateBackupConfig                   OperationTypesEnum = "UPDATE_BACKUP_CONFIG"
	OperationTypesDeleteBackupConfig                   OperationTypesEnum = "DELETE_BACKUP_CONFIG"
	OperationTypesCreateNodeReplaceConfig              OperationTypesEnum = "CREATE_NODE_REPLACE_CONFIG"
	OperationTypesUpdateNodeReplaceConfig              OperationTypesEnum = "UPDATE_NODE_REPLACE_CONFIG"
	OperationTypesDeleteNodeReplaceConfig              OperationTypesEnum = "DELETE_NODE_REPLACE_CONFIG"
	OperationTypesBackupNodes                          OperationTypesEnum = "BACKUP_NODES"
	OperationTypesDeleteNodeBackup                     OperationTypesEnum = "DELETE_NODE_BACKUP"
	OperationTypesReplaceNode                          OperationTypesEnum = "REPLACE_NODE"
	OperationTypesCreateResourcePrincipalConfiguration OperationTypesEnum = "CREATE_RESOURCE_PRINCIPAL_CONFIGURATION"
	OperationTypesDeleteResourcePrincipalConfiguration OperationTypesEnum = "DELETE_RESOURCE_PRINCIPAL_CONFIGURATION"
	OperationTypesUpdateResourcePrincipalConfiguration OperationTypesEnum = "UPDATE_RESOURCE_PRINCIPAL_CONFIGURATION"
	OperationTypesRefreshResourcePrincipal             OperationTypesEnum = "REFRESH_RESOURCE_PRINCIPAL"
)

Set of constants representing the allowable values for OperationTypesEnum

func GetMappingOperationTypesEnum

func GetMappingOperationTypesEnum(val string) (OperationTypesEnum, bool)

GetMappingOperationTypesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOperationTypesEnumValues

func GetOperationTypesEnumValues() []OperationTypesEnum

GetOperationTypesEnumValues Enumerates the set of values for OperationTypesEnum

type OsPatchDetails added in v65.44.0

type OsPatchDetails struct {

	// Version of the os patch.
	OsPatchVersion *string `mandatory:"true" json:"osPatchVersion"`

	// Minimum BDS version required to install current OS patch.
	MinBdsVersion *string `mandatory:"true" json:"minBdsVersion"`

	// Map of major ODH version to minimum ODH version required to install current OS patch. e.g. {ODH0.9: 0.9.1}
	MinCompatibleOdhVersionMap map[string]string `mandatory:"true" json:"minCompatibleOdhVersionMap"`

	// List of summaries of individual target packages.
	TargetPackages []OsPatchPackageSummary `mandatory:"true" json:"targetPackages"`

	// Released date of the OS patch.
	ReleaseDate *common.SDKTime `mandatory:"true" json:"releaseDate"`

	// Type of a specific os patch.
	// REGULAR means standard released os patches.
	// CUSTOM means os patches with some customizations.
	// EMERGENT means os patches with some emergency fixes that should be prioritized.
	PatchType OsPatchDetailsPatchTypeEnum `mandatory:"true" json:"patchType"`
}

OsPatchDetails Details of an os patch.

func (OsPatchDetails) String added in v65.44.0

func (m OsPatchDetails) String() string

func (OsPatchDetails) ValidateEnumValue added in v65.44.0

func (m OsPatchDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type OsPatchDetailsPatchTypeEnum added in v65.44.0

type OsPatchDetailsPatchTypeEnum string

OsPatchDetailsPatchTypeEnum Enum with underlying type: string

const (
	OsPatchDetailsPatchTypeRegular  OsPatchDetailsPatchTypeEnum = "REGULAR"
	OsPatchDetailsPatchTypeCustom   OsPatchDetailsPatchTypeEnum = "CUSTOM"
	OsPatchDetailsPatchTypeEmergent OsPatchDetailsPatchTypeEnum = "EMERGENT"
)

Set of constants representing the allowable values for OsPatchDetailsPatchTypeEnum

func GetMappingOsPatchDetailsPatchTypeEnum added in v65.44.0

func GetMappingOsPatchDetailsPatchTypeEnum(val string) (OsPatchDetailsPatchTypeEnum, bool)

GetMappingOsPatchDetailsPatchTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOsPatchDetailsPatchTypeEnumValues added in v65.44.0

func GetOsPatchDetailsPatchTypeEnumValues() []OsPatchDetailsPatchTypeEnum

GetOsPatchDetailsPatchTypeEnumValues Enumerates the set of values for OsPatchDetailsPatchTypeEnum

type OsPatchPackageSummary added in v65.44.0

type OsPatchPackageSummary struct {

	// The package's name.
	PackageName *string `mandatory:"true" json:"packageName"`

	// The action that current package will be executed on the cluster.
	UpdateType OsPatchPackageSummaryUpdateTypeEnum `mandatory:"true" json:"updateType"`

	// Related CVEs of the package update.
	RelatedCVEs []string `mandatory:"true" json:"relatedCVEs"`

	// The target version of the package.
	TargetVersion *string `mandatory:"false" json:"targetVersion"`
}

OsPatchPackageSummary Summary of a package contained in a os patch.

func (OsPatchPackageSummary) String added in v65.44.0

func (m OsPatchPackageSummary) String() string

func (OsPatchPackageSummary) ValidateEnumValue added in v65.44.0

func (m OsPatchPackageSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type OsPatchPackageSummaryUpdateTypeEnum added in v65.44.0

type OsPatchPackageSummaryUpdateTypeEnum string

OsPatchPackageSummaryUpdateTypeEnum Enum with underlying type: string

const (
	OsPatchPackageSummaryUpdateTypeInstall OsPatchPackageSummaryUpdateTypeEnum = "INSTALL"
	OsPatchPackageSummaryUpdateTypeRemove  OsPatchPackageSummaryUpdateTypeEnum = "REMOVE"
	OsPatchPackageSummaryUpdateTypeUpdate  OsPatchPackageSummaryUpdateTypeEnum = "UPDATE"
)

Set of constants representing the allowable values for OsPatchPackageSummaryUpdateTypeEnum

func GetMappingOsPatchPackageSummaryUpdateTypeEnum added in v65.44.0

func GetMappingOsPatchPackageSummaryUpdateTypeEnum(val string) (OsPatchPackageSummaryUpdateTypeEnum, bool)

GetMappingOsPatchPackageSummaryUpdateTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOsPatchPackageSummaryUpdateTypeEnumValues added in v65.44.0

func GetOsPatchPackageSummaryUpdateTypeEnumValues() []OsPatchPackageSummaryUpdateTypeEnum

GetOsPatchPackageSummaryUpdateTypeEnumValues Enumerates the set of values for OsPatchPackageSummaryUpdateTypeEnum

type OsPatchSummary added in v65.44.0

type OsPatchSummary struct {

	// Patch version of the os patch.
	OsPatchVersion *string `mandatory:"true" json:"osPatchVersion"`

	// The time when the OS patch was released.
	ReleaseDate *common.SDKTime `mandatory:"true" json:"releaseDate"`
}

OsPatchSummary Summary of an available os patch to a cluster.

func (OsPatchSummary) String added in v65.44.0

func (m OsPatchSummary) String() string

func (OsPatchSummary) ValidateEnumValue added in v65.44.0

func (m OsPatchSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PatchHistorySummary added in v65.3.0

type PatchHistorySummary struct {

	// The version of the patch.
	Version *string `mandatory:"true" json:"version"`

	// The status of this patch.
	LifecycleState PatchHistorySummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The time when the patch history was last updated.
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The type of current patch history.
	// DP - Data Plane patch(This history type is internal available only)
	// ODH - Oracle Distribution of Hadoop patch
	// OS - Operating System patch
	PatchType PatchHistorySummaryPatchTypeEnum `mandatory:"true" json:"patchType"`
}

PatchHistorySummary Patch history of this cluster.

func (PatchHistorySummary) String added in v65.3.0

func (m PatchHistorySummary) String() string

func (PatchHistorySummary) ValidateEnumValue added in v65.3.0

func (m PatchHistorySummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PatchHistorySummaryLifecycleStateEnum added in v65.3.0

type PatchHistorySummaryLifecycleStateEnum string

PatchHistorySummaryLifecycleStateEnum Enum with underlying type: string

const (
	PatchHistorySummaryLifecycleStateInstalling PatchHistorySummaryLifecycleStateEnum = "INSTALLING"
	PatchHistorySummaryLifecycleStateInstalled  PatchHistorySummaryLifecycleStateEnum = "INSTALLED"
	PatchHistorySummaryLifecycleStateFailed     PatchHistorySummaryLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for PatchHistorySummaryLifecycleStateEnum

func GetMappingPatchHistorySummaryLifecycleStateEnum added in v65.3.0

func GetMappingPatchHistorySummaryLifecycleStateEnum(val string) (PatchHistorySummaryLifecycleStateEnum, bool)

GetMappingPatchHistorySummaryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPatchHistorySummaryLifecycleStateEnumValues added in v65.3.0

func GetPatchHistorySummaryLifecycleStateEnumValues() []PatchHistorySummaryLifecycleStateEnum

GetPatchHistorySummaryLifecycleStateEnumValues Enumerates the set of values for PatchHistorySummaryLifecycleStateEnum

type PatchHistorySummaryPatchTypeEnum added in v65.44.0

type PatchHistorySummaryPatchTypeEnum string

PatchHistorySummaryPatchTypeEnum Enum with underlying type: string

const (
	PatchHistorySummaryPatchTypeOdh PatchHistorySummaryPatchTypeEnum = "ODH"
	PatchHistorySummaryPatchTypeOs  PatchHistorySummaryPatchTypeEnum = "OS"
)

Set of constants representing the allowable values for PatchHistorySummaryPatchTypeEnum

func GetMappingPatchHistorySummaryPatchTypeEnum added in v65.44.0

func GetMappingPatchHistorySummaryPatchTypeEnum(val string) (PatchHistorySummaryPatchTypeEnum, bool)

GetMappingPatchHistorySummaryPatchTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPatchHistorySummaryPatchTypeEnumValues added in v65.44.0

func GetPatchHistorySummaryPatchTypeEnumValues() []PatchHistorySummaryPatchTypeEnum

GetPatchHistorySummaryPatchTypeEnumValues Enumerates the set of values for PatchHistorySummaryPatchTypeEnum

type PatchSummary added in v65.3.0

type PatchSummary struct {

	// The version of the patch.
	Version *string `mandatory:"true" json:"version"`

	// The time when the patch was released.
	TimeReleased *common.SDKTime `mandatory:"true" json:"timeReleased"`
}

PatchSummary The patch that is currently available for the cluster.

func (PatchSummary) String added in v65.3.0

func (m PatchSummary) String() string

func (PatchSummary) ValidateEnumValue added in v65.3.0

func (m PatchSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PatchingConfigs added in v65.65.1

type PatchingConfigs interface {
}

PatchingConfigs Detailed configurations for defining the behavior when installing os patches. If not provided, nodes will be patched and rebooted AD/FD by AD/FD for regular patches or will be patched with down time if the patch is an emergent patch.

type PatchingConfigsPatchingConfigStrategyEnum added in v65.65.1

type PatchingConfigsPatchingConfigStrategyEnum string

PatchingConfigsPatchingConfigStrategyEnum Enum with underlying type: string

const (
	PatchingConfigsPatchingConfigStrategyDowntimeBased PatchingConfigsPatchingConfigStrategyEnum = "DOWNTIME_BASED"
	PatchingConfigsPatchingConfigStrategyBatchingBased PatchingConfigsPatchingConfigStrategyEnum = "BATCHING_BASED"
	PatchingConfigsPatchingConfigStrategyDomainBased   PatchingConfigsPatchingConfigStrategyEnum = "DOMAIN_BASED"
)

Set of constants representing the allowable values for PatchingConfigsPatchingConfigStrategyEnum

func GetMappingPatchingConfigsPatchingConfigStrategyEnum added in v65.65.1

func GetMappingPatchingConfigsPatchingConfigStrategyEnum(val string) (PatchingConfigsPatchingConfigStrategyEnum, bool)

GetMappingPatchingConfigsPatchingConfigStrategyEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPatchingConfigsPatchingConfigStrategyEnumValues added in v65.65.1

func GetPatchingConfigsPatchingConfigStrategyEnumValues() []PatchingConfigsPatchingConfigStrategyEnum

GetPatchingConfigsPatchingConfigStrategyEnumValues Enumerates the set of values for PatchingConfigsPatchingConfigStrategyEnum

type RemoveAutoScalingConfigurationDetails

type RemoveAutoScalingConfigurationDetails struct {

	// Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
	ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"`
}

RemoveAutoScalingConfigurationDetails The information about the removed autoscale configuration.

func (RemoveAutoScalingConfigurationDetails) String

func (RemoveAutoScalingConfigurationDetails) ValidateEnumValue

func (m RemoveAutoScalingConfigurationDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RemoveAutoScalingConfigurationRequest

type RemoveAutoScalingConfigurationRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Unique Oracle-assigned identifier of the autoscale configuration.
	AutoScalingConfigurationId *string `mandatory:"true" contributesTo:"path" name:"autoScalingConfigurationId"`

	// Details for the autoscale configuration
	RemoveAutoScalingConfigurationDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error, without risk of executing that same action again. Retry tokens expire after 24
	// hours but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might 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
}

RemoveAutoScalingConfigurationRequest wrapper for the RemoveAutoScalingConfiguration operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/bds/RemoveAutoScalingConfiguration.go.html to see an example of how to use RemoveAutoScalingConfigurationRequest.

func (RemoveAutoScalingConfigurationRequest) BinaryRequestBody

func (request RemoveAutoScalingConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RemoveAutoScalingConfigurationRequest) HTTPRequest

func (request RemoveAutoScalingConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RemoveAutoScalingConfigurationRequest) RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RemoveAutoScalingConfigurationRequest) String

func (RemoveAutoScalingConfigurationRequest) ValidateEnumValue

func (request RemoveAutoScalingConfigurationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RemoveAutoScalingConfigurationResponse

type RemoveAutoScalingConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a request, provide this request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

RemoveAutoScalingConfigurationResponse wrapper for the RemoveAutoScalingConfiguration operation

func (RemoveAutoScalingConfigurationResponse) HTTPResponse

func (response RemoveAutoScalingConfigurationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RemoveAutoScalingConfigurationResponse) String

type RemoveCloudSqlDetails

type RemoveCloudSqlDetails struct {

	// Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
	ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"`
}

RemoveCloudSqlDetails The information about the Cloud SQL installation that was removed.

func (RemoveCloudSqlDetails) String

func (m RemoveCloudSqlDetails) String() string

func (RemoveCloudSqlDetails) ValidateEnumValue

func (m RemoveCloudSqlDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RemoveCloudSqlRequest

type RemoveCloudSqlRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Details for the Cloud SQL capability
	RemoveCloudSqlDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error, without risk of executing that same action again. Retry tokens expire after 24
	// hours but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might 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
}

RemoveCloudSqlRequest wrapper for the RemoveCloudSql operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/bds/RemoveCloudSql.go.html to see an example of how to use RemoveCloudSqlRequest.

func (RemoveCloudSqlRequest) BinaryRequestBody

func (request RemoveCloudSqlRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RemoveCloudSqlRequest) HTTPRequest

func (request RemoveCloudSqlRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RemoveCloudSqlRequest) RetryPolicy

func (request RemoveCloudSqlRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RemoveCloudSqlRequest) String

func (request RemoveCloudSqlRequest) String() string

func (RemoveCloudSqlRequest) ValidateEnumValue

func (request RemoveCloudSqlRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RemoveCloudSqlResponse

type RemoveCloudSqlResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a request, provide this request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

RemoveCloudSqlResponse wrapper for the RemoveCloudSql operation

func (RemoveCloudSqlResponse) HTTPResponse

func (response RemoveCloudSqlResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RemoveCloudSqlResponse) String

func (response RemoveCloudSqlResponse) String() string

type RemoveKafkaDetails added in v65.40.1

type RemoveKafkaDetails struct {

	// Base-64 encoded password for the cluster admin user.
	ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"`
}

RemoveKafkaDetails The information about the Kafka installation to be removed. All configured Kafka nodes are considered for removal.

func (RemoveKafkaDetails) String added in v65.40.1

func (m RemoveKafkaDetails) String() string

func (RemoveKafkaDetails) ValidateEnumValue added in v65.40.1

func (m RemoveKafkaDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RemoveKafkaRequest added in v65.40.1

type RemoveKafkaRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Details for the Kafka capability.
	RemoveKafkaDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error, without risk of executing that same action again. Retry tokens expire after 24
	// hours but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might 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
}

RemoveKafkaRequest wrapper for the RemoveKafka operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/bds/RemoveKafka.go.html to see an example of how to use RemoveKafkaRequest.

func (RemoveKafkaRequest) BinaryRequestBody added in v65.40.1

func (request RemoveKafkaRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RemoveKafkaRequest) HTTPRequest added in v65.40.1

func (request RemoveKafkaRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RemoveKafkaRequest) RetryPolicy added in v65.40.1

func (request RemoveKafkaRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RemoveKafkaRequest) String added in v65.40.1

func (request RemoveKafkaRequest) String() string

func (RemoveKafkaRequest) ValidateEnumValue added in v65.40.1

func (request RemoveKafkaRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RemoveKafkaResponse added in v65.40.1

type RemoveKafkaResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a request, provide this request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

RemoveKafkaResponse wrapper for the RemoveKafka operation

func (RemoveKafkaResponse) HTTPResponse added in v65.40.1

func (response RemoveKafkaResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RemoveKafkaResponse) String added in v65.40.1

func (response RemoveKafkaResponse) String() string

type RemoveNodeDetails added in v65.3.0

type RemoveNodeDetails struct {

	// Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
	ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"`

	// OCID of the node to be removed.
	NodeId *string `mandatory:"true" json:"nodeId"`

	// Boolean flag specifying whether or not to force remove node if graceful
	// removal fails.
	IsForceRemoveEnabled *bool `mandatory:"false" json:"isForceRemoveEnabled"`
}

RemoveNodeDetails The information about node to be removed.

func (RemoveNodeDetails) String added in v65.3.0

func (m RemoveNodeDetails) String() string

func (RemoveNodeDetails) ValidateEnumValue added in v65.3.0

func (m RemoveNodeDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RemoveNodeReplaceConfigurationDetails added in v65.65.3

type RemoveNodeReplaceConfigurationDetails struct {

	// Base-64 encoded password for the cluster admin user.
	ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"`
}

RemoveNodeReplaceConfigurationDetails The information about the NodeReplaceConfiguration that being removed.

func (RemoveNodeReplaceConfigurationDetails) String added in v65.65.3

func (RemoveNodeReplaceConfigurationDetails) ValidateEnumValue added in v65.65.3

func (m RemoveNodeReplaceConfigurationDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RemoveNodeReplaceConfigurationRequest added in v65.65.3

type RemoveNodeReplaceConfigurationRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Unique Oracle-assigned identifier of the  NodeReplaceConfiguration.
	NodeReplaceConfigurationId *string `mandatory:"true" contributesTo:"path" name:"nodeReplaceConfigurationId"`

	// Details for removing NodeReplaceConfiguration
	RemoveNodeReplaceConfigurationDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error, without risk of executing that same action again. Retry tokens expire after 24
	// hours but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might 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
}

RemoveNodeReplaceConfigurationRequest wrapper for the RemoveNodeReplaceConfiguration operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/bds/RemoveNodeReplaceConfiguration.go.html to see an example of how to use RemoveNodeReplaceConfigurationRequest.

func (RemoveNodeReplaceConfigurationRequest) BinaryRequestBody added in v65.65.3

func (request RemoveNodeReplaceConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RemoveNodeReplaceConfigurationRequest) HTTPRequest added in v65.65.3

func (request RemoveNodeReplaceConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RemoveNodeReplaceConfigurationRequest) RetryPolicy added in v65.65.3

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RemoveNodeReplaceConfigurationRequest) String added in v65.65.3

func (RemoveNodeReplaceConfigurationRequest) ValidateEnumValue added in v65.65.3

func (request RemoveNodeReplaceConfigurationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RemoveNodeReplaceConfigurationResponse added in v65.65.3

type RemoveNodeReplaceConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a request, provide this request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

RemoveNodeReplaceConfigurationResponse wrapper for the RemoveNodeReplaceConfiguration operation

func (RemoveNodeReplaceConfigurationResponse) HTTPResponse added in v65.65.3

func (response RemoveNodeReplaceConfigurationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RemoveNodeReplaceConfigurationResponse) String added in v65.65.3

type RemoveNodeRequest added in v65.3.0

type RemoveNodeRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Details for the node to be removed.
	RemoveNodeDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// 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
}

RemoveNodeRequest wrapper for the RemoveNode operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/bds/RemoveNode.go.html to see an example of how to use RemoveNodeRequest.

func (RemoveNodeRequest) BinaryRequestBody added in v65.3.0

func (request RemoveNodeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RemoveNodeRequest) HTTPRequest added in v65.3.0

func (request RemoveNodeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RemoveNodeRequest) RetryPolicy added in v65.3.0

func (request RemoveNodeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RemoveNodeRequest) String added in v65.3.0

func (request RemoveNodeRequest) String() string

func (RemoveNodeRequest) ValidateEnumValue added in v65.3.0

func (request RemoveNodeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RemoveNodeResponse added in v65.3.0

type RemoveNodeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a request, provide this request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

RemoveNodeResponse wrapper for the RemoveNode operation

func (RemoveNodeResponse) HTTPResponse added in v65.3.0

func (response RemoveNodeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RemoveNodeResponse) String added in v65.3.0

func (response RemoveNodeResponse) String() string

type RemoveResourcePrincipalConfigurationDetails added in v65.71.0

type RemoveResourcePrincipalConfigurationDetails struct {

	// Base-64 encoded Cluster Admin Password for cluster admin user.
	ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"`
}

RemoveResourcePrincipalConfigurationDetails Details of removing a resource principal configuration for the cluster.

func (RemoveResourcePrincipalConfigurationDetails) String added in v65.71.0

func (RemoveResourcePrincipalConfigurationDetails) ValidateEnumValue added in v65.71.0

func (m RemoveResourcePrincipalConfigurationDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RemoveResourcePrincipalConfigurationRequest added in v65.71.0

type RemoveResourcePrincipalConfigurationRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Unique Oracle-assigned identifier of the ResourcePrincipalConfiguration.
	ResourcePrincipalConfigurationId *string `mandatory:"true" contributesTo:"path" name:"resourcePrincipalConfigurationId"`

	// Details of removing a resource principal for the bds cluster.
	RemoveResourcePrincipalConfigurationDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// 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
}

RemoveResourcePrincipalConfigurationRequest wrapper for the RemoveResourcePrincipalConfiguration operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/bds/RemoveResourcePrincipalConfiguration.go.html to see an example of how to use RemoveResourcePrincipalConfigurationRequest.

func (RemoveResourcePrincipalConfigurationRequest) BinaryRequestBody added in v65.71.0

BinaryRequestBody implements the OCIRequest interface

func (RemoveResourcePrincipalConfigurationRequest) HTTPRequest added in v65.71.0

func (request RemoveResourcePrincipalConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RemoveResourcePrincipalConfigurationRequest) RetryPolicy added in v65.71.0

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RemoveResourcePrincipalConfigurationRequest) String added in v65.71.0

func (RemoveResourcePrincipalConfigurationRequest) ValidateEnumValue added in v65.71.0

func (request RemoveResourcePrincipalConfigurationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RemoveResourcePrincipalConfigurationResponse added in v65.71.0

type RemoveResourcePrincipalConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a request, provide this request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

RemoveResourcePrincipalConfigurationResponse wrapper for the RemoveResourcePrincipalConfiguration operation

func (RemoveResourcePrincipalConfigurationResponse) HTTPResponse added in v65.71.0

HTTPResponse implements the OCIResponse interface

func (RemoveResourcePrincipalConfigurationResponse) String added in v65.71.0

type RenewCertificateDetails added in v65.53.0

type RenewCertificateDetails struct {

	// Base-64 encoded password for the cluster admin user.
	ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"`

	// List of services for which certificate needs to be renewed. If no services provided renew will happen only for default services - AMBARI,RANGER,HUE,LIVY.
	Services []ServiceEnum `mandatory:"false" json:"services"`

	// Plain text certificate/s in order, separated by new line character. If not provided in request a self-signed root certificate is generated inside the cluster. In case hostCertDetails is provided, root certificate is mandatory.
	RootCertificate *string `mandatory:"false" json:"rootCertificate"`

	// List of leaf certificates to use for services on each host. If custom host certificate is provided the root certificate becomes required.
	HostCertDetails []HostCertDetails `mandatory:"false" json:"hostCertDetails"`

	// Base-64 encoded password for CA certificate's private key. This value can be empty.
	ServerKeyPassword *string `mandatory:"false" json:"serverKeyPassword"`
}

RenewCertificateDetails The request body info about renew certificate service list.

func (RenewCertificateDetails) String added in v65.53.0

func (m RenewCertificateDetails) String() string

func (RenewCertificateDetails) ValidateEnumValue added in v65.53.0

func (m RenewCertificateDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RenewCertificateRequest added in v65.53.0

type RenewCertificateRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Details for renewing certificate.
	RenewCertificateDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error, without risk of executing that same action again. Retry tokens expire after 24
	// hours but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might 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
}

RenewCertificateRequest wrapper for the RenewCertificate operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/bds/RenewCertificate.go.html to see an example of how to use RenewCertificateRequest.

func (RenewCertificateRequest) BinaryRequestBody added in v65.53.0

func (request RenewCertificateRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RenewCertificateRequest) HTTPRequest added in v65.53.0

func (request RenewCertificateRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RenewCertificateRequest) RetryPolicy added in v65.53.0

func (request RenewCertificateRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RenewCertificateRequest) String added in v65.53.0

func (request RenewCertificateRequest) String() string

func (RenewCertificateRequest) ValidateEnumValue added in v65.53.0

func (request RenewCertificateRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RenewCertificateResponse added in v65.53.0

type RenewCertificateResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a request, provide this request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

RenewCertificateResponse wrapper for the RenewCertificate operation

func (RenewCertificateResponse) HTTPResponse added in v65.53.0

func (response RenewCertificateResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RenewCertificateResponse) String added in v65.53.0

func (response RenewCertificateResponse) String() string

type ReplaceNodeDetails added in v65.65.3

type ReplaceNodeDetails struct {

	// Host name of the node to replace. MASTER, UTILITY and EDGE node are only supported types
	NodeHostName *string `mandatory:"true" json:"nodeHostName"`

	// The id of the nodeBackup to use for replacing the node.
	NodeBackupId *string `mandatory:"true" json:"nodeBackupId"`

	// Base-64 encoded password for the cluster admin user.
	ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"`

	// Shape of the new vm when replacing the node. If not provided, BDS will attempt to replace the node with the shape of current node.
	Shape *string `mandatory:"false" json:"shape"`
}

ReplaceNodeDetails The information about the node to be replaced.

func (ReplaceNodeDetails) String added in v65.65.3

func (m ReplaceNodeDetails) String() string

func (ReplaceNodeDetails) ValidateEnumValue added in v65.65.3

func (m ReplaceNodeDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ReplaceNodeRequest added in v65.65.3

type ReplaceNodeRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Details for Replacing the node.
	ReplaceNodeDetails `contributesTo:"body"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// This if-match is for the BdsInstance. For optimistic concurrency
	// control. In the PUT or DELETE call for a resource, set the `if-match`
	// parameter to the value of the etag from a previous GET or POST response
	// for that resource. The resource will be updated or deleted only if
	// the etag you provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error, without risk of executing that same action again. Retry tokens expire after 24
	// hours but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might 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
}

ReplaceNodeRequest wrapper for the ReplaceNode operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/bds/ReplaceNode.go.html to see an example of how to use ReplaceNodeRequest.

func (ReplaceNodeRequest) BinaryRequestBody added in v65.65.3

func (request ReplaceNodeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ReplaceNodeRequest) HTTPRequest added in v65.65.3

func (request ReplaceNodeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ReplaceNodeRequest) RetryPolicy added in v65.65.3

func (request ReplaceNodeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ReplaceNodeRequest) String added in v65.65.3

func (request ReplaceNodeRequest) String() string

func (ReplaceNodeRequest) ValidateEnumValue added in v65.65.3

func (request ReplaceNodeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ReplaceNodeResponse added in v65.65.3

type ReplaceNodeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a request, provide this request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

ReplaceNodeResponse wrapper for the ReplaceNode operation

func (ReplaceNodeResponse) HTTPResponse added in v65.65.3

func (response ReplaceNodeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ReplaceNodeResponse) String added in v65.65.3

func (response ReplaceNodeResponse) String() string

type ResourcePrincipalConfiguration added in v65.71.0

type ResourcePrincipalConfiguration struct {

	// The id of the ResourcePrincipalConfiguration.
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the bdsInstance which is the parent resource id.
	BdsInstanceId *string `mandatory:"true" json:"bdsInstanceId"`

	// A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Life span in hours of each resource principal session token.
	SessionTokenLifeSpanDurationInHours *int `mandatory:"true" json:"sessionTokenLifeSpanDurationInHours"`

	// The state of the ResourcePrincipalConfiguration.
	LifecycleState ResourcePrincipalConfigurationLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The time the ResourcePrincipalConfiguration was created, shown as an RFC 3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The time the ResourcePrincipalConfiguration was updated, shown as an RFC 3339 formatted datetime string.
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// the time the resource principal session token was refreshed, shown as an rfc 3339 formatted datetime string.
	TimeTokenRefreshed *common.SDKTime `mandatory:"false" json:"timeTokenRefreshed"`

	// the time the resource principal session token will expired, shown as an rfc 3339 formatted datetime string.
	TimeTokenExpiry *common.SDKTime `mandatory:"false" json:"timeTokenExpiry"`
}

ResourcePrincipalConfiguration Resource Principal Session Token Details.

func (ResourcePrincipalConfiguration) String added in v65.71.0

func (ResourcePrincipalConfiguration) ValidateEnumValue added in v65.71.0

func (m ResourcePrincipalConfiguration) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourcePrincipalConfigurationLifecycleStateEnum added in v65.71.0

type ResourcePrincipalConfigurationLifecycleStateEnum string

ResourcePrincipalConfigurationLifecycleStateEnum Enum with underlying type: string

const (
	ResourcePrincipalConfigurationLifecycleStateCreating ResourcePrincipalConfigurationLifecycleStateEnum = "CREATING"
	ResourcePrincipalConfigurationLifecycleStateActive   ResourcePrincipalConfigurationLifecycleStateEnum = "ACTIVE"
	ResourcePrincipalConfigurationLifecycleStateUpdating ResourcePrincipalConfigurationLifecycleStateEnum = "UPDATING"
	ResourcePrincipalConfigurationLifecycleStateDeleting ResourcePrincipalConfigurationLifecycleStateEnum = "DELETING"
	ResourcePrincipalConfigurationLifecycleStateDeleted  ResourcePrincipalConfigurationLifecycleStateEnum = "DELETED"
	ResourcePrincipalConfigurationLifecycleStateFailed   ResourcePrincipalConfigurationLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ResourcePrincipalConfigurationLifecycleStateEnum

func GetMappingResourcePrincipalConfigurationLifecycleStateEnum added in v65.71.0

func GetMappingResourcePrincipalConfigurationLifecycleStateEnum(val string) (ResourcePrincipalConfigurationLifecycleStateEnum, bool)

GetMappingResourcePrincipalConfigurationLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResourcePrincipalConfigurationLifecycleStateEnumValues added in v65.71.0

func GetResourcePrincipalConfigurationLifecycleStateEnumValues() []ResourcePrincipalConfigurationLifecycleStateEnum

GetResourcePrincipalConfigurationLifecycleStateEnumValues Enumerates the set of values for ResourcePrincipalConfigurationLifecycleStateEnum

type ResourcePrincipalConfigurationSummary added in v65.71.0

type ResourcePrincipalConfigurationSummary struct {

	// the ID of the ResourcePrincipalConfiguration.
	Id *string `mandatory:"true" json:"id"`

	// the OCID of the bdsInstance which is the parent resource id.
	BdsInstanceId *string `mandatory:"true" json:"bdsInstanceId"`

	// a user-friendly name. only ascii alphanumeric characters with no spaces allowed. the name does not have to be unique, and it may be changed. avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// the state of the ResourcePrincipalConfiguration.
	LifecycleState ResourcePrincipalConfigurationLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// the time the ResourcePrincipalConfiguration was created, shown as an rfc 3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// the time the ResourcePrincipalConfiguration was updated, shown as an rfc 3339 formatted datetime string.
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// the time the resource principal session token was refreshed, shown as an rfc 3339 formatted datetime string.
	TimeTokenRefreshed *common.SDKTime `mandatory:"false" json:"timeTokenRefreshed"`

	// the time the resource principal session token will expired, shown as an rfc 3339 formatted datetime string.
	TimeTokenExpiry *common.SDKTime `mandatory:"false" json:"timeTokenExpiry"`
}

ResourcePrincipalConfigurationSummary Resource Principal Session Token Details.

func (ResourcePrincipalConfigurationSummary) String added in v65.71.0

func (ResourcePrincipalConfigurationSummary) ValidateEnumValue added in v65.71.0

func (m ResourcePrincipalConfigurationSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RestartNodeDetails

type RestartNodeDetails struct {

	// OCID of the node to be restarted.
	NodeId *string `mandatory:"true" json:"nodeId"`
}

RestartNodeDetails The information about restarted node.

func (RestartNodeDetails) String

func (m RestartNodeDetails) String() string

func (RestartNodeDetails) ValidateEnumValue

func (m RestartNodeDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RestartNodeRequest

type RestartNodeRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Details for restarting the node.
	RestartNodeDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error, without risk of executing that same action again. Retry tokens expire after 24
	// hours but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might 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
}

RestartNodeRequest wrapper for the RestartNode operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/bds/RestartNode.go.html to see an example of how to use RestartNodeRequest.

func (RestartNodeRequest) BinaryRequestBody

func (request RestartNodeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RestartNodeRequest) HTTPRequest

func (request RestartNodeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RestartNodeRequest) RetryPolicy

func (request RestartNodeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RestartNodeRequest) String

func (request RestartNodeRequest) String() string

func (RestartNodeRequest) ValidateEnumValue

func (request RestartNodeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RestartNodeResponse

type RestartNodeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a request, provide this request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

RestartNodeResponse wrapper for the RestartNode operation

func (RestartNodeResponse) HTTPResponse

func (response RestartNodeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RestartNodeResponse) String

func (response RestartNodeResponse) String() string

type ScheduleBasedHorizontalScalingPolicyDetails added in v65.3.0

type ScheduleBasedHorizontalScalingPolicyDetails struct {

	// The time zone of the execution schedule, in IANA time zone database name format
	Timezone *string `mandatory:"false" json:"timezone"`

	// Details of a horizontal scaling schedule.
	ScheduleDetails []HorizontalScalingScheduleDetails `mandatory:"false" json:"scheduleDetails"`

	// The type of autoscaling trigger.
	TriggerType AutoScalePolicyDetailsTriggerTypeEnum `mandatory:"true" json:"triggerType"`

	// The type of autoscaling action to take.
	ActionType AutoScalePolicyDetailsActionTypeEnum `mandatory:"true" json:"actionType"`
}

ScheduleBasedHorizontalScalingPolicyDetails Details of a schedule based horizontal autoscaling policy. In a schedule-based autoscaling policy, an autoscaling action is triggered at the scheduled execution time.

func (ScheduleBasedHorizontalScalingPolicyDetails) GetActionType added in v65.3.0

GetActionType returns ActionType

func (ScheduleBasedHorizontalScalingPolicyDetails) GetTriggerType added in v65.3.0

GetTriggerType returns TriggerType

func (ScheduleBasedHorizontalScalingPolicyDetails) MarshalJSON added in v65.3.0

func (m ScheduleBasedHorizontalScalingPolicyDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ScheduleBasedHorizontalScalingPolicyDetails) String added in v65.3.0

func (*ScheduleBasedHorizontalScalingPolicyDetails) UnmarshalJSON added in v65.3.0

func (m *ScheduleBasedHorizontalScalingPolicyDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (ScheduleBasedHorizontalScalingPolicyDetails) ValidateEnumValue added in v65.3.0

func (m ScheduleBasedHorizontalScalingPolicyDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ScheduleBasedVerticalScalingPolicyDetails added in v65.3.0

type ScheduleBasedVerticalScalingPolicyDetails struct {

	// The time zone of the execution schedule, in IANA time zone database name format
	Timezone *string `mandatory:"false" json:"timezone"`

	// Details of a vertical scaling schedule.
	ScheduleDetails []VerticalScalingScheduleDetails `mandatory:"false" json:"scheduleDetails"`

	// The type of autoscaling trigger.
	TriggerType AutoScalePolicyDetailsTriggerTypeEnum `mandatory:"true" json:"triggerType"`

	// The type of autoscaling action to take.
	ActionType AutoScalePolicyDetailsActionTypeEnum `mandatory:"true" json:"actionType"`
}

ScheduleBasedVerticalScalingPolicyDetails Details of a schedule based vertical autoscaling policy. In a schedule-based autoscaling policy, an autoscaling action is triggered at the scheduled execution time.

func (ScheduleBasedVerticalScalingPolicyDetails) GetActionType added in v65.3.0

GetActionType returns ActionType

func (ScheduleBasedVerticalScalingPolicyDetails) GetTriggerType added in v65.3.0

GetTriggerType returns TriggerType

func (ScheduleBasedVerticalScalingPolicyDetails) MarshalJSON added in v65.3.0

func (m ScheduleBasedVerticalScalingPolicyDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ScheduleBasedVerticalScalingPolicyDetails) String added in v65.3.0

func (*ScheduleBasedVerticalScalingPolicyDetails) UnmarshalJSON added in v65.3.0

func (m *ScheduleBasedVerticalScalingPolicyDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (ScheduleBasedVerticalScalingPolicyDetails) ValidateEnumValue added in v65.3.0

func (m ScheduleBasedVerticalScalingPolicyDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ScheduleTypeEnum added in v65.3.0

type ScheduleTypeEnum string

ScheduleTypeEnum Enum with underlying type: string

const (
	ScheduleTypeDayBased ScheduleTypeEnum = "DAY_BASED"
)

Set of constants representing the allowable values for ScheduleTypeEnum

func GetMappingScheduleTypeEnum added in v65.3.0

func GetMappingScheduleTypeEnum(val string) (ScheduleTypeEnum, bool)

GetMappingScheduleTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetScheduleTypeEnumValues added in v65.3.0

func GetScheduleTypeEnumValues() []ScheduleTypeEnum

GetScheduleTypeEnumValues Enumerates the set of values for ScheduleTypeEnum

type ServiceEnum added in v65.53.0

type ServiceEnum string

ServiceEnum Enum with underlying type: string

const (
	ServiceZookeeper ServiceEnum = "ZOOKEEPER"
	ServiceAms       ServiceEnum = "AMS"
	ServiceHdfs      ServiceEnum = "HDFS"
	ServiceYarn      ServiceEnum = "YARN"
	ServiceMapreduce ServiceEnum = "MAPREDUCE"
	ServiceOozie     ServiceEnum = "OOZIE"
	ServiceHbase     ServiceEnum = "HBASE"
	ServiceSpark     ServiceEnum = "SPARK"
	ServiceHive      ServiceEnum = "HIVE"
	ServiceKafka     ServiceEnum = "KAFKA"
	ServiceFlink     ServiceEnum = "FLINK"
	ServiceRegistry  ServiceEnum = "REGISTRY"
)

Set of constants representing the allowable values for ServiceEnum

func GetMappingServiceEnum added in v65.53.0

func GetMappingServiceEnum(val string) (ServiceEnum, bool)

GetMappingServiceEnum performs case Insensitive comparison on enum value and return the desired enum

func GetServiceEnumValues added in v65.53.0

func GetServiceEnumValues() []ServiceEnum

GetServiceEnumValues Enumerates the set of values for ServiceEnum

type ShapeConfigDetails added in v65.3.0

type ShapeConfigDetails struct {

	// The total number of OCPUs available to the node.
	Ocpus *int `mandatory:"false" json:"ocpus"`

	// The total amount of memory available to the node, in gigabytes.
	MemoryInGBs *int `mandatory:"false" json:"memoryInGBs"`

	// The number of NVMe drives to be used for storage. A single drive has 6.8 TB available.
	Nvmes *int `mandatory:"false" json:"nvmes"`
}

ShapeConfigDetails The shape configuration requested for the node.

func (ShapeConfigDetails) String added in v65.3.0

func (m ShapeConfigDetails) String() string

func (ShapeConfigDetails) ValidateEnumValue added in v65.3.0

func (m ShapeConfigDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SortOrdersEnum

type SortOrdersEnum string

SortOrdersEnum Enum with underlying type: string

const (
	SortOrdersAsc  SortOrdersEnum = "ASC"
	SortOrdersDesc SortOrdersEnum = "DESC"
)

Set of constants representing the allowable values for SortOrdersEnum

func GetMappingSortOrdersEnum

func GetMappingSortOrdersEnum(val string) (SortOrdersEnum, bool)

GetMappingSortOrdersEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSortOrdersEnumValues

func GetSortOrdersEnumValues() []SortOrdersEnum

GetSortOrdersEnumValues Enumerates the set of values for SortOrdersEnum

type StartBdsInstanceDetails added in v65.22.0

type StartBdsInstanceDetails struct {

	// Base-64 encoded password for the cluster admin user.
	ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"`
}

StartBdsInstanceDetails The request body for starting a BDS cluster.

func (StartBdsInstanceDetails) String added in v65.22.0

func (m StartBdsInstanceDetails) String() string

func (StartBdsInstanceDetails) ValidateEnumValue added in v65.22.0

func (m StartBdsInstanceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type StartBdsInstanceRequest added in v65.22.0

type StartBdsInstanceRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Parameters for starting a cluster
	StartBdsInstanceDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// 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
}

StartBdsInstanceRequest wrapper for the StartBdsInstance operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/bds/StartBdsInstance.go.html to see an example of how to use StartBdsInstanceRequest.

func (StartBdsInstanceRequest) BinaryRequestBody added in v65.22.0

func (request StartBdsInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (StartBdsInstanceRequest) HTTPRequest added in v65.22.0

func (request StartBdsInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (StartBdsInstanceRequest) RetryPolicy added in v65.22.0

func (request StartBdsInstanceRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (StartBdsInstanceRequest) String added in v65.22.0

func (request StartBdsInstanceRequest) String() string

func (StartBdsInstanceRequest) ValidateEnumValue added in v65.22.0

func (request StartBdsInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type StartBdsInstanceResponse added in v65.22.0

type StartBdsInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a request, provide this request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

StartBdsInstanceResponse wrapper for the StartBdsInstance operation

func (StartBdsInstanceResponse) HTTPResponse added in v65.22.0

func (response StartBdsInstanceResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (StartBdsInstanceResponse) String added in v65.22.0

func (response StartBdsInstanceResponse) String() string

type StopBdsInstanceDetails added in v65.22.0

type StopBdsInstanceDetails struct {

	// Base-64 encoded password for the cluster admin user.
	ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"`

	// Boolean indicating whether to force stop jobs while stopping cluster. Defaults to false.
	IsForceStopJobs *bool `mandatory:"false" json:"isForceStopJobs"`
}

StopBdsInstanceDetails The request body for stopping a BDS cluster.

func (StopBdsInstanceDetails) String added in v65.22.0

func (m StopBdsInstanceDetails) String() string

func (StopBdsInstanceDetails) ValidateEnumValue added in v65.22.0

func (m StopBdsInstanceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type StopBdsInstanceRequest added in v65.22.0

type StopBdsInstanceRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Parameters for stopping a cluster
	StopBdsInstanceDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// 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
}

StopBdsInstanceRequest wrapper for the StopBdsInstance operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/bds/StopBdsInstance.go.html to see an example of how to use StopBdsInstanceRequest.

func (StopBdsInstanceRequest) BinaryRequestBody added in v65.22.0

func (request StopBdsInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (StopBdsInstanceRequest) HTTPRequest added in v65.22.0

func (request StopBdsInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (StopBdsInstanceRequest) RetryPolicy added in v65.22.0

func (request StopBdsInstanceRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (StopBdsInstanceRequest) String added in v65.22.0

func (request StopBdsInstanceRequest) String() string

func (StopBdsInstanceRequest) ValidateEnumValue added in v65.22.0

func (request StopBdsInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type StopBdsInstanceResponse added in v65.22.0

type StopBdsInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a request, provide this request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

StopBdsInstanceResponse wrapper for the StopBdsInstance operation

func (StopBdsInstanceResponse) HTTPResponse added in v65.22.0

func (response StopBdsInstanceResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (StopBdsInstanceResponse) String added in v65.22.0

func (response StopBdsInstanceResponse) String() string

type TestBdsMetastoreConfigurationDetails

type TestBdsMetastoreConfigurationDetails struct {

	// Base-64 encoded password for the cluster admin user.
	ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"`
}

TestBdsMetastoreConfigurationDetails The reqeust body when testing a BDS metastore configuration

func (TestBdsMetastoreConfigurationDetails) String

func (TestBdsMetastoreConfigurationDetails) ValidateEnumValue

func (m TestBdsMetastoreConfigurationDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TestBdsMetastoreConfigurationRequest

type TestBdsMetastoreConfigurationRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// The metastore configuration ID
	MetastoreConfigId *string `mandatory:"true" contributesTo:"path" name:"metastoreConfigId"`

	// Request body for testing BDS metastore configuration.
	TestBdsMetastoreConfigurationDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// 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
}

TestBdsMetastoreConfigurationRequest wrapper for the TestBdsMetastoreConfiguration operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/bds/TestBdsMetastoreConfiguration.go.html to see an example of how to use TestBdsMetastoreConfigurationRequest.

func (TestBdsMetastoreConfigurationRequest) BinaryRequestBody

func (request TestBdsMetastoreConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (TestBdsMetastoreConfigurationRequest) HTTPRequest

func (request TestBdsMetastoreConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (TestBdsMetastoreConfigurationRequest) RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (TestBdsMetastoreConfigurationRequest) String

func (TestBdsMetastoreConfigurationRequest) ValidateEnumValue

func (request TestBdsMetastoreConfigurationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TestBdsMetastoreConfigurationResponse

type TestBdsMetastoreConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a request, provide this request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

TestBdsMetastoreConfigurationResponse wrapper for the TestBdsMetastoreConfiguration operation

func (TestBdsMetastoreConfigurationResponse) HTTPResponse

func (response TestBdsMetastoreConfigurationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (TestBdsMetastoreConfigurationResponse) String

type TestBdsObjectStorageConnectionDetails

type TestBdsObjectStorageConnectionDetails struct {

	// An Oracle Cloud Infrastructure URI to which this connection must be attempted. See https://docs.cloud.oracle.com/iaas/Content/API/SDKDocs/hdfsconnector.htm#uriformat.
	ObjectStorageUri *string `mandatory:"true" json:"objectStorageUri"`

	// Base64 passphrase used to secure the private key which will be created on user behalf.
	Passphrase *string `mandatory:"true" json:"passphrase"`

	// The name of the region to establish the Object Storage endpoint. Example us-phoenix-1 .
	ObjectStorageRegion *string `mandatory:"false" json:"objectStorageRegion"`
}

TestBdsObjectStorageConnectionDetails Test access to specified Object Storage bucket using the API key.

func (TestBdsObjectStorageConnectionDetails) String

func (TestBdsObjectStorageConnectionDetails) ValidateEnumValue

func (m TestBdsObjectStorageConnectionDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TestBdsObjectStorageConnectionRequest

type TestBdsObjectStorageConnectionRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// The API key identifier.
	ApiKeyId *string `mandatory:"true" contributesTo:"path" name:"apiKeyId"`

	// Parameters required to validate access to the specified Object Storage bucket using the API key.
	TestBdsObjectStorageConnectionDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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
}

TestBdsObjectStorageConnectionRequest wrapper for the TestBdsObjectStorageConnection operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/bds/TestBdsObjectStorageConnection.go.html to see an example of how to use TestBdsObjectStorageConnectionRequest.

func (TestBdsObjectStorageConnectionRequest) BinaryRequestBody

func (request TestBdsObjectStorageConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (TestBdsObjectStorageConnectionRequest) HTTPRequest

func (request TestBdsObjectStorageConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (TestBdsObjectStorageConnectionRequest) RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (TestBdsObjectStorageConnectionRequest) String

func (TestBdsObjectStorageConnectionRequest) ValidateEnumValue

func (request TestBdsObjectStorageConnectionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TestBdsObjectStorageConnectionResponse

type TestBdsObjectStorageConnectionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a request, provide this request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

TestBdsObjectStorageConnectionResponse wrapper for the TestBdsObjectStorageConnection operation

func (TestBdsObjectStorageConnectionResponse) HTTPResponse

func (response TestBdsObjectStorageConnectionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (TestBdsObjectStorageConnectionResponse) String

type TimeAndHorizontalScalingConfig added in v65.3.0

type TimeAndHorizontalScalingConfig struct {

	// Day/time recurrence (specified following RFC 5545) at which to trigger autoscaling action. Currently only WEEKLY frequency is supported. Days of the week are specified using BYDAY field. Time of the day is specified using BYHOUR and BYMINUTE fields. Other fields are not supported.
	TimeRecurrence *string `mandatory:"false" json:"timeRecurrence"`

	// This value is the desired number of nodes in the cluster.
	TargetNodeCount *int `mandatory:"false" json:"targetNodeCount"`
}

TimeAndHorizontalScalingConfig Time of day and horizontal scaling configuration.

func (TimeAndHorizontalScalingConfig) String added in v65.3.0

func (TimeAndHorizontalScalingConfig) ValidateEnumValue added in v65.3.0

func (m TimeAndHorizontalScalingConfig) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TimeAndVerticalScalingConfig added in v65.3.0

type TimeAndVerticalScalingConfig struct {

	// Day/time recurrence (specified following RFC 5545) at which to trigger autoscaling action. Currently only WEEKLY frequency is supported. Days of the week are specified using BYDAY field. Time of the day is specified using BYHOUR and BYMINUTE fields. Other fields are not supported.
	TimeRecurrence *string `mandatory:"false" json:"timeRecurrence"`

	// For nodes with fixed compute shapes (https://docs.cloud.oracle.com/iaas/Content/bigdata/create-cluster.htm#cluster-plan-shape), this value is the desired shape of each node. This value is not used for nodes with flexible compute shapes.
	TargetShape *string `mandatory:"false" json:"targetShape"`

	// For nodes with flexible compute shapes (https://docs.cloud.oracle.com/iaas/Content/bigdata/create-cluster.htm#cluster-plan-shape), this value is the desired OCPUs count on each node. This value is not used for nodes with fixed compute shapes.
	TargetOcpusPerNode *int `mandatory:"false" json:"targetOcpusPerNode"`

	// For nodes with flexible compute shapes (https://docs.cloud.oracle.com/iaas/Content/bigdata/create-cluster.htm#cluster-plan-shape), this value is the desired memory in GBs on each node. This value is not used for nodes with fixed compute shapes.
	TargetMemoryPerNode *int `mandatory:"false" json:"targetMemoryPerNode"`
}

TimeAndVerticalScalingConfig Time of day and vertical scaling configuration.

func (TimeAndVerticalScalingConfig) String added in v65.3.0

func (TimeAndVerticalScalingConfig) ValidateEnumValue added in v65.3.0

func (m TimeAndVerticalScalingConfig) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateAutoScalePolicyDetails added in v65.3.0

type UpdateAutoScalePolicyDetails interface {
}

UpdateAutoScalePolicyDetails Update details of an autoscaling policy.

type UpdateAutoScalingConfigurationDetails

type UpdateAutoScalingConfigurationDetails struct {

	// A user-friendly name. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Whether the autoscale configuration is enabled.
	IsEnabled *bool `mandatory:"false" json:"isEnabled"`

	// Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
	ClusterAdminPassword *string `mandatory:"false" json:"clusterAdminPassword"`

	Policy *AutoScalePolicy `mandatory:"false" json:"policy"`

	PolicyDetails UpdateAutoScalePolicyDetails `mandatory:"false" json:"policyDetails"`
}

UpdateAutoScalingConfigurationDetails The information about the autoscale configuration.

func (UpdateAutoScalingConfigurationDetails) String

func (*UpdateAutoScalingConfigurationDetails) UnmarshalJSON added in v65.3.0

func (m *UpdateAutoScalingConfigurationDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (UpdateAutoScalingConfigurationDetails) ValidateEnumValue

func (m UpdateAutoScalingConfigurationDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateAutoScalingConfigurationRequest

type UpdateAutoScalingConfigurationRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Unique Oracle-assigned identifier of the autoscale configuration.
	AutoScalingConfigurationId *string `mandatory:"true" contributesTo:"path" name:"autoScalingConfigurationId"`

	// Details for update an autoscaling configuration.
	UpdateAutoScalingConfigurationDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error, without risk of executing that same action again. Retry tokens expire after 24
	// hours but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might 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
}

UpdateAutoScalingConfigurationRequest wrapper for the UpdateAutoScalingConfiguration operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/bds/UpdateAutoScalingConfiguration.go.html to see an example of how to use UpdateAutoScalingConfigurationRequest.

func (UpdateAutoScalingConfigurationRequest) BinaryRequestBody

func (request UpdateAutoScalingConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateAutoScalingConfigurationRequest) HTTPRequest

func (request UpdateAutoScalingConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateAutoScalingConfigurationRequest) RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateAutoScalingConfigurationRequest) String

func (UpdateAutoScalingConfigurationRequest) ValidateEnumValue

func (request UpdateAutoScalingConfigurationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateAutoScalingConfigurationResponse

type UpdateAutoScalingConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a request, provide this request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

UpdateAutoScalingConfigurationResponse wrapper for the UpdateAutoScalingConfiguration operation

func (UpdateAutoScalingConfigurationResponse) HTTPResponse

func (response UpdateAutoScalingConfigurationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateAutoScalingConfigurationResponse) String

type UpdateBdsInstanceDetails

type UpdateBdsInstanceDetails struct {

	// Name of the cluster.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Pre-authenticated URL of the bootstrap script in Object Store that can be downloaded and executed..
	BootstrapScriptUrl *string `mandatory:"false" json:"bootstrapScriptUrl"`

	// Simple key-value pair that is applied without any predefined name, type, or scope.
	// Exists for cross-compatibility only. For 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.
	// For example, `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The OCID of the Key Management master encryption key.
	KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
}

UpdateBdsInstanceDetails The information about to-be-updated Big Data Service cluster.

func (UpdateBdsInstanceDetails) String

func (m UpdateBdsInstanceDetails) String() string

func (UpdateBdsInstanceDetails) ValidateEnumValue

func (m UpdateBdsInstanceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateBdsInstanceRequest

type UpdateBdsInstanceRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Details for the cluster to be updated.
	UpdateBdsInstanceDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	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
}

UpdateBdsInstanceRequest wrapper for the UpdateBdsInstance operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/bds/UpdateBdsInstance.go.html to see an example of how to use UpdateBdsInstanceRequest.

func (UpdateBdsInstanceRequest) BinaryRequestBody

func (request UpdateBdsInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateBdsInstanceRequest) HTTPRequest

func (request UpdateBdsInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateBdsInstanceRequest) RetryPolicy

func (request UpdateBdsInstanceRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateBdsInstanceRequest) String

func (request UpdateBdsInstanceRequest) String() string

func (UpdateBdsInstanceRequest) ValidateEnumValue

func (request UpdateBdsInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateBdsInstanceResponse

type UpdateBdsInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a request, provide this request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateBdsInstanceResponse wrapper for the UpdateBdsInstance operation

func (UpdateBdsInstanceResponse) HTTPResponse

func (response UpdateBdsInstanceResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateBdsInstanceResponse) String

func (response UpdateBdsInstanceResponse) String() string

type UpdateBdsMetastoreConfigurationDetails

type UpdateBdsMetastoreConfigurationDetails struct {

	// The display name of the metastore configuration.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The ID of BDS Api Key used for Data Catalog metastore integration. Set only if metastore's type is EXTERNAL.
	BdsApiKeyId *string `mandatory:"false" json:"bdsApiKeyId"`

	// Base-64 encoded passphrase of the BDS Api Key.
	BdsApiKeyPassphrase *string `mandatory:"false" json:"bdsApiKeyPassphrase"`

	// Base-64 encoded password for the cluster admin user.
	ClusterAdminPassword *string `mandatory:"false" json:"clusterAdminPassword"`
}

UpdateBdsMetastoreConfigurationDetails The request body when updating BDS metastore configuration.

func (UpdateBdsMetastoreConfigurationDetails) String

func (UpdateBdsMetastoreConfigurationDetails) ValidateEnumValue

func (m UpdateBdsMetastoreConfigurationDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateBdsMetastoreConfigurationRequest

type UpdateBdsMetastoreConfigurationRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// The metastore configuration ID
	MetastoreConfigId *string `mandatory:"true" contributesTo:"path" name:"metastoreConfigId"`

	// Request body for updating BDS metastore configuration.
	UpdateBdsMetastoreConfigurationDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// 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
}

UpdateBdsMetastoreConfigurationRequest wrapper for the UpdateBdsMetastoreConfiguration operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/bds/UpdateBdsMetastoreConfiguration.go.html to see an example of how to use UpdateBdsMetastoreConfigurationRequest.

func (UpdateBdsMetastoreConfigurationRequest) BinaryRequestBody

func (request UpdateBdsMetastoreConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateBdsMetastoreConfigurationRequest) HTTPRequest

func (request UpdateBdsMetastoreConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateBdsMetastoreConfigurationRequest) RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateBdsMetastoreConfigurationRequest) String

func (UpdateBdsMetastoreConfigurationRequest) ValidateEnumValue

func (request UpdateBdsMetastoreConfigurationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateBdsMetastoreConfigurationResponse

type UpdateBdsMetastoreConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a request, provide this request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

UpdateBdsMetastoreConfigurationResponse wrapper for the UpdateBdsMetastoreConfiguration operation

func (UpdateBdsMetastoreConfigurationResponse) HTTPResponse

func (response UpdateBdsMetastoreConfigurationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateBdsMetastoreConfigurationResponse) String

type UpdateMetricBasedHorizontalScalingPolicyDetails added in v65.3.0

type UpdateMetricBasedHorizontalScalingPolicyDetails struct {
	ScaleOutConfig *MetricBasedHorizontalScaleOutConfig `mandatory:"false" json:"scaleOutConfig"`

	ScaleInConfig *MetricBasedHorizontalScaleInConfig `mandatory:"false" json:"scaleInConfig"`
}

UpdateMetricBasedHorizontalScalingPolicyDetails Update details of a metric based horizontal autoscaling policy. In a metric-based autoscaling policy, an autoscaling action is triggered when a performance metric exceeds a threshold.

func (UpdateMetricBasedHorizontalScalingPolicyDetails) MarshalJSON added in v65.3.0

func (m UpdateMetricBasedHorizontalScalingPolicyDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateMetricBasedHorizontalScalingPolicyDetails) String added in v65.3.0

func (UpdateMetricBasedHorizontalScalingPolicyDetails) ValidateEnumValue added in v65.3.0

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateMetricBasedVerticalScalingPolicyDetails added in v65.3.0

type UpdateMetricBasedVerticalScalingPolicyDetails struct {
	ScaleUpConfig *MetricBasedVerticalScaleUpConfig `mandatory:"false" json:"scaleUpConfig"`

	ScaleDownConfig *MetricBasedVerticalScaleDownConfig `mandatory:"false" json:"scaleDownConfig"`
}

UpdateMetricBasedVerticalScalingPolicyDetails Update details of a metric based vertical autoscaling policy. In a metric-based autoscaling policy, an autoscaling action is triggered when a performance metric exceeds a threshold.

func (UpdateMetricBasedVerticalScalingPolicyDetails) MarshalJSON added in v65.3.0

func (m UpdateMetricBasedVerticalScalingPolicyDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateMetricBasedVerticalScalingPolicyDetails) String added in v65.3.0

func (UpdateMetricBasedVerticalScalingPolicyDetails) ValidateEnumValue added in v65.3.0

func (m UpdateMetricBasedVerticalScalingPolicyDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateNodeBackupConfigurationDetails added in v65.65.3

type UpdateNodeBackupConfigurationDetails struct {
	LevelTypeDetails LevelTypeDetails `mandatory:"false" json:"levelTypeDetails"`

	// A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time zone of the execution schedule, in IANA time zone database name format
	Timezone *string `mandatory:"false" json:"timezone"`

	// Day/time recurrence (specified following RFC 5545) at which to trigger the backup process. Currently only DAILY, WEEKLY and MONTHLY frequency is supported. Days of the week are specified using BYDAY field. Time of the day is specified using BYHOUR. Other fields are not supported.
	Schedule *string `mandatory:"false" json:"schedule"`

	// Number of backup copies to retain.
	NumberOfBackupsToRetain *int `mandatory:"false" json:"numberOfBackupsToRetain"`

	// Incremental backup type includes only the changes since the last backup. Full backup type includes all changes since the volume was created.
	BackupType NodeBackupBackupTypeEnum `mandatory:"false" json:"backupType,omitempty"`
}

UpdateNodeBackupConfigurationDetails The information about the NodeBackupConfiguration that is being updated.

func (UpdateNodeBackupConfigurationDetails) String added in v65.65.3

func (*UpdateNodeBackupConfigurationDetails) UnmarshalJSON added in v65.65.3

func (m *UpdateNodeBackupConfigurationDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (UpdateNodeBackupConfigurationDetails) ValidateEnumValue added in v65.65.3

func (m UpdateNodeBackupConfigurationDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateNodeBackupConfigurationRequest added in v65.65.3

type UpdateNodeBackupConfigurationRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Unique Oracle-assigned identifier of the NodeBackupConfiguration.
	NodeBackupConfigurationId *string `mandatory:"true" contributesTo:"path" name:"nodeBackupConfigurationId"`

	// Details for updating the NodeBackupConfiguration.
	UpdateNodeBackupConfigurationDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error, without risk of executing that same action again. Retry tokens expire after 24
	// hours but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might 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
}

UpdateNodeBackupConfigurationRequest wrapper for the UpdateNodeBackupConfiguration operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/bds/UpdateNodeBackupConfiguration.go.html to see an example of how to use UpdateNodeBackupConfigurationRequest.

func (UpdateNodeBackupConfigurationRequest) BinaryRequestBody added in v65.65.3

func (request UpdateNodeBackupConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateNodeBackupConfigurationRequest) HTTPRequest added in v65.65.3

func (request UpdateNodeBackupConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateNodeBackupConfigurationRequest) RetryPolicy added in v65.65.3

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateNodeBackupConfigurationRequest) String added in v65.65.3

func (UpdateNodeBackupConfigurationRequest) ValidateEnumValue added in v65.65.3

func (request UpdateNodeBackupConfigurationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateNodeBackupConfigurationResponse added in v65.65.3

type UpdateNodeBackupConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a request, provide this request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

UpdateNodeBackupConfigurationResponse wrapper for the UpdateNodeBackupConfiguration operation

func (UpdateNodeBackupConfigurationResponse) HTTPResponse added in v65.65.3

func (response UpdateNodeBackupConfigurationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateNodeBackupConfigurationResponse) String added in v65.65.3

type UpdateNodeReplaceConfigurationDetails added in v65.65.3

type UpdateNodeReplaceConfigurationDetails struct {
	LevelTypeDetails LevelTypeDetails `mandatory:"false" json:"levelTypeDetails"`

	// A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Type of compute instance health metric to use for node replacement
	MetricType NodeReplaceConfigurationMetricTypeEnum `mandatory:"false" json:"metricType,omitempty"`

	// This value is the pending duration time to wait for metric emission before triggering node replacement. The value is in minutes.
	DurationInMinutes *int `mandatory:"false" json:"durationInMinutes"`
}

UpdateNodeReplaceConfigurationDetails The information about the NodeReplaceConfiguration

func (UpdateNodeReplaceConfigurationDetails) String added in v65.65.3

func (*UpdateNodeReplaceConfigurationDetails) UnmarshalJSON added in v65.65.3

func (m *UpdateNodeReplaceConfigurationDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (UpdateNodeReplaceConfigurationDetails) ValidateEnumValue added in v65.65.3

func (m UpdateNodeReplaceConfigurationDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateNodeReplaceConfigurationRequest added in v65.65.3

type UpdateNodeReplaceConfigurationRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Unique Oracle-assigned identifier of the  NodeReplaceConfiguration.
	NodeReplaceConfigurationId *string `mandatory:"true" contributesTo:"path" name:"nodeReplaceConfigurationId"`

	// Details for updating the nodeReplaceConfiguration.
	UpdateNodeReplaceConfigurationDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error, without risk of executing that same action again. Retry tokens expire after 24
	// hours but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might 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
}

UpdateNodeReplaceConfigurationRequest wrapper for the UpdateNodeReplaceConfiguration operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/bds/UpdateNodeReplaceConfiguration.go.html to see an example of how to use UpdateNodeReplaceConfigurationRequest.

func (UpdateNodeReplaceConfigurationRequest) BinaryRequestBody added in v65.65.3

func (request UpdateNodeReplaceConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateNodeReplaceConfigurationRequest) HTTPRequest added in v65.65.3

func (request UpdateNodeReplaceConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateNodeReplaceConfigurationRequest) RetryPolicy added in v65.65.3

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateNodeReplaceConfigurationRequest) String added in v65.65.3

func (UpdateNodeReplaceConfigurationRequest) ValidateEnumValue added in v65.65.3

func (request UpdateNodeReplaceConfigurationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateNodeReplaceConfigurationResponse added in v65.65.3

type UpdateNodeReplaceConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a request, provide this request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

UpdateNodeReplaceConfigurationResponse wrapper for the UpdateNodeReplaceConfiguration operation

func (UpdateNodeReplaceConfigurationResponse) HTTPResponse added in v65.65.3

func (response UpdateNodeReplaceConfigurationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateNodeReplaceConfigurationResponse) String added in v65.65.3

type UpdateResourcePrincipalConfigurationDetails added in v65.71.0

type UpdateResourcePrincipalConfigurationDetails struct {

	// A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Life span in hours for the resource principal session token.
	SessionTokenLifeSpanDurationInHours *int `mandatory:"false" json:"sessionTokenLifeSpanDurationInHours"`
}

UpdateResourcePrincipalConfigurationDetails Details of updating the resource principal configuration for the cluster.

func (UpdateResourcePrincipalConfigurationDetails) String added in v65.71.0

func (UpdateResourcePrincipalConfigurationDetails) ValidateEnumValue added in v65.71.0

func (m UpdateResourcePrincipalConfigurationDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateResourcePrincipalConfigurationRequest added in v65.71.0

type UpdateResourcePrincipalConfigurationRequest struct {

	// The OCID of the cluster.
	BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"`

	// Unique Oracle-assigned identifier of the ResourcePrincipalConfiguration.
	ResourcePrincipalConfigurationId *string `mandatory:"true" contributesTo:"path" name:"resourcePrincipalConfigurationId"`

	// Details for updating the resourcePrincipalConfiguration.
	UpdateResourcePrincipalConfigurationDetails `contributesTo:"body"`

	// The client request ID for tracing.
	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 will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error, without risk of executing that same action again. Retry tokens expire after 24
	// hours but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might 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
}

UpdateResourcePrincipalConfigurationRequest wrapper for the UpdateResourcePrincipalConfiguration operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/bds/UpdateResourcePrincipalConfiguration.go.html to see an example of how to use UpdateResourcePrincipalConfigurationRequest.

func (UpdateResourcePrincipalConfigurationRequest) BinaryRequestBody added in v65.71.0

BinaryRequestBody implements the OCIRequest interface

func (UpdateResourcePrincipalConfigurationRequest) HTTPRequest added in v65.71.0

func (request UpdateResourcePrincipalConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateResourcePrincipalConfigurationRequest) RetryPolicy added in v65.71.0

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateResourcePrincipalConfigurationRequest) String added in v65.71.0

func (UpdateResourcePrincipalConfigurationRequest) ValidateEnumValue added in v65.71.0

func (request UpdateResourcePrincipalConfigurationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateResourcePrincipalConfigurationResponse added in v65.71.0

type UpdateResourcePrincipalConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a request, provide this request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

UpdateResourcePrincipalConfigurationResponse wrapper for the UpdateResourcePrincipalConfiguration operation

func (UpdateResourcePrincipalConfigurationResponse) HTTPResponse added in v65.71.0

HTTPResponse implements the OCIResponse interface

func (UpdateResourcePrincipalConfigurationResponse) String added in v65.71.0

type UpdateScheduleBasedHorizontalScalingPolicyDetails added in v65.3.0

type UpdateScheduleBasedHorizontalScalingPolicyDetails struct {

	// The time zone of the execution schedule, in IANA time zone database name format
	Timezone *string `mandatory:"false" json:"timezone"`

	// Details of a horizontal scaling schedule.
	ScheduleDetails []HorizontalScalingScheduleDetails `mandatory:"false" json:"scheduleDetails"`
}

UpdateScheduleBasedHorizontalScalingPolicyDetails Update details of a schedule based horizontal autoscaling policy. In a schedule-based autoscaling policy, an autoscaling action is triggered at the scheduled execution time.

func (UpdateScheduleBasedHorizontalScalingPolicyDetails) MarshalJSON added in v65.3.0

func (m UpdateScheduleBasedHorizontalScalingPolicyDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateScheduleBasedHorizontalScalingPolicyDetails) String added in v65.3.0

func (*UpdateScheduleBasedHorizontalScalingPolicyDetails) UnmarshalJSON added in v65.3.0

func (m *UpdateScheduleBasedHorizontalScalingPolicyDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (UpdateScheduleBasedHorizontalScalingPolicyDetails) ValidateEnumValue added in v65.3.0

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateScheduleBasedVerticalScalingPolicyDetails added in v65.3.0

type UpdateScheduleBasedVerticalScalingPolicyDetails struct {

	// The time zone of the execution schedule, in IANA time zone database name format
	Timezone *string `mandatory:"false" json:"timezone"`

	// Details of a vertical scaling schedule.
	ScheduleDetails []VerticalScalingScheduleDetails `mandatory:"false" json:"scheduleDetails"`
}

UpdateScheduleBasedVerticalScalingPolicyDetails Update details of a schedule based vertical autoscaling policy. In a schedule-based autoscaling policy, an autoscaling action is triggered at the scheduled execution time.

func (UpdateScheduleBasedVerticalScalingPolicyDetails) MarshalJSON added in v65.3.0

func (m UpdateScheduleBasedVerticalScalingPolicyDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateScheduleBasedVerticalScalingPolicyDetails) String added in v65.3.0

func (*UpdateScheduleBasedVerticalScalingPolicyDetails) UnmarshalJSON added in v65.3.0

func (m *UpdateScheduleBasedVerticalScalingPolicyDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (UpdateScheduleBasedVerticalScalingPolicyDetails) ValidateEnumValue added in v65.3.0

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type VerticalScalingScheduleDetails added in v65.3.0

type VerticalScalingScheduleDetails interface {
}

VerticalScalingScheduleDetails Details of a vertical scaling schedule.

type VolumeAttachmentDetail

type VolumeAttachmentDetail struct {

	// The OCID of the volume attachment.
	VolumeAttachmentId *string `mandatory:"true" json:"volumeAttachmentId"`

	// The size of the volume in GBs.
	VolumeSizeInGBs *int64 `mandatory:"true" json:"volumeSizeInGBs"`
}

VolumeAttachmentDetail A detail of the attached block volume.

func (VolumeAttachmentDetail) String

func (m VolumeAttachmentDetail) String() string

func (VolumeAttachmentDetail) ValidateEnumValue

func (m VolumeAttachmentDetail) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error 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 {

	// The ID of the work request.
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the compartment that contains the work request. Work requests should be scoped to the same compartment as the resource the work request affects. If the work request affects multiple resources, and those resources are not in the same compartment, it is up to the service team to pick the primary resource whose compartment should be used.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The type of this work request.
	OperationType OperationTypesEnum `mandatory:"true" json:"operationType"`

	// The status of this work request.
	Status OperationStatusEnum `mandatory:"true" json:"status"`

	// The resources affected by this work request.
	Resources []WorkRequestResource `mandatory:"true" json:"resources"`

	// Percentage of this work request completed.
	PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

	// The date and time the request was created, shown as an RFC 3339 formatted datetime string.
	TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

	// The time the request was started, shown as an RFC 3339 formatted datetime string.
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The time the object was finished, shown as an RFC 3339 formatted datetime string.
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

WorkRequest Description of the work request status.

func (WorkRequest) String

func (m WorkRequest) String() string

func (WorkRequest) ValidateEnumValue

func (m WorkRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestError

type WorkRequestError struct {

	// A machine-usable code for the error that occurred. Error codes are listed on (https://docs.oracle.com/en-us/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 the error occurred, shown as an RFC 3339 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 WorkRequestLogEntry

type WorkRequestLogEntry struct {

	// Human-readable log message.
	Message *string `mandatory:"true" json:"message"`

	// The time the log message was written, shown as an RFC 3339 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 WorkRequestResource

type WorkRequestResource struct {

	// The resource type the work request affects.
	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, at which point it will transition to CREATED, UPDATED, or DELETED, respectively.
	ActionType ActionTypesEnum `mandatory:"true" json:"actionType"`

	// The OCID of the resource the work request affects.
	Identifier *string `mandatory:"true" json:"identifier"`

	// The URI path that the user can do a GET on to access 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