...

Package redis

import "github.com/oracle/oci-go-sdk/redis"
Overview
Index

Overview ▾

Index ▾

func GetActionTypeEnumStringValues() []string
func GetAuthenticationModeAuthenticationTypeEnumStringValues() []string
func GetListAssociatedOciCacheClustersSortByEnumStringValues() []string
func GetListAssociatedOciCacheClustersSortOrderEnumStringValues() []string
func GetListAttachedOciCacheUsersSortByEnumStringValues() []string
func GetListAttachedOciCacheUsersSortOrderEnumStringValues() []string
func GetListAttachedRedisClustersSortByEnumStringValues() []string
func GetListAttachedRedisClustersSortOrderEnumStringValues() []string
func GetListOciCacheConfigSetsSortByEnumStringValues() []string
func GetListOciCacheConfigSetsSortOrderEnumStringValues() []string
func GetListOciCacheDefaultConfigSetsSortByEnumStringValues() []string
func GetListOciCacheDefaultConfigSetsSortOrderEnumStringValues() []string
func GetListOciCacheUsersSortByEnumStringValues() []string
func GetListOciCacheUsersSortOrderEnumStringValues() []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 GetOciCacheConfigSetLifecycleStateEnumStringValues() []string
func GetOciCacheConfigSetSoftwareVersionEnumStringValues() []string
func GetOciCacheDefaultConfigSetLifecycleStateEnumStringValues() []string
func GetOciCacheUserLifecycleStateEnumStringValues() []string
func GetOciCacheUserStatusEnumStringValues() []string
func GetOperationStatusEnumStringValues() []string
func GetOperationTypeEnumStringValues() []string
func GetRedisClusterClusterModeEnumStringValues() []string
func GetRedisClusterLifecycleStateEnumStringValues() []string
func GetRedisClusterSoftwareVersionEnumStringValues() []string
func GetSortOrderEnumStringValues() []string
type ActionTypeEnum
    func GetActionTypeEnumValues() []ActionTypeEnum
    func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
type AssociatedOciCacheClusterCollection
    func (m AssociatedOciCacheClusterCollection) String() string
    func (m AssociatedOciCacheClusterCollection) ValidateEnumValue() (bool, error)
type AssociatedOciCacheClusterSummary
    func (m AssociatedOciCacheClusterSummary) String() string
    func (m AssociatedOciCacheClusterSummary) ValidateEnumValue() (bool, error)
type AttachOciCacheUsersDetails
    func (m AttachOciCacheUsersDetails) String() string
    func (m AttachOciCacheUsersDetails) ValidateEnumValue() (bool, error)
type AttachOciCacheUsersRequest
    func (request AttachOciCacheUsersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request AttachOciCacheUsersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request AttachOciCacheUsersRequest) RetryPolicy() *common.RetryPolicy
    func (request AttachOciCacheUsersRequest) String() string
    func (request AttachOciCacheUsersRequest) ValidateEnumValue() (bool, error)
type AttachOciCacheUsersResponse
    func (response AttachOciCacheUsersResponse) HTTPResponse() *http.Response
    func (response AttachOciCacheUsersResponse) String() string
type AttachedOciCacheCluster
    func (m AttachedOciCacheCluster) String() string
    func (m AttachedOciCacheCluster) ValidateEnumValue() (bool, error)
type AttachedOciCacheUser
    func (m AttachedOciCacheUser) String() string
    func (m AttachedOciCacheUser) ValidateEnumValue() (bool, error)
type AuthenticationMode
type AuthenticationModeAuthenticationTypeEnum
    func GetAuthenticationModeAuthenticationTypeEnumValues() []AuthenticationModeAuthenticationTypeEnum
    func GetMappingAuthenticationModeAuthenticationTypeEnum(val string) (AuthenticationModeAuthenticationTypeEnum, bool)
type CancelWorkRequestRequest
    func (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request CancelWorkRequestRequest) String() string
    func (request CancelWorkRequestRequest) ValidateEnumValue() (bool, error)
type CancelWorkRequestResponse
    func (response CancelWorkRequestResponse) HTTPResponse() *http.Response
    func (response CancelWorkRequestResponse) String() string
type ChangeOciCacheConfigSetCompartmentDetails
    func (m ChangeOciCacheConfigSetCompartmentDetails) String() string
    func (m ChangeOciCacheConfigSetCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeOciCacheConfigSetCompartmentRequest
    func (request ChangeOciCacheConfigSetCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeOciCacheConfigSetCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeOciCacheConfigSetCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeOciCacheConfigSetCompartmentRequest) String() string
    func (request ChangeOciCacheConfigSetCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeOciCacheConfigSetCompartmentResponse
    func (response ChangeOciCacheConfigSetCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeOciCacheConfigSetCompartmentResponse) String() string
type ChangeOciCacheUserCompartmentDetails
    func (m ChangeOciCacheUserCompartmentDetails) String() string
    func (m ChangeOciCacheUserCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeOciCacheUserCompartmentRequest
    func (request ChangeOciCacheUserCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeOciCacheUserCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeOciCacheUserCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeOciCacheUserCompartmentRequest) String() string
    func (request ChangeOciCacheUserCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeOciCacheUserCompartmentResponse
    func (response ChangeOciCacheUserCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeOciCacheUserCompartmentResponse) String() string
type ChangeRedisClusterCompartmentDetails
    func (m ChangeRedisClusterCompartmentDetails) String() string
    func (m ChangeRedisClusterCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeRedisClusterCompartmentRequest
    func (request ChangeRedisClusterCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeRedisClusterCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeRedisClusterCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeRedisClusterCompartmentRequest) String() string
    func (request ChangeRedisClusterCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeRedisClusterCompartmentResponse
    func (response ChangeRedisClusterCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeRedisClusterCompartmentResponse) String() string
type ConfigurationDetails
    func (m ConfigurationDetails) String() string
    func (m ConfigurationDetails) ValidateEnumValue() (bool, error)
type ConfigurationInfo
    func (m ConfigurationInfo) String() string
    func (m ConfigurationInfo) ValidateEnumValue() (bool, error)
type CreateIdentityTokenDetails
    func (m CreateIdentityTokenDetails) String() string
    func (m CreateIdentityTokenDetails) ValidateEnumValue() (bool, error)
type CreateIdentityTokenRequest
    func (request CreateIdentityTokenRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateIdentityTokenRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateIdentityTokenRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateIdentityTokenRequest) String() string
    func (request CreateIdentityTokenRequest) ValidateEnumValue() (bool, error)
type CreateIdentityTokenResponse
    func (response CreateIdentityTokenResponse) HTTPResponse() *http.Response
    func (response CreateIdentityTokenResponse) String() string
type CreateOciCacheConfigSetDetails
    func (m CreateOciCacheConfigSetDetails) String() string
    func (m CreateOciCacheConfigSetDetails) ValidateEnumValue() (bool, error)
type CreateOciCacheConfigSetRequest
    func (request CreateOciCacheConfigSetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateOciCacheConfigSetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateOciCacheConfigSetRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateOciCacheConfigSetRequest) String() string
    func (request CreateOciCacheConfigSetRequest) ValidateEnumValue() (bool, error)
type CreateOciCacheConfigSetResponse
    func (response CreateOciCacheConfigSetResponse) HTTPResponse() *http.Response
    func (response CreateOciCacheConfigSetResponse) String() string
type CreateOciCacheUserDetails
    func (m CreateOciCacheUserDetails) String() string
    func (m *CreateOciCacheUserDetails) UnmarshalJSON(data []byte) (e error)
    func (m CreateOciCacheUserDetails) ValidateEnumValue() (bool, error)
type CreateOciCacheUserRequest
    func (request CreateOciCacheUserRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateOciCacheUserRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateOciCacheUserRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateOciCacheUserRequest) String() string
    func (request CreateOciCacheUserRequest) ValidateEnumValue() (bool, error)
type CreateOciCacheUserResponse
    func (response CreateOciCacheUserResponse) HTTPResponse() *http.Response
    func (response CreateOciCacheUserResponse) String() string
type CreateRedisClusterDetails
    func (m CreateRedisClusterDetails) String() string
    func (m CreateRedisClusterDetails) ValidateEnumValue() (bool, error)
type CreateRedisClusterRequest
    func (request CreateRedisClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateRedisClusterRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateRedisClusterRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateRedisClusterRequest) String() string
    func (request CreateRedisClusterRequest) ValidateEnumValue() (bool, error)
type CreateRedisClusterResponse
    func (response CreateRedisClusterResponse) HTTPResponse() *http.Response
    func (response CreateRedisClusterResponse) String() string
type DefaultConfigurationDetails
    func (m DefaultConfigurationDetails) String() string
    func (m DefaultConfigurationDetails) ValidateEnumValue() (bool, error)
type DefaultConfigurationInfo
    func (m DefaultConfigurationInfo) String() string
    func (m DefaultConfigurationInfo) ValidateEnumValue() (bool, error)
type DeleteOciCacheConfigSetRequest
    func (request DeleteOciCacheConfigSetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteOciCacheConfigSetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteOciCacheConfigSetRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteOciCacheConfigSetRequest) String() string
    func (request DeleteOciCacheConfigSetRequest) ValidateEnumValue() (bool, error)
type DeleteOciCacheConfigSetResponse
    func (response DeleteOciCacheConfigSetResponse) HTTPResponse() *http.Response
    func (response DeleteOciCacheConfigSetResponse) String() string
type DeleteOciCacheUserRequest
    func (request DeleteOciCacheUserRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteOciCacheUserRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteOciCacheUserRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteOciCacheUserRequest) String() string
    func (request DeleteOciCacheUserRequest) ValidateEnumValue() (bool, error)
type DeleteOciCacheUserResponse
    func (response DeleteOciCacheUserResponse) HTTPResponse() *http.Response
    func (response DeleteOciCacheUserResponse) String() string
type DeleteRedisClusterRequest
    func (request DeleteRedisClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteRedisClusterRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteRedisClusterRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteRedisClusterRequest) String() string
    func (request DeleteRedisClusterRequest) ValidateEnumValue() (bool, error)
type DeleteRedisClusterResponse
    func (response DeleteRedisClusterResponse) HTTPResponse() *http.Response
    func (response DeleteRedisClusterResponse) String() string
type DetachOciCacheUsersDetails
    func (m DetachOciCacheUsersDetails) String() string
    func (m DetachOciCacheUsersDetails) ValidateEnumValue() (bool, error)
type DetachOciCacheUsersRequest
    func (request DetachOciCacheUsersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DetachOciCacheUsersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DetachOciCacheUsersRequest) RetryPolicy() *common.RetryPolicy
    func (request DetachOciCacheUsersRequest) String() string
    func (request DetachOciCacheUsersRequest) ValidateEnumValue() (bool, error)
type DetachOciCacheUsersResponse
    func (response DetachOciCacheUsersResponse) HTTPResponse() *http.Response
    func (response DetachOciCacheUsersResponse) String() string
type GetOciCacheConfigSetRequest
    func (request GetOciCacheConfigSetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetOciCacheConfigSetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetOciCacheConfigSetRequest) RetryPolicy() *common.RetryPolicy
    func (request GetOciCacheConfigSetRequest) String() string
    func (request GetOciCacheConfigSetRequest) ValidateEnumValue() (bool, error)
type GetOciCacheConfigSetResponse
    func (response GetOciCacheConfigSetResponse) HTTPResponse() *http.Response
    func (response GetOciCacheConfigSetResponse) String() string
type GetOciCacheDefaultConfigSetRequest
    func (request GetOciCacheDefaultConfigSetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetOciCacheDefaultConfigSetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetOciCacheDefaultConfigSetRequest) RetryPolicy() *common.RetryPolicy
    func (request GetOciCacheDefaultConfigSetRequest) String() string
    func (request GetOciCacheDefaultConfigSetRequest) ValidateEnumValue() (bool, error)
type GetOciCacheDefaultConfigSetResponse
    func (response GetOciCacheDefaultConfigSetResponse) HTTPResponse() *http.Response
    func (response GetOciCacheDefaultConfigSetResponse) String() string
type GetOciCacheUserRequest
    func (request GetOciCacheUserRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetOciCacheUserRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetOciCacheUserRequest) RetryPolicy() *common.RetryPolicy
    func (request GetOciCacheUserRequest) String() string
    func (request GetOciCacheUserRequest) ValidateEnumValue() (bool, error)
type GetOciCacheUserResponse
    func (response GetOciCacheUserResponse) HTTPResponse() *http.Response
    func (response GetOciCacheUserResponse) String() string
type GetRedisClusterRequest
    func (request GetRedisClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetRedisClusterRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetRedisClusterRequest) RetryPolicy() *common.RetryPolicy
    func (request GetRedisClusterRequest) String() string
    func (request GetRedisClusterRequest) ValidateEnumValue() (bool, error)
type GetRedisClusterResponse
    func (response GetRedisClusterResponse) HTTPResponse() *http.Response
    func (response GetRedisClusterResponse) String() string
type GetWorkRequestRequest
    func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request GetWorkRequestRequest) String() string
    func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
type GetWorkRequestResponse
    func (response GetWorkRequestResponse) HTTPResponse() *http.Response
    func (response GetWorkRequestResponse) String() string
type IamAuthenticationMode
    func (m IamAuthenticationMode) MarshalJSON() (buff []byte, e error)
    func (m IamAuthenticationMode) String() string
    func (m IamAuthenticationMode) ValidateEnumValue() (bool, error)
type IdentityTokenDetailsResponse
    func (m IdentityTokenDetailsResponse) String() string
    func (m IdentityTokenDetailsResponse) ValidateEnumValue() (bool, error)
type ListAssociatedOciCacheClustersRequest
    func (request ListAssociatedOciCacheClustersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListAssociatedOciCacheClustersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListAssociatedOciCacheClustersRequest) RetryPolicy() *common.RetryPolicy
    func (request ListAssociatedOciCacheClustersRequest) String() string
    func (request ListAssociatedOciCacheClustersRequest) ValidateEnumValue() (bool, error)
type ListAssociatedOciCacheClustersResponse
    func (response ListAssociatedOciCacheClustersResponse) HTTPResponse() *http.Response
    func (response ListAssociatedOciCacheClustersResponse) String() string
type ListAssociatedOciCacheClustersSortByEnum
    func GetListAssociatedOciCacheClustersSortByEnumValues() []ListAssociatedOciCacheClustersSortByEnum
    func GetMappingListAssociatedOciCacheClustersSortByEnum(val string) (ListAssociatedOciCacheClustersSortByEnum, bool)
type ListAssociatedOciCacheClustersSortOrderEnum
    func GetListAssociatedOciCacheClustersSortOrderEnumValues() []ListAssociatedOciCacheClustersSortOrderEnum
    func GetMappingListAssociatedOciCacheClustersSortOrderEnum(val string) (ListAssociatedOciCacheClustersSortOrderEnum, bool)
type ListAttachedOciCacheUsersRequest
    func (request ListAttachedOciCacheUsersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListAttachedOciCacheUsersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListAttachedOciCacheUsersRequest) RetryPolicy() *common.RetryPolicy
    func (request ListAttachedOciCacheUsersRequest) String() string
    func (request ListAttachedOciCacheUsersRequest) ValidateEnumValue() (bool, error)
type ListAttachedOciCacheUsersResponse
    func (response ListAttachedOciCacheUsersResponse) HTTPResponse() *http.Response
    func (response ListAttachedOciCacheUsersResponse) String() string
type ListAttachedOciCacheUsersSortByEnum
    func GetListAttachedOciCacheUsersSortByEnumValues() []ListAttachedOciCacheUsersSortByEnum
    func GetMappingListAttachedOciCacheUsersSortByEnum(val string) (ListAttachedOciCacheUsersSortByEnum, bool)
type ListAttachedOciCacheUsersSortOrderEnum
    func GetListAttachedOciCacheUsersSortOrderEnumValues() []ListAttachedOciCacheUsersSortOrderEnum
    func GetMappingListAttachedOciCacheUsersSortOrderEnum(val string) (ListAttachedOciCacheUsersSortOrderEnum, bool)
type ListAttachedRedisClustersRequest
    func (request ListAttachedRedisClustersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListAttachedRedisClustersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListAttachedRedisClustersRequest) RetryPolicy() *common.RetryPolicy
    func (request ListAttachedRedisClustersRequest) String() string
    func (request ListAttachedRedisClustersRequest) ValidateEnumValue() (bool, error)
type ListAttachedRedisClustersResponse
    func (response ListAttachedRedisClustersResponse) HTTPResponse() *http.Response
    func (response ListAttachedRedisClustersResponse) String() string
type ListAttachedRedisClustersSortByEnum
    func GetListAttachedRedisClustersSortByEnumValues() []ListAttachedRedisClustersSortByEnum
    func GetMappingListAttachedRedisClustersSortByEnum(val string) (ListAttachedRedisClustersSortByEnum, bool)
type ListAttachedRedisClustersSortOrderEnum
    func GetListAttachedRedisClustersSortOrderEnumValues() []ListAttachedRedisClustersSortOrderEnum
    func GetMappingListAttachedRedisClustersSortOrderEnum(val string) (ListAttachedRedisClustersSortOrderEnum, bool)
type ListOciCacheConfigSetsRequest
    func (request ListOciCacheConfigSetsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListOciCacheConfigSetsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListOciCacheConfigSetsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListOciCacheConfigSetsRequest) String() string
    func (request ListOciCacheConfigSetsRequest) ValidateEnumValue() (bool, error)
type ListOciCacheConfigSetsResponse
    func (response ListOciCacheConfigSetsResponse) HTTPResponse() *http.Response
    func (response ListOciCacheConfigSetsResponse) String() string
type ListOciCacheConfigSetsSortByEnum
    func GetListOciCacheConfigSetsSortByEnumValues() []ListOciCacheConfigSetsSortByEnum
    func GetMappingListOciCacheConfigSetsSortByEnum(val string) (ListOciCacheConfigSetsSortByEnum, bool)
type ListOciCacheConfigSetsSortOrderEnum
    func GetListOciCacheConfigSetsSortOrderEnumValues() []ListOciCacheConfigSetsSortOrderEnum
    func GetMappingListOciCacheConfigSetsSortOrderEnum(val string) (ListOciCacheConfigSetsSortOrderEnum, bool)
type ListOciCacheDefaultConfigSetsRequest
    func (request ListOciCacheDefaultConfigSetsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListOciCacheDefaultConfigSetsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListOciCacheDefaultConfigSetsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListOciCacheDefaultConfigSetsRequest) String() string
    func (request ListOciCacheDefaultConfigSetsRequest) ValidateEnumValue() (bool, error)
type ListOciCacheDefaultConfigSetsResponse
    func (response ListOciCacheDefaultConfigSetsResponse) HTTPResponse() *http.Response
    func (response ListOciCacheDefaultConfigSetsResponse) String() string
type ListOciCacheDefaultConfigSetsSortByEnum
    func GetListOciCacheDefaultConfigSetsSortByEnumValues() []ListOciCacheDefaultConfigSetsSortByEnum
    func GetMappingListOciCacheDefaultConfigSetsSortByEnum(val string) (ListOciCacheDefaultConfigSetsSortByEnum, bool)
type ListOciCacheDefaultConfigSetsSortOrderEnum
    func GetListOciCacheDefaultConfigSetsSortOrderEnumValues() []ListOciCacheDefaultConfigSetsSortOrderEnum
    func GetMappingListOciCacheDefaultConfigSetsSortOrderEnum(val string) (ListOciCacheDefaultConfigSetsSortOrderEnum, bool)
type ListOciCacheUsersRequest
    func (request ListOciCacheUsersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListOciCacheUsersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListOciCacheUsersRequest) RetryPolicy() *common.RetryPolicy
    func (request ListOciCacheUsersRequest) String() string
    func (request ListOciCacheUsersRequest) ValidateEnumValue() (bool, error)
type ListOciCacheUsersResponse
    func (response ListOciCacheUsersResponse) HTTPResponse() *http.Response
    func (response ListOciCacheUsersResponse) String() string
type ListOciCacheUsersSortByEnum
    func GetListOciCacheUsersSortByEnumValues() []ListOciCacheUsersSortByEnum
    func GetMappingListOciCacheUsersSortByEnum(val string) (ListOciCacheUsersSortByEnum, bool)
type ListOciCacheUsersSortOrderEnum
    func GetListOciCacheUsersSortOrderEnumValues() []ListOciCacheUsersSortOrderEnum
    func GetMappingListOciCacheUsersSortOrderEnum(val string) (ListOciCacheUsersSortOrderEnum, bool)
type ListRedisClusterNodesRequest
    func (request ListRedisClusterNodesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListRedisClusterNodesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListRedisClusterNodesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListRedisClusterNodesRequest) String() string
    func (request ListRedisClusterNodesRequest) ValidateEnumValue() (bool, error)
type ListRedisClusterNodesResponse
    func (response ListRedisClusterNodesResponse) HTTPResponse() *http.Response
    func (response ListRedisClusterNodesResponse) String() string
type ListRedisClusterNodesSortByEnum
    func GetListRedisClusterNodesSortByEnumValues() []ListRedisClusterNodesSortByEnum
    func GetMappingListRedisClusterNodesSortByEnum(val string) (ListRedisClusterNodesSortByEnum, bool)
type ListRedisClusterNodesSortOrderEnum
    func GetListRedisClusterNodesSortOrderEnumValues() []ListRedisClusterNodesSortOrderEnum
    func GetMappingListRedisClusterNodesSortOrderEnum(val string) (ListRedisClusterNodesSortOrderEnum, bool)
type ListRedisClustersRequest
    func (request ListRedisClustersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListRedisClustersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListRedisClustersRequest) RetryPolicy() *common.RetryPolicy
    func (request ListRedisClustersRequest) String() string
    func (request ListRedisClustersRequest) ValidateEnumValue() (bool, error)
type ListRedisClustersResponse
    func (response ListRedisClustersResponse) HTTPResponse() *http.Response
    func (response ListRedisClustersResponse) String() string
type ListRedisClustersSortByEnum
    func GetListRedisClustersSortByEnumValues() []ListRedisClustersSortByEnum
    func GetMappingListRedisClustersSortByEnum(val string) (ListRedisClustersSortByEnum, bool)
type ListRedisClustersSortOrderEnum
    func GetListRedisClustersSortOrderEnumValues() []ListRedisClustersSortOrderEnum
    func GetMappingListRedisClustersSortOrderEnum(val string) (ListRedisClustersSortOrderEnum, bool)
type ListWorkRequestErrorsRequest
    func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestErrorsRequest) String() string
    func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestErrorsResponse
    func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestErrorsResponse) String() string
type ListWorkRequestErrorsSortByEnum
    func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
    func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)
type ListWorkRequestErrorsSortOrderEnum
    func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
    func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)
type ListWorkRequestLogsRequest
    func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestLogsRequest) String() string
    func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestLogsResponse
    func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestLogsResponse) String() string
type ListWorkRequestLogsSortByEnum
    func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
    func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)
type ListWorkRequestLogsSortOrderEnum
    func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
    func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)
type ListWorkRequestsRequest
    func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestsRequest) String() string
    func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestsResponse
    func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestsResponse) String() string
type ListWorkRequestsSortByEnum
    func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
    func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
type ListWorkRequestsSortOrderEnum
    func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
    func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
type ListWorkRequestsStatusEnum
    func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
    func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)
type Node
    func (m Node) String() string
    func (m Node) ValidateEnumValue() (bool, error)
type NodeCollection
    func (m NodeCollection) String() string
    func (m NodeCollection) ValidateEnumValue() (bool, error)
type NodeSummary
    func (m NodeSummary) String() string
    func (m NodeSummary) ValidateEnumValue() (bool, error)
type OciCacheConfigSet
    func (m OciCacheConfigSet) String() string
    func (m OciCacheConfigSet) ValidateEnumValue() (bool, error)
type OciCacheConfigSetClient
    func NewOciCacheConfigSetClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client OciCacheConfigSetClient, err error)
    func NewOciCacheConfigSetClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client OciCacheConfigSetClient, err error)
    func (client OciCacheConfigSetClient) ChangeOciCacheConfigSetCompartment(ctx context.Context, request ChangeOciCacheConfigSetCompartmentRequest) (response ChangeOciCacheConfigSetCompartmentResponse, err error)
    func (client *OciCacheConfigSetClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client OciCacheConfigSetClient) CreateOciCacheConfigSet(ctx context.Context, request CreateOciCacheConfigSetRequest) (response CreateOciCacheConfigSetResponse, err error)
    func (client OciCacheConfigSetClient) DeleteOciCacheConfigSet(ctx context.Context, request DeleteOciCacheConfigSetRequest) (response DeleteOciCacheConfigSetResponse, err error)
    func (client OciCacheConfigSetClient) GetOciCacheConfigSet(ctx context.Context, request GetOciCacheConfigSetRequest) (response GetOciCacheConfigSetResponse, err error)
    func (client OciCacheConfigSetClient) ListAssociatedOciCacheClusters(ctx context.Context, request ListAssociatedOciCacheClustersRequest) (response ListAssociatedOciCacheClustersResponse, err error)
    func (client OciCacheConfigSetClient) ListOciCacheConfigSets(ctx context.Context, request ListOciCacheConfigSetsRequest) (response ListOciCacheConfigSetsResponse, err error)
    func (client *OciCacheConfigSetClient) SetRegion(region string)
    func (client OciCacheConfigSetClient) UpdateOciCacheConfigSet(ctx context.Context, request UpdateOciCacheConfigSetRequest) (response UpdateOciCacheConfigSetResponse, err error)
type OciCacheConfigSetCollection
    func (m OciCacheConfigSetCollection) String() string
    func (m OciCacheConfigSetCollection) ValidateEnumValue() (bool, error)
type OciCacheConfigSetLifecycleStateEnum
    func GetMappingOciCacheConfigSetLifecycleStateEnum(val string) (OciCacheConfigSetLifecycleStateEnum, bool)
    func GetOciCacheConfigSetLifecycleStateEnumValues() []OciCacheConfigSetLifecycleStateEnum
type OciCacheConfigSetSoftwareVersionEnum
    func GetMappingOciCacheConfigSetSoftwareVersionEnum(val string) (OciCacheConfigSetSoftwareVersionEnum, bool)
    func GetOciCacheConfigSetSoftwareVersionEnumValues() []OciCacheConfigSetSoftwareVersionEnum
type OciCacheConfigSetSummary
    func (m OciCacheConfigSetSummary) String() string
    func (m OciCacheConfigSetSummary) ValidateEnumValue() (bool, error)
type OciCacheDefaultConfigSet
    func (m OciCacheDefaultConfigSet) String() string
    func (m OciCacheDefaultConfigSet) ValidateEnumValue() (bool, error)
type OciCacheDefaultConfigSetClient
    func NewOciCacheDefaultConfigSetClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client OciCacheDefaultConfigSetClient, err error)
    func NewOciCacheDefaultConfigSetClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client OciCacheDefaultConfigSetClient, err error)
    func (client *OciCacheDefaultConfigSetClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client OciCacheDefaultConfigSetClient) GetOciCacheDefaultConfigSet(ctx context.Context, request GetOciCacheDefaultConfigSetRequest) (response GetOciCacheDefaultConfigSetResponse, err error)
    func (client OciCacheDefaultConfigSetClient) ListOciCacheDefaultConfigSets(ctx context.Context, request ListOciCacheDefaultConfigSetsRequest) (response ListOciCacheDefaultConfigSetsResponse, err error)
    func (client *OciCacheDefaultConfigSetClient) SetRegion(region string)
type OciCacheDefaultConfigSetCollection
    func (m OciCacheDefaultConfigSetCollection) String() string
    func (m OciCacheDefaultConfigSetCollection) ValidateEnumValue() (bool, error)
type OciCacheDefaultConfigSetLifecycleStateEnum
    func GetMappingOciCacheDefaultConfigSetLifecycleStateEnum(val string) (OciCacheDefaultConfigSetLifecycleStateEnum, bool)
    func GetOciCacheDefaultConfigSetLifecycleStateEnumValues() []OciCacheDefaultConfigSetLifecycleStateEnum
type OciCacheDefaultConfigSetSummary
    func (m OciCacheDefaultConfigSetSummary) String() string
    func (m OciCacheDefaultConfigSetSummary) ValidateEnumValue() (bool, error)
type OciCacheUser
    func (m OciCacheUser) String() string
    func (m *OciCacheUser) UnmarshalJSON(data []byte) (e error)
    func (m OciCacheUser) ValidateEnumValue() (bool, error)
type OciCacheUserClient
    func NewOciCacheUserClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client OciCacheUserClient, err error)
    func NewOciCacheUserClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client OciCacheUserClient, err error)
    func (client OciCacheUserClient) ChangeOciCacheUserCompartment(ctx context.Context, request ChangeOciCacheUserCompartmentRequest) (response ChangeOciCacheUserCompartmentResponse, err error)
    func (client *OciCacheUserClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client OciCacheUserClient) CreateOciCacheUser(ctx context.Context, request CreateOciCacheUserRequest) (response CreateOciCacheUserResponse, err error)
    func (client OciCacheUserClient) DeleteOciCacheUser(ctx context.Context, request DeleteOciCacheUserRequest) (response DeleteOciCacheUserResponse, err error)
    func (client OciCacheUserClient) GetOciCacheUser(ctx context.Context, request GetOciCacheUserRequest) (response GetOciCacheUserResponse, err error)
    func (client OciCacheUserClient) ListAttachedRedisClusters(ctx context.Context, request ListAttachedRedisClustersRequest) (response ListAttachedRedisClustersResponse, err error)
    func (client OciCacheUserClient) ListOciCacheUsers(ctx context.Context, request ListOciCacheUsersRequest) (response ListOciCacheUsersResponse, err error)
    func (client *OciCacheUserClient) SetRegion(region string)
    func (client OciCacheUserClient) UpdateOciCacheUser(ctx context.Context, request UpdateOciCacheUserRequest) (response UpdateOciCacheUserResponse, err error)
type OciCacheUserCollection
    func (m OciCacheUserCollection) String() string
    func (m OciCacheUserCollection) ValidateEnumValue() (bool, error)
type OciCacheUserLifecycleStateEnum
    func GetMappingOciCacheUserLifecycleStateEnum(val string) (OciCacheUserLifecycleStateEnum, bool)
    func GetOciCacheUserLifecycleStateEnumValues() []OciCacheUserLifecycleStateEnum
type OciCacheUserStatusEnum
    func GetMappingOciCacheUserStatusEnum(val string) (OciCacheUserStatusEnum, bool)
    func GetOciCacheUserStatusEnumValues() []OciCacheUserStatusEnum
type OciCacheUserSummary
    func (m OciCacheUserSummary) String() string
    func (m OciCacheUserSummary) ValidateEnumValue() (bool, error)
type OperationStatusEnum
    func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
    func GetOperationStatusEnumValues() []OperationStatusEnum
type OperationTypeEnum
    func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
    func GetOperationTypeEnumValues() []OperationTypeEnum
type PasswordAuthenticationMode
    func (m PasswordAuthenticationMode) MarshalJSON() (buff []byte, e error)
    func (m PasswordAuthenticationMode) String() string
    func (m PasswordAuthenticationMode) ValidateEnumValue() (bool, error)
type RedisCluster
    func (m RedisCluster) String() string
    func (m RedisCluster) ValidateEnumValue() (bool, error)
type RedisClusterClient
    func NewRedisClusterClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client RedisClusterClient, err error)
    func NewRedisClusterClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client RedisClusterClient, err error)
    func (client RedisClusterClient) AttachOciCacheUsers(ctx context.Context, request AttachOciCacheUsersRequest) (response AttachOciCacheUsersResponse, err error)
    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) DetachOciCacheUsers(ctx context.Context, request DetachOciCacheUsersRequest) (response DetachOciCacheUsersResponse, 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) ListAttachedOciCacheUsers(ctx context.Context, request ListAttachedOciCacheUsersRequest) (response ListAttachedOciCacheUsersResponse, 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
    func GetMappingRedisClusterClusterModeEnum(val string) (RedisClusterClusterModeEnum, bool)
    func GetRedisClusterClusterModeEnumValues() []RedisClusterClusterModeEnum
type RedisClusterCollection
    func (m RedisClusterCollection) String() string
    func (m RedisClusterCollection) ValidateEnumValue() (bool, error)
type RedisClusterLifecycleStateEnum
    func GetMappingRedisClusterLifecycleStateEnum(val string) (RedisClusterLifecycleStateEnum, bool)
    func GetRedisClusterLifecycleStateEnumValues() []RedisClusterLifecycleStateEnum
type RedisClusterSoftwareVersionEnum
    func GetMappingRedisClusterSoftwareVersionEnum(val string) (RedisClusterSoftwareVersionEnum, bool)
    func GetRedisClusterSoftwareVersionEnumValues() []RedisClusterSoftwareVersionEnum
type RedisClusterSummary
    func (m RedisClusterSummary) String() string
    func (m RedisClusterSummary) ValidateEnumValue() (bool, error)
type RedisIdentityClient
    func NewRedisIdentityClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client RedisIdentityClient, err error)
    func NewRedisIdentityClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client RedisIdentityClient, err error)
    func (client *RedisIdentityClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client RedisIdentityClient) CreateIdentityToken(ctx context.Context, request CreateIdentityTokenRequest) (response CreateIdentityTokenResponse, err error)
    func (client *RedisIdentityClient) SetRegion(region string)
type RedisNodeCollection
    func (m RedisNodeCollection) String() string
    func (m RedisNodeCollection) ValidateEnumValue() (bool, error)
type SortOrderEnum
    func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
    func GetSortOrderEnumValues() []SortOrderEnum
type UpdateOciCacheConfigSetDetails
    func (m UpdateOciCacheConfigSetDetails) String() string
    func (m UpdateOciCacheConfigSetDetails) ValidateEnumValue() (bool, error)
type UpdateOciCacheConfigSetRequest
    func (request UpdateOciCacheConfigSetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateOciCacheConfigSetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateOciCacheConfigSetRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateOciCacheConfigSetRequest) String() string
    func (request UpdateOciCacheConfigSetRequest) ValidateEnumValue() (bool, error)
type UpdateOciCacheConfigSetResponse
    func (response UpdateOciCacheConfigSetResponse) HTTPResponse() *http.Response
    func (response UpdateOciCacheConfigSetResponse) String() string
type UpdateOciCacheUserDetails
    func (m UpdateOciCacheUserDetails) String() string
    func (m *UpdateOciCacheUserDetails) UnmarshalJSON(data []byte) (e error)
    func (m UpdateOciCacheUserDetails) ValidateEnumValue() (bool, error)
type UpdateOciCacheUserRequest
    func (request UpdateOciCacheUserRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateOciCacheUserRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateOciCacheUserRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateOciCacheUserRequest) String() string
    func (request UpdateOciCacheUserRequest) ValidateEnumValue() (bool, error)
type UpdateOciCacheUserResponse
    func (response UpdateOciCacheUserResponse) HTTPResponse() *http.Response
    func (response UpdateOciCacheUserResponse) String() string
type UpdateRedisClusterDetails
    func (m UpdateRedisClusterDetails) String() string
    func (m UpdateRedisClusterDetails) ValidateEnumValue() (bool, error)
type UpdateRedisClusterRequest
    func (request UpdateRedisClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateRedisClusterRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateRedisClusterRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateRedisClusterRequest) String() string
    func (request UpdateRedisClusterRequest) ValidateEnumValue() (bool, error)
type UpdateRedisClusterResponse
    func (response UpdateRedisClusterResponse) HTTPResponse() *http.Response
    func (response UpdateRedisClusterResponse) String() string
type WorkRequest
    func (m WorkRequest) String() string
    func (m WorkRequest) ValidateEnumValue() (bool, error)
type WorkRequestError
    func (m WorkRequestError) String() string
    func (m WorkRequestError) ValidateEnumValue() (bool, error)
type WorkRequestErrorCollection
    func (m WorkRequestErrorCollection) String() string
    func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)
type WorkRequestLogEntry
    func (m WorkRequestLogEntry) String() string
    func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
type WorkRequestLogEntryCollection
    func (m WorkRequestLogEntryCollection) String() string
    func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)
type WorkRequestResource
    func (m WorkRequestResource) String() string
    func (m WorkRequestResource) ValidateEnumValue() (bool, error)
type WorkRequestSummary
    func (m WorkRequestSummary) String() string
    func (m WorkRequestSummary) ValidateEnumValue() (bool, error)
type WorkRequestSummaryCollection
    func (m WorkRequestSummaryCollection) String() string
    func (m WorkRequestSummaryCollection) ValidateEnumValue() (bool, error)

Package files

action_type.go associated_oci_cache_cluster_collection.go associated_oci_cache_cluster_summary.go attach_oci_cache_users_details.go attach_oci_cache_users_request_response.go attached_oci_cache_cluster.go attached_oci_cache_user.go authentication_mode.go cancel_work_request_request_response.go change_oci_cache_config_set_compartment_details.go change_oci_cache_config_set_compartment_request_response.go change_oci_cache_user_compartment_details.go change_oci_cache_user_compartment_request_response.go change_redis_cluster_compartment_details.go change_redis_cluster_compartment_request_response.go configuration_details.go configuration_info.go create_identity_token_details.go create_identity_token_request_response.go create_oci_cache_config_set_details.go create_oci_cache_config_set_request_response.go create_oci_cache_user_details.go create_oci_cache_user_request_response.go create_redis_cluster_details.go create_redis_cluster_request_response.go default_configuration_details.go default_configuration_info.go delete_oci_cache_config_set_request_response.go delete_oci_cache_user_request_response.go delete_redis_cluster_request_response.go detach_oci_cache_users_details.go detach_oci_cache_users_request_response.go get_oci_cache_config_set_request_response.go get_oci_cache_default_config_set_request_response.go get_oci_cache_user_request_response.go get_redis_cluster_request_response.go get_work_request_request_response.go iam_authentication_mode.go identity_token_details_response.go list_associated_oci_cache_clusters_request_response.go list_attached_oci_cache_users_request_response.go list_attached_redis_clusters_request_response.go list_oci_cache_config_sets_request_response.go list_oci_cache_default_config_sets_request_response.go list_oci_cache_users_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 oci_cache_config_set.go oci_cache_config_set_collection.go oci_cache_config_set_summary.go oci_cache_default_config_set.go oci_cache_default_config_set_collection.go oci_cache_default_config_set_summary.go oci_cache_user.go oci_cache_user_collection.go oci_cache_user_summary.go operation_status.go operation_type.go password_authentication_mode.go redis_cluster.go redis_cluster_collection.go redis_cluster_summary.go redis_node_collection.go redis_ocicacheconfigset_client.go redis_ocicachedefaultconfigset_client.go redis_ocicacheuser_client.go redis_rediscluster_client.go redis_redisidentity_client.go sort_order.go update_oci_cache_config_set_details.go update_oci_cache_config_set_request_response.go update_oci_cache_user_details.go update_oci_cache_user_request_response.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

func GetActionTypeEnumStringValues

func GetActionTypeEnumStringValues() []string

GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum

func GetAuthenticationModeAuthenticationTypeEnumStringValues

func GetAuthenticationModeAuthenticationTypeEnumStringValues() []string

GetAuthenticationModeAuthenticationTypeEnumStringValues Enumerates the set of values in String for AuthenticationModeAuthenticationTypeEnum

func GetListAssociatedOciCacheClustersSortByEnumStringValues

func GetListAssociatedOciCacheClustersSortByEnumStringValues() []string

GetListAssociatedOciCacheClustersSortByEnumStringValues Enumerates the set of values in String for ListAssociatedOciCacheClustersSortByEnum

func GetListAssociatedOciCacheClustersSortOrderEnumStringValues

func GetListAssociatedOciCacheClustersSortOrderEnumStringValues() []string

GetListAssociatedOciCacheClustersSortOrderEnumStringValues Enumerates the set of values in String for ListAssociatedOciCacheClustersSortOrderEnum

func GetListAttachedOciCacheUsersSortByEnumStringValues

func GetListAttachedOciCacheUsersSortByEnumStringValues() []string

GetListAttachedOciCacheUsersSortByEnumStringValues Enumerates the set of values in String for ListAttachedOciCacheUsersSortByEnum

func GetListAttachedOciCacheUsersSortOrderEnumStringValues

func GetListAttachedOciCacheUsersSortOrderEnumStringValues() []string

GetListAttachedOciCacheUsersSortOrderEnumStringValues Enumerates the set of values in String for ListAttachedOciCacheUsersSortOrderEnum

func GetListAttachedRedisClustersSortByEnumStringValues

func GetListAttachedRedisClustersSortByEnumStringValues() []string

GetListAttachedRedisClustersSortByEnumStringValues Enumerates the set of values in String for ListAttachedRedisClustersSortByEnum

func GetListAttachedRedisClustersSortOrderEnumStringValues

func GetListAttachedRedisClustersSortOrderEnumStringValues() []string

GetListAttachedRedisClustersSortOrderEnumStringValues Enumerates the set of values in String for ListAttachedRedisClustersSortOrderEnum

func GetListOciCacheConfigSetsSortByEnumStringValues

func GetListOciCacheConfigSetsSortByEnumStringValues() []string

GetListOciCacheConfigSetsSortByEnumStringValues Enumerates the set of values in String for ListOciCacheConfigSetsSortByEnum

func GetListOciCacheConfigSetsSortOrderEnumStringValues

func GetListOciCacheConfigSetsSortOrderEnumStringValues() []string

GetListOciCacheConfigSetsSortOrderEnumStringValues Enumerates the set of values in String for ListOciCacheConfigSetsSortOrderEnum

func GetListOciCacheDefaultConfigSetsSortByEnumStringValues

func GetListOciCacheDefaultConfigSetsSortByEnumStringValues() []string

GetListOciCacheDefaultConfigSetsSortByEnumStringValues Enumerates the set of values in String for ListOciCacheDefaultConfigSetsSortByEnum

func GetListOciCacheDefaultConfigSetsSortOrderEnumStringValues

func GetListOciCacheDefaultConfigSetsSortOrderEnumStringValues() []string

GetListOciCacheDefaultConfigSetsSortOrderEnumStringValues Enumerates the set of values in String for ListOciCacheDefaultConfigSetsSortOrderEnum

func GetListOciCacheUsersSortByEnumStringValues

func GetListOciCacheUsersSortByEnumStringValues() []string

GetListOciCacheUsersSortByEnumStringValues Enumerates the set of values in String for ListOciCacheUsersSortByEnum

func GetListOciCacheUsersSortOrderEnumStringValues

func GetListOciCacheUsersSortOrderEnumStringValues() []string

GetListOciCacheUsersSortOrderEnumStringValues Enumerates the set of values in String for ListOciCacheUsersSortOrderEnum

func GetListRedisClusterNodesSortByEnumStringValues

func GetListRedisClusterNodesSortByEnumStringValues() []string

GetListRedisClusterNodesSortByEnumStringValues Enumerates the set of values in String for ListRedisClusterNodesSortByEnum

func GetListRedisClusterNodesSortOrderEnumStringValues

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 GetOciCacheConfigSetLifecycleStateEnumStringValues

func GetOciCacheConfigSetLifecycleStateEnumStringValues() []string

GetOciCacheConfigSetLifecycleStateEnumStringValues Enumerates the set of values in String for OciCacheConfigSetLifecycleStateEnum

func GetOciCacheConfigSetSoftwareVersionEnumStringValues

func GetOciCacheConfigSetSoftwareVersionEnumStringValues() []string

GetOciCacheConfigSetSoftwareVersionEnumStringValues Enumerates the set of values in String for OciCacheConfigSetSoftwareVersionEnum

func GetOciCacheDefaultConfigSetLifecycleStateEnumStringValues

func GetOciCacheDefaultConfigSetLifecycleStateEnumStringValues() []string

GetOciCacheDefaultConfigSetLifecycleStateEnumStringValues Enumerates the set of values in String for OciCacheDefaultConfigSetLifecycleStateEnum

func GetOciCacheUserLifecycleStateEnumStringValues

func GetOciCacheUserLifecycleStateEnumStringValues() []string

GetOciCacheUserLifecycleStateEnumStringValues Enumerates the set of values in String for OciCacheUserLifecycleStateEnum

func GetOciCacheUserStatusEnumStringValues

func GetOciCacheUserStatusEnumStringValues() []string

GetOciCacheUserStatusEnumStringValues Enumerates the set of values in String for OciCacheUserStatusEnum

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

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

type ActionTypeEnum

ActionTypeEnum Enum with underlying type: string

type ActionTypeEnum string

Set of constants representing the allowable values for ActionTypeEnum

const (
    ActionTypeCreated    ActionTypeEnum = "CREATED"
    ActionTypeUpdated    ActionTypeEnum = "UPDATED"
    ActionTypeDeleted    ActionTypeEnum = "DELETED"
    ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS"
    ActionTypeRelated    ActionTypeEnum = "RELATED"
    ActionTypeFailed     ActionTypeEnum = "FAILED"
)

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 AssociatedOciCacheClusterCollection

AssociatedOciCacheClusterCollection Associated OCI Cache Clusters to which the OCI Cache Config Set is associated.

type AssociatedOciCacheClusterCollection struct {

    // List of clusters with the same OCI Cache Config Set ID.
    Items []AssociatedOciCacheClusterSummary `mandatory:"true" json:"items"`
}

func (AssociatedOciCacheClusterCollection) String

func (m AssociatedOciCacheClusterCollection) String() string

func (AssociatedOciCacheClusterCollection) ValidateEnumValue

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

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

type AssociatedOciCacheClusterSummary

AssociatedOciCacheClusterSummary Summary of the Clusters associated with an OCI Cache Config Set.

type AssociatedOciCacheClusterSummary struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster.
    Id *string `mandatory:"true" json:"id"`
}

func (AssociatedOciCacheClusterSummary) String

func (m AssociatedOciCacheClusterSummary) String() string

func (AssociatedOciCacheClusterSummary) ValidateEnumValue

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

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

type AttachOciCacheUsersDetails

AttachOciCacheUsersDetails OCI cache user details to be attached with a cluster.

type AttachOciCacheUsersDetails struct {

    // List of OCI cache user unique IDs (OCIDs).
    OciCacheUsers []string `mandatory:"true" json:"ociCacheUsers"`
}

func (AttachOciCacheUsersDetails) String

func (m AttachOciCacheUsersDetails) String() string

func (AttachOciCacheUsersDetails) ValidateEnumValue

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

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

type AttachOciCacheUsersRequest

AttachOciCacheUsersRequest wrapper for the AttachOciCacheUsers operation

See also

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

type AttachOciCacheUsersRequest 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 parameter details to attach the OCI cache users to the redis cluster.
    AttachOciCacheUsersDetails `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
}

func (AttachOciCacheUsersRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (AttachOciCacheUsersRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (AttachOciCacheUsersRequest) RetryPolicy

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

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

func (AttachOciCacheUsersRequest) String

func (request AttachOciCacheUsersRequest) String() string

func (AttachOciCacheUsersRequest) ValidateEnumValue

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

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

type AttachOciCacheUsersResponse

AttachOciCacheUsersResponse wrapper for the AttachOciCacheUsers operation

type AttachOciCacheUsersResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (AttachOciCacheUsersResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (AttachOciCacheUsersResponse) String

func (response AttachOciCacheUsersResponse) String() string

type AttachedOciCacheCluster

AttachedOciCacheCluster OciCacheCluster to which the OciCacheUser is attached.

type AttachedOciCacheCluster struct {

    // OCID of the OciCacheCluster
    OciCacheClusterId *string `mandatory:"true" json:"ociCacheClusterId"`
}

func (AttachedOciCacheCluster) String

func (m AttachedOciCacheCluster) String() string

func (AttachedOciCacheCluster) ValidateEnumValue

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

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

type AttachedOciCacheUser

AttachedOciCacheUser OciCacheUser attached to the OciCacheCluster.

type AttachedOciCacheUser struct {

    // OCID of the OciCacheUser
    OciCacheUserId *string `mandatory:"true" json:"ociCacheUserId"`
}

func (AttachedOciCacheUser) String

func (m AttachedOciCacheUser) String() string

func (AttachedOciCacheUser) ValidateEnumValue

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

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

type AuthenticationMode

AuthenticationMode These are the Authentication details of an OCI cache user.

type AuthenticationMode interface {
}

type AuthenticationModeAuthenticationTypeEnum

AuthenticationModeAuthenticationTypeEnum Enum with underlying type: string

type AuthenticationModeAuthenticationTypeEnum string

Set of constants representing the allowable values for AuthenticationModeAuthenticationTypeEnum

const (
    AuthenticationModeAuthenticationTypeIam      AuthenticationModeAuthenticationTypeEnum = "IAM"
    AuthenticationModeAuthenticationTypePassword AuthenticationModeAuthenticationTypeEnum = "PASSWORD"
)

func GetAuthenticationModeAuthenticationTypeEnumValues

func GetAuthenticationModeAuthenticationTypeEnumValues() []AuthenticationModeAuthenticationTypeEnum

GetAuthenticationModeAuthenticationTypeEnumValues Enumerates the set of values for AuthenticationModeAuthenticationTypeEnum

func GetMappingAuthenticationModeAuthenticationTypeEnum

func GetMappingAuthenticationModeAuthenticationTypeEnum(val string) (AuthenticationModeAuthenticationTypeEnum, bool)

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

type CancelWorkRequestRequest

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.

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
}

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

CancelWorkRequestResponse wrapper for the CancelWorkRequest operation

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

func (CancelWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CancelWorkRequestResponse) String

func (response CancelWorkRequestResponse) String() string

type ChangeOciCacheConfigSetCompartmentDetails

ChangeOciCacheConfigSetCompartmentDetails The information for the move operation.

type ChangeOciCacheConfigSetCompartmentDetails struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment
    // into which the resource should be moved.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

func (ChangeOciCacheConfigSetCompartmentDetails) String

func (m ChangeOciCacheConfigSetCompartmentDetails) String() string

func (ChangeOciCacheConfigSetCompartmentDetails) ValidateEnumValue

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

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

type ChangeOciCacheConfigSetCompartmentRequest

ChangeOciCacheConfigSetCompartmentRequest wrapper for the ChangeOciCacheConfigSetCompartment operation

See also

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

type ChangeOciCacheConfigSetCompartmentRequest struct {

    // Unique OCI Cache Config Set identifier.
    OciCacheConfigSetId *string `mandatory:"true" contributesTo:"path" name:"ociCacheConfigSetId"`

    // The information to be updated.
    ChangeOciCacheConfigSetCompartmentDetails `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"`

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

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ChangeOciCacheConfigSetCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeOciCacheConfigSetCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeOciCacheConfigSetCompartmentRequest) RetryPolicy

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

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

func (ChangeOciCacheConfigSetCompartmentRequest) String

func (request ChangeOciCacheConfigSetCompartmentRequest) String() string

func (ChangeOciCacheConfigSetCompartmentRequest) ValidateEnumValue

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

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

type ChangeOciCacheConfigSetCompartmentResponse

ChangeOciCacheConfigSetCompartmentResponse wrapper for the ChangeOciCacheConfigSetCompartment operation

type ChangeOciCacheConfigSetCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (ChangeOciCacheConfigSetCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeOciCacheConfigSetCompartmentResponse) String

func (response ChangeOciCacheConfigSetCompartmentResponse) String() string

type ChangeOciCacheUserCompartmentDetails

ChangeOciCacheUserCompartmentDetails The configuration details for the move operation.

type ChangeOciCacheUserCompartmentDetails struct {

    // OCID of the compartment into which the OCI cache user will be moved.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

func (ChangeOciCacheUserCompartmentDetails) String

func (m ChangeOciCacheUserCompartmentDetails) String() string

func (ChangeOciCacheUserCompartmentDetails) ValidateEnumValue

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

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

type ChangeOciCacheUserCompartmentRequest

ChangeOciCacheUserCompartmentRequest wrapper for the ChangeOciCacheUserCompartment operation

See also

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

type ChangeOciCacheUserCompartmentRequest struct {

    // A filter to return only resources, that match with the given OCI cache user ID (OCID).
    OciCacheUserId *string `mandatory:"true" contributesTo:"path" name:"ociCacheUserId"`

    // The configuration details to move compartment operation for an OCI cache user.
    ChangeOciCacheUserCompartmentDetails `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
}

func (ChangeOciCacheUserCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeOciCacheUserCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeOciCacheUserCompartmentRequest) RetryPolicy

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

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

func (ChangeOciCacheUserCompartmentRequest) String

func (request ChangeOciCacheUserCompartmentRequest) String() string

func (ChangeOciCacheUserCompartmentRequest) ValidateEnumValue

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

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

type ChangeOciCacheUserCompartmentResponse

ChangeOciCacheUserCompartmentResponse wrapper for the ChangeOciCacheUserCompartment operation

type ChangeOciCacheUserCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (ChangeOciCacheUserCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeOciCacheUserCompartmentResponse) String

func (response ChangeOciCacheUserCompartmentResponse) String() string

type ChangeRedisClusterCompartmentDetails

ChangeRedisClusterCompartmentDetails The configuration details for the move operation.

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

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

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.

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
}

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

ChangeRedisClusterCompartmentResponse wrapper for the ChangeRedisClusterCompartment operation

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

func (ChangeRedisClusterCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeRedisClusterCompartmentResponse) String

func (response ChangeRedisClusterCompartmentResponse) String() string

type ConfigurationDetails

ConfigurationDetails List of OCI Cache Config Set Values.

type ConfigurationDetails struct {

    // List of ConfigurationInfo objects.
    Items []ConfigurationInfo `mandatory:"true" json:"items"`
}

func (ConfigurationDetails) String

func (m ConfigurationDetails) String() string

func (ConfigurationDetails) ValidateEnumValue

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

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

type ConfigurationInfo

ConfigurationInfo Details of a configuration setting in the OCI Cache Config Set.

type ConfigurationInfo struct {

    // Key is the configuration key.
    ConfigKey *string `mandatory:"true" json:"configKey"`

    // Value of the configuration as a string. Can represent a string, boolean, or number.
    // Example: "true", "42", or "someString".
    ConfigValue *string `mandatory:"true" json:"configValue"`
}

func (ConfigurationInfo) String

func (m ConfigurationInfo) String() string

func (ConfigurationInfo) ValidateEnumValue

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

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

type CreateIdentityTokenDetails

CreateIdentityTokenDetails Generate an Identity token for Redis cluster

type CreateIdentityTokenDetails struct {

    // User public key pair
    PublicKey *string `mandatory:"true" json:"publicKey"`

    // Redis User generating identity token.
    RedisUser *string `mandatory:"true" json:"redisUser"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (CreateIdentityTokenDetails) String

func (m CreateIdentityTokenDetails) String() string

func (CreateIdentityTokenDetails) ValidateEnumValue

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

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

type CreateIdentityTokenRequest

CreateIdentityTokenRequest wrapper for the CreateIdentityToken operation

See also

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

type CreateIdentityTokenRequest struct {

    // Details to create the token
    CreateIdentityTokenDetails `contributesTo:"body"`

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

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

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (CreateIdentityTokenRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateIdentityTokenRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateIdentityTokenRequest) RetryPolicy

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

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

func (CreateIdentityTokenRequest) String

func (request CreateIdentityTokenRequest) String() string

func (CreateIdentityTokenRequest) ValidateEnumValue

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

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

type CreateIdentityTokenResponse

CreateIdentityTokenResponse wrapper for the CreateIdentityToken operation

type CreateIdentityTokenResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The IdentityTokenDetailsResponse instance
    IdentityTokenDetailsResponse `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"`
}

func (CreateIdentityTokenResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateIdentityTokenResponse) String

func (response CreateIdentityTokenResponse) String() string

type CreateOciCacheConfigSetDetails

CreateOciCacheConfigSetDetails The information to create a new OCI Cache Config Set.

type CreateOciCacheConfigSetDetails 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 OCI Cache Config Set.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The OCI Cache engine version that the cluster is running.
    SoftwareVersion OciCacheConfigSetSoftwareVersionEnum `mandatory:"true" json:"softwareVersion"`

    ConfigurationDetails *ConfigurationDetails `mandatory:"true" json:"configurationDetails"`

    // Description for the custom OCI Cache Config Set.
    Description *string `mandatory:"false" json:"description"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (CreateOciCacheConfigSetDetails) String

func (m CreateOciCacheConfigSetDetails) String() string

func (CreateOciCacheConfigSetDetails) ValidateEnumValue

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

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

type CreateOciCacheConfigSetRequest

CreateOciCacheConfigSetRequest wrapper for the CreateOciCacheConfigSet operation

See also

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

type CreateOciCacheConfigSetRequest struct {

    // Details for the new OCI Cache Config Set.
    CreateOciCacheConfigSetDetails `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
}

func (CreateOciCacheConfigSetRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateOciCacheConfigSetRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateOciCacheConfigSetRequest) RetryPolicy

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

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

func (CreateOciCacheConfigSetRequest) String

func (request CreateOciCacheConfigSetRequest) String() string

func (CreateOciCacheConfigSetRequest) ValidateEnumValue

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

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

type CreateOciCacheConfigSetResponse

CreateOciCacheConfigSetResponse wrapper for the CreateOciCacheConfigSet operation

type CreateOciCacheConfigSetResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OciCacheConfigSet instance
    OciCacheConfigSet `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"`
}

func (CreateOciCacheConfigSetResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateOciCacheConfigSetResponse) String

func (response CreateOciCacheConfigSetResponse) String() string

type CreateOciCacheUserDetails

CreateOciCacheUserDetails Details required to create a new OCI cache user.

type CreateOciCacheUserDetails struct {

    // OCI cache user name is required to connect to an OCI cache cluster.
    Name *string `mandatory:"true" json:"name"`

    // Description of OCI cache user.
    Description *string `mandatory:"true" json:"description"`

    // OCI cache user compartment ID.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    AuthenticationMode AuthenticationMode `mandatory:"true" json:"authenticationMode"`

    // ACL string of OCI cache user.
    AclString *string `mandatory:"true" json:"aclString"`

    // OCI cache user status. ON enables and OFF disables the OCI cache user to login to the associated clusters. Default value is ON.
    Status OciCacheUserStatusEnum `mandatory:"false" json:"status,omitempty"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (CreateOciCacheUserDetails) String

func (m CreateOciCacheUserDetails) String() string

func (*CreateOciCacheUserDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (CreateOciCacheUserDetails) ValidateEnumValue

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

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

type CreateOciCacheUserRequest

CreateOciCacheUserRequest wrapper for the CreateOciCacheUser operation

See also

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

type CreateOciCacheUserRequest struct {

    // Details required to create a new OCI cache user.
    CreateOciCacheUserDetails `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
}

func (CreateOciCacheUserRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateOciCacheUserRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateOciCacheUserRequest) RetryPolicy

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

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

func (CreateOciCacheUserRequest) String

func (request CreateOciCacheUserRequest) String() string

func (CreateOciCacheUserRequest) ValidateEnumValue

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

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

type CreateOciCacheUserResponse

CreateOciCacheUserResponse wrapper for the CreateOciCacheUser operation

type CreateOciCacheUserResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OciCacheUser instance
    OciCacheUser `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"`
}

func (CreateOciCacheUserResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateOciCacheUserResponse) String

func (response CreateOciCacheUserResponse) String() string

type CreateRedisClusterDetails

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

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

    // The ID of the corresponding OCI Cache Config Set for the cluster.
    OciCacheConfigSetId *string `mandatory:"false" json:"ociCacheConfigSetId"`

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

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

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.

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
}

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

CreateRedisClusterResponse wrapper for the CreateRedisCluster operation

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

func (CreateRedisClusterResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateRedisClusterResponse) String

func (response CreateRedisClusterResponse) String() string

type DefaultConfigurationDetails

DefaultConfigurationDetails List of OCI Cache Default Config Set Values.

type DefaultConfigurationDetails struct {

    // List of DefaultConfigurationInfo objects.
    Items []DefaultConfigurationInfo `mandatory:"true" json:"items"`
}

func (DefaultConfigurationDetails) String

func (m DefaultConfigurationDetails) String() string

func (DefaultConfigurationDetails) ValidateEnumValue

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

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

type DefaultConfigurationInfo

DefaultConfigurationInfo Details of a configuration setting in the OCI Cache Default Config Set.

type DefaultConfigurationInfo struct {

    // The key of the configuration setting.
    ConfigKey *string `mandatory:"true" json:"configKey"`

    // The default value for the configuration setting.
    DefaultConfigValue *string `mandatory:"true" json:"defaultConfigValue"`

    // The data type of the configuration setting.
    DataType *string `mandatory:"true" json:"dataType"`

    // Indicates if the configuration is modifiable.
    IsModifiable *bool `mandatory:"true" json:"isModifiable"`

    // Allowed values for the configuration setting.
    AllowedValues *string `mandatory:"false" json:"allowedValues"`

    // Description of the configuration setting.
    Description *string `mandatory:"false" json:"description"`
}

func (DefaultConfigurationInfo) String

func (m DefaultConfigurationInfo) String() string

func (DefaultConfigurationInfo) ValidateEnumValue

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

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

type DeleteOciCacheConfigSetRequest

DeleteOciCacheConfigSetRequest wrapper for the DeleteOciCacheConfigSet operation

See also

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

type DeleteOciCacheConfigSetRequest struct {

    // Unique OCI Cache Config Set identifier.
    OciCacheConfigSetId *string `mandatory:"true" contributesTo:"path" name:"ociCacheConfigSetId"`

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

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

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DeleteOciCacheConfigSetRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteOciCacheConfigSetRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteOciCacheConfigSetRequest) RetryPolicy

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

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

func (DeleteOciCacheConfigSetRequest) String

func (request DeleteOciCacheConfigSetRequest) String() string

func (DeleteOciCacheConfigSetRequest) ValidateEnumValue

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

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

type DeleteOciCacheConfigSetResponse

DeleteOciCacheConfigSetResponse wrapper for the DeleteOciCacheConfigSet operation

type DeleteOciCacheConfigSetResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (DeleteOciCacheConfigSetResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteOciCacheConfigSetResponse) String

func (response DeleteOciCacheConfigSetResponse) String() string

type DeleteOciCacheUserRequest

DeleteOciCacheUserRequest wrapper for the DeleteOciCacheUser operation

See also

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

type DeleteOciCacheUserRequest struct {

    // A filter to return only resources, that match with the given OCI cache user ID (OCID).
    OciCacheUserId *string `mandatory:"true" contributesTo:"path" name:"ociCacheUserId"`

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

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

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DeleteOciCacheUserRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteOciCacheUserRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteOciCacheUserRequest) RetryPolicy

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

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

func (DeleteOciCacheUserRequest) String

func (request DeleteOciCacheUserRequest) String() string

func (DeleteOciCacheUserRequest) ValidateEnumValue

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

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

type DeleteOciCacheUserResponse

DeleteOciCacheUserResponse wrapper for the DeleteOciCacheUser operation

type DeleteOciCacheUserResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (DeleteOciCacheUserResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteOciCacheUserResponse) String

func (response DeleteOciCacheUserResponse) String() string

type DeleteRedisClusterRequest

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.

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
}

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

DeleteRedisClusterResponse wrapper for the DeleteRedisCluster operation

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

func (DeleteRedisClusterResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteRedisClusterResponse) String

func (response DeleteRedisClusterResponse) String() string

type DetachOciCacheUsersDetails

DetachOciCacheUsersDetails OCI cache user details to be detached with a cluster.

type DetachOciCacheUsersDetails struct {

    // List of OCI cache user unique IDs (OCIDs).
    OciCacheUsers []string `mandatory:"true" json:"ociCacheUsers"`
}

func (DetachOciCacheUsersDetails) String

func (m DetachOciCacheUsersDetails) String() string

func (DetachOciCacheUsersDetails) ValidateEnumValue

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

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

type DetachOciCacheUsersRequest

DetachOciCacheUsersRequest wrapper for the DetachOciCacheUsers operation

See also

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

type DetachOciCacheUsersRequest 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 parameter details to detach the OCI cache users to the redis cluster.
    DetachOciCacheUsersDetails `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
}

func (DetachOciCacheUsersRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DetachOciCacheUsersRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DetachOciCacheUsersRequest) RetryPolicy

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

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

func (DetachOciCacheUsersRequest) String

func (request DetachOciCacheUsersRequest) String() string

func (DetachOciCacheUsersRequest) ValidateEnumValue

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

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

type DetachOciCacheUsersResponse

DetachOciCacheUsersResponse wrapper for the DetachOciCacheUsers operation

type DetachOciCacheUsersResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (DetachOciCacheUsersResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DetachOciCacheUsersResponse) String

func (response DetachOciCacheUsersResponse) String() string

type GetOciCacheConfigSetRequest

GetOciCacheConfigSetRequest wrapper for the GetOciCacheConfigSet operation

See also

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

type GetOciCacheConfigSetRequest struct {

    // Unique OCI Cache Config Set identifier.
    OciCacheConfigSetId *string `mandatory:"true" contributesTo:"path" name:"ociCacheConfigSetId"`

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

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetOciCacheConfigSetRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetOciCacheConfigSetRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetOciCacheConfigSetRequest) RetryPolicy

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

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

func (GetOciCacheConfigSetRequest) String

func (request GetOciCacheConfigSetRequest) String() string

func (GetOciCacheConfigSetRequest) ValidateEnumValue

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

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

type GetOciCacheConfigSetResponse

GetOciCacheConfigSetResponse wrapper for the GetOciCacheConfigSet operation

type GetOciCacheConfigSetResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OciCacheConfigSet instance
    OciCacheConfigSet `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"`
}

func (GetOciCacheConfigSetResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetOciCacheConfigSetResponse) String

func (response GetOciCacheConfigSetResponse) String() string

type GetOciCacheDefaultConfigSetRequest

GetOciCacheDefaultConfigSetRequest wrapper for the GetOciCacheDefaultConfigSet operation

See also

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

type GetOciCacheDefaultConfigSetRequest struct {

    // The unique identifier for the compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Unique OCI Cache Default Config Set identifier.
    OciCacheDefaultConfigSetId *string `mandatory:"true" contributesTo:"path" name:"ociCacheDefaultConfigSetId"`

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

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetOciCacheDefaultConfigSetRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetOciCacheDefaultConfigSetRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetOciCacheDefaultConfigSetRequest) RetryPolicy

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

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

func (GetOciCacheDefaultConfigSetRequest) String

func (request GetOciCacheDefaultConfigSetRequest) String() string

func (GetOciCacheDefaultConfigSetRequest) ValidateEnumValue

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

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

type GetOciCacheDefaultConfigSetResponse

GetOciCacheDefaultConfigSetResponse wrapper for the GetOciCacheDefaultConfigSet operation

type GetOciCacheDefaultConfigSetResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OciCacheDefaultConfigSet instance
    OciCacheDefaultConfigSet `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"`
}

func (GetOciCacheDefaultConfigSetResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetOciCacheDefaultConfigSetResponse) String

func (response GetOciCacheDefaultConfigSetResponse) String() string

type GetOciCacheUserRequest

GetOciCacheUserRequest wrapper for the GetOciCacheUser operation

See also

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

type GetOciCacheUserRequest struct {

    // A filter to return only resources, that match with the given OCI cache user ID (OCID).
    OciCacheUserId *string `mandatory:"true" contributesTo:"path" name:"ociCacheUserId"`

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

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetOciCacheUserRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetOciCacheUserRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetOciCacheUserRequest) RetryPolicy

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

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

func (GetOciCacheUserRequest) String

func (request GetOciCacheUserRequest) String() string

func (GetOciCacheUserRequest) ValidateEnumValue

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

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

type GetOciCacheUserResponse

GetOciCacheUserResponse wrapper for the GetOciCacheUser operation

type GetOciCacheUserResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OciCacheUser instance
    OciCacheUser `presentIn:"body"`

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

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

func (GetOciCacheUserResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetOciCacheUserResponse) String

func (response GetOciCacheUserResponse) String() string

type GetRedisClusterRequest

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.

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
}

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

GetRedisClusterResponse wrapper for the GetRedisCluster operation

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

func (GetRedisClusterResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetRedisClusterResponse) String

func (response GetRedisClusterResponse) String() string

type GetWorkRequestRequest

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.

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
}

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

GetWorkRequestResponse wrapper for the GetWorkRequest operation

type GetWorkRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The WorkRequest instance
    WorkRequest `presentIn:"body"`

    // For optimistic concurrency control. See `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"`
}

func (GetWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String

func (response GetWorkRequestResponse) String() string

type IamAuthenticationMode

IamAuthenticationMode child class of AuthenticationMode.

type IamAuthenticationMode struct {
}

func (IamAuthenticationMode) MarshalJSON

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

MarshalJSON marshals to json representation

func (IamAuthenticationMode) String

func (m IamAuthenticationMode) String() string

func (IamAuthenticationMode) ValidateEnumValue

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

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

type IdentityTokenDetailsResponse

IdentityTokenDetailsResponse Response an Identity token generated for Redis cluster

type IdentityTokenDetailsResponse struct {

    // Generated Identity token
    IdentityToken *string `mandatory:"true" json:"identityToken"`

    // Redis user for the newly created identity token
    RedisUser *string `mandatory:"true" json:"redisUser"`
}

func (IdentityTokenDetailsResponse) String

func (m IdentityTokenDetailsResponse) String() string

func (IdentityTokenDetailsResponse) ValidateEnumValue

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

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

type ListAssociatedOciCacheClustersRequest

ListAssociatedOciCacheClustersRequest wrapper for the ListAssociatedOciCacheClusters operation

See also

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

type ListAssociatedOciCacheClustersRequest struct {

    // Unique OCI Cache Config Set identifier.
    OciCacheConfigSetId *string `mandatory:"true" contributesTo:"path" name:"ociCacheConfigSetId"`

    // 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 ListAssociatedOciCacheClustersSortOrderEnum `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 ListAssociatedOciCacheClustersSortByEnum `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
}

func (ListAssociatedOciCacheClustersRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListAssociatedOciCacheClustersRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListAssociatedOciCacheClustersRequest) RetryPolicy

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

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

func (ListAssociatedOciCacheClustersRequest) String

func (request ListAssociatedOciCacheClustersRequest) String() string

func (ListAssociatedOciCacheClustersRequest) ValidateEnumValue

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

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

type ListAssociatedOciCacheClustersResponse

ListAssociatedOciCacheClustersResponse wrapper for the ListAssociatedOciCacheClusters operation

type ListAssociatedOciCacheClustersResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of AssociatedOciCacheClusterCollection instances
    AssociatedOciCacheClusterCollection `presentIn:"body"`

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

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListAssociatedOciCacheClustersResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListAssociatedOciCacheClustersResponse) String

func (response ListAssociatedOciCacheClustersResponse) String() string

type ListAssociatedOciCacheClustersSortByEnum

ListAssociatedOciCacheClustersSortByEnum Enum with underlying type: string

type ListAssociatedOciCacheClustersSortByEnum string

Set of constants representing the allowable values for ListAssociatedOciCacheClustersSortByEnum

const (
    ListAssociatedOciCacheClustersSortByTimecreated ListAssociatedOciCacheClustersSortByEnum = "timeCreated"
    ListAssociatedOciCacheClustersSortByDisplayname ListAssociatedOciCacheClustersSortByEnum = "displayName"
)

func GetListAssociatedOciCacheClustersSortByEnumValues

func GetListAssociatedOciCacheClustersSortByEnumValues() []ListAssociatedOciCacheClustersSortByEnum

GetListAssociatedOciCacheClustersSortByEnumValues Enumerates the set of values for ListAssociatedOciCacheClustersSortByEnum

func GetMappingListAssociatedOciCacheClustersSortByEnum

func GetMappingListAssociatedOciCacheClustersSortByEnum(val string) (ListAssociatedOciCacheClustersSortByEnum, bool)

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

type ListAssociatedOciCacheClustersSortOrderEnum

ListAssociatedOciCacheClustersSortOrderEnum Enum with underlying type: string

type ListAssociatedOciCacheClustersSortOrderEnum string

Set of constants representing the allowable values for ListAssociatedOciCacheClustersSortOrderEnum

const (
    ListAssociatedOciCacheClustersSortOrderAsc  ListAssociatedOciCacheClustersSortOrderEnum = "ASC"
    ListAssociatedOciCacheClustersSortOrderDesc ListAssociatedOciCacheClustersSortOrderEnum = "DESC"
)

func GetListAssociatedOciCacheClustersSortOrderEnumValues

func GetListAssociatedOciCacheClustersSortOrderEnumValues() []ListAssociatedOciCacheClustersSortOrderEnum

GetListAssociatedOciCacheClustersSortOrderEnumValues Enumerates the set of values for ListAssociatedOciCacheClustersSortOrderEnum

func GetMappingListAssociatedOciCacheClustersSortOrderEnum

func GetMappingListAssociatedOciCacheClustersSortOrderEnum(val string) (ListAssociatedOciCacheClustersSortOrderEnum, bool)

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

type ListAttachedOciCacheUsersRequest

ListAttachedOciCacheUsersRequest wrapper for the ListAttachedOciCacheUsers operation

See also

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

type ListAttachedOciCacheUsersRequest 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 ID of the compartment in which to list resources.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // 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 ListAttachedOciCacheUsersSortOrderEnum `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 ListAttachedOciCacheUsersSortByEnum `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
}

func (ListAttachedOciCacheUsersRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListAttachedOciCacheUsersRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListAttachedOciCacheUsersRequest) RetryPolicy

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

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

func (ListAttachedOciCacheUsersRequest) String

func (request ListAttachedOciCacheUsersRequest) String() string

func (ListAttachedOciCacheUsersRequest) ValidateEnumValue

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

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

type ListAttachedOciCacheUsersResponse

ListAttachedOciCacheUsersResponse wrapper for the ListAttachedOciCacheUsers operation

type ListAttachedOciCacheUsersResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []AttachedOciCacheUser instances
    Items []AttachedOciCacheUser `presentIn:"body"`

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

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListAttachedOciCacheUsersResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListAttachedOciCacheUsersResponse) String

func (response ListAttachedOciCacheUsersResponse) String() string

type ListAttachedOciCacheUsersSortByEnum

ListAttachedOciCacheUsersSortByEnum Enum with underlying type: string

type ListAttachedOciCacheUsersSortByEnum string

Set of constants representing the allowable values for ListAttachedOciCacheUsersSortByEnum

const (
    ListAttachedOciCacheUsersSortByTimecreated ListAttachedOciCacheUsersSortByEnum = "timeCreated"
    ListAttachedOciCacheUsersSortByDisplayname ListAttachedOciCacheUsersSortByEnum = "displayName"
)

func GetListAttachedOciCacheUsersSortByEnumValues

func GetListAttachedOciCacheUsersSortByEnumValues() []ListAttachedOciCacheUsersSortByEnum

GetListAttachedOciCacheUsersSortByEnumValues Enumerates the set of values for ListAttachedOciCacheUsersSortByEnum

func GetMappingListAttachedOciCacheUsersSortByEnum

func GetMappingListAttachedOciCacheUsersSortByEnum(val string) (ListAttachedOciCacheUsersSortByEnum, bool)

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

type ListAttachedOciCacheUsersSortOrderEnum

ListAttachedOciCacheUsersSortOrderEnum Enum with underlying type: string

type ListAttachedOciCacheUsersSortOrderEnum string

Set of constants representing the allowable values for ListAttachedOciCacheUsersSortOrderEnum

const (
    ListAttachedOciCacheUsersSortOrderAsc  ListAttachedOciCacheUsersSortOrderEnum = "ASC"
    ListAttachedOciCacheUsersSortOrderDesc ListAttachedOciCacheUsersSortOrderEnum = "DESC"
)

func GetListAttachedOciCacheUsersSortOrderEnumValues

func GetListAttachedOciCacheUsersSortOrderEnumValues() []ListAttachedOciCacheUsersSortOrderEnum

GetListAttachedOciCacheUsersSortOrderEnumValues Enumerates the set of values for ListAttachedOciCacheUsersSortOrderEnum

func GetMappingListAttachedOciCacheUsersSortOrderEnum

func GetMappingListAttachedOciCacheUsersSortOrderEnum(val string) (ListAttachedOciCacheUsersSortOrderEnum, bool)

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

type ListAttachedRedisClustersRequest

ListAttachedRedisClustersRequest wrapper for the ListAttachedRedisClusters operation

See also

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

type ListAttachedRedisClustersRequest struct {

    // A filter to return only resources, that match with the given OCI cache user ID (OCID).
    OciCacheUserId *string `mandatory:"true" contributesTo:"path" name:"ociCacheUserId"`

    // The ID of the compartment in which to list resources.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // 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 ListAttachedRedisClustersSortOrderEnum `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 ListAttachedRedisClustersSortByEnum `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
}

func (ListAttachedRedisClustersRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListAttachedRedisClustersRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListAttachedRedisClustersRequest) RetryPolicy

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

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

func (ListAttachedRedisClustersRequest) String

func (request ListAttachedRedisClustersRequest) String() string

func (ListAttachedRedisClustersRequest) ValidateEnumValue

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

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

type ListAttachedRedisClustersResponse

ListAttachedRedisClustersResponse wrapper for the ListAttachedRedisClusters operation

type ListAttachedRedisClustersResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []AttachedOciCacheCluster instances
    Items []AttachedOciCacheCluster `presentIn:"body"`

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

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListAttachedRedisClustersResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListAttachedRedisClustersResponse) String

func (response ListAttachedRedisClustersResponse) String() string

type ListAttachedRedisClustersSortByEnum

ListAttachedRedisClustersSortByEnum Enum with underlying type: string

type ListAttachedRedisClustersSortByEnum string

Set of constants representing the allowable values for ListAttachedRedisClustersSortByEnum

const (
    ListAttachedRedisClustersSortByTimecreated ListAttachedRedisClustersSortByEnum = "timeCreated"
    ListAttachedRedisClustersSortByDisplayname ListAttachedRedisClustersSortByEnum = "displayName"
)

func GetListAttachedRedisClustersSortByEnumValues

func GetListAttachedRedisClustersSortByEnumValues() []ListAttachedRedisClustersSortByEnum

GetListAttachedRedisClustersSortByEnumValues Enumerates the set of values for ListAttachedRedisClustersSortByEnum

func GetMappingListAttachedRedisClustersSortByEnum

func GetMappingListAttachedRedisClustersSortByEnum(val string) (ListAttachedRedisClustersSortByEnum, bool)

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

type ListAttachedRedisClustersSortOrderEnum

ListAttachedRedisClustersSortOrderEnum Enum with underlying type: string

type ListAttachedRedisClustersSortOrderEnum string

Set of constants representing the allowable values for ListAttachedRedisClustersSortOrderEnum

const (
    ListAttachedRedisClustersSortOrderAsc  ListAttachedRedisClustersSortOrderEnum = "ASC"
    ListAttachedRedisClustersSortOrderDesc ListAttachedRedisClustersSortOrderEnum = "DESC"
)

func GetListAttachedRedisClustersSortOrderEnumValues

func GetListAttachedRedisClustersSortOrderEnumValues() []ListAttachedRedisClustersSortOrderEnum

GetListAttachedRedisClustersSortOrderEnumValues Enumerates the set of values for ListAttachedRedisClustersSortOrderEnum

func GetMappingListAttachedRedisClustersSortOrderEnum

func GetMappingListAttachedRedisClustersSortOrderEnum(val string) (ListAttachedRedisClustersSortOrderEnum, bool)

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

type ListOciCacheConfigSetsRequest

ListOciCacheConfigSetsRequest wrapper for the ListOciCacheConfigSets operation

See also

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

type ListOciCacheConfigSetsRequest struct {

    // The ID of the compartment in which to list resources.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // A filter to return the OCI Cache Config Set resources, whose lifecycle state matches with the given lifecycle state.
    LifecycleState OciCacheConfigSetLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // A filter to return the OCI Cache Config Set resources, whose software version matches with the given software version.
    SoftwareVersion OciCacheConfigSetSoftwareVersionEnum `mandatory:"false" contributesTo:"query" name:"softwareVersion" omitEmpty:"true"`

    // A filter to return only resources that match the entire display name given.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // Unique OCI Cache Config Set identifier.
    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 ListOciCacheConfigSetsSortOrderEnum `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 ListOciCacheConfigSetsSortByEnum `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
}

func (ListOciCacheConfigSetsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListOciCacheConfigSetsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListOciCacheConfigSetsRequest) RetryPolicy

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

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

func (ListOciCacheConfigSetsRequest) String

func (request ListOciCacheConfigSetsRequest) String() string

func (ListOciCacheConfigSetsRequest) ValidateEnumValue

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

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

type ListOciCacheConfigSetsResponse

ListOciCacheConfigSetsResponse wrapper for the ListOciCacheConfigSets operation

type ListOciCacheConfigSetsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of OciCacheConfigSetCollection instances
    OciCacheConfigSetCollection `presentIn:"body"`

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

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListOciCacheConfigSetsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListOciCacheConfigSetsResponse) String

func (response ListOciCacheConfigSetsResponse) String() string

type ListOciCacheConfigSetsSortByEnum

ListOciCacheConfigSetsSortByEnum Enum with underlying type: string

type ListOciCacheConfigSetsSortByEnum string

Set of constants representing the allowable values for ListOciCacheConfigSetsSortByEnum

const (
    ListOciCacheConfigSetsSortByTimecreated ListOciCacheConfigSetsSortByEnum = "timeCreated"
    ListOciCacheConfigSetsSortByDisplayname ListOciCacheConfigSetsSortByEnum = "displayName"
)

func GetListOciCacheConfigSetsSortByEnumValues

func GetListOciCacheConfigSetsSortByEnumValues() []ListOciCacheConfigSetsSortByEnum

GetListOciCacheConfigSetsSortByEnumValues Enumerates the set of values for ListOciCacheConfigSetsSortByEnum

func GetMappingListOciCacheConfigSetsSortByEnum

func GetMappingListOciCacheConfigSetsSortByEnum(val string) (ListOciCacheConfigSetsSortByEnum, bool)

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

type ListOciCacheConfigSetsSortOrderEnum

ListOciCacheConfigSetsSortOrderEnum Enum with underlying type: string

type ListOciCacheConfigSetsSortOrderEnum string

Set of constants representing the allowable values for ListOciCacheConfigSetsSortOrderEnum

const (
    ListOciCacheConfigSetsSortOrderAsc  ListOciCacheConfigSetsSortOrderEnum = "ASC"
    ListOciCacheConfigSetsSortOrderDesc ListOciCacheConfigSetsSortOrderEnum = "DESC"
)

func GetListOciCacheConfigSetsSortOrderEnumValues

func GetListOciCacheConfigSetsSortOrderEnumValues() []ListOciCacheConfigSetsSortOrderEnum

GetListOciCacheConfigSetsSortOrderEnumValues Enumerates the set of values for ListOciCacheConfigSetsSortOrderEnum

func GetMappingListOciCacheConfigSetsSortOrderEnum

func GetMappingListOciCacheConfigSetsSortOrderEnum(val string) (ListOciCacheConfigSetsSortOrderEnum, bool)

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

type ListOciCacheDefaultConfigSetsRequest

ListOciCacheDefaultConfigSetsRequest wrapper for the ListOciCacheDefaultConfigSets operation

See also

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

type ListOciCacheDefaultConfigSetsRequest struct {

    // The unique identifier for the compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Unique OCI Cache Default Config Set identifier.
    Id *string `mandatory:"false" contributesTo:"query" name:"id"`

    // A filter to return the OCI Cache Default Config Set resources, whose lifecycle state matches with the given lifecycle state.
    LifecycleState OciCacheDefaultConfigSetLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // A filter to return the OCI Cache Config Set resources, whose software version matches with the given software version.
    SoftwareVersion OciCacheConfigSetSoftwareVersionEnum `mandatory:"false" contributesTo:"query" name:"softwareVersion" omitEmpty:"true"`

    // A filter to return only resources that match the entire display name given.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // 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 ListOciCacheDefaultConfigSetsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The sort order to use, either 'ASC' or 'DESC'.
    SortOrder ListOciCacheDefaultConfigSetsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-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"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListOciCacheDefaultConfigSetsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListOciCacheDefaultConfigSetsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListOciCacheDefaultConfigSetsRequest) RetryPolicy

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

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

func (ListOciCacheDefaultConfigSetsRequest) String

func (request ListOciCacheDefaultConfigSetsRequest) String() string

func (ListOciCacheDefaultConfigSetsRequest) ValidateEnumValue

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

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

type ListOciCacheDefaultConfigSetsResponse

ListOciCacheDefaultConfigSetsResponse wrapper for the ListOciCacheDefaultConfigSets operation

type ListOciCacheDefaultConfigSetsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of OciCacheDefaultConfigSetCollection instances
    OciCacheDefaultConfigSetCollection `presentIn:"body"`

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

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListOciCacheDefaultConfigSetsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListOciCacheDefaultConfigSetsResponse) String

func (response ListOciCacheDefaultConfigSetsResponse) String() string

type ListOciCacheDefaultConfigSetsSortByEnum

ListOciCacheDefaultConfigSetsSortByEnum Enum with underlying type: string

type ListOciCacheDefaultConfigSetsSortByEnum string

Set of constants representing the allowable values for ListOciCacheDefaultConfigSetsSortByEnum

const (
    ListOciCacheDefaultConfigSetsSortByTimecreated ListOciCacheDefaultConfigSetsSortByEnum = "timeCreated"
    ListOciCacheDefaultConfigSetsSortByDisplayname ListOciCacheDefaultConfigSetsSortByEnum = "displayName"
)

func GetListOciCacheDefaultConfigSetsSortByEnumValues

func GetListOciCacheDefaultConfigSetsSortByEnumValues() []ListOciCacheDefaultConfigSetsSortByEnum

GetListOciCacheDefaultConfigSetsSortByEnumValues Enumerates the set of values for ListOciCacheDefaultConfigSetsSortByEnum

func GetMappingListOciCacheDefaultConfigSetsSortByEnum

func GetMappingListOciCacheDefaultConfigSetsSortByEnum(val string) (ListOciCacheDefaultConfigSetsSortByEnum, bool)

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

type ListOciCacheDefaultConfigSetsSortOrderEnum

ListOciCacheDefaultConfigSetsSortOrderEnum Enum with underlying type: string

type ListOciCacheDefaultConfigSetsSortOrderEnum string

Set of constants representing the allowable values for ListOciCacheDefaultConfigSetsSortOrderEnum

const (
    ListOciCacheDefaultConfigSetsSortOrderAsc  ListOciCacheDefaultConfigSetsSortOrderEnum = "ASC"
    ListOciCacheDefaultConfigSetsSortOrderDesc ListOciCacheDefaultConfigSetsSortOrderEnum = "DESC"
)

func GetListOciCacheDefaultConfigSetsSortOrderEnumValues

func GetListOciCacheDefaultConfigSetsSortOrderEnumValues() []ListOciCacheDefaultConfigSetsSortOrderEnum

GetListOciCacheDefaultConfigSetsSortOrderEnumValues Enumerates the set of values for ListOciCacheDefaultConfigSetsSortOrderEnum

func GetMappingListOciCacheDefaultConfigSetsSortOrderEnum

func GetMappingListOciCacheDefaultConfigSetsSortOrderEnum(val string) (ListOciCacheDefaultConfigSetsSortOrderEnum, bool)

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

type ListOciCacheUsersRequest

ListOciCacheUsersRequest wrapper for the ListOciCacheUsers operation

See also

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

type ListOciCacheUsersRequest struct {

    // The ID of the compartment in which to list resources.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // A filter to return the resources that match with the given OCI cache user name.
    Name *string `mandatory:"false" contributesTo:"query" name:"name"`

    // A filter to return the resources, whose lifecycleState matches with the given lifecycleState.
    LifecycleState OciCacheUserLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // 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 ListOciCacheUsersSortOrderEnum `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 ListOciCacheUsersSortByEnum `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
}

func (ListOciCacheUsersRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListOciCacheUsersRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListOciCacheUsersRequest) RetryPolicy

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

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

func (ListOciCacheUsersRequest) String

func (request ListOciCacheUsersRequest) String() string

func (ListOciCacheUsersRequest) ValidateEnumValue

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

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

type ListOciCacheUsersResponse

ListOciCacheUsersResponse wrapper for the ListOciCacheUsers operation

type ListOciCacheUsersResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of OciCacheUserCollection instances
    OciCacheUserCollection `presentIn:"body"`

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

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListOciCacheUsersResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListOciCacheUsersResponse) String

func (response ListOciCacheUsersResponse) String() string

type ListOciCacheUsersSortByEnum

ListOciCacheUsersSortByEnum Enum with underlying type: string

type ListOciCacheUsersSortByEnum string

Set of constants representing the allowable values for ListOciCacheUsersSortByEnum

const (
    ListOciCacheUsersSortByTimecreated ListOciCacheUsersSortByEnum = "timeCreated"
    ListOciCacheUsersSortByDisplayname ListOciCacheUsersSortByEnum = "displayName"
)

func GetListOciCacheUsersSortByEnumValues

func GetListOciCacheUsersSortByEnumValues() []ListOciCacheUsersSortByEnum

GetListOciCacheUsersSortByEnumValues Enumerates the set of values for ListOciCacheUsersSortByEnum

func GetMappingListOciCacheUsersSortByEnum

func GetMappingListOciCacheUsersSortByEnum(val string) (ListOciCacheUsersSortByEnum, bool)

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

type ListOciCacheUsersSortOrderEnum

ListOciCacheUsersSortOrderEnum Enum with underlying type: string

type ListOciCacheUsersSortOrderEnum string

Set of constants representing the allowable values for ListOciCacheUsersSortOrderEnum

const (
    ListOciCacheUsersSortOrderAsc  ListOciCacheUsersSortOrderEnum = "ASC"
    ListOciCacheUsersSortOrderDesc ListOciCacheUsersSortOrderEnum = "DESC"
)

func GetListOciCacheUsersSortOrderEnumValues

func GetListOciCacheUsersSortOrderEnumValues() []ListOciCacheUsersSortOrderEnum

GetListOciCacheUsersSortOrderEnumValues Enumerates the set of values for ListOciCacheUsersSortOrderEnum

func GetMappingListOciCacheUsersSortOrderEnum

func GetMappingListOciCacheUsersSortOrderEnum(val string) (ListOciCacheUsersSortOrderEnum, bool)

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

type ListRedisClusterNodesRequest

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.

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
}

func (ListRedisClusterNodesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListRedisClusterNodesRequest) HTTPRequest

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

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

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

func (ListRedisClusterNodesRequest) String

func (request ListRedisClusterNodesRequest) String() string

func (ListRedisClusterNodesRequest) ValidateEnumValue

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

ListRedisClusterNodesResponse wrapper for the ListRedisClusterNodes operation

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

func (ListRedisClusterNodesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListRedisClusterNodesResponse) String

func (response ListRedisClusterNodesResponse) String() string

type ListRedisClusterNodesSortByEnum

ListRedisClusterNodesSortByEnum Enum with underlying type: string

type ListRedisClusterNodesSortByEnum string

Set of constants representing the allowable values for ListRedisClusterNodesSortByEnum

const (
    ListRedisClusterNodesSortByTimecreated ListRedisClusterNodesSortByEnum = "timeCreated"
    ListRedisClusterNodesSortByDisplayname ListRedisClusterNodesSortByEnum = "displayName"
)

func GetListRedisClusterNodesSortByEnumValues

func GetListRedisClusterNodesSortByEnumValues() []ListRedisClusterNodesSortByEnum

GetListRedisClusterNodesSortByEnumValues Enumerates the set of values for ListRedisClusterNodesSortByEnum

func GetMappingListRedisClusterNodesSortByEnum

func GetMappingListRedisClusterNodesSortByEnum(val string) (ListRedisClusterNodesSortByEnum, bool)

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

type ListRedisClusterNodesSortOrderEnum

ListRedisClusterNodesSortOrderEnum Enum with underlying type: string

type ListRedisClusterNodesSortOrderEnum string

Set of constants representing the allowable values for ListRedisClusterNodesSortOrderEnum

const (
    ListRedisClusterNodesSortOrderAsc  ListRedisClusterNodesSortOrderEnum = "ASC"
    ListRedisClusterNodesSortOrderDesc ListRedisClusterNodesSortOrderEnum = "DESC"
)

func GetListRedisClusterNodesSortOrderEnumValues

func GetListRedisClusterNodesSortOrderEnumValues() []ListRedisClusterNodesSortOrderEnum

GetListRedisClusterNodesSortOrderEnumValues Enumerates the set of values for ListRedisClusterNodesSortOrderEnum

func GetMappingListRedisClusterNodesSortOrderEnum

func GetMappingListRedisClusterNodesSortOrderEnum(val string) (ListRedisClusterNodesSortOrderEnum, bool)

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

type ListRedisClustersRequest

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.

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
}

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

ListRedisClustersResponse wrapper for the ListRedisClusters operation

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

func (ListRedisClustersResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListRedisClustersResponse) String

func (response ListRedisClustersResponse) String() string

type ListRedisClustersSortByEnum

ListRedisClustersSortByEnum Enum with underlying type: string

type ListRedisClustersSortByEnum string

Set of constants representing the allowable values for ListRedisClustersSortByEnum

const (
    ListRedisClustersSortByTimecreated ListRedisClustersSortByEnum = "timeCreated"
    ListRedisClustersSortByDisplayname ListRedisClustersSortByEnum = "displayName"
)

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

ListRedisClustersSortOrderEnum Enum with underlying type: string

type ListRedisClustersSortOrderEnum string

Set of constants representing the allowable values for ListRedisClustersSortOrderEnum

const (
    ListRedisClustersSortOrderAsc  ListRedisClustersSortOrderEnum = "ASC"
    ListRedisClustersSortOrderDesc ListRedisClustersSortOrderEnum = "DESC"
)

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

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.

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
}

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

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

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

func (ListWorkRequestErrorsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestErrorsSortByEnum

ListWorkRequestErrorsSortByEnum Enum with underlying type: string

type ListWorkRequestErrorsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum

const (
    ListWorkRequestErrorsSortByTimeaccepted ListWorkRequestErrorsSortByEnum = "timeAccepted"
)

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

ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string

type ListWorkRequestErrorsSortOrderEnum string

Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum

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

func GetListWorkRequestErrorsSortOrderEnumValues

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

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.

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
}

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

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

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

func (ListWorkRequestLogsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestLogsSortByEnum

ListWorkRequestLogsSortByEnum Enum with underlying type: string

type ListWorkRequestLogsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum

const (
    ListWorkRequestLogsSortByTimeaccepted ListWorkRequestLogsSortByEnum = "timeAccepted"
)

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

ListWorkRequestLogsSortOrderEnum Enum with underlying type: string

type ListWorkRequestLogsSortOrderEnum string

Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum

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

func GetListWorkRequestLogsSortOrderEnumValues

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

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.

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
}

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

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

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

func (ListWorkRequestsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String

func (response ListWorkRequestsResponse) String() string

type ListWorkRequestsSortByEnum

ListWorkRequestsSortByEnum Enum with underlying type: string

type ListWorkRequestsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestsSortByEnum

const (
    ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
)

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

ListWorkRequestsSortOrderEnum Enum with underlying type: string

type ListWorkRequestsSortOrderEnum string

Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum

const (
    ListWorkRequestsSortOrderAsc  ListWorkRequestsSortOrderEnum = "ASC"
    ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC"
)

func GetListWorkRequestsSortOrderEnumValues

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

ListWorkRequestsStatusEnum Enum with underlying type: string

type ListWorkRequestsStatusEnum string

Set of constants representing the allowable values for ListWorkRequestsStatusEnum

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

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

Node The details of each node in the cluster.

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

func (Node) String

func (m Node) String() string

func (Node) ValidateEnumValue

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

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

type NodeCollection

NodeCollection The collection of cluster nodes.

type NodeCollection struct {

    // Collection of node objects.
    Items []Node `mandatory:"true" json:"items"`
}

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

NodeSummary The details of each node in the cluster.

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

func (NodeSummary) String

func (m NodeSummary) String() string

func (NodeSummary) ValidateEnumValue

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 OciCacheConfigSet

OciCacheConfigSet Configurations for OCI Cache to manage the behavior, performance, and functionality of the underlying cache engine.

type OciCacheConfigSet struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the OCI Cache Config Set.
    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 OCI Cache Config Set.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The current state of the OCI Cache Config Set.
    LifecycleState OciCacheConfigSetLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The OCI Cache engine version that the cluster is running.
    SoftwareVersion OciCacheConfigSetSoftwareVersionEnum `mandatory:"true" json:"softwareVersion"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the default OCI Cache Config Set which the custom OCI Cache Config Set is based upon.
    DefaultConfigSetId *string `mandatory:"false" json:"defaultConfigSetId"`

    // A description of the OCI Cache Config Set.
    Description *string `mandatory:"false" json:"description"`

    // 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 date and time the OCI Cache Config Set 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 OCI Cache Config Set was updated. An RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    ConfigurationDetails *ConfigurationDetails `mandatory:"false" json:"configurationDetails"`

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

func (OciCacheConfigSet) String

func (m OciCacheConfigSet) String() string

func (OciCacheConfigSet) ValidateEnumValue

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

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

type OciCacheConfigSetClient

OciCacheConfigSetClient a client for OciCacheConfigSet

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

func NewOciCacheConfigSetClientWithConfigurationProvider

func NewOciCacheConfigSetClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client OciCacheConfigSetClient, err error)

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

func NewOciCacheConfigSetClientWithOboToken

func NewOciCacheConfigSetClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client OciCacheConfigSetClient, err error)

NewOciCacheConfigSetClientWithOboToken Creates a new default OciCacheConfigSet 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 (OciCacheConfigSetClient) ChangeOciCacheConfigSetCompartment

func (client OciCacheConfigSetClient) ChangeOciCacheConfigSetCompartment(ctx context.Context, request ChangeOciCacheConfigSetCompartmentRequest) (response ChangeOciCacheConfigSetCompartmentResponse, err error)

ChangeOciCacheConfigSetCompartment Moves an OCI Cache Config Set into a different compartment within the same tenancy.

See also

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

func (*OciCacheConfigSetClient) ConfigurationProvider

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

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

func (OciCacheConfigSetClient) CreateOciCacheConfigSet

func (client OciCacheConfigSetClient) CreateOciCacheConfigSet(ctx context.Context, request CreateOciCacheConfigSetRequest) (response CreateOciCacheConfigSetResponse, err error)

CreateOciCacheConfigSet Create a new OCI Cache Config Set for the given OCI cache engine version.

See also

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

func (OciCacheConfigSetClient) DeleteOciCacheConfigSet

func (client OciCacheConfigSetClient) DeleteOciCacheConfigSet(ctx context.Context, request DeleteOciCacheConfigSetRequest) (response DeleteOciCacheConfigSetResponse, err error)

DeleteOciCacheConfigSet Deletes the specified OCI Cache Config Set.

See also

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

func (OciCacheConfigSetClient) GetOciCacheConfigSet

func (client OciCacheConfigSetClient) GetOciCacheConfigSet(ctx context.Context, request GetOciCacheConfigSetRequest) (response GetOciCacheConfigSetResponse, err error)

GetOciCacheConfigSet Retrieves the specified OCI Cache Config Set.

See also

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

func (OciCacheConfigSetClient) ListAssociatedOciCacheClusters

func (client OciCacheConfigSetClient) ListAssociatedOciCacheClusters(ctx context.Context, request ListAssociatedOciCacheClustersRequest) (response ListAssociatedOciCacheClustersResponse, err error)

ListAssociatedOciCacheClusters Gets a list of associated OCI Cache clusters for an OCI Cache Config Set.

See also

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

func (OciCacheConfigSetClient) ListOciCacheConfigSets

func (client OciCacheConfigSetClient) ListOciCacheConfigSets(ctx context.Context, request ListOciCacheConfigSetsRequest) (response ListOciCacheConfigSetsResponse, err error)

ListOciCacheConfigSets Lists the OCI Cache Config Sets in the specified compartment.

See also

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

func (*OciCacheConfigSetClient) SetRegion

func (client *OciCacheConfigSetClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (OciCacheConfigSetClient) UpdateOciCacheConfigSet

func (client OciCacheConfigSetClient) UpdateOciCacheConfigSet(ctx context.Context, request UpdateOciCacheConfigSetRequest) (response UpdateOciCacheConfigSetResponse, err error)

UpdateOciCacheConfigSet Updates the specified OCI Cache Config Set.

See also

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

type OciCacheConfigSetCollection

OciCacheConfigSetCollection A list of OCI Cache Config Sets that match filter criteria, if any.

type OciCacheConfigSetCollection struct {

    // List of OCI Cache Config Sets.
    Items []OciCacheConfigSetSummary `mandatory:"true" json:"items"`
}

func (OciCacheConfigSetCollection) String

func (m OciCacheConfigSetCollection) String() string

func (OciCacheConfigSetCollection) ValidateEnumValue

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

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

type OciCacheConfigSetLifecycleStateEnum

OciCacheConfigSetLifecycleStateEnum Enum with underlying type: string

type OciCacheConfigSetLifecycleStateEnum string

Set of constants representing the allowable values for OciCacheConfigSetLifecycleStateEnum

const (
    OciCacheConfigSetLifecycleStateCreating OciCacheConfigSetLifecycleStateEnum = "CREATING"
    OciCacheConfigSetLifecycleStateUpdating OciCacheConfigSetLifecycleStateEnum = "UPDATING"
    OciCacheConfigSetLifecycleStateActive   OciCacheConfigSetLifecycleStateEnum = "ACTIVE"
    OciCacheConfigSetLifecycleStateDeleting OciCacheConfigSetLifecycleStateEnum = "DELETING"
    OciCacheConfigSetLifecycleStateDeleted  OciCacheConfigSetLifecycleStateEnum = "DELETED"
    OciCacheConfigSetLifecycleStateFailed   OciCacheConfigSetLifecycleStateEnum = "FAILED"
)

func GetMappingOciCacheConfigSetLifecycleStateEnum

func GetMappingOciCacheConfigSetLifecycleStateEnum(val string) (OciCacheConfigSetLifecycleStateEnum, bool)

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

func GetOciCacheConfigSetLifecycleStateEnumValues

func GetOciCacheConfigSetLifecycleStateEnumValues() []OciCacheConfigSetLifecycleStateEnum

GetOciCacheConfigSetLifecycleStateEnumValues Enumerates the set of values for OciCacheConfigSetLifecycleStateEnum

type OciCacheConfigSetSoftwareVersionEnum

OciCacheConfigSetSoftwareVersionEnum Enum with underlying type: string

type OciCacheConfigSetSoftwareVersionEnum string

Set of constants representing the allowable values for OciCacheConfigSetSoftwareVersionEnum

const (
    OciCacheConfigSetSoftwareVersionV705     OciCacheConfigSetSoftwareVersionEnum = "V7_0_5"
    OciCacheConfigSetSoftwareVersionRedis70  OciCacheConfigSetSoftwareVersionEnum = "REDIS_7_0"
    OciCacheConfigSetSoftwareVersionValkey72 OciCacheConfigSetSoftwareVersionEnum = "VALKEY_7_2"
)

func GetMappingOciCacheConfigSetSoftwareVersionEnum

func GetMappingOciCacheConfigSetSoftwareVersionEnum(val string) (OciCacheConfigSetSoftwareVersionEnum, bool)

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

func GetOciCacheConfigSetSoftwareVersionEnumValues

func GetOciCacheConfigSetSoftwareVersionEnumValues() []OciCacheConfigSetSoftwareVersionEnum

GetOciCacheConfigSetSoftwareVersionEnumValues Enumerates the set of values for OciCacheConfigSetSoftwareVersionEnum

type OciCacheConfigSetSummary

OciCacheConfigSetSummary Summary of information about the OCI Cache Config Set.

type OciCacheConfigSetSummary struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the OCI Cache Config Set.
    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 OCI Cache Config Set.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the default OCI Cache Config Set which the custom OCI Cache Config Set is based upon.
    DefaultConfigSetId *string `mandatory:"false" json:"defaultConfigSetId"`

    // A user-friendly name of the OCI Cache Config Set.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The current state of the OCI Cache Config Set.
    LifecycleState OciCacheConfigSetLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // The engine version of the OCI Cache Config Set.
    SoftwareVersion OciCacheConfigSetSoftwareVersionEnum `mandatory:"false" json:"softwareVersion,omitempty"`

    // The date and time the configuration 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 configuration was updated. An RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (OciCacheConfigSetSummary) String

func (m OciCacheConfigSetSummary) String() string

func (OciCacheConfigSetSummary) ValidateEnumValue

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

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

type OciCacheDefaultConfigSet

OciCacheDefaultConfigSet Default configurations for OCI Cache to manage the behavior, performance, and functionality of the underlying cache engine.

type OciCacheDefaultConfigSet struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the OCI Cache Default Config Set.
    Id *string `mandatory:"true" json:"id"`

    // The engine version of the OCI Cache Default Config Set.
    SoftwareVersion OciCacheConfigSetSoftwareVersionEnum `mandatory:"true" json:"softwareVersion"`

    // A user-friendly name of the OCI Cache Default Config Set.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Description of the OCI Cache Default Config Set.
    Description *string `mandatory:"false" json:"description"`

    // The date and time the OCI Cache Default Config Set was created. An RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The current state of the OCI Cache Default Config Set.
    LifecycleState OciCacheDefaultConfigSetLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    DefaultConfigurationDetails *DefaultConfigurationDetails `mandatory:"false" json:"defaultConfigurationDetails"`
}

func (OciCacheDefaultConfigSet) String

func (m OciCacheDefaultConfigSet) String() string

func (OciCacheDefaultConfigSet) ValidateEnumValue

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

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

type OciCacheDefaultConfigSetClient

OciCacheDefaultConfigSetClient a client for OciCacheDefaultConfigSet

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

func NewOciCacheDefaultConfigSetClientWithConfigurationProvider

func NewOciCacheDefaultConfigSetClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client OciCacheDefaultConfigSetClient, err error)

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

func NewOciCacheDefaultConfigSetClientWithOboToken

func NewOciCacheDefaultConfigSetClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client OciCacheDefaultConfigSetClient, err error)

NewOciCacheDefaultConfigSetClientWithOboToken Creates a new default OciCacheDefaultConfigSet 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 (*OciCacheDefaultConfigSetClient) ConfigurationProvider

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

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

func (OciCacheDefaultConfigSetClient) GetOciCacheDefaultConfigSet

func (client OciCacheDefaultConfigSetClient) GetOciCacheDefaultConfigSet(ctx context.Context, request GetOciCacheDefaultConfigSetRequest) (response GetOciCacheDefaultConfigSetResponse, err error)

GetOciCacheDefaultConfigSet Retrieves the specified OCI Cache Default Config Set.

See also

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

func (OciCacheDefaultConfigSetClient) ListOciCacheDefaultConfigSets

func (client OciCacheDefaultConfigSetClient) ListOciCacheDefaultConfigSets(ctx context.Context, request ListOciCacheDefaultConfigSetsRequest) (response ListOciCacheDefaultConfigSetsResponse, err error)

ListOciCacheDefaultConfigSets Lists the OCI Cache Default Config Sets in the specified compartment.

See also

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

func (*OciCacheDefaultConfigSetClient) SetRegion

func (client *OciCacheDefaultConfigSetClient) SetRegion(region string)

SetRegion overrides the region of this client.

type OciCacheDefaultConfigSetCollection

OciCacheDefaultConfigSetCollection A list of OCI Cache Default Config Sets.

type OciCacheDefaultConfigSetCollection struct {

    // List of OCI Cache Default Config Sets.
    Items []OciCacheDefaultConfigSetSummary `mandatory:"true" json:"items"`
}

func (OciCacheDefaultConfigSetCollection) String

func (m OciCacheDefaultConfigSetCollection) String() string

func (OciCacheDefaultConfigSetCollection) ValidateEnumValue

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

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

type OciCacheDefaultConfigSetLifecycleStateEnum

OciCacheDefaultConfigSetLifecycleStateEnum Enum with underlying type: string

type OciCacheDefaultConfigSetLifecycleStateEnum string

Set of constants representing the allowable values for OciCacheDefaultConfigSetLifecycleStateEnum

const (
    OciCacheDefaultConfigSetLifecycleStateActive   OciCacheDefaultConfigSetLifecycleStateEnum = "ACTIVE"
    OciCacheDefaultConfigSetLifecycleStateInactive OciCacheDefaultConfigSetLifecycleStateEnum = "INACTIVE"
)

func GetMappingOciCacheDefaultConfigSetLifecycleStateEnum

func GetMappingOciCacheDefaultConfigSetLifecycleStateEnum(val string) (OciCacheDefaultConfigSetLifecycleStateEnum, bool)

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

func GetOciCacheDefaultConfigSetLifecycleStateEnumValues

func GetOciCacheDefaultConfigSetLifecycleStateEnumValues() []OciCacheDefaultConfigSetLifecycleStateEnum

GetOciCacheDefaultConfigSetLifecycleStateEnumValues Enumerates the set of values for OciCacheDefaultConfigSetLifecycleStateEnum

type OciCacheDefaultConfigSetSummary

OciCacheDefaultConfigSetSummary Summary of information about an OCI Cache Default Config Set.

type OciCacheDefaultConfigSetSummary struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the OCI Cache Default Config Set.
    Id *string `mandatory:"true" json:"id"`

    // The engine version of the OCI Cache Default Config Set.
    SoftwareVersion OciCacheConfigSetSoftwareVersionEnum `mandatory:"true" json:"softwareVersion"`

    // A user-friendly name of the OCI Cache Default Config Set.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The current state of the OCI Cache Default Config Set.
    LifecycleState OciCacheDefaultConfigSetLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // The date and time the configuration was created. An RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
}

func (OciCacheDefaultConfigSetSummary) String

func (m OciCacheDefaultConfigSetSummary) String() string

func (OciCacheDefaultConfigSetSummary) ValidateEnumValue

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

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

type OciCacheUser

OciCacheUser An OCI cache user is required to connect to an OCI cache cluster.

type OciCacheUser struct {

    // OCI Cache user unique ID.
    Id *string `mandatory:"true" json:"id"`

    // OCI Cache user name.
    Name *string `mandatory:"true" json:"name"`

    // OCI Cache user compartment ID.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    AuthenticationMode AuthenticationMode `mandatory:"true" json:"authenticationMode"`

    // ACL string of OCI cache user.
    AclString *string `mandatory:"true" json:"aclString"`

    // OCI Cache user status. ON enables and OFF disables the OCI cache user to login to the cluster.
    Status OciCacheUserStatusEnum `mandatory:"true" json:"status"`

    // OCI Cache user lifecycle state.
    LifecycleState OciCacheUserLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // Description of OCI cache user.
    Description *string `mandatory:"false" json:"description"`

    // The date and time, when the OCI cache user was created.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The date and time, when the OCI cache user was updated.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (OciCacheUser) String

func (m OciCacheUser) String() string

func (*OciCacheUser) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (OciCacheUser) ValidateEnumValue

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

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

type OciCacheUserClient

OciCacheUserClient a client for OciCacheUser

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

func NewOciCacheUserClientWithConfigurationProvider

func NewOciCacheUserClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client OciCacheUserClient, err error)

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

func NewOciCacheUserClientWithOboToken

func NewOciCacheUserClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client OciCacheUserClient, err error)

NewOciCacheUserClientWithOboToken Creates a new default OciCacheUser 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 (OciCacheUserClient) ChangeOciCacheUserCompartment

func (client OciCacheUserClient) ChangeOciCacheUserCompartment(ctx context.Context, request ChangeOciCacheUserCompartmentRequest) (response ChangeOciCacheUserCompartmentResponse, err error)

ChangeOciCacheUserCompartment Moves an OCI Cache User from one compartment to another within the same tenancy.

See also

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

func (*OciCacheUserClient) ConfigurationProvider

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

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

func (OciCacheUserClient) CreateOciCacheUser

func (client OciCacheUserClient) CreateOciCacheUser(ctx context.Context, request CreateOciCacheUserRequest) (response CreateOciCacheUserResponse, err error)

CreateOciCacheUser Creates a new OCI Cache user. OCI Cache user is required to authenticate to OCI Cache cluster.

See also

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

func (OciCacheUserClient) DeleteOciCacheUser

func (client OciCacheUserClient) DeleteOciCacheUser(ctx context.Context, request DeleteOciCacheUserRequest) (response DeleteOciCacheUserResponse, err error)

DeleteOciCacheUser Deletes an existing OCI Cache User based on the OCI cache user unique ID (OCID).

See also

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

func (OciCacheUserClient) GetOciCacheUser

func (client OciCacheUserClient) GetOciCacheUser(ctx context.Context, request GetOciCacheUserRequest) (response GetOciCacheUserResponse, err error)

GetOciCacheUser Get an existing OCI Cache users based on the ID (OCID).

See also

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

func (OciCacheUserClient) ListAttachedRedisClusters

func (client OciCacheUserClient) ListAttachedRedisClusters(ctx context.Context, request ListAttachedRedisClustersRequest) (response ListAttachedRedisClustersResponse, err error)

ListAttachedRedisClusters Gets a list of associated redis cluster for an OCI cache user.

See also

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

func (OciCacheUserClient) ListOciCacheUsers

func (client OciCacheUserClient) ListOciCacheUsers(ctx context.Context, request ListOciCacheUsersRequest) (response ListOciCacheUsersResponse, err error)

ListOciCacheUsers Lists the OCI Cache users based on the supplied parameters.

See also

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

func (*OciCacheUserClient) SetRegion

func (client *OciCacheUserClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (OciCacheUserClient) UpdateOciCacheUser

func (client OciCacheUserClient) UpdateOciCacheUser(ctx context.Context, request UpdateOciCacheUserRequest) (response UpdateOciCacheUserResponse, err error)

UpdateOciCacheUser Update an existing OCI Cache User with new details.

See also

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

type OciCacheUserCollection

OciCacheUserCollection A list of OCI cache users that match filter criteria, if any.

type OciCacheUserCollection struct {

    // A collection of OCI Cache users.
    Items []OciCacheUserSummary `mandatory:"true" json:"items"`
}

func (OciCacheUserCollection) String

func (m OciCacheUserCollection) String() string

func (OciCacheUserCollection) ValidateEnumValue

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

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

type OciCacheUserLifecycleStateEnum

OciCacheUserLifecycleStateEnum Enum with underlying type: string

type OciCacheUserLifecycleStateEnum string

Set of constants representing the allowable values for OciCacheUserLifecycleStateEnum

const (
    OciCacheUserLifecycleStateCreating OciCacheUserLifecycleStateEnum = "CREATING"
    OciCacheUserLifecycleStateUpdating OciCacheUserLifecycleStateEnum = "UPDATING"
    OciCacheUserLifecycleStateActive   OciCacheUserLifecycleStateEnum = "ACTIVE"
    OciCacheUserLifecycleStateDeleting OciCacheUserLifecycleStateEnum = "DELETING"
    OciCacheUserLifecycleStateDeleted  OciCacheUserLifecycleStateEnum = "DELETED"
    OciCacheUserLifecycleStateFailed   OciCacheUserLifecycleStateEnum = "FAILED"
)

func GetMappingOciCacheUserLifecycleStateEnum

func GetMappingOciCacheUserLifecycleStateEnum(val string) (OciCacheUserLifecycleStateEnum, bool)

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

func GetOciCacheUserLifecycleStateEnumValues

func GetOciCacheUserLifecycleStateEnumValues() []OciCacheUserLifecycleStateEnum

GetOciCacheUserLifecycleStateEnumValues Enumerates the set of values for OciCacheUserLifecycleStateEnum

type OciCacheUserStatusEnum

OciCacheUserStatusEnum Enum with underlying type: string

type OciCacheUserStatusEnum string

Set of constants representing the allowable values for OciCacheUserStatusEnum

const (
    OciCacheUserStatusOn  OciCacheUserStatusEnum = "ON"
    OciCacheUserStatusOff OciCacheUserStatusEnum = "OFF"
)

func GetMappingOciCacheUserStatusEnum

func GetMappingOciCacheUserStatusEnum(val string) (OciCacheUserStatusEnum, bool)

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

func GetOciCacheUserStatusEnumValues

func GetOciCacheUserStatusEnumValues() []OciCacheUserStatusEnum

GetOciCacheUserStatusEnumValues Enumerates the set of values for OciCacheUserStatusEnum

type OciCacheUserSummary

OciCacheUserSummary OCI Cache user summary.

type OciCacheUserSummary struct {

    // OCI Cache user unique ID.
    Id *string `mandatory:"true" json:"id"`

    // OCI Cache user name.
    Name *string `mandatory:"true" json:"name"`

    // OCI Cache user compartment ID.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // OCI Cache user authentication type.
    AuthenticationType AuthenticationModeAuthenticationTypeEnum `mandatory:"true" json:"authenticationType"`

    // OCI Cache user status. ON enables and OFF disables the OCI cache user to use the cluster.
    Status OciCacheUserStatusEnum `mandatory:"true" json:"status"`

    // OCI Cache user lifecycle state.
    LifecycleState OciCacheUserLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // Description of OCI cache user.
    Description *string `mandatory:"true" json:"description"`

    // The date and time, when the OCI cache user was created.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

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

func (OciCacheUserSummary) String

func (m OciCacheUserSummary) String() string

func (OciCacheUserSummary) ValidateEnumValue

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

ValidateEnumValue returns an error 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

OperationStatusEnum Enum with underlying type: string

type OperationStatusEnum string

Set of constants representing the allowable values for OperationStatusEnum

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

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

OperationTypeEnum Enum with underlying type: string

type OperationTypeEnum string

Set of constants representing the allowable values for OperationTypeEnum

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"
    OperationTypeMigrateCluster                     OperationTypeEnum = "MIGRATE_CLUSTER"
    OperationTypeClusterRollback                    OperationTypeEnum = "CLUSTER_ROLLBACK"
    OperationTypeAttachOciCacheUsers                OperationTypeEnum = "ATTACH_OCI_CACHE_USERS"
    OperationTypeDetachOciCacheUsers                OperationTypeEnum = "DETACH_OCI_CACHE_USERS"
    OperationTypeCreateOciCacheUser                 OperationTypeEnum = "CREATE_OCI_CACHE_USER"
    OperationTypeUpdateOciCacheUser                 OperationTypeEnum = "UPDATE_OCI_CACHE_USER"
    OperationTypeDeleteOciCacheUser                 OperationTypeEnum = "DELETE_OCI_CACHE_USER"
    OperationTypeCreateOciCacheConfigSet            OperationTypeEnum = "CREATE_OCI_CACHE_CONFIG_SET"
    OperationTypeUpdateOciCacheConfigSet            OperationTypeEnum = "UPDATE_OCI_CACHE_CONFIG_SET"
    OperationTypeDeleteOciCacheConfigSet            OperationTypeEnum = "DELETE_OCI_CACHE_CONFIG_SET"
    OperationTypeChangeOciCacheConfigSetCompartment OperationTypeEnum = "CHANGE_OCI_CACHE_CONFIG_SET_COMPARTMENT"
    OperationTypeChangeOciCacheUserCompartment      OperationTypeEnum = "CHANGE_OCI_CACHE_USER_COMPARTMENT"
)

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 PasswordAuthenticationMode

PasswordAuthenticationMode child class of AuthenticationMode.

type PasswordAuthenticationMode struct {

    // SHA-256 hashed passwords for OCI Cache user,required if authenticationType is set to PASSWORD.
    HashedPasswords []string `mandatory:"true" json:"hashedPasswords"`
}

func (PasswordAuthenticationMode) MarshalJSON

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

MarshalJSON marshals to json representation

func (PasswordAuthenticationMode) String

func (m PasswordAuthenticationMode) String() string

func (PasswordAuthenticationMode) ValidateEnumValue

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

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

type RedisCluster

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

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

    // The ID of the corresponding OCI Cache Config Set for the cluster.
    OciCacheConfigSetId *string `mandatory:"false" json:"ociCacheConfigSetId"`

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

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

RedisClusterClient a client for RedisCluster

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

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

func (client RedisClusterClient) AttachOciCacheUsers(ctx context.Context, request AttachOciCacheUsersRequest) (response AttachOciCacheUsersResponse, err error)

AttachOciCacheUsers Attach existing OCI cache users to a redis cluster.

See also

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

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

func (client RedisClusterClient) DetachOciCacheUsers(ctx context.Context, request DetachOciCacheUsersRequest) (response DetachOciCacheUsersResponse, err error)

DetachOciCacheUsers Detach existing OCI cache users to a redis cluster.

See also

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

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

func (client RedisClusterClient) ListAttachedOciCacheUsers(ctx context.Context, request ListAttachedOciCacheUsersRequest) (response ListAttachedOciCacheUsersResponse, err error)

ListAttachedOciCacheUsers Gets a list of associated OCI cache users for a redis cluster.

See also

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

func (RedisClusterClient) ListRedisClusterNodes

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

RedisClusterClusterModeEnum Enum with underlying type: string

type RedisClusterClusterModeEnum string

Set of constants representing the allowable values for RedisClusterClusterModeEnum

const (
    RedisClusterClusterModeSharded    RedisClusterClusterModeEnum = "SHARDED"
    RedisClusterClusterModeNonsharded RedisClusterClusterModeEnum = "NONSHARDED"
)

func GetMappingRedisClusterClusterModeEnum

func GetMappingRedisClusterClusterModeEnum(val string) (RedisClusterClusterModeEnum, bool)

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

func GetRedisClusterClusterModeEnumValues

func GetRedisClusterClusterModeEnumValues() []RedisClusterClusterModeEnum

GetRedisClusterClusterModeEnumValues Enumerates the set of values for RedisClusterClusterModeEnum

type RedisClusterCollection

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

type RedisClusterCollection struct {

    // The list of clusters.
    Items []RedisClusterSummary `mandatory:"true" json:"items"`
}

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

RedisClusterLifecycleStateEnum Enum with underlying type: string

type RedisClusterLifecycleStateEnum string

Set of constants representing the allowable values for RedisClusterLifecycleStateEnum

const (
    RedisClusterLifecycleStateCreating RedisClusterLifecycleStateEnum = "CREATING"
    RedisClusterLifecycleStateUpdating RedisClusterLifecycleStateEnum = "UPDATING"
    RedisClusterLifecycleStateActive   RedisClusterLifecycleStateEnum = "ACTIVE"
    RedisClusterLifecycleStateDeleting RedisClusterLifecycleStateEnum = "DELETING"
    RedisClusterLifecycleStateDeleted  RedisClusterLifecycleStateEnum = "DELETED"
    RedisClusterLifecycleStateFailed   RedisClusterLifecycleStateEnum = "FAILED"
)

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

RedisClusterSoftwareVersionEnum Enum with underlying type: string

type RedisClusterSoftwareVersionEnum string

Set of constants representing the allowable values for RedisClusterSoftwareVersionEnum

const (
    RedisClusterSoftwareVersionV705     RedisClusterSoftwareVersionEnum = "V7_0_5"
    RedisClusterSoftwareVersionRedis70  RedisClusterSoftwareVersionEnum = "REDIS_7_0"
    RedisClusterSoftwareVersionValkey72 RedisClusterSoftwareVersionEnum = "VALKEY_7_2"
)

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

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

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

    // The ID of the corresponding OCI Cache Config Set for the cluster.
    OciCacheConfigSetId *string `mandatory:"false" json:"ociCacheConfigSetId"`

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

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 RedisIdentityClient

RedisIdentityClient a client for RedisIdentity

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

func NewRedisIdentityClientWithConfigurationProvider

func NewRedisIdentityClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client RedisIdentityClient, err error)

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

func NewRedisIdentityClientWithOboToken

func NewRedisIdentityClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client RedisIdentityClient, err error)

NewRedisIdentityClientWithOboToken Creates a new default RedisIdentity 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 (*RedisIdentityClient) ConfigurationProvider

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

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

func (RedisIdentityClient) CreateIdentityToken

func (client RedisIdentityClient) CreateIdentityToken(ctx context.Context, request CreateIdentityTokenRequest) (response CreateIdentityTokenResponse, err error)

CreateIdentityToken Generates an identity token to sign in with the specified redis user for the redis cluster

See also

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

func (*RedisIdentityClient) SetRegion

func (client *RedisIdentityClient) SetRegion(region string)

SetRegion overrides the region of this client.

type RedisNodeCollection

RedisNodeCollection A list of nodes in a cluster that match filter criteria, if any.

type RedisNodeCollection struct {

    // The list of nodes in a cluster.
    Items []NodeSummary `mandatory:"true" json:"items"`
}

func (RedisNodeCollection) String

func (m RedisNodeCollection) String() string

func (RedisNodeCollection) ValidateEnumValue

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

SortOrderEnum Enum with underlying type: string

type SortOrderEnum string

Set of constants representing the allowable values for SortOrderEnum

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

func GetMappingSortOrderEnum

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 UpdateOciCacheConfigSetDetails

UpdateOciCacheConfigSetDetails The information to be updated for an existing OCI Cache Config Set.

type UpdateOciCacheConfigSetDetails struct {

    // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Description for the custom OCI Cache Config Set.
    Description *string `mandatory:"false" json:"description"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (UpdateOciCacheConfigSetDetails) String

func (m UpdateOciCacheConfigSetDetails) String() string

func (UpdateOciCacheConfigSetDetails) ValidateEnumValue

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

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

type UpdateOciCacheConfigSetRequest

UpdateOciCacheConfigSetRequest wrapper for the UpdateOciCacheConfigSet operation

See also

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

type UpdateOciCacheConfigSetRequest struct {

    // Unique OCI Cache Config Set identifier.
    OciCacheConfigSetId *string `mandatory:"true" contributesTo:"path" name:"ociCacheConfigSetId"`

    // The information to be updated for OCI Cache Config Set.
    UpdateOciCacheConfigSetDetails `contributesTo:"body"`

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

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

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateOciCacheConfigSetRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateOciCacheConfigSetRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateOciCacheConfigSetRequest) RetryPolicy

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

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

func (UpdateOciCacheConfigSetRequest) String

func (request UpdateOciCacheConfigSetRequest) String() string

func (UpdateOciCacheConfigSetRequest) ValidateEnumValue

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

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

type UpdateOciCacheConfigSetResponse

UpdateOciCacheConfigSetResponse wrapper for the UpdateOciCacheConfigSet operation

type UpdateOciCacheConfigSetResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (UpdateOciCacheConfigSetResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateOciCacheConfigSetResponse) String

func (response UpdateOciCacheConfigSetResponse) String() string

type UpdateOciCacheUserDetails

UpdateOciCacheUserDetails Details required to update an existing OCI cache user.

type UpdateOciCacheUserDetails struct {

    // Description of OCI cache user.
    Description *string `mandatory:"false" json:"description"`

    AuthenticationMode AuthenticationMode `mandatory:"false" json:"authenticationMode"`

    // ACL string of OCI cache user.
    AclString *string `mandatory:"false" json:"aclString"`

    // OCI cache user status. ON enables and OFF disables the OCI cache user to login to the associated clusters.
    Status OciCacheUserStatusEnum `mandatory:"false" json:"status,omitempty"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (UpdateOciCacheUserDetails) String

func (m UpdateOciCacheUserDetails) String() string

func (*UpdateOciCacheUserDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (UpdateOciCacheUserDetails) ValidateEnumValue

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

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

type UpdateOciCacheUserRequest

UpdateOciCacheUserRequest wrapper for the UpdateOciCacheUser operation

See also

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

type UpdateOciCacheUserRequest struct {

    // A filter to return only resources, that match with the given OCI cache user ID (OCID).
    OciCacheUserId *string `mandatory:"true" contributesTo:"path" name:"ociCacheUserId"`

    // The information to be updated for an existing OCI Cache User.
    UpdateOciCacheUserDetails `contributesTo:"body"`

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

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

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateOciCacheUserRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateOciCacheUserRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateOciCacheUserRequest) RetryPolicy

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

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

func (UpdateOciCacheUserRequest) String

func (request UpdateOciCacheUserRequest) String() string

func (UpdateOciCacheUserRequest) ValidateEnumValue

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

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

type UpdateOciCacheUserResponse

UpdateOciCacheUserResponse wrapper for the UpdateOciCacheUser operation

type UpdateOciCacheUserResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (UpdateOciCacheUserResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateOciCacheUserResponse) String

func (response UpdateOciCacheUserResponse) String() string

type UpdateRedisClusterDetails

UpdateRedisClusterDetails The configuration to update for an existing cluster.

type UpdateRedisClusterDetails struct {

    // The ID of the corresponding OCI Cache Config Set for the cluster.
    OciCacheConfigSetId *string `mandatory:"false" json:"ociCacheConfigSetId"`

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

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

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.

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
}

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

UpdateRedisClusterResponse wrapper for the UpdateRedisCluster operation

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

func (UpdateRedisClusterResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateRedisClusterResponse) String

func (response UpdateRedisClusterResponse) String() string

type WorkRequest

WorkRequest An asynchronous work request.

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

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

WorkRequestError An error encountered while executing an operation that is tracked by a work request.

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

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

WorkRequestErrorCollection A list of errors for a work request.

type WorkRequestErrorCollection struct {

    // A collection of work request errors.
    Items []WorkRequestError `mandatory:"true" json:"items"`
}

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

WorkRequestLogEntry A log message from executing an operation that is tracked by a work request.

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

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

WorkRequestLogEntryCollection A list of logs for the specified work request.

type WorkRequestLogEntryCollection struct {

    // A collection of work request logs.
    Items []WorkRequestLogEntry `mandatory:"true" json:"items"`
}

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

WorkRequestResource The resources that are affected by the work request.

type WorkRequestResource struct {

    // The resource type the work request affects.
    EntityType *string `mandatory:"true" json:"entityType"`

    // The way in which this resource is affected by the work tracked in the work request.
    // A resource being created, updated, or deleted will remain in the `IN_PROGRESS` state until
    // work is complete for that resource at which point it will transition to `CREATED`, `UPDATED`,
    // or `DELETED`, respectively.
    ActionType 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"`
}

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

WorkRequestSummary A description of the work request status.

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

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

WorkRequestSummaryCollection A list of work requests.

type WorkRequestSummaryCollection struct {

    // A collection of work requests.
    Items []WorkRequestSummary `mandatory:"true" json:"items"`
}

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