ActionTypesEnum Enum with underlying type: string
type ActionTypesEnum string
Set of constants representing the allowable values for ActionTypesEnum
const ( ActionTypesCreated ActionTypesEnum = "CREATED" ActionTypesUpdated ActionTypesEnum = "UPDATED" ActionTypesDeleted ActionTypesEnum = "DELETED" ActionTypesInProgress ActionTypesEnum = "IN_PROGRESS" ActionTypesFailed ActionTypesEnum = "FAILED" )
func GetActionTypesEnumValues() []ActionTypesEnum
GetActionTypesEnumValues Enumerates the set of values for ActionTypesEnum
AddAutoScalingConfigurationDetails The information about auto scale configuration capability
type AddAutoScalingConfigurationDetails struct { // A node type that is managed by an autoscaling configuration. The only supported type is WORKER. NodeType NodeNodeTypeEnum `mandatory:"true" json:"nodeType"` // Whether the autoscaling configuration is enabled. IsEnabled *bool `mandatory:"true" json:"isEnabled"` // Base-64 encoded password for Cloudera Manager admin user ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"` Policy *AutoScalePolicy `mandatory:"true" json:"policy"` // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` }
func (m AddAutoScalingConfigurationDetails) String() string
AddAutoScalingConfigurationRequest wrapper for the AddAutoScalingConfiguration operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/AddAutoScalingConfiguration.go.html to see an example of how to use AddAutoScalingConfigurationRequest.
type AddAutoScalingConfigurationRequest struct { // The OCID of the BDS instance BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"` // Details for create an autoscaling 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 }
func (request AddAutoScalingConfigurationRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AddAutoScalingConfigurationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AddAutoScalingConfigurationRequest) String() string
AddAutoScalingConfigurationResponse wrapper for the AddAutoScalingConfiguration operation
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 particular request, please provide the 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"` }
func (response AddAutoScalingConfigurationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AddAutoScalingConfigurationResponse) String() string
AddBlockStorageDetails The information about additionally added block volumes
type AddBlockStorageDetails struct { // Base-64 encoded password for Cloudera Manager admin user ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"` // The size of block volume in GB that needs to be added to each worker node. // All the necessary details needed for attachment are managed by service itself. BlockVolumeSizeInGBs *int64 `mandatory:"true" json:"blockVolumeSizeInGBs"` }
func (m AddBlockStorageDetails) String() string
AddBlockStorageRequest wrapper for the AddBlockStorage operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/AddBlockStorage.go.html to see an example of how to use AddBlockStorageRequest.
type AddBlockStorageRequest struct { // The OCID of the BDS instance BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"` // Details for the newly 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 }
func (request AddBlockStorageRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AddBlockStorageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AddBlockStorageRequest) String() string
AddBlockStorageResponse wrapper for the AddBlockStorage operation
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 particular request, please provide the 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"` }
func (response AddBlockStorageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AddBlockStorageResponse) String() string
AddCloudSqlDetails The information about added Cloud SQL capability
type AddCloudSqlDetails struct { // Shape of the node Shape *string `mandatory:"true" json:"shape"` // Base-64 encoded password for Cloudera Manager admin user ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"` // 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"` }
func (m AddCloudSqlDetails) String() string
AddCloudSqlRequest wrapper for the AddCloudSql operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/AddCloudSql.go.html to see an example of how to use AddCloudSqlRequest.
type AddCloudSqlRequest struct { // The OCID of the BDS instance 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 }
func (request AddCloudSqlRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AddCloudSqlRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AddCloudSqlRequest) String() string
AddCloudSqlResponse wrapper for the AddCloudSql operation
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 particular request, please provide the 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"` }
func (response AddCloudSqlResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AddCloudSqlResponse) String() string
AddWorkerNodesDetails The information about additionaly added nodes
type AddWorkerNodesDetails struct { // Base-64 encoded password for Cloudera Manager admin user ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"` // Number of additional worker nodes for the BDS instance NumberOfWorkerNodes *int `mandatory:"true" json:"numberOfWorkerNodes"` }
func (m AddWorkerNodesDetails) String() string
AddWorkerNodesRequest wrapper for the AddWorkerNodes operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/AddWorkerNodes.go.html to see an example of how to use AddWorkerNodesRequest.
type AddWorkerNodesRequest struct { // The OCID of the BDS instance 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 }
func (request AddWorkerNodesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AddWorkerNodesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AddWorkerNodesRequest) String() string
AddWorkerNodesResponse wrapper for the AddWorkerNodes operation
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 particular request, please provide the 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"` }
func (response AddWorkerNodesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AddWorkerNodesResponse) String() string
AutoScalePolicy Policy definitions for the autoscaling configuration
type AutoScalePolicy struct { // Types of autoscaling policies. SCHEDULE-BASED or THRESHOLD-BASED, current only supported THRESHOLD-BASED. PolicyType AutoScalePolicyPolicyTypeEnum `mandatory:"true" json:"policyType"` // The list of rules for autoscaling. If an action have multiple rules, last rule in the array will be applied. Rules []AutoScalePolicyRule `mandatory:"true" json:"rules"` }
func (m AutoScalePolicy) String() string
AutoScalePolicyMetricRule Metric and threshold details for triggering an autoscaling action
type AutoScalePolicyMetricRule struct { // Allowed value is CPU_UTILIZATION currently MetricType AutoScalePolicyMetricRuleMetricTypeEnum `mandatory:"true" json:"metricType"` Threshold *MetricThresholdRule `mandatory:"true" json:"threshold"` }
func (m AutoScalePolicyMetricRule) String() string
AutoScalePolicyMetricRuleMetricTypeEnum Enum with underlying type: string
type AutoScalePolicyMetricRuleMetricTypeEnum string
Set of constants representing the allowable values for AutoScalePolicyMetricRuleMetricTypeEnum
const ( AutoScalePolicyMetricRuleMetricTypeCpuUtilization AutoScalePolicyMetricRuleMetricTypeEnum = "CPU_UTILIZATION" )
func GetAutoScalePolicyMetricRuleMetricTypeEnumValues() []AutoScalePolicyMetricRuleMetricTypeEnum
GetAutoScalePolicyMetricRuleMetricTypeEnumValues Enumerates the set of values for AutoScalePolicyMetricRuleMetricTypeEnum
AutoScalePolicyPolicyTypeEnum Enum with underlying type: string
type AutoScalePolicyPolicyTypeEnum string
Set of constants representing the allowable values for AutoScalePolicyPolicyTypeEnum
const ( AutoScalePolicyPolicyTypeThresholdBased AutoScalePolicyPolicyTypeEnum = "THRESHOLD_BASED" AutoScalePolicyPolicyTypeScheduleBased AutoScalePolicyPolicyTypeEnum = "SCHEDULE_BASED" )
func GetAutoScalePolicyPolicyTypeEnumValues() []AutoScalePolicyPolicyTypeEnum
GetAutoScalePolicyPolicyTypeEnumValues Enumerates the set of values for AutoScalePolicyPolicyTypeEnum
AutoScalePolicyRule A rule that defines a specific autoscaling action to take and the metric that triggers that action.
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"` }
func (m AutoScalePolicyRule) String() string
AutoScalePolicyRuleActionEnum Enum with underlying type: string
type AutoScalePolicyRuleActionEnum string
Set of constants representing the allowable values for AutoScalePolicyRuleActionEnum
const ( AutoScalePolicyRuleActionUp AutoScalePolicyRuleActionEnum = "CHANGE_SHAPE_SCALE_UP" AutoScalePolicyRuleActionDown AutoScalePolicyRuleActionEnum = "CHANGE_SHAPE_SCALE_DOWN" )
func GetAutoScalePolicyRuleActionEnumValues() []AutoScalePolicyRuleActionEnum
GetAutoScalePolicyRuleActionEnumValues Enumerates the set of values for AutoScalePolicyRuleActionEnum
AutoScalingConfiguration The information about auto scale configuration.
type AutoScalingConfiguration struct { // The unique identifier for autoscaling configuration. Id *string `mandatory:"true" json:"id"` // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // A node type that is managed by an autoscaling configuration. The only supported type is WORKER. NodeType NodeNodeTypeEnum `mandatory:"true" json:"nodeType"` // The state of the autoscaling configuration LifecycleState AutoScalingConfigurationLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The time the BDS instance was created. An RFC3339 formatted datetime string TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The time the autoscale configuration was updated. // An RFC3339 formatted datetime string TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` Policy *AutoScalePolicy `mandatory:"true" json:"policy"` }
func (m AutoScalingConfiguration) String() string
AutoScalingConfigurationLifecycleStateEnum Enum with underlying type: string
type AutoScalingConfigurationLifecycleStateEnum string
Set of constants representing the allowable values for AutoScalingConfigurationLifecycleStateEnum
const ( AutoScalingConfigurationLifecycleStateCreating AutoScalingConfigurationLifecycleStateEnum = "CREATING" AutoScalingConfigurationLifecycleStateActive AutoScalingConfigurationLifecycleStateEnum = "ACTIVE" AutoScalingConfigurationLifecycleStateUpdating AutoScalingConfigurationLifecycleStateEnum = "UPDATING" AutoScalingConfigurationLifecycleStateDeleting AutoScalingConfigurationLifecycleStateEnum = "DELETING" AutoScalingConfigurationLifecycleStateDeleted AutoScalingConfigurationLifecycleStateEnum = "DELETED" AutoScalingConfigurationLifecycleStateFailed AutoScalingConfigurationLifecycleStateEnum = "FAILED" )
func GetAutoScalingConfigurationLifecycleStateEnumValues() []AutoScalingConfigurationLifecycleStateEnum
GetAutoScalingConfigurationLifecycleStateEnumValues Enumerates the set of values for AutoScalingConfigurationLifecycleStateEnum
AutoScalingConfigurationSummary The information about auto scale configuration.
type AutoScalingConfigurationSummary struct { // The OCID of the autoscaling configuration. Id *string `mandatory:"true" json:"id"` // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // The state of the autoscaling configuration LifecycleState AutoScalingConfigurationLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // A node type that is managed by an autoscaling configuration. The only supported type is WORKER. NodeType NodeNodeTypeEnum `mandatory:"true" json:"nodeType"` // The time the BDS instance was created. An RFC3339 formatted datetime string TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The time the autoscale configuration was updated. // An RFC3339 formatted datetime string TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` Policy *AutoScalePolicy `mandatory:"true" json:"policy"` }
func (m AutoScalingConfigurationSummary) String() string
BdsClient a client for Bds
type BdsClient struct { common.BaseClient // contains filtered or unexported fields }
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(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 (client BdsClient) AddAutoScalingConfiguration(ctx context.Context, request AddAutoScalingConfigurationRequest) (response AddAutoScalingConfigurationResponse, err error)
AddAutoScalingConfiguration Add autoscaling configuration.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/AddAutoScalingConfiguration.go.html to see an example of how to use AddAutoScalingConfiguration API.
func (client BdsClient) AddBlockStorage(ctx context.Context, request AddBlockStorageRequest) (response AddBlockStorageResponse, err error)
AddBlockStorage Adds storage to existing worker nodes. The same amount of storage will be added to all workers. No change will be made to already attached storage. Block Storage once added cannot be removed.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/AddBlockStorage.go.html to see an example of how to use AddBlockStorage API.
func (client BdsClient) AddCloudSql(ctx context.Context, request AddCloudSqlRequest) (response AddCloudSqlResponse, err error)
AddCloudSql Adds Cloud SQL to your cluster. This will add a query server node to the cluster and create cell servers on all your worker nodes.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/AddCloudSql.go.html to see an example of how to use AddCloudSql API.
func (client BdsClient) AddWorkerNodes(ctx context.Context, request AddWorkerNodesRequest) (response AddWorkerNodesResponse, err error)
AddWorkerNodes Add worker nodes to an existing cluster. The worker nodes added will be based on an identical shape and have the same amount of attached block storage as other worker nodes in the cluster.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/AddWorkerNodes.go.html to see an example of how to use AddWorkerNodes API.
func (client BdsClient) ChangeBdsInstanceCompartment(ctx context.Context, request ChangeBdsInstanceCompartmentRequest) (response ChangeBdsInstanceCompartmentResponse, err error)
ChangeBdsInstanceCompartment Moves a BDS instance into a different compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/ChangeBdsInstanceCompartment.go.html to see an example of how to use ChangeBdsInstanceCompartment API.
func (client BdsClient) ChangeShape(ctx context.Context, request ChangeShapeRequest) (response ChangeShapeResponse, err error)
ChangeShape Scale-up/down individial nodes (per role type) in the cluster. Customer can choose arbitrarty VM_STANDARD shape to scale-up/down the instance. Only VM_STANDARD nodes can be re-shaped.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/ChangeShape.go.html to see an example of how to use ChangeShape API.
func (client *BdsClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client BdsClient) CreateBdsInstance(ctx context.Context, request CreateBdsInstanceRequest) (response CreateBdsInstanceResponse, err error)
CreateBdsInstance Creates a new BDS instance.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/CreateBdsInstance.go.html to see an example of how to use CreateBdsInstance API.
func (client BdsClient) DeleteBdsInstance(ctx context.Context, request DeleteBdsInstanceRequest) (response DeleteBdsInstanceResponse, err error)
DeleteBdsInstance Deletes a BDS instance by identifier
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/DeleteBdsInstance.go.html to see an example of how to use DeleteBdsInstance API.
func (client BdsClient) GetAutoScalingConfiguration(ctx context.Context, request GetAutoScalingConfigurationRequest) (response GetAutoScalingConfigurationResponse, err error)
GetAutoScalingConfiguration Gets information about the specified autoscaling configuration.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/GetAutoScalingConfiguration.go.html to see an example of how to use GetAutoScalingConfiguration API.
func (client BdsClient) GetBdsInstance(ctx context.Context, request GetBdsInstanceRequest) (response GetBdsInstanceResponse, err error)
GetBdsInstance Gets a BDS instance by identifier
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/GetBdsInstance.go.html to see an example of how to use GetBdsInstance API.
func (client BdsClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Gets the status of the work request with the given ID.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API.
func (client BdsClient) ListAutoScalingConfigurations(ctx context.Context, request ListAutoScalingConfigurationsRequest) (response ListAutoScalingConfigurationsResponse, err error)
ListAutoScalingConfigurations Gets information about the autoscaling configuration.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/ListAutoScalingConfigurations.go.html to see an example of how to use ListAutoScalingConfigurations API.
func (client BdsClient) ListBdsInstances(ctx context.Context, request ListBdsInstancesRequest) (response ListBdsInstancesResponse, err error)
ListBdsInstances Returns a list of BDS instances.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/ListBdsInstances.go.html to see an example of how to use ListBdsInstances API.
func (client BdsClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
ListWorkRequestErrors Return a (paginated) list of errors for a given work request.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API.
func (client BdsClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
ListWorkRequestLogs Return a (paginated) list of logs for a given work request.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API.
func (client BdsClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists the work requests in a compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API.
func (client BdsClient) RemoveAutoScalingConfiguration(ctx context.Context, request RemoveAutoScalingConfigurationRequest) (response RemoveAutoScalingConfigurationResponse, err error)
RemoveAutoScalingConfiguration Remove autoscaling configuration.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/RemoveAutoScalingConfiguration.go.html to see an example of how to use RemoveAutoScalingConfiguration API.
func (client BdsClient) RemoveCloudSql(ctx context.Context, request RemoveCloudSqlRequest) (response RemoveCloudSqlResponse, err error)
RemoveCloudSql Remove Cloud SQL capability.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/RemoveCloudSql.go.html to see an example of how to use RemoveCloudSql API.
func (client BdsClient) RestartNode(ctx context.Context, request RestartNodeRequest) (response RestartNodeResponse, err error)
RestartNode Restarts a single node of a BDS instance.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/RestartNode.go.html to see an example of how to use RestartNode API.
func (client *BdsClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client BdsClient) UpdateAutoScalingConfiguration(ctx context.Context, request UpdateAutoScalingConfigurationRequest) (response UpdateAutoScalingConfigurationResponse, err error)
UpdateAutoScalingConfiguration Updates certain fields on the specified autoscaling configuration, such as the name, the threshold value, and whether the autoscaling configuration is enabled.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/UpdateAutoScalingConfiguration.go.html to see an example of how to use UpdateAutoScalingConfiguration API.
func (client BdsClient) UpdateBdsInstance(ctx context.Context, request UpdateBdsInstanceRequest) (response UpdateBdsInstanceResponse, err error)
UpdateBdsInstance Update the BDS instance identified by the id
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/UpdateBdsInstance.go.html to see an example of how to use UpdateBdsInstance API.
BdsInstance Description of the BDS instance
type BdsInstance struct { // The OCID of the BDS resource Id *string `mandatory:"true" json:"id"` // The OCID of the compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // Name of the BDS instance DisplayName *string `mandatory:"true" json:"displayName"` // The state of the BDS instance LifecycleState BdsInstanceLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Boolean flag specifying whether or not the cluster is HA IsHighAvailability *bool `mandatory:"true" json:"isHighAvailability"` // Boolean flag specifying whether or not the cluster should be setup as secure. IsSecure *bool `mandatory:"true" json:"isSecure"` // Boolean flag specifying whether we configure Cloud SQL or not IsCloudSqlConfigured *bool `mandatory:"true" json:"isCloudSqlConfigured"` // The list of nodes in the BDS instance 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 BDS instance. CreatedBy *string `mandatory:"false" json:"createdBy"` // The time the BDS instance was created. An RFC3339 formatted datetime string TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the BDS instance was updated. An RFC3339 formatted datetime string TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m BdsInstance) String() string
BdsInstanceClusterVersionEnum Enum with underlying type: string
type BdsInstanceClusterVersionEnum string
Set of constants representing the allowable values for BdsInstanceClusterVersionEnum
const ( BdsInstanceClusterVersionCdh5 BdsInstanceClusterVersionEnum = "CDH5" BdsInstanceClusterVersionCdh6 BdsInstanceClusterVersionEnum = "CDH6" )
func GetBdsInstanceClusterVersionEnumValues() []BdsInstanceClusterVersionEnum
GetBdsInstanceClusterVersionEnumValues Enumerates the set of values for BdsInstanceClusterVersionEnum
BdsInstanceLifecycleStateEnum Enum with underlying type: string
type BdsInstanceLifecycleStateEnum string
Set of constants representing the allowable values for BdsInstanceLifecycleStateEnum
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" )
func GetBdsInstanceLifecycleStateEnumValues() []BdsInstanceLifecycleStateEnum
GetBdsInstanceLifecycleStateEnumValues Enumerates the set of values for BdsInstanceLifecycleStateEnum
BdsInstanceSummary Summary of the BDS instance
type BdsInstanceSummary struct { // The OCID of the BDS resource Id *string `mandatory:"true" json:"id"` // The OCID of the compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // Name of the BDS instance DisplayName *string `mandatory:"true" json:"displayName"` // The state of the BDS instance LifecycleState BdsInstanceLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Number of nodes that forming the cluster NumberOfNodes *int `mandatory:"true" json:"numberOfNodes"` // Boolean flag specifying whether or not the cluster is HA IsHighAvailability *bool `mandatory:"true" json:"isHighAvailability"` // Boolean flag specifying whether or not the cluster should be setup as secure. IsSecure *bool `mandatory:"true" json:"isSecure"` // Boolean flag specifying whether we configure Cloud SQL or not IsCloudSqlConfigured *bool `mandatory:"true" json:"isCloudSqlConfigured"` // The time the BDS instance was created. An RFC3339 formatted datetime string TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Version of the Hadoop distribution ClusterVersion BdsInstanceClusterVersionEnum `mandatory:"false" json:"clusterVersion,omitempty"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m BdsInstanceSummary) String() string
ChangeBdsInstanceCompartmentDetails Moves a BDS instance into a different compartment.
type ChangeBdsInstanceCompartmentDetails struct { // The OCID of the compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeBdsInstanceCompartmentDetails) String() string
ChangeBdsInstanceCompartmentRequest wrapper for the ChangeBdsInstanceCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/ChangeBdsInstanceCompartment.go.html to see an example of how to use ChangeBdsInstanceCompartmentRequest.
type ChangeBdsInstanceCompartmentRequest struct { // The OCID of the BDS instance 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 }
func (request ChangeBdsInstanceCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeBdsInstanceCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeBdsInstanceCompartmentRequest) String() string
ChangeBdsInstanceCompartmentResponse wrapper for the ChangeBdsInstanceCompartment operation
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 particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeBdsInstanceCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeBdsInstanceCompartmentResponse) String() string
ChangeShapeDetails Resize details specified for individual nodes.
type ChangeShapeDetails struct { // Base-64 encoded password for Cloudera Manager admin user ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"` Nodes *ChangeShapeNodes `mandatory:"true" json:"nodes"` }
func (m ChangeShapeDetails) String() string
ChangeShapeNodes Inidividual worker nodes groups details
type ChangeShapeNodes struct { // Change shape of worker nodes to the desired target shape. Only VM_STANDARD shapes are allowed here. Worker *string `mandatory:"false" json:"worker"` // Change shape of master nodes to the desired target shape. Only VM_STANDARD shapes are allowed here. Master *string `mandatory:"false" json:"master"` // Change shape of utility nodes to the desired target shape. Only VM_STANDARD shapes are allowed here. Utility *string `mandatory:"false" json:"utility"` // Change shape of cloudsql node to the desired target shape. Only VM_STANDARD shapes are allowed here. Cloudsql *string `mandatory:"false" json:"cloudsql"` }
func (m ChangeShapeNodes) String() string
ChangeShapeRequest wrapper for the ChangeShape operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/ChangeShape.go.html to see an example of how to use ChangeShapeRequest.
type ChangeShapeRequest struct { // The OCID of the BDS instance BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"` // Individual change shape settings per node group. You can change the shape of master, worker, utility and cloudsql 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 }
func (request ChangeShapeRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeShapeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeShapeRequest) String() string
ChangeShapeResponse wrapper for the ChangeShape operation
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 particular request, please provide the 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"` }
func (response ChangeShapeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeShapeResponse) String() string
CloudSqlDetails The information about added Cloud SQL capability
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 are Kerberos principals mapped // to database users. IsKerberosMappedToDatabaseUsers *bool `mandatory:"false" json:"isKerberosMappedToDatabaseUsers"` // Details about Kerberos principals KerberosDetails []KerberosDetails `mandatory:"false" json:"kerberosDetails"` }
func (m CloudSqlDetails) String() string
ClusterDetails Specific info about a Hadoop cluster
type ClusterDetails struct { // The time the cluster was created. An RFC3339 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"` // 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 BDS instance was automatically, or manually refreshed. // An RFC3339 formatted datetime string TimeRefreshed *common.SDKTime `mandatory:"false" json:"timeRefreshed"` // The URL of a Cloudera Manager ClouderaManagerUrl *string `mandatory:"false" json:"clouderaManagerUrl"` // The URL of a Big Data Manager BigDataManagerUrl *string `mandatory:"false" json:"bigDataManagerUrl"` // The URL of a Hue Server HueServerUrl *string `mandatory:"false" json:"hueServerUrl"` }
func (m ClusterDetails) String() string
CreateBdsInstanceDetails The information about new BDS instance
type CreateBdsInstanceDetails struct { // The OCID of the compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // Name of the BDS instance 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 Cloudera Manager admin user ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"` // Boolean flag specifying whether or not the cluster is HA IsHighAvailability *bool `mandatory:"true" json:"isHighAvailability"` // Boolean flag specifying whether or not the cluster should be setup as secure. IsSecure *bool `mandatory:"true" json:"isSecure"` // The list of nodes in the BDS instance Nodes []CreateNodeDetails `mandatory:"true" json:"nodes"` NetworkConfig *NetworkConfig `mandatory:"false" json:"networkConfig"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateBdsInstanceDetails) String() string
CreateBdsInstanceRequest wrapper for the CreateBdsInstance operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/CreateBdsInstance.go.html to see an example of how to use CreateBdsInstanceRequest.
type CreateBdsInstanceRequest struct { // Details for the new BDS instace. 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 }
func (request CreateBdsInstanceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateBdsInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateBdsInstanceRequest) String() string
CreateBdsInstanceResponse wrapper for the CreateBdsInstance operation
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 particular request, please provide the 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"` }
func (response CreateBdsInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateBdsInstanceResponse) String() string
CreateNodeDetails The information about new node
type CreateNodeDetails struct { // BDS instance 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 that needs to be attached to a given node. // All the necessary details needed for attachment are managed by service itself. BlockVolumeSizeInGBs *int64 `mandatory:"true" json:"blockVolumeSizeInGBs"` // The OCID of the subnet in which the node should be created SubnetId *string `mandatory:"true" json:"subnetId"` }
func (m CreateNodeDetails) String() string
DefaultError Error Information.
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"` }
func (m DefaultError) String() string
DeleteBdsInstanceRequest wrapper for the DeleteBdsInstance operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/DeleteBdsInstance.go.html to see an example of how to use DeleteBdsInstanceRequest.
type DeleteBdsInstanceRequest struct { // The OCID of the BDS instance 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 }
func (request DeleteBdsInstanceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteBdsInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteBdsInstanceRequest) String() string
DeleteBdsInstanceResponse wrapper for the DeleteBdsInstance operation
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 particular request, please provide the 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"` }
func (response DeleteBdsInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteBdsInstanceResponse) String() string
GetAutoScalingConfigurationRequest wrapper for the GetAutoScalingConfiguration operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/GetAutoScalingConfiguration.go.html to see an example of how to use GetAutoScalingConfigurationRequest.
type GetAutoScalingConfigurationRequest struct { // The OCID of the BDS instance BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"` // Unique Oracle-assigned identifier of the autoscaling 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 }
func (request GetAutoScalingConfigurationRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetAutoScalingConfigurationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetAutoScalingConfigurationRequest) String() string
GetAutoScalingConfigurationResponse wrapper for the GetAutoScalingConfiguration operation
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 particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response GetAutoScalingConfigurationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetAutoScalingConfigurationResponse) String() string
GetBdsInstanceRequest wrapper for the GetBdsInstance operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/GetBdsInstance.go.html to see an example of how to use GetBdsInstanceRequest.
type GetBdsInstanceRequest struct { // The OCID of the BDS instance 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 }
func (request GetBdsInstanceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetBdsInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetBdsInstanceRequest) String() string
GetBdsInstanceResponse wrapper for the GetBdsInstance operation
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 particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response GetBdsInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetBdsInstanceResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/GetWorkRequest.go.html to see an example of how to use 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 }
func (request GetWorkRequestRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetWorkRequestRequest) String() string
GetWorkRequestResponse wrapper for the GetWorkRequest operation
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 particular request, please provide the 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"` }
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetWorkRequestResponse) String() string
KerberosDetails Details about Kerberos principals
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"` }
func (m KerberosDetails) String() string
ListAutoScalingConfigurationsRequest wrapper for the ListAutoScalingConfigurations operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/ListAutoScalingConfigurations.go.html to see an example of how to use ListAutoScalingConfigurationsRequest.
type ListAutoScalingConfigurationsRequest struct { // The OCID of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The OCID of the BDS instance 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 autoscaling 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 }
func (request ListAutoScalingConfigurationsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAutoScalingConfigurationsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAutoScalingConfigurationsRequest) String() string
ListAutoScalingConfigurationsResponse wrapper for the ListAutoScalingConfigurations operation
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 particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then 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"` }
func (response ListAutoScalingConfigurationsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAutoScalingConfigurationsResponse) String() string
ListAutoScalingConfigurationsSortByEnum Enum with underlying type: string
type ListAutoScalingConfigurationsSortByEnum string
Set of constants representing the allowable values for ListAutoScalingConfigurationsSortByEnum
const ( ListAutoScalingConfigurationsSortByTimecreated ListAutoScalingConfigurationsSortByEnum = "timeCreated" ListAutoScalingConfigurationsSortByDisplayname ListAutoScalingConfigurationsSortByEnum = "displayName" )
func GetListAutoScalingConfigurationsSortByEnumValues() []ListAutoScalingConfigurationsSortByEnum
GetListAutoScalingConfigurationsSortByEnumValues Enumerates the set of values for ListAutoScalingConfigurationsSortByEnum
ListAutoScalingConfigurationsSortOrderEnum Enum with underlying type: string
type ListAutoScalingConfigurationsSortOrderEnum string
Set of constants representing the allowable values for ListAutoScalingConfigurationsSortOrderEnum
const ( ListAutoScalingConfigurationsSortOrderAsc ListAutoScalingConfigurationsSortOrderEnum = "ASC" ListAutoScalingConfigurationsSortOrderDesc ListAutoScalingConfigurationsSortOrderEnum = "DESC" )
func GetListAutoScalingConfigurationsSortOrderEnumValues() []ListAutoScalingConfigurationsSortOrderEnum
GetListAutoScalingConfigurationsSortOrderEnumValues Enumerates the set of values for ListAutoScalingConfigurationsSortOrderEnum
ListBdsInstancesRequest wrapper for the ListBdsInstances operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/ListBdsInstances.go.html to see an example of how to use ListBdsInstancesRequest.
type ListBdsInstancesRequest struct { // The OCID of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The state of the BDS instance. 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 }
func (request ListBdsInstancesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListBdsInstancesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListBdsInstancesRequest) String() string
ListBdsInstancesResponse wrapper for the ListBdsInstances operation
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 particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then 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"` }
func (response ListBdsInstancesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListBdsInstancesResponse) String() string
ListBdsInstancesSortByEnum Enum with underlying type: string
type ListBdsInstancesSortByEnum string
Set of constants representing the allowable values for ListBdsInstancesSortByEnum
const ( ListBdsInstancesSortByTimecreated ListBdsInstancesSortByEnum = "timeCreated" ListBdsInstancesSortByDisplayname ListBdsInstancesSortByEnum = "displayName" )
func GetListBdsInstancesSortByEnumValues() []ListBdsInstancesSortByEnum
GetListBdsInstancesSortByEnumValues Enumerates the set of values for ListBdsInstancesSortByEnum
ListBdsInstancesSortOrderEnum Enum with underlying type: string
type ListBdsInstancesSortOrderEnum string
Set of constants representing the allowable values for ListBdsInstancesSortOrderEnum
const ( ListBdsInstancesSortOrderAsc ListBdsInstancesSortOrderEnum = "ASC" ListBdsInstancesSortOrderDesc ListBdsInstancesSortOrderEnum = "DESC" )
func GetListBdsInstancesSortOrderEnumValues() []ListBdsInstancesSortOrderEnum
GetListBdsInstancesSortOrderEnumValues Enumerates the set of values for ListBdsInstancesSortOrderEnum
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/ListWorkRequestErrors.go.html to see an example of how to use 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 }
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestErrorsRequest) String() string
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
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 particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestErrorsResponse) String() string
ListWorkRequestErrorsSortByEnum Enum with underlying type: string
type ListWorkRequestErrorsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum
const ( ListWorkRequestErrorsSortByTimecreated ListWorkRequestErrorsSortByEnum = "timeCreated" ListWorkRequestErrorsSortByDisplayname ListWorkRequestErrorsSortByEnum = "displayName" )
func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum
ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string
type ListWorkRequestErrorsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum
const ( ListWorkRequestErrorsSortOrderAsc ListWorkRequestErrorsSortOrderEnum = "ASC" ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC" )
func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/ListWorkRequestLogs.go.html to see an example of how to use 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 }
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestLogsRequest) String() string
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
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 particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestLogsResponse) String() string
ListWorkRequestLogsSortByEnum Enum with underlying type: string
type ListWorkRequestLogsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum
const ( ListWorkRequestLogsSortByTimecreated ListWorkRequestLogsSortByEnum = "timeCreated" ListWorkRequestLogsSortByDisplayname ListWorkRequestLogsSortByEnum = "displayName" )
func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum
ListWorkRequestLogsSortOrderEnum Enum with underlying type: string
type ListWorkRequestLogsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum
const ( ListWorkRequestLogsSortOrderAsc ListWorkRequestLogsSortOrderEnum = "ASC" ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC" )
func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/ListWorkRequests.go.html to see an example of how to use 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 }
func (request ListWorkRequestsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestsRequest) String() string
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
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 particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then 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"` }
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestsResponse) String() string
ListWorkRequestsSortByEnum Enum with underlying type: string
type ListWorkRequestsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestsSortByEnum
const ( ListWorkRequestsSortByTimecreated ListWorkRequestsSortByEnum = "timeCreated" ListWorkRequestsSortByDisplayname ListWorkRequestsSortByEnum = "displayName" )
func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum
ListWorkRequestsSortOrderEnum Enum with underlying type: string
type ListWorkRequestsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum
const ( ListWorkRequestsSortOrderAsc ListWorkRequestsSortOrderEnum = "ASC" ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC" )
func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum
MetricThresholdRule An autoscaling action is triggered when a performance metric meets or exceeds a threshold
type MetricThresholdRule struct { // This value is the minimum period of time metric value meets or exceeds threshold value before action is trigger. The value is in minutes. DurationInMinutes *int `mandatory:"true" json:"durationInMinutes"` // The comparison operator to use. Options are greater than (GT), less than (LT). Operator MetricThresholdRuleOperatorEnum `mandatory:"true" json:"operator"` // integer non negative value. 0 < value < 100 Value *int `mandatory:"true" json:"value"` }
func (m MetricThresholdRule) String() string
MetricThresholdRuleOperatorEnum Enum with underlying type: string
type MetricThresholdRuleOperatorEnum string
Set of constants representing the allowable values for MetricThresholdRuleOperatorEnum
const ( MetricThresholdRuleOperatorGt MetricThresholdRuleOperatorEnum = "GT" MetricThresholdRuleOperatorLt MetricThresholdRuleOperatorEnum = "LT" )
func GetMetricThresholdRuleOperatorEnumValues() []MetricThresholdRuleOperatorEnum
GetMetricThresholdRuleOperatorEnumValues Enumerates the set of values for MetricThresholdRuleOperatorEnum
NetworkConfig Additional configuration of customer's network.
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"` }
func (m NetworkConfig) String() string
Node Specific info about a node
type Node struct { // The OCID of the underlying 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"` // BDS instance 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 should 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 the node is running in AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` // The name of the fault domain the node is running in FaultDomain *string `mandatory:"true" json:"faultDomain"` // The time the node was created. An RFC3339 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 BDS instance was updated. An RFC3339 formatted datetime string TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` }
func (m Node) String() string
NodeLifecycleStateEnum Enum with underlying type: string
type NodeLifecycleStateEnum string
Set of constants representing the allowable values for NodeLifecycleStateEnum
const ( NodeLifecycleStateCreating NodeLifecycleStateEnum = "CREATING" NodeLifecycleStateActive NodeLifecycleStateEnum = "ACTIVE" NodeLifecycleStateInactive NodeLifecycleStateEnum = "INACTIVE" NodeLifecycleStateUpdating NodeLifecycleStateEnum = "UPDATING" NodeLifecycleStateDeleting NodeLifecycleStateEnum = "DELETING" NodeLifecycleStateDeleted NodeLifecycleStateEnum = "DELETED" NodeLifecycleStateFailed NodeLifecycleStateEnum = "FAILED" )
func GetNodeLifecycleStateEnumValues() []NodeLifecycleStateEnum
GetNodeLifecycleStateEnumValues Enumerates the set of values for NodeLifecycleStateEnum
NodeNodeTypeEnum Enum with underlying type: string
type NodeNodeTypeEnum string
Set of constants representing the allowable values for NodeNodeTypeEnum
const ( NodeNodeTypeMaster NodeNodeTypeEnum = "MASTER" NodeNodeTypeEdge NodeNodeTypeEnum = "EDGE" NodeNodeTypeUtility NodeNodeTypeEnum = "UTILITY" NodeNodeTypeWorker NodeNodeTypeEnum = "WORKER" NodeNodeTypeBursting NodeNodeTypeEnum = "BURSTING" NodeNodeTypeCloudSql NodeNodeTypeEnum = "CLOUD_SQL" )
func GetNodeNodeTypeEnumValues() []NodeNodeTypeEnum
GetNodeNodeTypeEnumValues Enumerates the set of values for NodeNodeTypeEnum
OperationStatusEnum Enum with underlying type: string
type OperationStatusEnum string
Set of constants representing the allowable values for OperationStatusEnum
const ( OperationStatusAccepted OperationStatusEnum = "ACCEPTED" OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS" OperationStatusFailed OperationStatusEnum = "FAILED" OperationStatusSucceeded OperationStatusEnum = "SUCCEEDED" OperationStatusCanceling OperationStatusEnum = "CANCELING" OperationStatusCanceled OperationStatusEnum = "CANCELED" )
func GetOperationStatusEnumValues() []OperationStatusEnum
GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum
OperationTypesEnum Enum with underlying type: string
type OperationTypesEnum string
Set of constants representing the allowable values for OperationTypesEnum
const ( OperationTypesCreateBds OperationTypesEnum = "CREATE_BDS" OperationTypesUpdateBds OperationTypesEnum = "UPDATE_BDS" OperationTypesDeleteBds OperationTypesEnum = "DELETE_BDS" OperationTypesAddBlockStorage OperationTypesEnum = "ADD_BLOCK_STORAGE" 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" OperationTypesAutoscaleConfig OperationTypesEnum = "AUTOSCALE_CONFIG" OperationTypesAutoscaleRun OperationTypesEnum = "AUTOSCALE_RUN" )
func GetOperationTypesEnumValues() []OperationTypesEnum
GetOperationTypesEnumValues Enumerates the set of values for OperationTypesEnum
RemoveAutoScalingConfigurationDetails The information about removed Auto Scaling Configuration
type RemoveAutoScalingConfigurationDetails struct { // Base-64 encoded password for Cloudera Manager admin user ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"` }
func (m RemoveAutoScalingConfigurationDetails) String() string
RemoveAutoScalingConfigurationRequest wrapper for the RemoveAutoScalingConfiguration operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/RemoveAutoScalingConfiguration.go.html to see an example of how to use RemoveAutoScalingConfigurationRequest.
type RemoveAutoScalingConfigurationRequest struct { // The OCID of the BDS instance BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"` // Unique Oracle-assigned identifier of the autoscaling configuration. AutoScalingConfigurationId *string `mandatory:"true" contributesTo:"path" name:"autoScalingConfigurationId"` // Details for the Auto Scaling 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 }
func (request RemoveAutoScalingConfigurationRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RemoveAutoScalingConfigurationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RemoveAutoScalingConfigurationRequest) String() string
RemoveAutoScalingConfigurationResponse wrapper for the RemoveAutoScalingConfiguration operation
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 particular request, please provide the 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"` }
func (response RemoveAutoScalingConfigurationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RemoveAutoScalingConfigurationResponse) String() string
RemoveCloudSqlDetails The information about removed Cloud SQL capability
type RemoveCloudSqlDetails struct { // Base-64 encoded password for Cloudera Manager admin user ClusterAdminPassword *string `mandatory:"true" json:"clusterAdminPassword"` }
func (m RemoveCloudSqlDetails) String() string
RemoveCloudSqlRequest wrapper for the RemoveCloudSql operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/RemoveCloudSql.go.html to see an example of how to use RemoveCloudSqlRequest.
type RemoveCloudSqlRequest struct { // The OCID of the BDS instance 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 }
func (request RemoveCloudSqlRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RemoveCloudSqlRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RemoveCloudSqlRequest) String() string
RemoveCloudSqlResponse wrapper for the RemoveCloudSql operation
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 particular request, please provide the 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"` }
func (response RemoveCloudSqlResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RemoveCloudSqlResponse) String() string
RestartNodeDetails The information about restarted node
type RestartNodeDetails struct { // OCID of the BDS node which should be restarted NodeId *string `mandatory:"true" json:"nodeId"` }
func (m RestartNodeDetails) String() string
RestartNodeRequest wrapper for the RestartNode operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/RestartNode.go.html to see an example of how to use RestartNodeRequest.
type RestartNodeRequest struct { // The OCID of the BDS instance 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 }
func (request RestartNodeRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RestartNodeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RestartNodeRequest) String() string
RestartNodeResponse wrapper for the RestartNode operation
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 particular request, please provide the 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"` }
func (response RestartNodeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RestartNodeResponse) String() string
SortOrdersEnum Enum with underlying type: string
type SortOrdersEnum string
Set of constants representing the allowable values for SortOrdersEnum
const ( SortOrdersAsc SortOrdersEnum = "ASC" SortOrdersDesc SortOrdersEnum = "DESC" )
func GetSortOrdersEnumValues() []SortOrdersEnum
GetSortOrdersEnumValues Enumerates the set of values for SortOrdersEnum
UpdateAutoScalingConfigurationDetails The information about auto scale configuration capability
type UpdateAutoScalingConfigurationDetails struct { // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Whether the autoscaling configuration is enabled. IsEnabled *bool `mandatory:"false" json:"isEnabled"` // Base-64 encoded password for Cloudera Manager admin user ClusterAdminPassword *string `mandatory:"false" json:"clusterAdminPassword"` Policy *AutoScalePolicy `mandatory:"false" json:"policy"` }
func (m UpdateAutoScalingConfigurationDetails) String() string
UpdateAutoScalingConfigurationRequest wrapper for the UpdateAutoScalingConfiguration operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/UpdateAutoScalingConfiguration.go.html to see an example of how to use UpdateAutoScalingConfigurationRequest.
type UpdateAutoScalingConfigurationRequest struct { // The OCID of the BDS instance BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"` // Unique Oracle-assigned identifier of the autoscaling 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 }
func (request UpdateAutoScalingConfigurationRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateAutoScalingConfigurationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateAutoScalingConfigurationRequest) String() string
UpdateAutoScalingConfigurationResponse wrapper for the UpdateAutoScalingConfiguration operation
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 particular request, please provide the 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"` }
func (response UpdateAutoScalingConfigurationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateAutoScalingConfigurationResponse) String() string
UpdateBdsInstanceDetails The information about to-be-updated BDS instance
type UpdateBdsInstanceDetails struct { // Name of the BDS instance DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateBdsInstanceDetails) String() string
UpdateBdsInstanceRequest wrapper for the UpdateBdsInstance operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/bds/UpdateBdsInstance.go.html to see an example of how to use UpdateBdsInstanceRequest.
type UpdateBdsInstanceRequest struct { // The OCID of the BDS instance BdsInstanceId *string `mandatory:"true" contributesTo:"path" name:"bdsInstanceId"` // Details for the to-be-updated BDS instace. 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 }
func (request UpdateBdsInstanceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateBdsInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateBdsInstanceRequest) String() string
UpdateBdsInstanceResponse wrapper for the UpdateBdsInstance operation
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 particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateBdsInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateBdsInstanceResponse) String() string
VolumeAttachmentDetail A detail of the attached block volume.
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"` }
func (m VolumeAttachmentDetail) String() string
WorkRequest A description of workrequest status
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"` // Type of the work request OperationType OperationTypesEnum `mandatory:"true" json:"operationType"` // Status of current work request. Status OperationStatusEnum `mandatory:"true" json:"status"` // The resources affected by this work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // Percentage of the request completed. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The date and time the request was created, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), // section 14.29. TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
func (m WorkRequest) String() string
WorkRequestError An error encountered while executing a work request.
type WorkRequestError struct { // A machine-usable code for the error that occured. Error codes are listed on // (https://docs.cloud.oracle.com/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 occured. An RFC3339 formatted datetime string. Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
func (m WorkRequestError) String() string
WorkRequestLogEntry A log message from the execution of a work request.
type WorkRequestLogEntry struct { // Human-readable log message. Message *string `mandatory:"true" json:"message"` // The time the log message was written. An RFC3339 formatted datetime string Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
func (m WorkRequestLogEntry) String() string
WorkRequestResource A resource created or operated on by a work request.
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 will remain 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"` }
func (m WorkRequestResource) String() string