Documentation
¶
Index ¶
- func GetActionTypeEnumStringValues() []string
- func GetListRedisClusterNodesSortByEnumStringValues() []string
- func GetListRedisClusterNodesSortOrderEnumStringValues() []string
- func GetListRedisClustersSortByEnumStringValues() []string
- func GetListRedisClustersSortOrderEnumStringValues() []string
- func GetListWorkRequestErrorsSortByEnumStringValues() []string
- func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
- func GetListWorkRequestLogsSortByEnumStringValues() []string
- func GetListWorkRequestLogsSortOrderEnumStringValues() []string
- func GetListWorkRequestsSortByEnumStringValues() []string
- func GetListWorkRequestsSortOrderEnumStringValues() []string
- func GetListWorkRequestsStatusEnumStringValues() []string
- func GetOperationStatusEnumStringValues() []string
- func GetOperationTypeEnumStringValues() []string
- func GetRedisClusterClusterModeEnumStringValues() []string
- func GetRedisClusterLifecycleStateEnumStringValues() []string
- func GetRedisClusterSoftwareVersionEnumStringValues() []string
- func GetSortOrderEnumStringValues() []string
- type ActionTypeEnum
- type CancelWorkRequestRequest
- func (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request CancelWorkRequestRequest) String() string
- func (request CancelWorkRequestRequest) ValidateEnumValue() (bool, error)
- type CancelWorkRequestResponse
- type ChangeRedisClusterCompartmentDetails
- type ChangeRedisClusterCompartmentRequest
- func (request ChangeRedisClusterCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ChangeRedisClusterCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ChangeRedisClusterCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeRedisClusterCompartmentRequest) String() string
- func (request ChangeRedisClusterCompartmentRequest) ValidateEnumValue() (bool, error)
- type ChangeRedisClusterCompartmentResponse
- type CreateRedisClusterDetails
- type CreateRedisClusterRequest
- func (request CreateRedisClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateRedisClusterRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateRedisClusterRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateRedisClusterRequest) String() string
- func (request CreateRedisClusterRequest) ValidateEnumValue() (bool, error)
- type CreateRedisClusterResponse
- type DeleteRedisClusterRequest
- func (request DeleteRedisClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteRedisClusterRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteRedisClusterRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteRedisClusterRequest) String() string
- func (request DeleteRedisClusterRequest) ValidateEnumValue() (bool, error)
- type DeleteRedisClusterResponse
- type GetRedisClusterRequest
- func (request GetRedisClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetRedisClusterRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetRedisClusterRequest) RetryPolicy() *common.RetryPolicy
- func (request GetRedisClusterRequest) String() string
- func (request GetRedisClusterRequest) ValidateEnumValue() (bool, error)
- type GetRedisClusterResponse
- type GetWorkRequestRequest
- func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request GetWorkRequestRequest) String() string
- func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
- type GetWorkRequestResponse
- type ListRedisClusterNodesRequest
- func (request ListRedisClusterNodesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListRedisClusterNodesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListRedisClusterNodesRequest) RetryPolicy() *common.RetryPolicy
- func (request ListRedisClusterNodesRequest) String() string
- func (request ListRedisClusterNodesRequest) ValidateEnumValue() (bool, error)
- type ListRedisClusterNodesResponse
- type ListRedisClusterNodesSortByEnum
- type ListRedisClusterNodesSortOrderEnum
- type ListRedisClustersRequest
- func (request ListRedisClustersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListRedisClustersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListRedisClustersRequest) RetryPolicy() *common.RetryPolicy
- func (request ListRedisClustersRequest) String() string
- func (request ListRedisClustersRequest) ValidateEnumValue() (bool, error)
- type ListRedisClustersResponse
- type ListRedisClustersSortByEnum
- type ListRedisClustersSortOrderEnum
- type ListWorkRequestErrorsRequest
- func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestErrorsRequest) String() string
- func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
- type ListWorkRequestErrorsResponse
- type ListWorkRequestErrorsSortByEnum
- type ListWorkRequestErrorsSortOrderEnum
- type ListWorkRequestLogsRequest
- func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestLogsRequest) String() string
- func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
- type ListWorkRequestLogsResponse
- type ListWorkRequestLogsSortByEnum
- type ListWorkRequestLogsSortOrderEnum
- type ListWorkRequestsRequest
- func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestsRequest) String() string
- func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
- type ListWorkRequestsResponse
- type ListWorkRequestsSortByEnum
- type ListWorkRequestsSortOrderEnum
- type ListWorkRequestsStatusEnum
- type Node
- type NodeCollection
- type NodeSummary
- type OperationStatusEnum
- type OperationTypeEnum
- type RedisCluster
- type RedisClusterClient
- func (client RedisClusterClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)
- func (client RedisClusterClient) ChangeRedisClusterCompartment(ctx context.Context, request ChangeRedisClusterCompartmentRequest) (response ChangeRedisClusterCompartmentResponse, err error)
- func (client *RedisClusterClient) ConfigurationProvider() *common.ConfigurationProvider
- func (client RedisClusterClient) CreateRedisCluster(ctx context.Context, request CreateRedisClusterRequest) (response CreateRedisClusterResponse, err error)
- func (client RedisClusterClient) DeleteRedisCluster(ctx context.Context, request DeleteRedisClusterRequest) (response DeleteRedisClusterResponse, err error)
- func (client RedisClusterClient) GetRedisCluster(ctx context.Context, request GetRedisClusterRequest) (response GetRedisClusterResponse, err error)
- func (client RedisClusterClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
- func (client RedisClusterClient) ListRedisClusterNodes(ctx context.Context, request ListRedisClusterNodesRequest) (response ListRedisClusterNodesResponse, err error)
- func (client RedisClusterClient) ListRedisClusters(ctx context.Context, request ListRedisClustersRequest) (response ListRedisClustersResponse, err error)
- func (client RedisClusterClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
- func (client RedisClusterClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
- func (client RedisClusterClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
- func (client *RedisClusterClient) SetRegion(region string)
- func (client RedisClusterClient) UpdateRedisCluster(ctx context.Context, request UpdateRedisClusterRequest) (response UpdateRedisClusterResponse, err error)
- type RedisClusterClusterModeEnum
- type RedisClusterCollection
- type RedisClusterLifecycleStateEnum
- type RedisClusterSoftwareVersionEnum
- type RedisClusterSummary
- type RedisNodeCollection
- type SortOrderEnum
- type UpdateRedisClusterDetails
- type UpdateRedisClusterRequest
- func (request UpdateRedisClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateRedisClusterRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateRedisClusterRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateRedisClusterRequest) String() string
- func (request UpdateRedisClusterRequest) ValidateEnumValue() (bool, error)
- type UpdateRedisClusterResponse
- type WorkRequest
- type WorkRequestError
- type WorkRequestErrorCollection
- type WorkRequestLogEntry
- type WorkRequestLogEntryCollection
- type WorkRequestResource
- type WorkRequestSummary
- type WorkRequestSummaryCollection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetActionTypeEnumStringValues ¶
func GetActionTypeEnumStringValues() []string
GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum
func GetListRedisClusterNodesSortByEnumStringValues ¶ added in v65.72.0
func GetListRedisClusterNodesSortByEnumStringValues() []string
GetListRedisClusterNodesSortByEnumStringValues Enumerates the set of values in String for ListRedisClusterNodesSortByEnum
func GetListRedisClusterNodesSortOrderEnumStringValues ¶ added in v65.72.0
func GetListRedisClusterNodesSortOrderEnumStringValues() []string
GetListRedisClusterNodesSortOrderEnumStringValues Enumerates the set of values in String for ListRedisClusterNodesSortOrderEnum
func GetListRedisClustersSortByEnumStringValues ¶
func GetListRedisClustersSortByEnumStringValues() []string
GetListRedisClustersSortByEnumStringValues Enumerates the set of values in String for ListRedisClustersSortByEnum
func GetListRedisClustersSortOrderEnumStringValues ¶
func GetListRedisClustersSortOrderEnumStringValues() []string
GetListRedisClustersSortOrderEnumStringValues Enumerates the set of values in String for ListRedisClustersSortOrderEnum
func GetListWorkRequestErrorsSortByEnumStringValues ¶
func GetListWorkRequestErrorsSortByEnumStringValues() []string
GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum
func GetListWorkRequestErrorsSortOrderEnumStringValues ¶
func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum
func GetListWorkRequestLogsSortByEnumStringValues ¶
func GetListWorkRequestLogsSortByEnumStringValues() []string
GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum
func GetListWorkRequestLogsSortOrderEnumStringValues ¶
func GetListWorkRequestLogsSortOrderEnumStringValues() []string
GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum
func GetListWorkRequestsSortByEnumStringValues ¶
func GetListWorkRequestsSortByEnumStringValues() []string
GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum
func GetListWorkRequestsSortOrderEnumStringValues ¶
func GetListWorkRequestsSortOrderEnumStringValues() []string
GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum
func GetListWorkRequestsStatusEnumStringValues ¶
func GetListWorkRequestsStatusEnumStringValues() []string
GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum
func GetOperationStatusEnumStringValues ¶
func GetOperationStatusEnumStringValues() []string
GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum
func GetOperationTypeEnumStringValues ¶
func GetOperationTypeEnumStringValues() []string
GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum
func GetRedisClusterClusterModeEnumStringValues ¶ added in v65.72.0
func GetRedisClusterClusterModeEnumStringValues() []string
GetRedisClusterClusterModeEnumStringValues Enumerates the set of values in String for RedisClusterClusterModeEnum
func GetRedisClusterLifecycleStateEnumStringValues ¶
func GetRedisClusterLifecycleStateEnumStringValues() []string
GetRedisClusterLifecycleStateEnumStringValues Enumerates the set of values in String for RedisClusterLifecycleStateEnum
func GetRedisClusterSoftwareVersionEnumStringValues ¶
func GetRedisClusterSoftwareVersionEnumStringValues() []string
GetRedisClusterSoftwareVersionEnumStringValues Enumerates the set of values in String for RedisClusterSoftwareVersionEnum
func GetSortOrderEnumStringValues ¶
func GetSortOrderEnumStringValues() []string
GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum
Types ¶
type ActionTypeEnum ¶
type ActionTypeEnum string
ActionTypeEnum Enum with underlying type: string
const ( ActionTypeCreated ActionTypeEnum = "CREATED" ActionTypeUpdated ActionTypeEnum = "UPDATED" ActionTypeDeleted ActionTypeEnum = "DELETED" ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS" ActionTypeRelated ActionTypeEnum = "RELATED" ActionTypeFailed ActionTypeEnum = "FAILED" )
Set of constants representing the allowable values for ActionTypeEnum
func GetActionTypeEnumValues ¶
func GetActionTypeEnumValues() []ActionTypeEnum
GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
func GetMappingActionTypeEnum ¶
func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type CancelWorkRequestRequest ¶
type CancelWorkRequestRequest struct { // The the asynchronous request ID. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // 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 }
CancelWorkRequestRequest wrapper for the CancelWorkRequest operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/redis/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequestRequest.
func (CancelWorkRequestRequest) BinaryRequestBody ¶
func (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CancelWorkRequestRequest) HTTPRequest ¶
func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CancelWorkRequestRequest) RetryPolicy ¶
func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CancelWorkRequestRequest) String ¶
func (request CancelWorkRequestRequest) String() string
func (CancelWorkRequestRequest) ValidateEnumValue ¶
func (request CancelWorkRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CancelWorkRequestResponse ¶
type CancelWorkRequestResponse 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"` }
CancelWorkRequestResponse wrapper for the CancelWorkRequest operation
func (CancelWorkRequestResponse) HTTPResponse ¶
func (response CancelWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CancelWorkRequestResponse) String ¶
func (response CancelWorkRequestResponse) String() string
type ChangeRedisClusterCompartmentDetails ¶
type ChangeRedisClusterCompartmentDetails struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the compartment // into which the cluster should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
ChangeRedisClusterCompartmentDetails The configuration details for the move operation.
func (ChangeRedisClusterCompartmentDetails) String ¶
func (m ChangeRedisClusterCompartmentDetails) String() string
func (ChangeRedisClusterCompartmentDetails) ValidateEnumValue ¶
func (m ChangeRedisClusterCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ChangeRedisClusterCompartmentRequest ¶
type ChangeRedisClusterCompartmentRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster. RedisClusterId *string `mandatory:"true" contributesTo:"path" name:"redisClusterId"` // The information to be updated. ChangeRedisClusterCompartmentDetails `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"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ChangeRedisClusterCompartmentRequest wrapper for the ChangeRedisClusterCompartment operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/redis/ChangeRedisClusterCompartment.go.html to see an example of how to use ChangeRedisClusterCompartmentRequest.
func (ChangeRedisClusterCompartmentRequest) BinaryRequestBody ¶
func (request ChangeRedisClusterCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ChangeRedisClusterCompartmentRequest) HTTPRequest ¶
func (request ChangeRedisClusterCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeRedisClusterCompartmentRequest) RetryPolicy ¶
func (request ChangeRedisClusterCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeRedisClusterCompartmentRequest) String ¶
func (request ChangeRedisClusterCompartmentRequest) String() string
func (ChangeRedisClusterCompartmentRequest) ValidateEnumValue ¶
func (request ChangeRedisClusterCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ChangeRedisClusterCompartmentResponse ¶
type ChangeRedisClusterCompartmentResponse 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"` }
ChangeRedisClusterCompartmentResponse wrapper for the ChangeRedisClusterCompartment operation
func (ChangeRedisClusterCompartmentResponse) HTTPResponse ¶
func (response ChangeRedisClusterCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeRedisClusterCompartmentResponse) String ¶
func (response ChangeRedisClusterCompartmentResponse) String() string
type CreateRedisClusterDetails ¶
type CreateRedisClusterDetails struct { // 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 OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the compartment that contains the cluster. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The number of nodes per shard in the cluster when clusterMode is SHARDED. This is the total number of nodes when clusterMode is NONSHARDED. NodeCount *int `mandatory:"true" json:"nodeCount"` // The OCI Cache engine version that the cluster is running. SoftwareVersion RedisClusterSoftwareVersionEnum `mandatory:"true" json:"softwareVersion"` // The amount of memory allocated to the cluster's nodes, in gigabytes. NodeMemoryInGBs *float32 `mandatory:"true" json:"nodeMemoryInGBs"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster's subnet. SubnetId *string `mandatory:"true" json:"subnetId"` // Specifies whether the cluster is sharded or non-sharded. ClusterMode RedisClusterClusterModeEnum `mandatory:"false" json:"clusterMode,omitempty"` // The number of shards in sharded cluster. Only applicable when clusterMode is SHARDED. ShardCount *int `mandatory:"false" json:"shardCount"` // A list of Network Security Group (NSG) OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) // associated with this cluster. For more information, // see Using an NSG for Clusters (https://docs.oracle.com/iaas/Content/ocicache/connecttocluster.htm#connecttocluster__networksecuritygroup). NsgIds []string `mandatory:"false" json:"nsgIds"` // 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"` }
CreateRedisClusterDetails The configuration details for a new OCI Cache cluster. An OCI Cache cluster is a memory-based storage solution. For more information, see OCI Cache (https://docs.oracle.com/iaas/Content/ocicache/home.htm).
func (CreateRedisClusterDetails) String ¶
func (m CreateRedisClusterDetails) String() string
func (CreateRedisClusterDetails) ValidateEnumValue ¶
func (m CreateRedisClusterDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateRedisClusterRequest ¶
type CreateRedisClusterRequest struct { // Details for the new cluster. CreateRedisClusterDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
CreateRedisClusterRequest wrapper for the CreateRedisCluster operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/redis/CreateRedisCluster.go.html to see an example of how to use CreateRedisClusterRequest.
func (CreateRedisClusterRequest) BinaryRequestBody ¶
func (request CreateRedisClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateRedisClusterRequest) HTTPRequest ¶
func (request CreateRedisClusterRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateRedisClusterRequest) RetryPolicy ¶
func (request CreateRedisClusterRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateRedisClusterRequest) String ¶
func (request CreateRedisClusterRequest) String() string
func (CreateRedisClusterRequest) ValidateEnumValue ¶
func (request CreateRedisClusterRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateRedisClusterResponse ¶
type CreateRedisClusterResponse struct { // The underlying http response RawResponse *http.Response // The RedisCluster instance RedisCluster `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // 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"` }
CreateRedisClusterResponse wrapper for the CreateRedisCluster operation
func (CreateRedisClusterResponse) HTTPResponse ¶
func (response CreateRedisClusterResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateRedisClusterResponse) String ¶
func (response CreateRedisClusterResponse) String() string
type DeleteRedisClusterRequest ¶
type DeleteRedisClusterRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster. RedisClusterId *string `mandatory:"true" contributesTo:"path" name:"redisClusterId"` // 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 }
DeleteRedisClusterRequest wrapper for the DeleteRedisCluster operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/redis/DeleteRedisCluster.go.html to see an example of how to use DeleteRedisClusterRequest.
func (DeleteRedisClusterRequest) BinaryRequestBody ¶
func (request DeleteRedisClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteRedisClusterRequest) HTTPRequest ¶
func (request DeleteRedisClusterRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteRedisClusterRequest) RetryPolicy ¶
func (request DeleteRedisClusterRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteRedisClusterRequest) String ¶
func (request DeleteRedisClusterRequest) String() string
func (DeleteRedisClusterRequest) ValidateEnumValue ¶
func (request DeleteRedisClusterRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DeleteRedisClusterResponse ¶
type DeleteRedisClusterResponse 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"` }
DeleteRedisClusterResponse wrapper for the DeleteRedisCluster operation
func (DeleteRedisClusterResponse) HTTPResponse ¶
func (response DeleteRedisClusterResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteRedisClusterResponse) String ¶
func (response DeleteRedisClusterResponse) String() string
type GetRedisClusterRequest ¶
type GetRedisClusterRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster. RedisClusterId *string `mandatory:"true" contributesTo:"path" name:"redisClusterId"` // 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 }
GetRedisClusterRequest wrapper for the GetRedisCluster operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/redis/GetRedisCluster.go.html to see an example of how to use GetRedisClusterRequest.
func (GetRedisClusterRequest) BinaryRequestBody ¶
func (request GetRedisClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetRedisClusterRequest) HTTPRequest ¶
func (request GetRedisClusterRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetRedisClusterRequest) RetryPolicy ¶
func (request GetRedisClusterRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetRedisClusterRequest) String ¶
func (request GetRedisClusterRequest) String() string
func (GetRedisClusterRequest) ValidateEnumValue ¶
func (request GetRedisClusterRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type GetRedisClusterResponse ¶
type GetRedisClusterResponse struct { // The underlying http response RawResponse *http.Response // The RedisCluster instance RedisCluster `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // 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"` }
GetRedisClusterResponse wrapper for the GetRedisCluster operation
func (GetRedisClusterResponse) HTTPResponse ¶
func (response GetRedisClusterResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetRedisClusterResponse) String ¶
func (response GetRedisClusterResponse) String() string
type GetWorkRequestRequest ¶
type GetWorkRequestRequest struct { // The the asynchronous request ID. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetWorkRequestRequest wrapper for the GetWorkRequest operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/redis/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
func (GetWorkRequestRequest) BinaryRequestBody ¶
func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetWorkRequestRequest) HTTPRequest ¶
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetWorkRequestRequest) RetryPolicy ¶
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetWorkRequestRequest) String ¶
func (request GetWorkRequestRequest) String() string
func (GetWorkRequestRequest) ValidateEnumValue ¶
func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type GetWorkRequestResponse ¶
type GetWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // The WorkRequest instance WorkRequest `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // 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 decimal number representing the number of seconds the client should wait before polling this endpoint again. RetryAfter *int `presentIn:"header" name:"retry-after"` }
GetWorkRequestResponse wrapper for the GetWorkRequest operation
func (GetWorkRequestResponse) HTTPResponse ¶
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetWorkRequestResponse) String ¶
func (response GetWorkRequestResponse) String() string
type ListRedisClusterNodesRequest ¶ added in v65.72.0
type ListRedisClusterNodesRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster. RedisClusterId *string `mandatory:"true" contributesTo:"path" name:"redisClusterId"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListRedisClusterNodesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. SortBy ListRedisClusterNodesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" 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 }
ListRedisClusterNodesRequest wrapper for the ListRedisClusterNodes operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/redis/ListRedisClusterNodes.go.html to see an example of how to use ListRedisClusterNodesRequest.
func (ListRedisClusterNodesRequest) BinaryRequestBody ¶ added in v65.72.0
func (request ListRedisClusterNodesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListRedisClusterNodesRequest) HTTPRequest ¶ added in v65.72.0
func (request ListRedisClusterNodesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListRedisClusterNodesRequest) RetryPolicy ¶ added in v65.72.0
func (request ListRedisClusterNodesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListRedisClusterNodesRequest) String ¶ added in v65.72.0
func (request ListRedisClusterNodesRequest) String() string
func (ListRedisClusterNodesRequest) ValidateEnumValue ¶ added in v65.72.0
func (request ListRedisClusterNodesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListRedisClusterNodesResponse ¶ added in v65.72.0
type ListRedisClusterNodesResponse struct { // The underlying http response RawResponse *http.Response // A list of RedisNodeCollection instances RedisNodeCollection `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"` }
ListRedisClusterNodesResponse wrapper for the ListRedisClusterNodes operation
func (ListRedisClusterNodesResponse) HTTPResponse ¶ added in v65.72.0
func (response ListRedisClusterNodesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListRedisClusterNodesResponse) String ¶ added in v65.72.0
func (response ListRedisClusterNodesResponse) String() string
type ListRedisClusterNodesSortByEnum ¶ added in v65.72.0
type ListRedisClusterNodesSortByEnum string
ListRedisClusterNodesSortByEnum Enum with underlying type: string
const ( ListRedisClusterNodesSortByTimecreated ListRedisClusterNodesSortByEnum = "timeCreated" ListRedisClusterNodesSortByDisplayname ListRedisClusterNodesSortByEnum = "displayName" )
Set of constants representing the allowable values for ListRedisClusterNodesSortByEnum
func GetListRedisClusterNodesSortByEnumValues ¶ added in v65.72.0
func GetListRedisClusterNodesSortByEnumValues() []ListRedisClusterNodesSortByEnum
GetListRedisClusterNodesSortByEnumValues Enumerates the set of values for ListRedisClusterNodesSortByEnum
func GetMappingListRedisClusterNodesSortByEnum ¶ added in v65.72.0
func GetMappingListRedisClusterNodesSortByEnum(val string) (ListRedisClusterNodesSortByEnum, bool)
GetMappingListRedisClusterNodesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListRedisClusterNodesSortOrderEnum ¶ added in v65.72.0
type ListRedisClusterNodesSortOrderEnum string
ListRedisClusterNodesSortOrderEnum Enum with underlying type: string
const ( ListRedisClusterNodesSortOrderAsc ListRedisClusterNodesSortOrderEnum = "ASC" ListRedisClusterNodesSortOrderDesc ListRedisClusterNodesSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListRedisClusterNodesSortOrderEnum
func GetListRedisClusterNodesSortOrderEnumValues ¶ added in v65.72.0
func GetListRedisClusterNodesSortOrderEnumValues() []ListRedisClusterNodesSortOrderEnum
GetListRedisClusterNodesSortOrderEnumValues Enumerates the set of values for ListRedisClusterNodesSortOrderEnum
func GetMappingListRedisClusterNodesSortOrderEnum ¶ added in v65.72.0
func GetMappingListRedisClusterNodesSortOrderEnum(val string) (ListRedisClusterNodesSortOrderEnum, bool)
GetMappingListRedisClusterNodesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListRedisClustersRequest ¶
type ListRedisClustersRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // A filter to return only resources their lifecycleState matches the given lifecycleState. LifecycleState RedisClusterLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListRedisClustersSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. SortBy ListRedisClustersSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" 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 }
ListRedisClustersRequest wrapper for the ListRedisClusters operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/redis/ListRedisClusters.go.html to see an example of how to use ListRedisClustersRequest.
func (ListRedisClustersRequest) BinaryRequestBody ¶
func (request ListRedisClustersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListRedisClustersRequest) HTTPRequest ¶
func (request ListRedisClustersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListRedisClustersRequest) RetryPolicy ¶
func (request ListRedisClustersRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListRedisClustersRequest) String ¶
func (request ListRedisClustersRequest) String() string
func (ListRedisClustersRequest) ValidateEnumValue ¶
func (request ListRedisClustersRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListRedisClustersResponse ¶
type ListRedisClustersResponse struct { // The underlying http response RawResponse *http.Response // A list of RedisClusterCollection instances RedisClusterCollection `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"` }
ListRedisClustersResponse wrapper for the ListRedisClusters operation
func (ListRedisClustersResponse) HTTPResponse ¶
func (response ListRedisClustersResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListRedisClustersResponse) String ¶
func (response ListRedisClustersResponse) String() string
type ListRedisClustersSortByEnum ¶
type ListRedisClustersSortByEnum string
ListRedisClustersSortByEnum Enum with underlying type: string
const ( ListRedisClustersSortByTimecreated ListRedisClustersSortByEnum = "timeCreated" ListRedisClustersSortByDisplayname ListRedisClustersSortByEnum = "displayName" )
Set of constants representing the allowable values for ListRedisClustersSortByEnum
func GetListRedisClustersSortByEnumValues ¶
func GetListRedisClustersSortByEnumValues() []ListRedisClustersSortByEnum
GetListRedisClustersSortByEnumValues Enumerates the set of values for ListRedisClustersSortByEnum
func GetMappingListRedisClustersSortByEnum ¶
func GetMappingListRedisClustersSortByEnum(val string) (ListRedisClustersSortByEnum, bool)
GetMappingListRedisClustersSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListRedisClustersSortOrderEnum ¶
type ListRedisClustersSortOrderEnum string
ListRedisClustersSortOrderEnum Enum with underlying type: string
const ( ListRedisClustersSortOrderAsc ListRedisClustersSortOrderEnum = "ASC" ListRedisClustersSortOrderDesc ListRedisClustersSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListRedisClustersSortOrderEnum
func GetListRedisClustersSortOrderEnumValues ¶
func GetListRedisClustersSortOrderEnumValues() []ListRedisClustersSortOrderEnum
GetListRedisClustersSortOrderEnumValues Enumerates the set of values for ListRedisClustersSortOrderEnum
func GetMappingListRedisClustersSortOrderEnum ¶
func GetMappingListRedisClustersSortOrderEnum(val string) (ListRedisClustersSortOrderEnum, bool)
GetMappingListRedisClustersSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestErrorsRequest ¶
type ListWorkRequestErrorsRequest struct { // The the asynchronous request ID. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. 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 timeAccepted is descending. 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"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/redis/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
func (ListWorkRequestErrorsRequest) BinaryRequestBody ¶
func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListWorkRequestErrorsRequest) HTTPRequest ¶
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestErrorsRequest) RetryPolicy ¶
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestErrorsRequest) String ¶
func (request ListWorkRequestErrorsRequest) String() string
func (ListWorkRequestErrorsRequest) ValidateEnumValue ¶
func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListWorkRequestErrorsResponse ¶
type ListWorkRequestErrorsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestErrorCollection instances WorkRequestErrorCollection `presentIn:"body"` // 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"` }
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
func (ListWorkRequestErrorsResponse) HTTPResponse ¶
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestErrorsResponse) String ¶
func (response ListWorkRequestErrorsResponse) String() string
type ListWorkRequestErrorsSortByEnum ¶
type ListWorkRequestErrorsSortByEnum string
ListWorkRequestErrorsSortByEnum Enum with underlying type: string
const (
ListWorkRequestErrorsSortByTimeaccepted ListWorkRequestErrorsSortByEnum = "timeAccepted"
)
Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum
func GetListWorkRequestErrorsSortByEnumValues ¶
func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum
func GetMappingListWorkRequestErrorsSortByEnum ¶
func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)
GetMappingListWorkRequestErrorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestErrorsSortOrderEnum ¶
type ListWorkRequestErrorsSortOrderEnum string
ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string
const ( ListWorkRequestErrorsSortOrderAsc ListWorkRequestErrorsSortOrderEnum = "ASC" ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum
func GetListWorkRequestErrorsSortOrderEnumValues ¶
func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum
func GetMappingListWorkRequestErrorsSortOrderEnum ¶
func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)
GetMappingListWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestLogsRequest ¶
type ListWorkRequestLogsRequest struct { // The the asynchronous request ID. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. 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 timeAccepted is descending. 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"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/redis/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
func (ListWorkRequestLogsRequest) BinaryRequestBody ¶
func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListWorkRequestLogsRequest) HTTPRequest ¶
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestLogsRequest) RetryPolicy ¶
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestLogsRequest) String ¶
func (request ListWorkRequestLogsRequest) String() string
func (ListWorkRequestLogsRequest) ValidateEnumValue ¶
func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListWorkRequestLogsResponse ¶
type ListWorkRequestLogsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestLogEntryCollection instances WorkRequestLogEntryCollection `presentIn:"body"` // 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"` }
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
func (ListWorkRequestLogsResponse) HTTPResponse ¶
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestLogsResponse) String ¶
func (response ListWorkRequestLogsResponse) String() string
type ListWorkRequestLogsSortByEnum ¶
type ListWorkRequestLogsSortByEnum string
ListWorkRequestLogsSortByEnum Enum with underlying type: string
const (
ListWorkRequestLogsSortByTimeaccepted ListWorkRequestLogsSortByEnum = "timeAccepted"
)
Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum
func GetListWorkRequestLogsSortByEnumValues ¶
func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum
func GetMappingListWorkRequestLogsSortByEnum ¶
func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)
GetMappingListWorkRequestLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestLogsSortOrderEnum ¶
type ListWorkRequestLogsSortOrderEnum string
ListWorkRequestLogsSortOrderEnum Enum with underlying type: string
const ( ListWorkRequestLogsSortOrderAsc ListWorkRequestLogsSortOrderEnum = "ASC" ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum
func GetListWorkRequestLogsSortOrderEnumValues ¶
func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum
func GetMappingListWorkRequestLogsSortOrderEnum ¶
func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)
GetMappingListWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestsRequest ¶
type ListWorkRequestsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The ID of the asynchronous work request. WorkRequestId *string `mandatory:"false" contributesTo:"query" name:"workRequestId"` // A filter to return only resources their lifecycleState matches the given OperationStatus. Status ListWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the resource affected by the work request. ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeAccepted is descending. SortBy ListWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/redis/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
func (ListWorkRequestsRequest) BinaryRequestBody ¶
func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListWorkRequestsRequest) HTTPRequest ¶
func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestsRequest) RetryPolicy ¶
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestsRequest) String ¶
func (request ListWorkRequestsRequest) String() string
func (ListWorkRequestsRequest) ValidateEnumValue ¶
func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListWorkRequestsResponse ¶
type ListWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestSummaryCollection instances WorkRequestSummaryCollection `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"` }
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
func (ListWorkRequestsResponse) HTTPResponse ¶
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestsResponse) String ¶
func (response ListWorkRequestsResponse) String() string
type ListWorkRequestsSortByEnum ¶
type ListWorkRequestsSortByEnum string
ListWorkRequestsSortByEnum Enum with underlying type: string
const (
ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
)
Set of constants representing the allowable values for ListWorkRequestsSortByEnum
func GetListWorkRequestsSortByEnumValues ¶
func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum
func GetMappingListWorkRequestsSortByEnum ¶
func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestsSortOrderEnum ¶
type ListWorkRequestsSortOrderEnum string
ListWorkRequestsSortOrderEnum Enum with underlying type: string
const ( ListWorkRequestsSortOrderAsc ListWorkRequestsSortOrderEnum = "ASC" ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum
func GetListWorkRequestsSortOrderEnumValues ¶
func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum
func GetMappingListWorkRequestsSortOrderEnum ¶
func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestsStatusEnum ¶
type ListWorkRequestsStatusEnum string
ListWorkRequestsStatusEnum Enum with underlying type: string
const ( ListWorkRequestsStatusAccepted ListWorkRequestsStatusEnum = "ACCEPTED" ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS" ListWorkRequestsStatusWaiting ListWorkRequestsStatusEnum = "WAITING" ListWorkRequestsStatusNeedsAttention ListWorkRequestsStatusEnum = "NEEDS_ATTENTION" ListWorkRequestsStatusFailed ListWorkRequestsStatusEnum = "FAILED" ListWorkRequestsStatusSucceeded ListWorkRequestsStatusEnum = "SUCCEEDED" ListWorkRequestsStatusCanceling ListWorkRequestsStatusEnum = "CANCELING" ListWorkRequestsStatusCanceled ListWorkRequestsStatusEnum = "CANCELED" )
Set of constants representing the allowable values for ListWorkRequestsStatusEnum
func GetListWorkRequestsStatusEnumValues ¶
func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum
func GetMappingListWorkRequestsStatusEnum ¶
func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)
GetMappingListWorkRequestsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
type Node ¶
type Node struct { // The fully qualified domain name (FQDN) of the API endpoint to access a specific node. PrivateEndpointFqdn *string `mandatory:"true" json:"privateEndpointFqdn"` // The private IP address of the API endpoint to access a specific node. PrivateEndpointIpAddress *string `mandatory:"true" json:"privateEndpointIpAddress"` // A user-friendly name of a cluster node. DisplayName *string `mandatory:"true" json:"displayName"` }
Node The details of each node in the cluster.
func (Node) ValidateEnumValue ¶
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type NodeCollection ¶
type NodeCollection struct { // Collection of node objects. Items []Node `mandatory:"true" json:"items"` }
NodeCollection The collection of cluster nodes.
func (NodeCollection) String ¶
func (m NodeCollection) String() string
func (NodeCollection) ValidateEnumValue ¶
func (m NodeCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type NodeSummary ¶ added in v65.72.0
type NodeSummary struct { // The fully qualified domain name (FQDN) of the API endpoint to access a specific node. PrivateEndpointFqdn *string `mandatory:"true" json:"privateEndpointFqdn"` // The private IP address of the API endpoint to access a specific node. PrivateEndpointIpAddress *string `mandatory:"true" json:"privateEndpointIpAddress"` // A user-friendly name of a cluster node. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID of the cluster RedisClusterId *string `mandatory:"true" json:"redisClusterId"` // The shard number to which the node belongs to. ShardNumber *int `mandatory:"false" json:"shardNumber"` }
NodeSummary The details of each node in the cluster.
func (NodeSummary) String ¶ added in v65.72.0
func (m NodeSummary) String() string
func (NodeSummary) ValidateEnumValue ¶ added in v65.72.0
func (m NodeSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type OperationStatusEnum ¶
type OperationStatusEnum string
OperationStatusEnum Enum with underlying type: string
const ( OperationStatusAccepted OperationStatusEnum = "ACCEPTED" OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS" OperationStatusWaiting OperationStatusEnum = "WAITING" OperationStatusNeedsAttention OperationStatusEnum = "NEEDS_ATTENTION" OperationStatusFailed OperationStatusEnum = "FAILED" OperationStatusSucceeded OperationStatusEnum = "SUCCEEDED" OperationStatusCanceling OperationStatusEnum = "CANCELING" OperationStatusCanceled OperationStatusEnum = "CANCELED" )
Set of constants representing the allowable values for OperationStatusEnum
func GetMappingOperationStatusEnum ¶
func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationStatusEnumValues ¶
func GetOperationStatusEnumValues() []OperationStatusEnum
GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum
type OperationTypeEnum ¶
type OperationTypeEnum string
OperationTypeEnum Enum with underlying type: string
const ( OperationTypeCreateRedisCluster OperationTypeEnum = "CREATE_REDIS_CLUSTER" OperationTypeUpdateRedisCluster OperationTypeEnum = "UPDATE_REDIS_CLUSTER" OperationTypeDeleteRedisCluster OperationTypeEnum = "DELETE_REDIS_CLUSTER" OperationTypeMoveRedisCluster OperationTypeEnum = "MOVE_REDIS_CLUSTER" OperationTypeFailoverRedisCluster OperationTypeEnum = "FAILOVER_REDIS_CLUSTER" OperationTypeCreateRedisConfigSet OperationTypeEnum = "CREATE_REDIS_CONFIG_SET" OperationTypeUpdateRedisConfigSet OperationTypeEnum = "UPDATE_REDIS_CONFIG_SET" OperationTypeDeleteRedisConfigSet OperationTypeEnum = "DELETE_REDIS_CONFIG_SET" OperationTypeMoveRedisConfigSet OperationTypeEnum = "MOVE_REDIS_CONFIG_SET" )
Set of constants representing the allowable values for OperationTypeEnum
func GetMappingOperationTypeEnum ¶
func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
GetMappingOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationTypeEnumValues ¶
func GetOperationTypeEnumValues() []OperationTypeEnum
GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum
type RedisCluster ¶
type RedisCluster struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster. 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 OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the compartment that contains the cluster. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The number of nodes per shard in the cluster when clusterMode is SHARDED. This is the total number of nodes when clusterMode is NONSHARDED. NodeCount *int `mandatory:"true" json:"nodeCount"` // The amount of memory allocated to the cluster's nodes, in gigabytes. NodeMemoryInGBs *float32 `mandatory:"true" json:"nodeMemoryInGBs"` // The fully qualified domain name (FQDN) of the API endpoint for the cluster's primary node. PrimaryFqdn *string `mandatory:"true" json:"primaryFqdn"` // The private IP address of the API endpoint for the cluster's primary node. PrimaryEndpointIpAddress *string `mandatory:"true" json:"primaryEndpointIpAddress"` // The fully qualified domain name (FQDN) of the API endpoint for the cluster's replica nodes. ReplicasFqdn *string `mandatory:"true" json:"replicasFqdn"` // The private IP address of the API endpoint for the cluster's replica nodes. ReplicasEndpointIpAddress *string `mandatory:"true" json:"replicasEndpointIpAddress"` // The OCI Cache engine version that the cluster is running. SoftwareVersion RedisClusterSoftwareVersionEnum `mandatory:"true" json:"softwareVersion"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster's subnet. SubnetId *string `mandatory:"true" json:"subnetId"` NodeCollection *NodeCollection `mandatory:"true" json:"nodeCollection"` // The current state of the cluster. LifecycleState RedisClusterLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // A message describing the current state in more detail. For example, the message might provide actionable information for a resource in `FAILED` state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // The date and time the cluster was created. An RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The date and time the cluster was updated. An RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Specifies whether the cluster is sharded or non-sharded. ClusterMode RedisClusterClusterModeEnum `mandatory:"false" json:"clusterMode,omitempty"` // The number of shards in a sharded cluster. Only applicable when clusterMode is SHARDED. ShardCount *int `mandatory:"false" json:"shardCount"` // A list of Network Security Group (NSG) OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) // associated with this cluster. For more information, // see Using an NSG for Clusters (https://docs.oracle.com/iaas/Content/ocicache/connecttocluster.htm#connecttocluster__networksecuritygroup). NsgIds []string `mandatory:"false" json:"nsgIds"` // 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"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
RedisCluster An OCI Cache cluster is a memory-based storage solution. For more information, see OCI Cache (https://docs.oracle.com/iaas/Content/ocicache/home.htm).
func (RedisCluster) String ¶
func (m RedisCluster) String() string
func (RedisCluster) ValidateEnumValue ¶
func (m RedisCluster) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type RedisClusterClient ¶
type RedisClusterClient struct { common.BaseClient // contains filtered or unexported fields }
RedisClusterClient a client for RedisCluster
func NewRedisClusterClientWithConfigurationProvider ¶
func NewRedisClusterClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client RedisClusterClient, err error)
NewRedisClusterClientWithConfigurationProvider Creates a new default RedisCluster client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewRedisClusterClientWithOboToken ¶
func NewRedisClusterClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client RedisClusterClient, err error)
NewRedisClusterClientWithOboToken Creates a new default RedisCluster 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 (RedisClusterClient) CancelWorkRequest ¶
func (client RedisClusterClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)
CancelWorkRequest Cancels the specified work request.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/redis/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequest API. A default retry strategy applies to this operation CancelWorkRequest()
func (RedisClusterClient) ChangeRedisClusterCompartment ¶
func (client RedisClusterClient) ChangeRedisClusterCompartment(ctx context.Context, request ChangeRedisClusterCompartmentRequest) (response ChangeRedisClusterCompartmentResponse, err error)
ChangeRedisClusterCompartment Moves an OCI Cache cluster into a different compartment within the same tenancy. A cluster is a memory-based storage solution. For more information, see OCI Cache (https://docs.oracle.com/iaas/Content/ocicache/home.htm).
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/redis/ChangeRedisClusterCompartment.go.html to see an example of how to use ChangeRedisClusterCompartment API. A default retry strategy applies to this operation ChangeRedisClusterCompartment()
func (*RedisClusterClient) ConfigurationProvider ¶
func (client *RedisClusterClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (RedisClusterClient) CreateRedisCluster ¶
func (client RedisClusterClient) CreateRedisCluster(ctx context.Context, request CreateRedisClusterRequest) (response CreateRedisClusterResponse, err error)
CreateRedisCluster Creates a new OCI Cache cluster. A cluster is a memory-based storage solution. For more information, see OCI Cache (https://docs.oracle.com/iaas/Content/ocicache/home.htm).
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/redis/CreateRedisCluster.go.html to see an example of how to use CreateRedisCluster API. A default retry strategy applies to this operation CreateRedisCluster()
func (RedisClusterClient) DeleteRedisCluster ¶
func (client RedisClusterClient) DeleteRedisCluster(ctx context.Context, request DeleteRedisClusterRequest) (response DeleteRedisClusterResponse, err error)
DeleteRedisCluster Deletes the specified OCI Cache cluster. A cluster is a memory-based storage solution. For more information, see OCI Cache (https://docs.oracle.com/iaas/Content/ocicache/home.htm).
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/redis/DeleteRedisCluster.go.html to see an example of how to use DeleteRedisCluster API. A default retry strategy applies to this operation DeleteRedisCluster()
func (RedisClusterClient) GetRedisCluster ¶
func (client RedisClusterClient) GetRedisCluster(ctx context.Context, request GetRedisClusterRequest) (response GetRedisClusterResponse, err error)
GetRedisCluster Retrieves the specified OCI Cache cluster. A cluster is a memory-based storage solution. For more information, see OCI Cache (https://docs.oracle.com/iaas/Content/ocicache/home.htm).
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/redis/GetRedisCluster.go.html to see an example of how to use GetRedisCluster API. A default retry strategy applies to this operation GetRedisCluster()
func (RedisClusterClient) GetWorkRequest ¶
func (client RedisClusterClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Gets the status of the work request with the given ID.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/redis/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()
func (RedisClusterClient) ListRedisClusterNodes ¶ added in v65.72.0
func (client RedisClusterClient) ListRedisClusterNodes(ctx context.Context, request ListRedisClusterNodesRequest) (response ListRedisClusterNodesResponse, err error)
ListRedisClusterNodes Gets the list of all nodes in a cluster.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/redis/ListRedisClusterNodes.go.html to see an example of how to use ListRedisClusterNodes API. A default retry strategy applies to this operation ListRedisClusterNodes()
func (RedisClusterClient) ListRedisClusters ¶
func (client RedisClusterClient) ListRedisClusters(ctx context.Context, request ListRedisClustersRequest) (response ListRedisClustersResponse, err error)
ListRedisClusters Lists the OCI Cache clusters in the specified compartment. A cluster is a memory-based storage solution. For more information, see OCI Cache (https://docs.oracle.com/iaas/Content/ocicache/home.htm).
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/redis/ListRedisClusters.go.html to see an example of how to use ListRedisClusters API. A default retry strategy applies to this operation ListRedisClusters()
func (RedisClusterClient) ListWorkRequestErrors ¶
func (client RedisClusterClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
ListWorkRequestErrors Returns a list of errors for a given work request.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/redis/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()
func (RedisClusterClient) ListWorkRequestLogs ¶
func (client RedisClusterClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
ListWorkRequestLogs Returns a list of logs for a given work request.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/redis/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()
func (RedisClusterClient) ListWorkRequests ¶
func (client RedisClusterClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists the work requests in a compartment.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/redis/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()
func (*RedisClusterClient) SetRegion ¶
func (client *RedisClusterClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (RedisClusterClient) UpdateRedisCluster ¶
func (client RedisClusterClient) UpdateRedisCluster(ctx context.Context, request UpdateRedisClusterRequest) (response UpdateRedisClusterResponse, err error)
UpdateRedisCluster Updates the specified OCI Cache cluster. A cluster is a memory-based storage solution. For more information, see OCI Cache (https://docs.oracle.com/iaas/Content/ocicache/home.htm).
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/redis/UpdateRedisCluster.go.html to see an example of how to use UpdateRedisCluster API. A default retry strategy applies to this operation UpdateRedisCluster()
type RedisClusterClusterModeEnum ¶ added in v65.72.0
type RedisClusterClusterModeEnum string
RedisClusterClusterModeEnum Enum with underlying type: string
const ( RedisClusterClusterModeSharded RedisClusterClusterModeEnum = "SHARDED" RedisClusterClusterModeNonsharded RedisClusterClusterModeEnum = "NONSHARDED" )
Set of constants representing the allowable values for RedisClusterClusterModeEnum
func GetMappingRedisClusterClusterModeEnum ¶ added in v65.72.0
func GetMappingRedisClusterClusterModeEnum(val string) (RedisClusterClusterModeEnum, bool)
GetMappingRedisClusterClusterModeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRedisClusterClusterModeEnumValues ¶ added in v65.72.0
func GetRedisClusterClusterModeEnumValues() []RedisClusterClusterModeEnum
GetRedisClusterClusterModeEnumValues Enumerates the set of values for RedisClusterClusterModeEnum
type RedisClusterCollection ¶
type RedisClusterCollection struct { // The list of clusters. Items []RedisClusterSummary `mandatory:"true" json:"items"` }
RedisClusterCollection A list of clusters that match filter criteria, if any. A cluster is a memory-based storage solution. For more information, see OCI Cache (https://docs.oracle.com/iaas/Content/ocicache/home.htm).
func (RedisClusterCollection) String ¶
func (m RedisClusterCollection) String() string
func (RedisClusterCollection) ValidateEnumValue ¶
func (m RedisClusterCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type RedisClusterLifecycleStateEnum ¶
type RedisClusterLifecycleStateEnum string
RedisClusterLifecycleStateEnum Enum with underlying type: string
const ( RedisClusterLifecycleStateCreating RedisClusterLifecycleStateEnum = "CREATING" RedisClusterLifecycleStateUpdating RedisClusterLifecycleStateEnum = "UPDATING" RedisClusterLifecycleStateActive RedisClusterLifecycleStateEnum = "ACTIVE" RedisClusterLifecycleStateDeleting RedisClusterLifecycleStateEnum = "DELETING" RedisClusterLifecycleStateDeleted RedisClusterLifecycleStateEnum = "DELETED" RedisClusterLifecycleStateFailed RedisClusterLifecycleStateEnum = "FAILED" )
Set of constants representing the allowable values for RedisClusterLifecycleStateEnum
func GetMappingRedisClusterLifecycleStateEnum ¶
func GetMappingRedisClusterLifecycleStateEnum(val string) (RedisClusterLifecycleStateEnum, bool)
GetMappingRedisClusterLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRedisClusterLifecycleStateEnumValues ¶
func GetRedisClusterLifecycleStateEnumValues() []RedisClusterLifecycleStateEnum
GetRedisClusterLifecycleStateEnumValues Enumerates the set of values for RedisClusterLifecycleStateEnum
type RedisClusterSoftwareVersionEnum ¶
type RedisClusterSoftwareVersionEnum string
RedisClusterSoftwareVersionEnum Enum with underlying type: string
const ( RedisClusterSoftwareVersionV705 RedisClusterSoftwareVersionEnum = "V7_0_5" RedisClusterSoftwareVersionRedis70 RedisClusterSoftwareVersionEnum = "REDIS_7_0" RedisClusterSoftwareVersionValkey72 RedisClusterSoftwareVersionEnum = "VALKEY_7_2" )
Set of constants representing the allowable values for RedisClusterSoftwareVersionEnum
func GetMappingRedisClusterSoftwareVersionEnum ¶
func GetMappingRedisClusterSoftwareVersionEnum(val string) (RedisClusterSoftwareVersionEnum, bool)
GetMappingRedisClusterSoftwareVersionEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRedisClusterSoftwareVersionEnumValues ¶
func GetRedisClusterSoftwareVersionEnumValues() []RedisClusterSoftwareVersionEnum
GetRedisClusterSoftwareVersionEnumValues Enumerates the set of values for RedisClusterSoftwareVersionEnum
type RedisClusterSummary ¶
type RedisClusterSummary struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster. 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 OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the compartment that contains the cluster. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The number of nodes per shard in the cluster when clusterMode is SHARDED. This is the total number of nodes when clusterMode is NONSHARDED. NodeCount *int `mandatory:"true" json:"nodeCount"` // The amount of memory allocated to the cluster's nodes, in gigabytes. NodeMemoryInGBs *float32 `mandatory:"true" json:"nodeMemoryInGBs"` // The fully qualified domain name (FQDN) of the API endpoint for the cluster's primary node. PrimaryFqdn *string `mandatory:"true" json:"primaryFqdn"` // The private IP address of the API endpoint for the cluster's primary node. PrimaryEndpointIpAddress *string `mandatory:"true" json:"primaryEndpointIpAddress"` // The fully qualified domain name (FQDN) of the API endpoint for the cluster's replica nodes. ReplicasFqdn *string `mandatory:"true" json:"replicasFqdn"` // The private IP address of the API endpoint for the cluster's replica nodes. ReplicasEndpointIpAddress *string `mandatory:"true" json:"replicasEndpointIpAddress"` // The OCI Cache engine version that the cluster is running. SoftwareVersion RedisClusterSoftwareVersionEnum `mandatory:"true" json:"softwareVersion"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster's subnet. SubnetId *string `mandatory:"true" json:"subnetId"` // The current state of the cluster. LifecycleState RedisClusterLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // A message describing the current state in more detail. For example, the message might provide actionable information for a resource in `FAILED` state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // The date and time the cluster was created. An RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The date and time the cluster was updated. An RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Specifies whether the cluster is sharded or non-sharded. ClusterMode RedisClusterClusterModeEnum `mandatory:"false" json:"clusterMode,omitempty"` // The number of shards in a sharded cluster. Only applicable when clusterMode is SHARDED. ShardCount *int `mandatory:"false" json:"shardCount"` // A list of Network Security Group (NSG) OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) // associated with this cluster. For more information, // see Using an NSG for Clusters (https://docs.oracle.com/iaas/Content/ocicache/connecttocluster.htm#connecttocluster__networksecuritygroup). NsgIds []string `mandatory:"false" json:"nsgIds"` // 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"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
RedisClusterSummary Summary of information about a cluster. A cluster is a memory-based storage solution. For more information, see OCI Cache (https://docs.oracle.com/iaas/Content/ocicache/home.htm).
func (RedisClusterSummary) String ¶
func (m RedisClusterSummary) String() string
func (RedisClusterSummary) ValidateEnumValue ¶
func (m RedisClusterSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type RedisNodeCollection ¶ added in v65.72.0
type RedisNodeCollection struct { // The list of nodes in a cluster. Items []NodeSummary `mandatory:"true" json:"items"` }
RedisNodeCollection A list of nodes in a cluster that match filter criteria, if any.
func (RedisNodeCollection) String ¶ added in v65.72.0
func (m RedisNodeCollection) String() string
func (RedisNodeCollection) ValidateEnumValue ¶ added in v65.72.0
func (m RedisNodeCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type SortOrderEnum ¶
type SortOrderEnum string
SortOrderEnum Enum with underlying type: string
const ( SortOrderAsc SortOrderEnum = "ASC" SortOrderDesc SortOrderEnum = "DESC" )
Set of constants representing the allowable values for SortOrderEnum
func GetMappingSortOrderEnum ¶
func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSortOrderEnumValues ¶
func GetSortOrderEnumValues() []SortOrderEnum
GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum
type UpdateRedisClusterDetails ¶
type UpdateRedisClusterDetails struct { // The number of shards in sharded cluster. Only applicable when clusterMode is SHARDED. ShardCount *int `mandatory:"false" json:"shardCount"` // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // The number of nodes per shard in the cluster when clusterMode is SHARDED. This is the total number of nodes when clusterMode is NONSHARDED. NodeCount *int `mandatory:"false" json:"nodeCount"` // The amount of memory allocated to the cluster's nodes, in gigabytes. NodeMemoryInGBs *float32 `mandatory:"false" json:"nodeMemoryInGBs"` // The OCI Cache engine version that the cluster is running. SoftwareVersion RedisClusterSoftwareVersionEnum `mandatory:"false" json:"softwareVersion,omitempty"` // A list of Network Security Group (NSG) OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) // associated with this cluster. For more information, // see Using an NSG for Clusters (https://docs.oracle.com/iaas/Content/ocicache/connecttocluster.htm#connecttocluster__networksecuritygroup). NsgIds []string `mandatory:"false" json:"nsgIds"` // 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"` }
UpdateRedisClusterDetails The configuration to update for an existing cluster.
func (UpdateRedisClusterDetails) String ¶
func (m UpdateRedisClusterDetails) String() string
func (UpdateRedisClusterDetails) ValidateEnumValue ¶
func (m UpdateRedisClusterDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateRedisClusterRequest ¶
type UpdateRedisClusterRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster. RedisClusterId *string `mandatory:"true" contributesTo:"path" name:"redisClusterId"` // The information to be updated. UpdateRedisClusterDetails `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 }
UpdateRedisClusterRequest wrapper for the UpdateRedisCluster operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/redis/UpdateRedisCluster.go.html to see an example of how to use UpdateRedisClusterRequest.
func (UpdateRedisClusterRequest) BinaryRequestBody ¶
func (request UpdateRedisClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateRedisClusterRequest) HTTPRequest ¶
func (request UpdateRedisClusterRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateRedisClusterRequest) RetryPolicy ¶
func (request UpdateRedisClusterRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateRedisClusterRequest) String ¶
func (request UpdateRedisClusterRequest) String() string
func (UpdateRedisClusterRequest) ValidateEnumValue ¶
func (request UpdateRedisClusterRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateRedisClusterResponse ¶
type UpdateRedisClusterResponse 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"` }
UpdateRedisClusterResponse wrapper for the UpdateRedisCluster operation
func (UpdateRedisClusterResponse) HTTPResponse ¶
func (response UpdateRedisClusterResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateRedisClusterResponse) String ¶
func (response UpdateRedisClusterResponse) String() string
type WorkRequest ¶
type WorkRequest struct { // The type of operation that spawned the work request. OperationType OperationTypeEnum `mandatory:"true" json:"operationType"` // The status of current work request. Status OperationStatusEnum `mandatory:"true" json:"status"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the work request. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the compartment that contains the work request. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The resources that are affected by the work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // The percentage complete of the operation tracked by the work request. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The date and time the work request was created, in the format defined by RFC 3339 (https://tools.ietf.org/rfc/rfc3339). TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The date and time the work request was started, in the format defined by RFC 3339 (https://tools.ietf.org/rfc/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the work request completed, in the format defined by RFC 3339 (https://tools.ietf.org/rfc/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
WorkRequest An asynchronous work request.
func (WorkRequest) String ¶
func (m WorkRequest) String() string
func (WorkRequest) ValidateEnumValue ¶
func (m WorkRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestError ¶
type WorkRequestError struct { // A machine-usable code for the error that occured. Error codes are listed at API Errors (https://docs.oracle.com/iaas/Content/API/References/apierrors.htm). Code *string `mandatory:"true" json:"code"` // A human-readable error string for the error that occured. Message *string `mandatory:"true" json:"message"` // The time and time the error occured. Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
WorkRequestError An error encountered while executing an operation that is tracked by a work request.
func (WorkRequestError) String ¶
func (m WorkRequestError) String() string
func (WorkRequestError) ValidateEnumValue ¶
func (m WorkRequestError) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestErrorCollection ¶
type WorkRequestErrorCollection struct { // A collection of work request errors. Items []WorkRequestError `mandatory:"true" json:"items"` }
WorkRequestErrorCollection A list of errors for a work request.
func (WorkRequestErrorCollection) String ¶
func (m WorkRequestErrorCollection) String() string
func (WorkRequestErrorCollection) ValidateEnumValue ¶
func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestLogEntry ¶
type WorkRequestLogEntry struct { // A human-readable log message. Message *string `mandatory:"true" json:"message"` // The date and time the log message was written. Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
WorkRequestLogEntry A log message from executing an operation that is tracked by a work request.
func (WorkRequestLogEntry) String ¶
func (m WorkRequestLogEntry) String() string
func (WorkRequestLogEntry) ValidateEnumValue ¶
func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestLogEntryCollection ¶
type WorkRequestLogEntryCollection struct { // A collection of work request logs. Items []WorkRequestLogEntry `mandatory:"true" json:"items"` }
WorkRequestLogEntryCollection A list of logs for the specified work request.
func (WorkRequestLogEntryCollection) String ¶
func (m WorkRequestLogEntryCollection) String() string
func (WorkRequestLogEntryCollection) ValidateEnumValue ¶
func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestResource ¶
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 ActionTypeEnum `mandatory:"true" json:"actionType"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the resource the work request affects. Identifier *string `mandatory:"true" json:"identifier"` // The URI path that you can use for a GET to access the resource metadata EntityUri *string `mandatory:"false" json:"entityUri"` }
WorkRequestResource The resources that are affected by the work request.
func (WorkRequestResource) String ¶
func (m WorkRequestResource) String() string
func (WorkRequestResource) ValidateEnumValue ¶
func (m WorkRequestResource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestSummary ¶
type WorkRequestSummary struct { // The type of operation that spawned the work request. OperationType OperationTypeEnum `mandatory:"true" json:"operationType"` // The status of current work request. Status OperationStatusEnum `mandatory:"true" json:"status"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the work request. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment that contains the work request. CompartmentId *string `mandatory:"true" json:"compartmentId"` // 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 work request was created, in the format defined by RFC 3339 (https://tools.ietf.org/rfc/rfc3339). TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The date and time the work request was started, in the format defined by RFC 3339 (https://tools.ietf.org/rfc/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the work request completed, in the format defined by RFC 3339 (https://tools.ietf.org/rfc/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // Simple key-value pair that is applied without any predefined name, type or scope. 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"` }
WorkRequestSummary A description of the work request status.
func (WorkRequestSummary) String ¶
func (m WorkRequestSummary) String() string
func (WorkRequestSummary) ValidateEnumValue ¶
func (m WorkRequestSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestSummaryCollection ¶
type WorkRequestSummaryCollection struct { // A collection of work requests. Items []WorkRequestSummary `mandatory:"true" json:"items"` }
WorkRequestSummaryCollection A list of work requests.
func (WorkRequestSummaryCollection) String ¶
func (m WorkRequestSummaryCollection) String() string
func (WorkRequestSummaryCollection) ValidateEnumValue ¶
func (m WorkRequestSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
Source Files
¶
- action_type.go
- cancel_work_request_request_response.go
- change_redis_cluster_compartment_details.go
- change_redis_cluster_compartment_request_response.go
- create_redis_cluster_details.go
- create_redis_cluster_request_response.go
- delete_redis_cluster_request_response.go
- get_redis_cluster_request_response.go
- get_work_request_request_response.go
- list_redis_cluster_nodes_request_response.go
- list_redis_clusters_request_response.go
- list_work_request_errors_request_response.go
- list_work_request_logs_request_response.go
- list_work_requests_request_response.go
- node.go
- node_collection.go
- node_summary.go
- operation_status.go
- operation_type.go
- redis_cluster.go
- redis_cluster_collection.go
- redis_cluster_summary.go
- redis_node_collection.go
- redis_rediscluster_client.go
- sort_order.go
- update_redis_cluster_details.go
- update_redis_cluster_request_response.go
- work_request.go
- work_request_error.go
- work_request_error_collection.go
- work_request_log_entry.go
- work_request_log_entry_collection.go
- work_request_resource.go
- work_request_summary.go
- work_request_summary_collection.go