...

Package recovery

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

Overview ▾

Index ▾

func GetActionTypeEnumStringValues() []string
func GetDatabaseSizesEnumStringValues() []string
func GetFetchProtectedDatabaseConfigurationDetailsConfigurationTypeEnumStringValues() []string
func GetHealthEnumStringValues() []string
func GetLifecycleStateEnumStringValues() []string
func GetListProtectedDatabasesLifecycleStateEnumStringValues() []string
func GetListProtectedDatabasesSortByEnumStringValues() []string
func GetListProtectedDatabasesSortOrderEnumStringValues() []string
func GetListProtectionPoliciesLifecycleStateEnumStringValues() []string
func GetListProtectionPoliciesOwnerEnumStringValues() []string
func GetListProtectionPoliciesSortByEnumStringValues() []string
func GetListProtectionPoliciesSortOrderEnumStringValues() []string
func GetListRecoveryServiceSubnetsLifecycleStateEnumStringValues() []string
func GetListRecoveryServiceSubnetsSortByEnumStringValues() []string
func GetListRecoveryServiceSubnetsSortOrderEnumStringValues() []string
func GetListWorkRequestErrorsSortByEnumStringValues() []string
func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
func GetListWorkRequestLogsSortByEnumStringValues() []string
func GetListWorkRequestLogsSortOrderEnumStringValues() []string
func GetListWorkRequestsSortByEnumStringValues() []string
func GetListWorkRequestsSortOrderEnumStringValues() []string
func GetListWorkRequestsStatusEnumStringValues() []string
func GetOperationStatusEnumStringValues() []string
func GetOperationTypeEnumStringValues() []string
func GetSortOrderEnumStringValues() []string
type ActionTypeEnum
    func GetActionTypeEnumValues() []ActionTypeEnum
    func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
type ChangeProtectedDatabaseCompartmentDetails
    func (m ChangeProtectedDatabaseCompartmentDetails) String() string
    func (m ChangeProtectedDatabaseCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeProtectedDatabaseCompartmentRequest
    func (request ChangeProtectedDatabaseCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeProtectedDatabaseCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeProtectedDatabaseCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeProtectedDatabaseCompartmentRequest) String() string
    func (request ChangeProtectedDatabaseCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeProtectedDatabaseCompartmentResponse
    func (response ChangeProtectedDatabaseCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeProtectedDatabaseCompartmentResponse) String() string
type ChangeProtectionPolicyCompartmentDetails
    func (m ChangeProtectionPolicyCompartmentDetails) String() string
    func (m ChangeProtectionPolicyCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeProtectionPolicyCompartmentRequest
    func (request ChangeProtectionPolicyCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeProtectionPolicyCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeProtectionPolicyCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeProtectionPolicyCompartmentRequest) String() string
    func (request ChangeProtectionPolicyCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeProtectionPolicyCompartmentResponse
    func (response ChangeProtectionPolicyCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeProtectionPolicyCompartmentResponse) String() string
type ChangeRecoveryServiceSubnetCompartmentDetails
    func (m ChangeRecoveryServiceSubnetCompartmentDetails) String() string
    func (m ChangeRecoveryServiceSubnetCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeRecoveryServiceSubnetCompartmentRequest
    func (request ChangeRecoveryServiceSubnetCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeRecoveryServiceSubnetCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeRecoveryServiceSubnetCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeRecoveryServiceSubnetCompartmentRequest) String() string
    func (request ChangeRecoveryServiceSubnetCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeRecoveryServiceSubnetCompartmentResponse
    func (response ChangeRecoveryServiceSubnetCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeRecoveryServiceSubnetCompartmentResponse) String() string
type CreateProtectedDatabaseDetails
    func (m CreateProtectedDatabaseDetails) String() string
    func (m CreateProtectedDatabaseDetails) ValidateEnumValue() (bool, error)
type CreateProtectedDatabaseRequest
    func (request CreateProtectedDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateProtectedDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateProtectedDatabaseRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateProtectedDatabaseRequest) String() string
    func (request CreateProtectedDatabaseRequest) ValidateEnumValue() (bool, error)
type CreateProtectedDatabaseResponse
    func (response CreateProtectedDatabaseResponse) HTTPResponse() *http.Response
    func (response CreateProtectedDatabaseResponse) String() string
type CreateProtectionPolicyDetails
    func (m CreateProtectionPolicyDetails) String() string
    func (m CreateProtectionPolicyDetails) ValidateEnumValue() (bool, error)
type CreateProtectionPolicyRequest
    func (request CreateProtectionPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateProtectionPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateProtectionPolicyRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateProtectionPolicyRequest) String() string
    func (request CreateProtectionPolicyRequest) ValidateEnumValue() (bool, error)
type CreateProtectionPolicyResponse
    func (response CreateProtectionPolicyResponse) HTTPResponse() *http.Response
    func (response CreateProtectionPolicyResponse) String() string
type CreateRecoveryServiceSubnetDetails
    func (m CreateRecoveryServiceSubnetDetails) String() string
    func (m CreateRecoveryServiceSubnetDetails) ValidateEnumValue() (bool, error)
type CreateRecoveryServiceSubnetRequest
    func (request CreateRecoveryServiceSubnetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateRecoveryServiceSubnetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateRecoveryServiceSubnetRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateRecoveryServiceSubnetRequest) String() string
    func (request CreateRecoveryServiceSubnetRequest) ValidateEnumValue() (bool, error)
type CreateRecoveryServiceSubnetResponse
    func (response CreateRecoveryServiceSubnetResponse) HTTPResponse() *http.Response
    func (response CreateRecoveryServiceSubnetResponse) String() string
type DatabaseRecoveryClient
    func NewDatabaseRecoveryClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DatabaseRecoveryClient, err error)
    func NewDatabaseRecoveryClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DatabaseRecoveryClient, err error)
    func (client DatabaseRecoveryClient) ChangeProtectedDatabaseCompartment(ctx context.Context, request ChangeProtectedDatabaseCompartmentRequest) (response ChangeProtectedDatabaseCompartmentResponse, err error)
    func (client DatabaseRecoveryClient) ChangeProtectionPolicyCompartment(ctx context.Context, request ChangeProtectionPolicyCompartmentRequest) (response ChangeProtectionPolicyCompartmentResponse, err error)
    func (client DatabaseRecoveryClient) ChangeRecoveryServiceSubnetCompartment(ctx context.Context, request ChangeRecoveryServiceSubnetCompartmentRequest) (response ChangeRecoveryServiceSubnetCompartmentResponse, err error)
    func (client *DatabaseRecoveryClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client DatabaseRecoveryClient) CreateProtectedDatabase(ctx context.Context, request CreateProtectedDatabaseRequest) (response CreateProtectedDatabaseResponse, err error)
    func (client DatabaseRecoveryClient) CreateProtectionPolicy(ctx context.Context, request CreateProtectionPolicyRequest) (response CreateProtectionPolicyResponse, err error)
    func (client DatabaseRecoveryClient) CreateRecoveryServiceSubnet(ctx context.Context, request CreateRecoveryServiceSubnetRequest) (response CreateRecoveryServiceSubnetResponse, err error)
    func (client DatabaseRecoveryClient) DeleteProtectedDatabase(ctx context.Context, request DeleteProtectedDatabaseRequest) (response DeleteProtectedDatabaseResponse, err error)
    func (client DatabaseRecoveryClient) DeleteProtectionPolicy(ctx context.Context, request DeleteProtectionPolicyRequest) (response DeleteProtectionPolicyResponse, err error)
    func (client DatabaseRecoveryClient) DeleteRecoveryServiceSubnet(ctx context.Context, request DeleteRecoveryServiceSubnetRequest) (response DeleteRecoveryServiceSubnetResponse, err error)
    func (client DatabaseRecoveryClient) FetchProtectedDatabaseConfiguration(ctx context.Context, request FetchProtectedDatabaseConfigurationRequest) (response FetchProtectedDatabaseConfigurationResponse, err error)
    func (client DatabaseRecoveryClient) GetProtectedDatabase(ctx context.Context, request GetProtectedDatabaseRequest) (response GetProtectedDatabaseResponse, err error)
    func (client DatabaseRecoveryClient) GetProtectionPolicy(ctx context.Context, request GetProtectionPolicyRequest) (response GetProtectionPolicyResponse, err error)
    func (client DatabaseRecoveryClient) GetRecoveryServiceSubnet(ctx context.Context, request GetRecoveryServiceSubnetRequest) (response GetRecoveryServiceSubnetResponse, err error)
    func (client DatabaseRecoveryClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
    func (client DatabaseRecoveryClient) ListProtectedDatabases(ctx context.Context, request ListProtectedDatabasesRequest) (response ListProtectedDatabasesResponse, err error)
    func (client DatabaseRecoveryClient) ListProtectionPolicies(ctx context.Context, request ListProtectionPoliciesRequest) (response ListProtectionPoliciesResponse, err error)
    func (client DatabaseRecoveryClient) ListRecoveryServiceSubnets(ctx context.Context, request ListRecoveryServiceSubnetsRequest) (response ListRecoveryServiceSubnetsResponse, err error)
    func (client DatabaseRecoveryClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
    func (client DatabaseRecoveryClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
    func (client DatabaseRecoveryClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
    func (client *DatabaseRecoveryClient) SetRegion(region string)
    func (client DatabaseRecoveryClient) UpdateProtectedDatabase(ctx context.Context, request UpdateProtectedDatabaseRequest) (response UpdateProtectedDatabaseResponse, err error)
    func (client DatabaseRecoveryClient) UpdateProtectionPolicy(ctx context.Context, request UpdateProtectionPolicyRequest) (response UpdateProtectionPolicyResponse, err error)
    func (client DatabaseRecoveryClient) UpdateRecoveryServiceSubnet(ctx context.Context, request UpdateRecoveryServiceSubnetRequest) (response UpdateRecoveryServiceSubnetResponse, err error)
type DatabaseSizesEnum
    func GetDatabaseSizesEnumValues() []DatabaseSizesEnum
    func GetMappingDatabaseSizesEnum(val string) (DatabaseSizesEnum, bool)
type DeleteProtectedDatabaseRequest
    func (request DeleteProtectedDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteProtectedDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteProtectedDatabaseRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteProtectedDatabaseRequest) String() string
    func (request DeleteProtectedDatabaseRequest) ValidateEnumValue() (bool, error)
type DeleteProtectedDatabaseResponse
    func (response DeleteProtectedDatabaseResponse) HTTPResponse() *http.Response
    func (response DeleteProtectedDatabaseResponse) String() string
type DeleteProtectionPolicyRequest
    func (request DeleteProtectionPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteProtectionPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteProtectionPolicyRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteProtectionPolicyRequest) String() string
    func (request DeleteProtectionPolicyRequest) ValidateEnumValue() (bool, error)
type DeleteProtectionPolicyResponse
    func (response DeleteProtectionPolicyResponse) HTTPResponse() *http.Response
    func (response DeleteProtectionPolicyResponse) String() string
type DeleteRecoveryServiceSubnetRequest
    func (request DeleteRecoveryServiceSubnetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteRecoveryServiceSubnetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteRecoveryServiceSubnetRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteRecoveryServiceSubnetRequest) String() string
    func (request DeleteRecoveryServiceSubnetRequest) ValidateEnumValue() (bool, error)
type DeleteRecoveryServiceSubnetResponse
    func (response DeleteRecoveryServiceSubnetResponse) HTTPResponse() *http.Response
    func (response DeleteRecoveryServiceSubnetResponse) String() string
type FetchProtectedDatabaseConfigurationDetails
    func (m FetchProtectedDatabaseConfigurationDetails) String() string
    func (m FetchProtectedDatabaseConfigurationDetails) ValidateEnumValue() (bool, error)
type FetchProtectedDatabaseConfigurationDetailsConfigurationTypeEnum
    func GetFetchProtectedDatabaseConfigurationDetailsConfigurationTypeEnumValues() []FetchProtectedDatabaseConfigurationDetailsConfigurationTypeEnum
    func GetMappingFetchProtectedDatabaseConfigurationDetailsConfigurationTypeEnum(val string) (FetchProtectedDatabaseConfigurationDetailsConfigurationTypeEnum, bool)
type FetchProtectedDatabaseConfigurationRequest
    func (request FetchProtectedDatabaseConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request FetchProtectedDatabaseConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request FetchProtectedDatabaseConfigurationRequest) RetryPolicy() *common.RetryPolicy
    func (request FetchProtectedDatabaseConfigurationRequest) String() string
    func (request FetchProtectedDatabaseConfigurationRequest) ValidateEnumValue() (bool, error)
type FetchProtectedDatabaseConfigurationResponse
    func (response FetchProtectedDatabaseConfigurationResponse) HTTPResponse() *http.Response
    func (response FetchProtectedDatabaseConfigurationResponse) String() string
type GetProtectedDatabaseRequest
    func (request GetProtectedDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetProtectedDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetProtectedDatabaseRequest) RetryPolicy() *common.RetryPolicy
    func (request GetProtectedDatabaseRequest) String() string
    func (request GetProtectedDatabaseRequest) ValidateEnumValue() (bool, error)
type GetProtectedDatabaseResponse
    func (response GetProtectedDatabaseResponse) HTTPResponse() *http.Response
    func (response GetProtectedDatabaseResponse) String() string
type GetProtectionPolicyRequest
    func (request GetProtectionPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetProtectionPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetProtectionPolicyRequest) RetryPolicy() *common.RetryPolicy
    func (request GetProtectionPolicyRequest) String() string
    func (request GetProtectionPolicyRequest) ValidateEnumValue() (bool, error)
type GetProtectionPolicyResponse
    func (response GetProtectionPolicyResponse) HTTPResponse() *http.Response
    func (response GetProtectionPolicyResponse) String() string
type GetRecoveryServiceSubnetRequest
    func (request GetRecoveryServiceSubnetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetRecoveryServiceSubnetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetRecoveryServiceSubnetRequest) RetryPolicy() *common.RetryPolicy
    func (request GetRecoveryServiceSubnetRequest) String() string
    func (request GetRecoveryServiceSubnetRequest) ValidateEnumValue() (bool, error)
type GetRecoveryServiceSubnetResponse
    func (response GetRecoveryServiceSubnetResponse) HTTPResponse() *http.Response
    func (response GetRecoveryServiceSubnetResponse) 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 HealthEnum
    func GetHealthEnumValues() []HealthEnum
    func GetMappingHealthEnum(val string) (HealthEnum, bool)
type LifecycleStateEnum
    func GetLifecycleStateEnumValues() []LifecycleStateEnum
    func GetMappingLifecycleStateEnum(val string) (LifecycleStateEnum, bool)
type ListProtectedDatabasesLifecycleStateEnum
    func GetListProtectedDatabasesLifecycleStateEnumValues() []ListProtectedDatabasesLifecycleStateEnum
    func GetMappingListProtectedDatabasesLifecycleStateEnum(val string) (ListProtectedDatabasesLifecycleStateEnum, bool)
type ListProtectedDatabasesRequest
    func (request ListProtectedDatabasesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListProtectedDatabasesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListProtectedDatabasesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListProtectedDatabasesRequest) String() string
    func (request ListProtectedDatabasesRequest) ValidateEnumValue() (bool, error)
type ListProtectedDatabasesResponse
    func (response ListProtectedDatabasesResponse) HTTPResponse() *http.Response
    func (response ListProtectedDatabasesResponse) String() string
type ListProtectedDatabasesSortByEnum
    func GetListProtectedDatabasesSortByEnumValues() []ListProtectedDatabasesSortByEnum
    func GetMappingListProtectedDatabasesSortByEnum(val string) (ListProtectedDatabasesSortByEnum, bool)
type ListProtectedDatabasesSortOrderEnum
    func GetListProtectedDatabasesSortOrderEnumValues() []ListProtectedDatabasesSortOrderEnum
    func GetMappingListProtectedDatabasesSortOrderEnum(val string) (ListProtectedDatabasesSortOrderEnum, bool)
type ListProtectionPoliciesLifecycleStateEnum
    func GetListProtectionPoliciesLifecycleStateEnumValues() []ListProtectionPoliciesLifecycleStateEnum
    func GetMappingListProtectionPoliciesLifecycleStateEnum(val string) (ListProtectionPoliciesLifecycleStateEnum, bool)
type ListProtectionPoliciesOwnerEnum
    func GetListProtectionPoliciesOwnerEnumValues() []ListProtectionPoliciesOwnerEnum
    func GetMappingListProtectionPoliciesOwnerEnum(val string) (ListProtectionPoliciesOwnerEnum, bool)
type ListProtectionPoliciesRequest
    func (request ListProtectionPoliciesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListProtectionPoliciesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListProtectionPoliciesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListProtectionPoliciesRequest) String() string
    func (request ListProtectionPoliciesRequest) ValidateEnumValue() (bool, error)
type ListProtectionPoliciesResponse
    func (response ListProtectionPoliciesResponse) HTTPResponse() *http.Response
    func (response ListProtectionPoliciesResponse) String() string
type ListProtectionPoliciesSortByEnum
    func GetListProtectionPoliciesSortByEnumValues() []ListProtectionPoliciesSortByEnum
    func GetMappingListProtectionPoliciesSortByEnum(val string) (ListProtectionPoliciesSortByEnum, bool)
type ListProtectionPoliciesSortOrderEnum
    func GetListProtectionPoliciesSortOrderEnumValues() []ListProtectionPoliciesSortOrderEnum
    func GetMappingListProtectionPoliciesSortOrderEnum(val string) (ListProtectionPoliciesSortOrderEnum, bool)
type ListRecoveryServiceSubnetsLifecycleStateEnum
    func GetListRecoveryServiceSubnetsLifecycleStateEnumValues() []ListRecoveryServiceSubnetsLifecycleStateEnum
    func GetMappingListRecoveryServiceSubnetsLifecycleStateEnum(val string) (ListRecoveryServiceSubnetsLifecycleStateEnum, bool)
type ListRecoveryServiceSubnetsRequest
    func (request ListRecoveryServiceSubnetsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListRecoveryServiceSubnetsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListRecoveryServiceSubnetsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListRecoveryServiceSubnetsRequest) String() string
    func (request ListRecoveryServiceSubnetsRequest) ValidateEnumValue() (bool, error)
type ListRecoveryServiceSubnetsResponse
    func (response ListRecoveryServiceSubnetsResponse) HTTPResponse() *http.Response
    func (response ListRecoveryServiceSubnetsResponse) String() string
type ListRecoveryServiceSubnetsSortByEnum
    func GetListRecoveryServiceSubnetsSortByEnumValues() []ListRecoveryServiceSubnetsSortByEnum
    func GetMappingListRecoveryServiceSubnetsSortByEnum(val string) (ListRecoveryServiceSubnetsSortByEnum, bool)
type ListRecoveryServiceSubnetsSortOrderEnum
    func GetListRecoveryServiceSubnetsSortOrderEnumValues() []ListRecoveryServiceSubnetsSortOrderEnum
    func GetMappingListRecoveryServiceSubnetsSortOrderEnum(val string) (ListRecoveryServiceSubnetsSortOrderEnum, 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 Metrics
    func (m Metrics) String() string
    func (m Metrics) ValidateEnumValue() (bool, error)
type MetricsSummary
    func (m MetricsSummary) String() string
    func (m MetricsSummary) 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 ProtectedDatabase
    func (m ProtectedDatabase) String() string
    func (m ProtectedDatabase) ValidateEnumValue() (bool, error)
type ProtectedDatabaseCollection
    func (m ProtectedDatabaseCollection) String() string
    func (m ProtectedDatabaseCollection) ValidateEnumValue() (bool, error)
type ProtectedDatabaseSummary
    func (m ProtectedDatabaseSummary) String() string
    func (m ProtectedDatabaseSummary) ValidateEnumValue() (bool, error)
type ProtectionPolicy
    func (m ProtectionPolicy) String() string
    func (m ProtectionPolicy) ValidateEnumValue() (bool, error)
type ProtectionPolicyCollection
    func (m ProtectionPolicyCollection) String() string
    func (m ProtectionPolicyCollection) ValidateEnumValue() (bool, error)
type ProtectionPolicySummary
    func (m ProtectionPolicySummary) String() string
    func (m ProtectionPolicySummary) ValidateEnumValue() (bool, error)
type RecoveryServiceSubnet
    func (m RecoveryServiceSubnet) String() string
    func (m RecoveryServiceSubnet) ValidateEnumValue() (bool, error)
type RecoveryServiceSubnetCollection
    func (m RecoveryServiceSubnetCollection) String() string
    func (m RecoveryServiceSubnetCollection) ValidateEnumValue() (bool, error)
type RecoveryServiceSubnetDetails
    func (m RecoveryServiceSubnetDetails) String() string
    func (m RecoveryServiceSubnetDetails) ValidateEnumValue() (bool, error)
type RecoveryServiceSubnetInput
    func (m RecoveryServiceSubnetInput) String() string
    func (m RecoveryServiceSubnetInput) ValidateEnumValue() (bool, error)
type RecoveryServiceSubnetSummary
    func (m RecoveryServiceSubnetSummary) String() string
    func (m RecoveryServiceSubnetSummary) ValidateEnumValue() (bool, error)
type SortOrderEnum
    func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
    func GetSortOrderEnumValues() []SortOrderEnum
type UpdateProtectedDatabaseDetails
    func (m UpdateProtectedDatabaseDetails) String() string
    func (m UpdateProtectedDatabaseDetails) ValidateEnumValue() (bool, error)
type UpdateProtectedDatabaseRequest
    func (request UpdateProtectedDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateProtectedDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateProtectedDatabaseRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateProtectedDatabaseRequest) String() string
    func (request UpdateProtectedDatabaseRequest) ValidateEnumValue() (bool, error)
type UpdateProtectedDatabaseResponse
    func (response UpdateProtectedDatabaseResponse) HTTPResponse() *http.Response
    func (response UpdateProtectedDatabaseResponse) String() string
type UpdateProtectionPolicyDetails
    func (m UpdateProtectionPolicyDetails) String() string
    func (m UpdateProtectionPolicyDetails) ValidateEnumValue() (bool, error)
type UpdateProtectionPolicyRequest
    func (request UpdateProtectionPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateProtectionPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateProtectionPolicyRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateProtectionPolicyRequest) String() string
    func (request UpdateProtectionPolicyRequest) ValidateEnumValue() (bool, error)
type UpdateProtectionPolicyResponse
    func (response UpdateProtectionPolicyResponse) HTTPResponse() *http.Response
    func (response UpdateProtectionPolicyResponse) String() string
type UpdateRecoveryServiceSubnetDetails
    func (m UpdateRecoveryServiceSubnetDetails) String() string
    func (m UpdateRecoveryServiceSubnetDetails) ValidateEnumValue() (bool, error)
type UpdateRecoveryServiceSubnetRequest
    func (request UpdateRecoveryServiceSubnetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateRecoveryServiceSubnetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateRecoveryServiceSubnetRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateRecoveryServiceSubnetRequest) String() string
    func (request UpdateRecoveryServiceSubnetRequest) ValidateEnumValue() (bool, error)
type UpdateRecoveryServiceSubnetResponse
    func (response UpdateRecoveryServiceSubnetResponse) HTTPResponse() *http.Response
    func (response UpdateRecoveryServiceSubnetResponse) 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 change_protected_database_compartment_details.go change_protected_database_compartment_request_response.go change_protection_policy_compartment_details.go change_protection_policy_compartment_request_response.go change_recovery_service_subnet_compartment_details.go change_recovery_service_subnet_compartment_request_response.go create_protected_database_details.go create_protected_database_request_response.go create_protection_policy_details.go create_protection_policy_request_response.go create_recovery_service_subnet_details.go create_recovery_service_subnet_request_response.go database_sizes.go delete_protected_database_request_response.go delete_protection_policy_request_response.go delete_recovery_service_subnet_request_response.go fetch_protected_database_configuration_details.go fetch_protected_database_configuration_request_response.go get_protected_database_request_response.go get_protection_policy_request_response.go get_recovery_service_subnet_request_response.go get_work_request_request_response.go health.go lifecycle_state.go list_protected_databases_request_response.go list_protection_policies_request_response.go list_recovery_service_subnets_request_response.go list_work_request_errors_request_response.go list_work_request_logs_request_response.go list_work_requests_request_response.go metrics.go metrics_summary.go operation_status.go operation_type.go protected_database.go protected_database_collection.go protected_database_summary.go protection_policy.go protection_policy_collection.go protection_policy_summary.go recovery_databaserecovery_client.go recovery_service_subnet.go recovery_service_subnet_collection.go recovery_service_subnet_details.go recovery_service_subnet_input.go recovery_service_subnet_summary.go sort_order.go update_protected_database_details.go update_protected_database_request_response.go update_protection_policy_details.go update_protection_policy_request_response.go update_recovery_service_subnet_details.go update_recovery_service_subnet_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 GetDatabaseSizesEnumStringValues

func GetDatabaseSizesEnumStringValues() []string

GetDatabaseSizesEnumStringValues Enumerates the set of values in String for DatabaseSizesEnum

func GetFetchProtectedDatabaseConfigurationDetailsConfigurationTypeEnumStringValues

func GetFetchProtectedDatabaseConfigurationDetailsConfigurationTypeEnumStringValues() []string

GetFetchProtectedDatabaseConfigurationDetailsConfigurationTypeEnumStringValues Enumerates the set of values in String for FetchProtectedDatabaseConfigurationDetailsConfigurationTypeEnum

func GetHealthEnumStringValues

func GetHealthEnumStringValues() []string

GetHealthEnumStringValues Enumerates the set of values in String for HealthEnum

func GetLifecycleStateEnumStringValues

func GetLifecycleStateEnumStringValues() []string

GetLifecycleStateEnumStringValues Enumerates the set of values in String for LifecycleStateEnum

func GetListProtectedDatabasesLifecycleStateEnumStringValues

func GetListProtectedDatabasesLifecycleStateEnumStringValues() []string

GetListProtectedDatabasesLifecycleStateEnumStringValues Enumerates the set of values in String for ListProtectedDatabasesLifecycleStateEnum

func GetListProtectedDatabasesSortByEnumStringValues

func GetListProtectedDatabasesSortByEnumStringValues() []string

GetListProtectedDatabasesSortByEnumStringValues Enumerates the set of values in String for ListProtectedDatabasesSortByEnum

func GetListProtectedDatabasesSortOrderEnumStringValues

func GetListProtectedDatabasesSortOrderEnumStringValues() []string

GetListProtectedDatabasesSortOrderEnumStringValues Enumerates the set of values in String for ListProtectedDatabasesSortOrderEnum

func GetListProtectionPoliciesLifecycleStateEnumStringValues

func GetListProtectionPoliciesLifecycleStateEnumStringValues() []string

GetListProtectionPoliciesLifecycleStateEnumStringValues Enumerates the set of values in String for ListProtectionPoliciesLifecycleStateEnum

func GetListProtectionPoliciesOwnerEnumStringValues

func GetListProtectionPoliciesOwnerEnumStringValues() []string

GetListProtectionPoliciesOwnerEnumStringValues Enumerates the set of values in String for ListProtectionPoliciesOwnerEnum

func GetListProtectionPoliciesSortByEnumStringValues

func GetListProtectionPoliciesSortByEnumStringValues() []string

GetListProtectionPoliciesSortByEnumStringValues Enumerates the set of values in String for ListProtectionPoliciesSortByEnum

func GetListProtectionPoliciesSortOrderEnumStringValues

func GetListProtectionPoliciesSortOrderEnumStringValues() []string

GetListProtectionPoliciesSortOrderEnumStringValues Enumerates the set of values in String for ListProtectionPoliciesSortOrderEnum

func GetListRecoveryServiceSubnetsLifecycleStateEnumStringValues

func GetListRecoveryServiceSubnetsLifecycleStateEnumStringValues() []string

GetListRecoveryServiceSubnetsLifecycleStateEnumStringValues Enumerates the set of values in String for ListRecoveryServiceSubnetsLifecycleStateEnum

func GetListRecoveryServiceSubnetsSortByEnumStringValues

func GetListRecoveryServiceSubnetsSortByEnumStringValues() []string

GetListRecoveryServiceSubnetsSortByEnumStringValues Enumerates the set of values in String for ListRecoveryServiceSubnetsSortByEnum

func GetListRecoveryServiceSubnetsSortOrderEnumStringValues

func GetListRecoveryServiceSubnetsSortOrderEnumStringValues() []string

GetListRecoveryServiceSubnetsSortOrderEnumStringValues Enumerates the set of values in String for ListRecoveryServiceSubnetsSortOrderEnum

func GetListWorkRequestErrorsSortByEnumStringValues

func GetListWorkRequestErrorsSortByEnumStringValues() []string

GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortOrderEnumStringValues

func GetListWorkRequestErrorsSortOrderEnumStringValues() []string

GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestLogsSortByEnumStringValues

func GetListWorkRequestLogsSortByEnumStringValues() []string

GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortOrderEnumStringValues

func GetListWorkRequestLogsSortOrderEnumStringValues() []string

GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestsSortByEnumStringValues

func GetListWorkRequestsSortByEnumStringValues() []string

GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortOrderEnumStringValues

func GetListWorkRequestsSortOrderEnumStringValues() []string

GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum

func GetListWorkRequestsStatusEnumStringValues

func GetListWorkRequestsStatusEnumStringValues() []string

GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum

func GetOperationStatusEnumStringValues

func GetOperationStatusEnumStringValues() []string

GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum

func GetOperationTypeEnumStringValues

func GetOperationTypeEnumStringValues() []string

GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum

func 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 ChangeProtectedDatabaseCompartmentDetails

ChangeProtectedDatabaseCompartmentDetails The configuration details required to move a protected database from the existing compartment to a specified compartment.

type ChangeProtectedDatabaseCompartmentDetails struct {

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

func (ChangeProtectedDatabaseCompartmentDetails) String

func (m ChangeProtectedDatabaseCompartmentDetails) String() string

func (ChangeProtectedDatabaseCompartmentDetails) ValidateEnumValue

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

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

type ChangeProtectedDatabaseCompartmentRequest

ChangeProtectedDatabaseCompartmentRequest wrapper for the ChangeProtectedDatabaseCompartment operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/recovery/ChangeProtectedDatabaseCompartment.go.html to see an example of how to use ChangeProtectedDatabaseCompartmentRequest.

type ChangeProtectedDatabaseCompartmentRequest struct {

    // The protected database OCID.
    ProtectedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"protectedDatabaseId"`

    // The configuration details required to move a protected database from the existing compartment to a specified compartment.
    ChangeProtectedDatabaseCompartmentDetails `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"`

    // Unique identifier for the request.
    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 (ChangeProtectedDatabaseCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeProtectedDatabaseCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeProtectedDatabaseCompartmentRequest) RetryPolicy

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

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

func (ChangeProtectedDatabaseCompartmentRequest) String

func (request ChangeProtectedDatabaseCompartmentRequest) String() string

func (ChangeProtectedDatabaseCompartmentRequest) ValidateEnumValue

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

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

type ChangeProtectedDatabaseCompartmentResponse

ChangeProtectedDatabaseCompartmentResponse wrapper for the ChangeProtectedDatabaseCompartment operation

type ChangeProtectedDatabaseCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier of the work request.
    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 (ChangeProtectedDatabaseCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeProtectedDatabaseCompartmentResponse) String

func (response ChangeProtectedDatabaseCompartmentResponse) String() string

type ChangeProtectionPolicyCompartmentDetails

ChangeProtectionPolicyCompartmentDetails The configuration details required to move a protection policy from the existing compartment to a specified compartment.

type ChangeProtectionPolicyCompartmentDetails struct {

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

func (ChangeProtectionPolicyCompartmentDetails) String

func (m ChangeProtectionPolicyCompartmentDetails) String() string

func (ChangeProtectionPolicyCompartmentDetails) ValidateEnumValue

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

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

type ChangeProtectionPolicyCompartmentRequest

ChangeProtectionPolicyCompartmentRequest wrapper for the ChangeProtectionPolicyCompartment operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/recovery/ChangeProtectionPolicyCompartment.go.html to see an example of how to use ChangeProtectionPolicyCompartmentRequest.

type ChangeProtectionPolicyCompartmentRequest struct {

    // The protection policy OCID.
    ProtectionPolicyId *string `mandatory:"true" contributesTo:"path" name:"protectionPolicyId"`

    // The configuration details required to move a protection policy from the existing compartment to a specified compartment.
    ChangeProtectionPolicyCompartmentDetails `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"`

    // Unique identifier for the request.
    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 (ChangeProtectionPolicyCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeProtectionPolicyCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeProtectionPolicyCompartmentRequest) RetryPolicy

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

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

func (ChangeProtectionPolicyCompartmentRequest) String

func (request ChangeProtectionPolicyCompartmentRequest) String() string

func (ChangeProtectionPolicyCompartmentRequest) ValidateEnumValue

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

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

type ChangeProtectionPolicyCompartmentResponse

ChangeProtectionPolicyCompartmentResponse wrapper for the ChangeProtectionPolicyCompartment operation

type ChangeProtectionPolicyCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier of the work request.
    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 (ChangeProtectionPolicyCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeProtectionPolicyCompartmentResponse) String

func (response ChangeProtectionPolicyCompartmentResponse) String() string

type ChangeRecoveryServiceSubnetCompartmentDetails

ChangeRecoveryServiceSubnetCompartmentDetails The configuration details required to move a Recovery Service subnet from the existing compartment to a specified compartment.

type ChangeRecoveryServiceSubnetCompartmentDetails struct {

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

func (ChangeRecoveryServiceSubnetCompartmentDetails) String

func (m ChangeRecoveryServiceSubnetCompartmentDetails) String() string

func (ChangeRecoveryServiceSubnetCompartmentDetails) ValidateEnumValue

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

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

type ChangeRecoveryServiceSubnetCompartmentRequest

ChangeRecoveryServiceSubnetCompartmentRequest wrapper for the ChangeRecoveryServiceSubnetCompartment operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/recovery/ChangeRecoveryServiceSubnetCompartment.go.html to see an example of how to use ChangeRecoveryServiceSubnetCompartmentRequest.

type ChangeRecoveryServiceSubnetCompartmentRequest struct {

    // The recovery service subnet OCID.
    RecoveryServiceSubnetId *string `mandatory:"true" contributesTo:"path" name:"recoveryServiceSubnetId"`

    // The configuration details required to move a Recovery Service subnet from the existing compartment to a specified compartment.
    ChangeRecoveryServiceSubnetCompartmentDetails `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"`

    // Unique identifier for the request.
    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 (ChangeRecoveryServiceSubnetCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeRecoveryServiceSubnetCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeRecoveryServiceSubnetCompartmentRequest) RetryPolicy

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

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

func (ChangeRecoveryServiceSubnetCompartmentRequest) String

func (request ChangeRecoveryServiceSubnetCompartmentRequest) String() string

func (ChangeRecoveryServiceSubnetCompartmentRequest) ValidateEnumValue

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

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

type ChangeRecoveryServiceSubnetCompartmentResponse

ChangeRecoveryServiceSubnetCompartmentResponse wrapper for the ChangeRecoveryServiceSubnetCompartment operation

type ChangeRecoveryServiceSubnetCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier of the work request.
    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 (ChangeRecoveryServiceSubnetCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeRecoveryServiceSubnetCompartmentResponse) String

func (response ChangeRecoveryServiceSubnetCompartmentResponse) String() string

type CreateProtectedDatabaseDetails

CreateProtectedDatabaseDetails Describes the parameters required to create a protected database.

type CreateProtectedDatabaseDetails struct {

    // The protected database name. You can change the displayName. Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The dbUniqueName of the protected database in Recovery Service. You cannot change the unique name.
    DbUniqueName *string `mandatory:"true" json:"dbUniqueName"`

    // Password credential which can be used to connect to Protected Database.
    // It must contain at least 2 uppercase, 2 lowercase, 2 numeric and 2 special characters.
    // The special characters must be underscore (_), number sign (#) or hyphen (-). The password must not contain the username "admin", regardless of casing.
    Password *string `mandatory:"true" json:"password"`

    // The OCID of the protection policy associated with the protected database.
    ProtectionPolicyId *string `mandatory:"true" json:"protectionPolicyId"`

    // List of recovery service subnet resources associated with the protected database.
    RecoveryServiceSubnets []RecoveryServiceSubnetInput `mandatory:"true" json:"recoveryServiceSubnets"`

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

    // The size of the protected database. XS - Less than 5GB, S - 5GB to 50GB, M - 50GB to 500GB, L - 500GB to 1TB, XL - 1TB to 5TB, XXL - Greater than 5TB.
    DatabaseSize DatabaseSizesEnum `mandatory:"false" json:"databaseSize,omitempty"`

    // The OCID of the protected database.
    DatabaseId *string `mandatory:"false" json:"databaseId"`

    // The size of the database, in gigabytes.
    DatabaseSizeInGBs *int `mandatory:"false" json:"databaseSizeInGBs"`

    // The percentage of data changes that exist in the database between successive incremental backups.
    ChangeRate *float64 `mandatory:"false" json:"changeRate"`

    // The compression ratio of the protected database. The compression ratio represents the ratio of compressed block size to expanded block size.
    CompressionRatio *float64 `mandatory:"false" json:"compressionRatio"`

    // The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service.
    // Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups.
    IsRedoLogsShipped *bool `mandatory:"false" json:"isRedoLogsShipped"`

    // 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"}}`. For more information, see Resource Tags (https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (CreateProtectedDatabaseDetails) String

func (m CreateProtectedDatabaseDetails) String() string

func (CreateProtectedDatabaseDetails) ValidateEnumValue

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

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

type CreateProtectedDatabaseRequest

CreateProtectedDatabaseRequest wrapper for the CreateProtectedDatabase operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/recovery/CreateProtectedDatabase.go.html to see an example of how to use CreateProtectedDatabaseRequest.

type CreateProtectedDatabaseRequest struct {

    // Describes the parameters required to create a protected database.
    CreateProtectedDatabaseDetails `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"`

    // Unique identifier for the request.
    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 (CreateProtectedDatabaseRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateProtectedDatabaseRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateProtectedDatabaseRequest) RetryPolicy

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

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

func (CreateProtectedDatabaseRequest) String

func (request CreateProtectedDatabaseRequest) String() string

func (CreateProtectedDatabaseRequest) ValidateEnumValue

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

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

type CreateProtectedDatabaseResponse

CreateProtectedDatabaseResponse wrapper for the CreateProtectedDatabase operation

type CreateProtectedDatabaseResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

    // Relative URL of the newly created resource.
    Location *string `presentIn:"header" name:"location"`

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

    // Unique Oracle-assigned identifier of the work request.
    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 (CreateProtectedDatabaseResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateProtectedDatabaseResponse) String

func (response CreateProtectedDatabaseResponse) String() string

type CreateProtectionPolicyDetails

CreateProtectionPolicyDetails Describes the parameters required to create a custom protection policy.

type CreateProtectionPolicyDetails struct {

    // A user provided name for the protection policy. The 'displayName' does not have to be unique, and it can be modified. Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The maximum number of days to retain backups for a protected database.
    BackupRetentionPeriodInDays *int `mandatory:"true" json:"backupRetentionPeriodInDays"`

    // Compartment Identifier
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // 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"}}`. For more information, see Resource Tags (https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (CreateProtectionPolicyDetails) String

func (m CreateProtectionPolicyDetails) String() string

func (CreateProtectionPolicyDetails) ValidateEnumValue

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

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

type CreateProtectionPolicyRequest

CreateProtectionPolicyRequest wrapper for the CreateProtectionPolicy operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/recovery/CreateProtectionPolicy.go.html to see an example of how to use CreateProtectionPolicyRequest.

type CreateProtectionPolicyRequest struct {

    // Describes the parameters required to create a custom protection policy.
    CreateProtectionPolicyDetails `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"`

    // Unique identifier for the request.
    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 (CreateProtectionPolicyRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateProtectionPolicyRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateProtectionPolicyRequest) RetryPolicy

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

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

func (CreateProtectionPolicyRequest) String

func (request CreateProtectionPolicyRequest) String() string

func (CreateProtectionPolicyRequest) ValidateEnumValue

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

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

type CreateProtectionPolicyResponse

CreateProtectionPolicyResponse wrapper for the CreateProtectionPolicy operation

type CreateProtectionPolicyResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

    // Relative URL of the newly created resource.
    Location *string `presentIn:"header" name:"location"`

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

    // Unique Oracle-assigned identifier of the work request.
    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 (CreateProtectionPolicyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateProtectionPolicyResponse) String

func (response CreateProtectionPolicyResponse) String() string

type CreateRecoveryServiceSubnetDetails

CreateRecoveryServiceSubnetDetails Describes the parameters required to create a recovery service subnet.

type CreateRecoveryServiceSubnetDetails struct {

    // A user-provided name for the recovery service subnet. The 'displayName' does not have to be unique, and it can be modified. Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The OCID of the subnet associated with the recovery service subnet. You can create a single backup network per virtual cloud network (VCN).
    SubnetId *string `mandatory:"true" json:"subnetId"`

    // The OCID of the virtual cloud network (VCN) that contains the recovery service subnet. You can create a single recovery service subnet per VCN.
    VcnId *string `mandatory:"true" json:"vcnId"`

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

    // 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"}}`. For more information, see Resource Tags (https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (CreateRecoveryServiceSubnetDetails) String

func (m CreateRecoveryServiceSubnetDetails) String() string

func (CreateRecoveryServiceSubnetDetails) ValidateEnumValue

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

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

type CreateRecoveryServiceSubnetRequest

CreateRecoveryServiceSubnetRequest wrapper for the CreateRecoveryServiceSubnet operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/recovery/CreateRecoveryServiceSubnet.go.html to see an example of how to use CreateRecoveryServiceSubnetRequest.

type CreateRecoveryServiceSubnetRequest struct {

    // Describes the parameters required to create a recovery service subnet.
    CreateRecoveryServiceSubnetDetails `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"`

    // Unique identifier for the request.
    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 (CreateRecoveryServiceSubnetRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateRecoveryServiceSubnetRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateRecoveryServiceSubnetRequest) RetryPolicy

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

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

func (CreateRecoveryServiceSubnetRequest) String

func (request CreateRecoveryServiceSubnetRequest) String() string

func (CreateRecoveryServiceSubnetRequest) ValidateEnumValue

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

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

type CreateRecoveryServiceSubnetResponse

CreateRecoveryServiceSubnetResponse wrapper for the CreateRecoveryServiceSubnet operation

type CreateRecoveryServiceSubnetResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

    // Relative URL of the newly created resource.
    Location *string `presentIn:"header" name:"location"`

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

    // Unique Oracle-assigned identifier of the work request.
    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 (CreateRecoveryServiceSubnetResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateRecoveryServiceSubnetResponse) String

func (response CreateRecoveryServiceSubnetResponse) String() string

type DatabaseRecoveryClient

DatabaseRecoveryClient a client for DatabaseRecovery

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

func NewDatabaseRecoveryClientWithConfigurationProvider

func NewDatabaseRecoveryClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DatabaseRecoveryClient, err error)

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

func NewDatabaseRecoveryClientWithOboToken

func NewDatabaseRecoveryClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DatabaseRecoveryClient, err error)

NewDatabaseRecoveryClientWithOboToken Creates a new default DatabaseRecovery 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 (DatabaseRecoveryClient) ChangeProtectedDatabaseCompartment

func (client DatabaseRecoveryClient) ChangeProtectedDatabaseCompartment(ctx context.Context, request ChangeProtectedDatabaseCompartmentRequest) (response ChangeProtectedDatabaseCompartmentResponse, err error)

ChangeProtectedDatabaseCompartment Moves a protected database resource from the existing compartment to the specified compartment. When provided, If-Match is checked against ETag values of the resource.

# See also

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

func (DatabaseRecoveryClient) ChangeProtectionPolicyCompartment

func (client DatabaseRecoveryClient) ChangeProtectionPolicyCompartment(ctx context.Context, request ChangeProtectionPolicyCompartmentRequest) (response ChangeProtectionPolicyCompartmentResponse, err error)

ChangeProtectionPolicyCompartment Moves a protection policy resource from the existing compartment to the specified compartment. When provided, If-Match is checked against ETag values of the resource.

# See also

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

func (DatabaseRecoveryClient) ChangeRecoveryServiceSubnetCompartment

func (client DatabaseRecoveryClient) ChangeRecoveryServiceSubnetCompartment(ctx context.Context, request ChangeRecoveryServiceSubnetCompartmentRequest) (response ChangeRecoveryServiceSubnetCompartmentResponse, err error)

ChangeRecoveryServiceSubnetCompartment Moves a recovery service subnet resource from the existing compartment to the specified compartment. When provided, If-Match is checked against ETag values of the resource.

# See also

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

func (*DatabaseRecoveryClient) ConfigurationProvider

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

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

func (DatabaseRecoveryClient) CreateProtectedDatabase

func (client DatabaseRecoveryClient) CreateProtectedDatabase(ctx context.Context, request CreateProtectedDatabaseRequest) (response CreateProtectedDatabaseResponse, err error)

CreateProtectedDatabase Creates a new Protected Database.

# See also

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

func (DatabaseRecoveryClient) CreateProtectionPolicy

func (client DatabaseRecoveryClient) CreateProtectionPolicy(ctx context.Context, request CreateProtectionPolicyRequest) (response CreateProtectionPolicyResponse, err error)

CreateProtectionPolicy Creates a new Protection Policy.

# See also

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

func (DatabaseRecoveryClient) CreateRecoveryServiceSubnet

func (client DatabaseRecoveryClient) CreateRecoveryServiceSubnet(ctx context.Context, request CreateRecoveryServiceSubnetRequest) (response CreateRecoveryServiceSubnetResponse, err error)

CreateRecoveryServiceSubnet Creates a new Recovery Service Subnet.

# See also

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

func (DatabaseRecoveryClient) DeleteProtectedDatabase

func (client DatabaseRecoveryClient) DeleteProtectedDatabase(ctx context.Context, request DeleteProtectedDatabaseRequest) (response DeleteProtectedDatabaseResponse, err error)

DeleteProtectedDatabase Deletes a protected database based on the specified protected database ID.

# See also

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

func (DatabaseRecoveryClient) DeleteProtectionPolicy

func (client DatabaseRecoveryClient) DeleteProtectionPolicy(ctx context.Context, request DeleteProtectionPolicyRequest) (response DeleteProtectionPolicyResponse, err error)

DeleteProtectionPolicy Deletes a specified protection policy. You can delete custom policies only. Deleting a Oracle predefined policies will result in status code 405 Method Not Allowed.

# See also

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

func (DatabaseRecoveryClient) DeleteRecoveryServiceSubnet

func (client DatabaseRecoveryClient) DeleteRecoveryServiceSubnet(ctx context.Context, request DeleteRecoveryServiceSubnetRequest) (response DeleteRecoveryServiceSubnetResponse, err error)

DeleteRecoveryServiceSubnet Deletes a specified recovery service subnet.

# See also

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

func (DatabaseRecoveryClient) FetchProtectedDatabaseConfiguration

func (client DatabaseRecoveryClient) FetchProtectedDatabaseConfiguration(ctx context.Context, request FetchProtectedDatabaseConfigurationRequest) (response FetchProtectedDatabaseConfigurationResponse, err error)

FetchProtectedDatabaseConfiguration Downloads the network service configuration file 'tnsnames.ora' for a specified protected database. Applies to user-defined recovery systems only.

# See also

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

func (DatabaseRecoveryClient) GetProtectedDatabase

func (client DatabaseRecoveryClient) GetProtectedDatabase(ctx context.Context, request GetProtectedDatabaseRequest) (response GetProtectedDatabaseResponse, err error)

GetProtectedDatabase Gets information about a specified protected database.

# See also

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

func (DatabaseRecoveryClient) GetProtectionPolicy

func (client DatabaseRecoveryClient) GetProtectionPolicy(ctx context.Context, request GetProtectionPolicyRequest) (response GetProtectionPolicyResponse, err error)

GetProtectionPolicy Gets information about a specified protection policy.

# See also

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

func (DatabaseRecoveryClient) GetRecoveryServiceSubnet

func (client DatabaseRecoveryClient) GetRecoveryServiceSubnet(ctx context.Context, request GetRecoveryServiceSubnetRequest) (response GetRecoveryServiceSubnetResponse, err error)

GetRecoveryServiceSubnet Gets information about a specified recovery service subnet.

# See also

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

func (DatabaseRecoveryClient) GetWorkRequest

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

GetWorkRequest Gets the status of the work request based on the specified ID

# See also

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

func (DatabaseRecoveryClient) ListProtectedDatabases

func (client DatabaseRecoveryClient) ListProtectedDatabases(ctx context.Context, request ListProtectedDatabasesRequest) (response ListProtectedDatabasesResponse, err error)

ListProtectedDatabases Lists the protected databases based on the specified parameters.

# See also

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

func (DatabaseRecoveryClient) ListProtectionPolicies

func (client DatabaseRecoveryClient) ListProtectionPolicies(ctx context.Context, request ListProtectionPoliciesRequest) (response ListProtectionPoliciesResponse, err error)

ListProtectionPolicies Gets a list of protection policies based on the specified parameters.

# See also

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

func (DatabaseRecoveryClient) ListRecoveryServiceSubnets

func (client DatabaseRecoveryClient) ListRecoveryServiceSubnets(ctx context.Context, request ListRecoveryServiceSubnetsRequest) (response ListRecoveryServiceSubnetsResponse, err error)

ListRecoveryServiceSubnets Returns a list of Recovery Service Subnets.

# See also

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

func (DatabaseRecoveryClient) ListWorkRequestErrors

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

ListWorkRequestErrors Return a (paginated) list of errors for a given work request.

# See also

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

func (DatabaseRecoveryClient) ListWorkRequestLogs

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

ListWorkRequestLogs Return a (paginated) list of logs for a given work request.

# See also

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

func (DatabaseRecoveryClient) ListWorkRequests

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

ListWorkRequests Lists the work requests in a compartment.

# See also

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

func (*DatabaseRecoveryClient) SetRegion

func (client *DatabaseRecoveryClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (DatabaseRecoveryClient) UpdateProtectedDatabase

func (client DatabaseRecoveryClient) UpdateProtectedDatabase(ctx context.Context, request UpdateProtectedDatabaseRequest) (response UpdateProtectedDatabaseResponse, err error)

UpdateProtectedDatabase Updates the Protected Database

# See also

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

func (DatabaseRecoveryClient) UpdateProtectionPolicy

func (client DatabaseRecoveryClient) UpdateProtectionPolicy(ctx context.Context, request UpdateProtectionPolicyRequest) (response UpdateProtectionPolicyResponse, err error)

UpdateProtectionPolicy Updates the specified protection policy.

# See also

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

func (DatabaseRecoveryClient) UpdateRecoveryServiceSubnet

func (client DatabaseRecoveryClient) UpdateRecoveryServiceSubnet(ctx context.Context, request UpdateRecoveryServiceSubnetRequest) (response UpdateRecoveryServiceSubnetResponse, err error)

UpdateRecoveryServiceSubnet Updates the specified recovery service subnet.

# See also

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

type DatabaseSizesEnum

DatabaseSizesEnum Enum with underlying type: string

type DatabaseSizesEnum string

Set of constants representing the allowable values for DatabaseSizesEnum

const (
    DatabaseSizesXs   DatabaseSizesEnum = "XS"
    DatabaseSizesS    DatabaseSizesEnum = "S"
    DatabaseSizesM    DatabaseSizesEnum = "M"
    DatabaseSizesL    DatabaseSizesEnum = "L"
    DatabaseSizesXl   DatabaseSizesEnum = "XL"
    DatabaseSizesXxl  DatabaseSizesEnum = "XXL"
    DatabaseSizesAuto DatabaseSizesEnum = "AUTO"
)

func GetDatabaseSizesEnumValues

func GetDatabaseSizesEnumValues() []DatabaseSizesEnum

GetDatabaseSizesEnumValues Enumerates the set of values for DatabaseSizesEnum

func GetMappingDatabaseSizesEnum

func GetMappingDatabaseSizesEnum(val string) (DatabaseSizesEnum, bool)

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

type DeleteProtectedDatabaseRequest

DeleteProtectedDatabaseRequest wrapper for the DeleteProtectedDatabase operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/recovery/DeleteProtectedDatabase.go.html to see an example of how to use DeleteProtectedDatabaseRequest.

type DeleteProtectedDatabaseRequest struct {

    // The protected database OCID.
    ProtectedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"protectedDatabaseId"`

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

    // Unique identifier for the request.
    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 (DeleteProtectedDatabaseRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteProtectedDatabaseRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteProtectedDatabaseRequest) RetryPolicy

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

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

func (DeleteProtectedDatabaseRequest) String

func (request DeleteProtectedDatabaseRequest) String() string

func (DeleteProtectedDatabaseRequest) ValidateEnumValue

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

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

type DeleteProtectedDatabaseResponse

DeleteProtectedDatabaseResponse wrapper for the DeleteProtectedDatabase operation

type DeleteProtectedDatabaseResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier of the work request.
    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 (DeleteProtectedDatabaseResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteProtectedDatabaseResponse) String

func (response DeleteProtectedDatabaseResponse) String() string

type DeleteProtectionPolicyRequest

DeleteProtectionPolicyRequest wrapper for the DeleteProtectionPolicy operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/recovery/DeleteProtectionPolicy.go.html to see an example of how to use DeleteProtectionPolicyRequest.

type DeleteProtectionPolicyRequest struct {

    // The protection policy OCID.
    ProtectionPolicyId *string `mandatory:"true" contributesTo:"path" name:"protectionPolicyId"`

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

    // Unique identifier for the request.
    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 (DeleteProtectionPolicyRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteProtectionPolicyRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteProtectionPolicyRequest) RetryPolicy

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

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

func (DeleteProtectionPolicyRequest) String

func (request DeleteProtectionPolicyRequest) String() string

func (DeleteProtectionPolicyRequest) ValidateEnumValue

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

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

type DeleteProtectionPolicyResponse

DeleteProtectionPolicyResponse wrapper for the DeleteProtectionPolicy operation

type DeleteProtectionPolicyResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier of the work request.
    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 (DeleteProtectionPolicyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteProtectionPolicyResponse) String

func (response DeleteProtectionPolicyResponse) String() string

type DeleteRecoveryServiceSubnetRequest

DeleteRecoveryServiceSubnetRequest wrapper for the DeleteRecoveryServiceSubnet operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/recovery/DeleteRecoveryServiceSubnet.go.html to see an example of how to use DeleteRecoveryServiceSubnetRequest.

type DeleteRecoveryServiceSubnetRequest struct {

    // The recovery service subnet OCID.
    RecoveryServiceSubnetId *string `mandatory:"true" contributesTo:"path" name:"recoveryServiceSubnetId"`

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

    // Unique identifier for the request.
    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 (DeleteRecoveryServiceSubnetRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteRecoveryServiceSubnetRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteRecoveryServiceSubnetRequest) RetryPolicy

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

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

func (DeleteRecoveryServiceSubnetRequest) String

func (request DeleteRecoveryServiceSubnetRequest) String() string

func (DeleteRecoveryServiceSubnetRequest) ValidateEnumValue

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

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

type DeleteRecoveryServiceSubnetResponse

DeleteRecoveryServiceSubnetResponse wrapper for the DeleteRecoveryServiceSubnet operation

type DeleteRecoveryServiceSubnetResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier of the work request.
    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 (DeleteRecoveryServiceSubnetResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteRecoveryServiceSubnetResponse) String

func (response DeleteRecoveryServiceSubnetResponse) String() string

type FetchProtectedDatabaseConfigurationDetails

FetchProtectedDatabaseConfigurationDetails Provides which configuration details to get.

type FetchProtectedDatabaseConfigurationDetails struct {

    // Currently has four config options ALL, TNSNAMES, HOSTS and CABUNDLE. All will return a zipped folder containing the contents of both tnsnames and the certificateChainPem.
    ConfigurationType FetchProtectedDatabaseConfigurationDetailsConfigurationTypeEnum `mandatory:"false" json:"configurationType,omitempty"`
}

func (FetchProtectedDatabaseConfigurationDetails) String

func (m FetchProtectedDatabaseConfigurationDetails) String() string

func (FetchProtectedDatabaseConfigurationDetails) ValidateEnumValue

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

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

type FetchProtectedDatabaseConfigurationDetailsConfigurationTypeEnum

FetchProtectedDatabaseConfigurationDetailsConfigurationTypeEnum Enum with underlying type: string

type FetchProtectedDatabaseConfigurationDetailsConfigurationTypeEnum string

Set of constants representing the allowable values for FetchProtectedDatabaseConfigurationDetailsConfigurationTypeEnum

const (
    FetchProtectedDatabaseConfigurationDetailsConfigurationTypeCabundle FetchProtectedDatabaseConfigurationDetailsConfigurationTypeEnum = "CABUNDLE"
    FetchProtectedDatabaseConfigurationDetailsConfigurationTypeTnsnames FetchProtectedDatabaseConfigurationDetailsConfigurationTypeEnum = "TNSNAMES"
    FetchProtectedDatabaseConfigurationDetailsConfigurationTypeHosts    FetchProtectedDatabaseConfigurationDetailsConfigurationTypeEnum = "HOSTS"
    FetchProtectedDatabaseConfigurationDetailsConfigurationTypeAll      FetchProtectedDatabaseConfigurationDetailsConfigurationTypeEnum = "ALL"
)

func GetFetchProtectedDatabaseConfigurationDetailsConfigurationTypeEnumValues

func GetFetchProtectedDatabaseConfigurationDetailsConfigurationTypeEnumValues() []FetchProtectedDatabaseConfigurationDetailsConfigurationTypeEnum

GetFetchProtectedDatabaseConfigurationDetailsConfigurationTypeEnumValues Enumerates the set of values for FetchProtectedDatabaseConfigurationDetailsConfigurationTypeEnum

func GetMappingFetchProtectedDatabaseConfigurationDetailsConfigurationTypeEnum

func GetMappingFetchProtectedDatabaseConfigurationDetailsConfigurationTypeEnum(val string) (FetchProtectedDatabaseConfigurationDetailsConfigurationTypeEnum, bool)

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

type FetchProtectedDatabaseConfigurationRequest

FetchProtectedDatabaseConfigurationRequest wrapper for the FetchProtectedDatabaseConfiguration operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/recovery/FetchProtectedDatabaseConfiguration.go.html to see an example of how to use FetchProtectedDatabaseConfigurationRequest.

type FetchProtectedDatabaseConfigurationRequest struct {

    // The protected database OCID.
    ProtectedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"protectedDatabaseId"`

    // Which configuration to get
    FetchProtectedDatabaseConfigurationDetails `contributesTo:"body"`

    // Unique identifier for the request.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

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

func (FetchProtectedDatabaseConfigurationRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (FetchProtectedDatabaseConfigurationRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (FetchProtectedDatabaseConfigurationRequest) RetryPolicy

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

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

func (FetchProtectedDatabaseConfigurationRequest) String

func (request FetchProtectedDatabaseConfigurationRequest) String() string

func (FetchProtectedDatabaseConfigurationRequest) ValidateEnumValue

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

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

type FetchProtectedDatabaseConfigurationResponse

FetchProtectedDatabaseConfigurationResponse wrapper for the FetchProtectedDatabaseConfiguration operation

type FetchProtectedDatabaseConfigurationResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The io.ReadCloser instance
    Content io.ReadCloser `presentIn:"body" encoding:"binary"`

    // 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 (FetchProtectedDatabaseConfigurationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (FetchProtectedDatabaseConfigurationResponse) String

func (response FetchProtectedDatabaseConfigurationResponse) String() string

type GetProtectedDatabaseRequest

GetProtectedDatabaseRequest wrapper for the GetProtectedDatabase operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/recovery/GetProtectedDatabase.go.html to see an example of how to use GetProtectedDatabaseRequest.

type GetProtectedDatabaseRequest struct {

    // The protected database OCID.
    ProtectedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"protectedDatabaseId"`

    // Unique identifier for the request.
    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 (GetProtectedDatabaseRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetProtectedDatabaseRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetProtectedDatabaseRequest) RetryPolicy

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

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

func (GetProtectedDatabaseRequest) String

func (request GetProtectedDatabaseRequest) String() string

func (GetProtectedDatabaseRequest) ValidateEnumValue

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

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

type GetProtectedDatabaseResponse

GetProtectedDatabaseResponse wrapper for the GetProtectedDatabase operation

type GetProtectedDatabaseResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ProtectedDatabase instance
    ProtectedDatabase `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 (GetProtectedDatabaseResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetProtectedDatabaseResponse) String

func (response GetProtectedDatabaseResponse) String() string

type GetProtectionPolicyRequest

GetProtectionPolicyRequest wrapper for the GetProtectionPolicy operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/recovery/GetProtectionPolicy.go.html to see an example of how to use GetProtectionPolicyRequest.

type GetProtectionPolicyRequest struct {

    // The protection policy OCID.
    ProtectionPolicyId *string `mandatory:"true" contributesTo:"path" name:"protectionPolicyId"`

    // Unique identifier for the request.
    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 (GetProtectionPolicyRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetProtectionPolicyRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetProtectionPolicyRequest) RetryPolicy

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

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

func (GetProtectionPolicyRequest) String

func (request GetProtectionPolicyRequest) String() string

func (GetProtectionPolicyRequest) ValidateEnumValue

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

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

type GetProtectionPolicyResponse

GetProtectionPolicyResponse wrapper for the GetProtectionPolicy operation

type GetProtectionPolicyResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ProtectionPolicy instance
    ProtectionPolicy `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 (GetProtectionPolicyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetProtectionPolicyResponse) String

func (response GetProtectionPolicyResponse) String() string

type GetRecoveryServiceSubnetRequest

GetRecoveryServiceSubnetRequest wrapper for the GetRecoveryServiceSubnet operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/recovery/GetRecoveryServiceSubnet.go.html to see an example of how to use GetRecoveryServiceSubnetRequest.

type GetRecoveryServiceSubnetRequest struct {

    // The recovery service subnet OCID.
    RecoveryServiceSubnetId *string `mandatory:"true" contributesTo:"path" name:"recoveryServiceSubnetId"`

    // Unique identifier for the request.
    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 (GetRecoveryServiceSubnetRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetRecoveryServiceSubnetRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetRecoveryServiceSubnetRequest) RetryPolicy

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

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

func (GetRecoveryServiceSubnetRequest) String

func (request GetRecoveryServiceSubnetRequest) String() string

func (GetRecoveryServiceSubnetRequest) ValidateEnumValue

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

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

type GetRecoveryServiceSubnetResponse

GetRecoveryServiceSubnetResponse wrapper for the GetRecoveryServiceSubnet operation

type GetRecoveryServiceSubnetResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The RecoveryServiceSubnet instance
    RecoveryServiceSubnet `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 (GetRecoveryServiceSubnetResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetRecoveryServiceSubnetResponse) String

func (response GetRecoveryServiceSubnetResponse) String() string

type GetWorkRequestRequest

GetWorkRequestRequest wrapper for the GetWorkRequest operation

# See also

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

type GetWorkRequestRequest struct {

    // The OCID of the work request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

    // Unique identifier for the request.
    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"`

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

HealthEnum Enum with underlying type: string

type HealthEnum string

Set of constants representing the allowable values for HealthEnum

const (
    HealthProtected HealthEnum = "PROTECTED"
    HealthWarning   HealthEnum = "WARNING"
    HealthAlert     HealthEnum = "ALERT"
)

func GetHealthEnumValues

func GetHealthEnumValues() []HealthEnum

GetHealthEnumValues Enumerates the set of values for HealthEnum

func GetMappingHealthEnum

func GetMappingHealthEnum(val string) (HealthEnum, bool)

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

type LifecycleStateEnum

LifecycleStateEnum Enum with underlying type: string

type LifecycleStateEnum string

Set of constants representing the allowable values for LifecycleStateEnum

const (
    LifecycleStateCreating LifecycleStateEnum = "CREATING"
    LifecycleStateUpdating LifecycleStateEnum = "UPDATING"
    LifecycleStateActive   LifecycleStateEnum = "ACTIVE"
    LifecycleStateDeleting LifecycleStateEnum = "DELETING"
    LifecycleStateDeleted  LifecycleStateEnum = "DELETED"
    LifecycleStateFailed   LifecycleStateEnum = "FAILED"
)

func GetLifecycleStateEnumValues

func GetLifecycleStateEnumValues() []LifecycleStateEnum

GetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum

func GetMappingLifecycleStateEnum

func GetMappingLifecycleStateEnum(val string) (LifecycleStateEnum, bool)

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

type ListProtectedDatabasesLifecycleStateEnum

ListProtectedDatabasesLifecycleStateEnum Enum with underlying type: string

type ListProtectedDatabasesLifecycleStateEnum string

Set of constants representing the allowable values for ListProtectedDatabasesLifecycleStateEnum

const (
    ListProtectedDatabasesLifecycleStateCreating ListProtectedDatabasesLifecycleStateEnum = "CREATING"
    ListProtectedDatabasesLifecycleStateUpdating ListProtectedDatabasesLifecycleStateEnum = "UPDATING"
    ListProtectedDatabasesLifecycleStateActive   ListProtectedDatabasesLifecycleStateEnum = "ACTIVE"
    ListProtectedDatabasesLifecycleStateDeleting ListProtectedDatabasesLifecycleStateEnum = "DELETING"
    ListProtectedDatabasesLifecycleStateDeleted  ListProtectedDatabasesLifecycleStateEnum = "DELETED"
    ListProtectedDatabasesLifecycleStateFailed   ListProtectedDatabasesLifecycleStateEnum = "FAILED"
)

func GetListProtectedDatabasesLifecycleStateEnumValues

func GetListProtectedDatabasesLifecycleStateEnumValues() []ListProtectedDatabasesLifecycleStateEnum

GetListProtectedDatabasesLifecycleStateEnumValues Enumerates the set of values for ListProtectedDatabasesLifecycleStateEnum

func GetMappingListProtectedDatabasesLifecycleStateEnum

func GetMappingListProtectedDatabasesLifecycleStateEnum(val string) (ListProtectedDatabasesLifecycleStateEnum, bool)

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

type ListProtectedDatabasesRequest

ListProtectedDatabasesRequest wrapper for the ListProtectedDatabases operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/recovery/ListProtectedDatabases.go.html to see an example of how to use ListProtectedDatabasesRequest.

type ListProtectedDatabasesRequest struct {

    // The compartment OCID.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // A filter to return only the resources that match the specified lifecycle state.
    LifecycleState ListProtectedDatabasesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

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

    // The protected database OCID.
    Id *string `mandatory:"false" contributesTo:"query" name:"id"`

    // The protection policy OCID.
    ProtectionPolicyId *string `mandatory:"false" contributesTo:"query" name:"protectionPolicyId"`

    // The recovery service subnet OCID.
    RecoveryServiceSubnetId *string `mandatory:"false" contributesTo:"query" name:"recoveryServiceSubnetId"`

    // The maximum number of items to return per page.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order to use, either ascending (ASC) or descending (DESC).
    // Allowed values are:
    //   - ASC
    //   - DESC
    SortOrder ListProtectedDatabasesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. You can provide one sort order (sortOrder). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If you do not specify a value, then TIMECREATED is used as the default sort order.
    // Allowed values are:
    //   - TIMECREATED
    //   - DISPLAYNAME
    SortBy ListProtectedDatabasesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // Unique identifier for the request.
    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 (ListProtectedDatabasesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListProtectedDatabasesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListProtectedDatabasesRequest) RetryPolicy

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

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

func (ListProtectedDatabasesRequest) String

func (request ListProtectedDatabasesRequest) String() string

func (ListProtectedDatabasesRequest) ValidateEnumValue

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

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

type ListProtectedDatabasesResponse

ListProtectedDatabasesResponse wrapper for the ListProtectedDatabases operation

type ListProtectedDatabasesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of ProtectedDatabaseCollection instances
    ProtectedDatabaseCollection `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 (ListProtectedDatabasesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListProtectedDatabasesResponse) String

func (response ListProtectedDatabasesResponse) String() string

type ListProtectedDatabasesSortByEnum

ListProtectedDatabasesSortByEnum Enum with underlying type: string

type ListProtectedDatabasesSortByEnum string

Set of constants representing the allowable values for ListProtectedDatabasesSortByEnum

const (
    ListProtectedDatabasesSortByTimecreated ListProtectedDatabasesSortByEnum = "timeCreated"
    ListProtectedDatabasesSortByDisplayname ListProtectedDatabasesSortByEnum = "displayName"
)

func GetListProtectedDatabasesSortByEnumValues

func GetListProtectedDatabasesSortByEnumValues() []ListProtectedDatabasesSortByEnum

GetListProtectedDatabasesSortByEnumValues Enumerates the set of values for ListProtectedDatabasesSortByEnum

func GetMappingListProtectedDatabasesSortByEnum

func GetMappingListProtectedDatabasesSortByEnum(val string) (ListProtectedDatabasesSortByEnum, bool)

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

type ListProtectedDatabasesSortOrderEnum

ListProtectedDatabasesSortOrderEnum Enum with underlying type: string

type ListProtectedDatabasesSortOrderEnum string

Set of constants representing the allowable values for ListProtectedDatabasesSortOrderEnum

const (
    ListProtectedDatabasesSortOrderAsc  ListProtectedDatabasesSortOrderEnum = "ASC"
    ListProtectedDatabasesSortOrderDesc ListProtectedDatabasesSortOrderEnum = "DESC"
)

func GetListProtectedDatabasesSortOrderEnumValues

func GetListProtectedDatabasesSortOrderEnumValues() []ListProtectedDatabasesSortOrderEnum

GetListProtectedDatabasesSortOrderEnumValues Enumerates the set of values for ListProtectedDatabasesSortOrderEnum

func GetMappingListProtectedDatabasesSortOrderEnum

func GetMappingListProtectedDatabasesSortOrderEnum(val string) (ListProtectedDatabasesSortOrderEnum, bool)

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

type ListProtectionPoliciesLifecycleStateEnum

ListProtectionPoliciesLifecycleStateEnum Enum with underlying type: string

type ListProtectionPoliciesLifecycleStateEnum string

Set of constants representing the allowable values for ListProtectionPoliciesLifecycleStateEnum

const (
    ListProtectionPoliciesLifecycleStateCreating ListProtectionPoliciesLifecycleStateEnum = "CREATING"
    ListProtectionPoliciesLifecycleStateUpdating ListProtectionPoliciesLifecycleStateEnum = "UPDATING"
    ListProtectionPoliciesLifecycleStateActive   ListProtectionPoliciesLifecycleStateEnum = "ACTIVE"
    ListProtectionPoliciesLifecycleStateDeleting ListProtectionPoliciesLifecycleStateEnum = "DELETING"
    ListProtectionPoliciesLifecycleStateDeleted  ListProtectionPoliciesLifecycleStateEnum = "DELETED"
    ListProtectionPoliciesLifecycleStateFailed   ListProtectionPoliciesLifecycleStateEnum = "FAILED"
)

func GetListProtectionPoliciesLifecycleStateEnumValues

func GetListProtectionPoliciesLifecycleStateEnumValues() []ListProtectionPoliciesLifecycleStateEnum

GetListProtectionPoliciesLifecycleStateEnumValues Enumerates the set of values for ListProtectionPoliciesLifecycleStateEnum

func GetMappingListProtectionPoliciesLifecycleStateEnum

func GetMappingListProtectionPoliciesLifecycleStateEnum(val string) (ListProtectionPoliciesLifecycleStateEnum, bool)

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

type ListProtectionPoliciesOwnerEnum

ListProtectionPoliciesOwnerEnum Enum with underlying type: string

type ListProtectionPoliciesOwnerEnum string

Set of constants representing the allowable values for ListProtectionPoliciesOwnerEnum

const (
    ListProtectionPoliciesOwnerOracle   ListProtectionPoliciesOwnerEnum = "oracle"
    ListProtectionPoliciesOwnerCustomer ListProtectionPoliciesOwnerEnum = "customer"
)

func GetListProtectionPoliciesOwnerEnumValues

func GetListProtectionPoliciesOwnerEnumValues() []ListProtectionPoliciesOwnerEnum

GetListProtectionPoliciesOwnerEnumValues Enumerates the set of values for ListProtectionPoliciesOwnerEnum

func GetMappingListProtectionPoliciesOwnerEnum

func GetMappingListProtectionPoliciesOwnerEnum(val string) (ListProtectionPoliciesOwnerEnum, bool)

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

type ListProtectionPoliciesRequest

ListProtectionPoliciesRequest wrapper for the ListProtectionPolicies operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/recovery/ListProtectionPolicies.go.html to see an example of how to use ListProtectionPoliciesRequest.

type ListProtectionPoliciesRequest struct {

    // The compartment OCID.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // A filter to return only resources their lifecycleState matches the given lifecycleState.
    LifecycleState ListProtectionPoliciesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

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

    // The protection policy OCID.
    ProtectionPolicyId *string `mandatory:"false" contributesTo:"query" name:"protectionPolicyId"`

    // A filter to return only the policies that match the owner as 'Customer' or 'Oracle'.
    Owner ListProtectionPoliciesOwnerEnum `mandatory:"false" contributesTo:"query" name:"owner" omitEmpty:"true"`

    // The maximum number of items to return. Specify a value greater than 4.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order to use, either ascending (ASC) or descending (DESC).
    // Allowed values are:
    //   - ASC
    //   - DESC
    SortOrder ListProtectionPoliciesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. You can provide one sort order (sortOrder). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If you do not specify a value, then TIMECREATED is used as the default sort order.
    // Allowed values are:
    //   - TIMECREATED
    //   - DISPLAYNAME
    SortBy ListProtectionPoliciesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // Unique identifier for the request.
    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 (ListProtectionPoliciesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListProtectionPoliciesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListProtectionPoliciesRequest) RetryPolicy

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

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

func (ListProtectionPoliciesRequest) String

func (request ListProtectionPoliciesRequest) String() string

func (ListProtectionPoliciesRequest) ValidateEnumValue

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

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

type ListProtectionPoliciesResponse

ListProtectionPoliciesResponse wrapper for the ListProtectionPolicies operation

type ListProtectionPoliciesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of ProtectionPolicyCollection instances
    ProtectionPolicyCollection `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 (ListProtectionPoliciesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListProtectionPoliciesResponse) String

func (response ListProtectionPoliciesResponse) String() string

type ListProtectionPoliciesSortByEnum

ListProtectionPoliciesSortByEnum Enum with underlying type: string

type ListProtectionPoliciesSortByEnum string

Set of constants representing the allowable values for ListProtectionPoliciesSortByEnum

const (
    ListProtectionPoliciesSortByTimecreated ListProtectionPoliciesSortByEnum = "timeCreated"
    ListProtectionPoliciesSortByDisplayname ListProtectionPoliciesSortByEnum = "displayName"
)

func GetListProtectionPoliciesSortByEnumValues

func GetListProtectionPoliciesSortByEnumValues() []ListProtectionPoliciesSortByEnum

GetListProtectionPoliciesSortByEnumValues Enumerates the set of values for ListProtectionPoliciesSortByEnum

func GetMappingListProtectionPoliciesSortByEnum

func GetMappingListProtectionPoliciesSortByEnum(val string) (ListProtectionPoliciesSortByEnum, bool)

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

type ListProtectionPoliciesSortOrderEnum

ListProtectionPoliciesSortOrderEnum Enum with underlying type: string

type ListProtectionPoliciesSortOrderEnum string

Set of constants representing the allowable values for ListProtectionPoliciesSortOrderEnum

const (
    ListProtectionPoliciesSortOrderAsc  ListProtectionPoliciesSortOrderEnum = "ASC"
    ListProtectionPoliciesSortOrderDesc ListProtectionPoliciesSortOrderEnum = "DESC"
)

func GetListProtectionPoliciesSortOrderEnumValues

func GetListProtectionPoliciesSortOrderEnumValues() []ListProtectionPoliciesSortOrderEnum

GetListProtectionPoliciesSortOrderEnumValues Enumerates the set of values for ListProtectionPoliciesSortOrderEnum

func GetMappingListProtectionPoliciesSortOrderEnum

func GetMappingListProtectionPoliciesSortOrderEnum(val string) (ListProtectionPoliciesSortOrderEnum, bool)

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

type ListRecoveryServiceSubnetsLifecycleStateEnum

ListRecoveryServiceSubnetsLifecycleStateEnum Enum with underlying type: string

type ListRecoveryServiceSubnetsLifecycleStateEnum string

Set of constants representing the allowable values for ListRecoveryServiceSubnetsLifecycleStateEnum

const (
    ListRecoveryServiceSubnetsLifecycleStateCreating ListRecoveryServiceSubnetsLifecycleStateEnum = "CREATING"
    ListRecoveryServiceSubnetsLifecycleStateUpdating ListRecoveryServiceSubnetsLifecycleStateEnum = "UPDATING"
    ListRecoveryServiceSubnetsLifecycleStateActive   ListRecoveryServiceSubnetsLifecycleStateEnum = "ACTIVE"
    ListRecoveryServiceSubnetsLifecycleStateDeleting ListRecoveryServiceSubnetsLifecycleStateEnum = "DELETING"
    ListRecoveryServiceSubnetsLifecycleStateDeleted  ListRecoveryServiceSubnetsLifecycleStateEnum = "DELETED"
    ListRecoveryServiceSubnetsLifecycleStateFailed   ListRecoveryServiceSubnetsLifecycleStateEnum = "FAILED"
)

func GetListRecoveryServiceSubnetsLifecycleStateEnumValues

func GetListRecoveryServiceSubnetsLifecycleStateEnumValues() []ListRecoveryServiceSubnetsLifecycleStateEnum

GetListRecoveryServiceSubnetsLifecycleStateEnumValues Enumerates the set of values for ListRecoveryServiceSubnetsLifecycleStateEnum

func GetMappingListRecoveryServiceSubnetsLifecycleStateEnum

func GetMappingListRecoveryServiceSubnetsLifecycleStateEnum(val string) (ListRecoveryServiceSubnetsLifecycleStateEnum, bool)

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

type ListRecoveryServiceSubnetsRequest

ListRecoveryServiceSubnetsRequest wrapper for the ListRecoveryServiceSubnets operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/recovery/ListRecoveryServiceSubnets.go.html to see an example of how to use ListRecoveryServiceSubnetsRequest.

type ListRecoveryServiceSubnetsRequest struct {

    // The compartment OCID.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // A filter to return only the resources that match the specified lifecycle state.
    // Allowed values are:
    //   - CREATING
    //   - UPDATING
    //   - ACTIVE
    //   - DELETING
    //   - DELETED
    //   - FAILED
    LifecycleState ListRecoveryServiceSubnetsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

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

    // The recovery service subnet OCID.
    Id *string `mandatory:"false" contributesTo:"query" name:"id"`

    // The OCID of the virtual cloud network (VCN) associated with the recovery service subnet.
    VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"`

    // The maximum number of items to return per page.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order to use, either ascending (ASC) or descending (DESC).
    // Allowed values are:
    //   - ASC
    //   - DESC
    SortOrder ListRecoveryServiceSubnetsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. You can provide one sort order (sortOrder). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If you do not specify a value, then TIMECREATED is used as the default sort order.
    // Allowed values are:
    //   - TIMECREATED
    //   - DISPLAYNAME
    SortBy ListRecoveryServiceSubnetsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // Unique identifier for the request.
    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 (ListRecoveryServiceSubnetsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListRecoveryServiceSubnetsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListRecoveryServiceSubnetsRequest) RetryPolicy

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

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

func (ListRecoveryServiceSubnetsRequest) String

func (request ListRecoveryServiceSubnetsRequest) String() string

func (ListRecoveryServiceSubnetsRequest) ValidateEnumValue

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

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

type ListRecoveryServiceSubnetsResponse

ListRecoveryServiceSubnetsResponse wrapper for the ListRecoveryServiceSubnets operation

type ListRecoveryServiceSubnetsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of RecoveryServiceSubnetCollection instances
    RecoveryServiceSubnetCollection `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 (ListRecoveryServiceSubnetsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListRecoveryServiceSubnetsResponse) String

func (response ListRecoveryServiceSubnetsResponse) String() string

type ListRecoveryServiceSubnetsSortByEnum

ListRecoveryServiceSubnetsSortByEnum Enum with underlying type: string

type ListRecoveryServiceSubnetsSortByEnum string

Set of constants representing the allowable values for ListRecoveryServiceSubnetsSortByEnum

const (
    ListRecoveryServiceSubnetsSortByTimecreated ListRecoveryServiceSubnetsSortByEnum = "timeCreated"
    ListRecoveryServiceSubnetsSortByDisplayname ListRecoveryServiceSubnetsSortByEnum = "displayName"
)

func GetListRecoveryServiceSubnetsSortByEnumValues

func GetListRecoveryServiceSubnetsSortByEnumValues() []ListRecoveryServiceSubnetsSortByEnum

GetListRecoveryServiceSubnetsSortByEnumValues Enumerates the set of values for ListRecoveryServiceSubnetsSortByEnum

func GetMappingListRecoveryServiceSubnetsSortByEnum

func GetMappingListRecoveryServiceSubnetsSortByEnum(val string) (ListRecoveryServiceSubnetsSortByEnum, bool)

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

type ListRecoveryServiceSubnetsSortOrderEnum

ListRecoveryServiceSubnetsSortOrderEnum Enum with underlying type: string

type ListRecoveryServiceSubnetsSortOrderEnum string

Set of constants representing the allowable values for ListRecoveryServiceSubnetsSortOrderEnum

const (
    ListRecoveryServiceSubnetsSortOrderAsc  ListRecoveryServiceSubnetsSortOrderEnum = "ASC"
    ListRecoveryServiceSubnetsSortOrderDesc ListRecoveryServiceSubnetsSortOrderEnum = "DESC"
)

func GetListRecoveryServiceSubnetsSortOrderEnumValues

func GetListRecoveryServiceSubnetsSortOrderEnumValues() []ListRecoveryServiceSubnetsSortOrderEnum

GetListRecoveryServiceSubnetsSortOrderEnumValues Enumerates the set of values for ListRecoveryServiceSubnetsSortOrderEnum

func GetMappingListRecoveryServiceSubnetsSortOrderEnum

func GetMappingListRecoveryServiceSubnetsSortOrderEnum(val string) (ListRecoveryServiceSubnetsSortOrderEnum, bool)

GetMappingListRecoveryServiceSubnetsSortOrderEnum 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.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/recovery/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.

type ListWorkRequestErrorsRequest struct {

    // The OCID of the work request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

    // Unique identifier for the request.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The maximum number of items to return per page.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending.
    SortBy ListWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The sort order to use, either ascending (ASC) or descending (DESC).
    // Allowed values are:
    //   - ASC
    //   - 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 (
    ListWorkRequestErrorsSortByTimecreated ListWorkRequestErrorsSortByEnum = "timeCreated"
)

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.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/recovery/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.

type ListWorkRequestLogsRequest struct {

    // The OCID of the work request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

    // Unique identifier for the request.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The maximum number of items to return per page.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending.
    SortBy ListWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The sort order to use, either ascending (ASC) or descending (DESC).
    // Allowed values are:
    //   - ASC
    //   - 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 (
    ListWorkRequestLogsSortByTimecreated ListWorkRequestLogsSortByEnum = "timeCreated"
)

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.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/recovery/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.

type ListWorkRequestsRequest struct {

    // The compartment OCID.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Unique Oracle-assigned identifier of the 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 ID of the resource affected by the work request.
    ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`

    // Unique identifier for the request.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The maximum number of items to return per page.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The sort order to use, either ascending (ASC) or descending (DESC).
    // Allowed values are:
    //   - ASC
    //   - 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"
    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 Metrics

Metrics Backup performance and storage utilization metrics for the protected database.

type Metrics struct {

    // Backup storage space, in gigabytes, utilized by the protected database. Oracle charges for the total storage used.
    BackupSpaceUsedInGBs *float32 `mandatory:"false" json:"backupSpaceUsedInGBs"`

    // The estimated backup storage space, in gigabytes, required to meet the recovery window goal, including foot print and backups for the protected database.
    BackupSpaceEstimateInGBs *float32 `mandatory:"false" json:"backupSpaceEstimateInGBs"`

    // This is the time window when there is data loss exposure. The point after which recovery is impossible unless additional redo is available.
    // This is the time we received the last backup or last redo-log shipped.
    UnprotectedWindowInSeconds *float32 `mandatory:"false" json:"unprotectedWindowInSeconds"`

    // The estimated space, in gigabytes, consumed by the protected database. The database size is based on the size of the data files in the catalog, and does not include archive logs.
    DbSizeInGBs *float32 `mandatory:"false" json:"dbSizeInGBs"`

    // The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service.
    // Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups.
    IsRedoLogsEnabled *bool `mandatory:"false" json:"isRedoLogsEnabled"`

    // The maximum number of days to retain backups for a protected database.
    RetentionPeriodInDays *float32 `mandatory:"false" json:"retentionPeriodInDays"`

    // Number of seconds backups are currently retained for this database.
    CurrentRetentionPeriodInSeconds *float32 `mandatory:"false" json:"currentRetentionPeriodInSeconds"`
}

func (Metrics) String

func (m Metrics) String() string

func (Metrics) ValidateEnumValue

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

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

type MetricsSummary

MetricsSummary Backup performance and storage utilization metrics for the Protected Database.

type MetricsSummary struct {

    // Backup storage space, in gigabytes, utilized by the protected database. Oracle charges for the total storage used.
    BackupSpaceUsedInGBs *float32 `mandatory:"false" json:"backupSpaceUsedInGBs"`

    // The estimated backup storage space, in gigabytes, required to meet the recovery window goal, including foot print and backups for the protected database.
    BackupSpaceEstimateInGBs *float32 `mandatory:"false" json:"backupSpaceEstimateInGBs"`

    // This is the time window when there is data loss exposure. The point after which recovery is impossible unless additional redo is available.
    // This is the time we received the last backup or last redo-log shipped.
    UnprotectedWindowInSeconds *float32 `mandatory:"false" json:"unprotectedWindowInSeconds"`

    // The estimated space, in gigabytes, consumed by the protected database. The database size is based on the size of the data files in the catalog, and does not include archive logs.
    DbSizeInGBs *float32 `mandatory:"false" json:"dbSizeInGBs"`

    // The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service.
    // Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups.
    IsRedoLogsEnabled *bool `mandatory:"false" json:"isRedoLogsEnabled"`

    // The maximum number of days to retain backups for a protected database.
    RetentionPeriodInDays *float32 `mandatory:"false" json:"retentionPeriodInDays"`

    // Number of seconds backups are currently retained for this database.
    CurrentRetentionPeriodInSeconds *float32 `mandatory:"false" json:"currentRetentionPeriodInSeconds"`
}

func (MetricsSummary) String

func (m MetricsSummary) String() string

func (MetricsSummary) ValidateEnumValue

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

ValidateEnumValue returns an error 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"
    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 (
    OperationTypeCreateProtectedDatabase     OperationTypeEnum = "CREATE_PROTECTED_DATABASE"
    OperationTypeUpdateProtectedDatabase     OperationTypeEnum = "UPDATE_PROTECTED_DATABASE"
    OperationTypeDeleteProtectedDatabase     OperationTypeEnum = "DELETE_PROTECTED_DATABASE"
    OperationTypeMoveProtectedDatabase       OperationTypeEnum = "MOVE_PROTECTED_DATABASE"
    OperationTypeCreateProtectionPolicy      OperationTypeEnum = "CREATE_PROTECTION_POLICY"
    OperationTypeUpdateProtectionPolicy      OperationTypeEnum = "UPDATE_PROTECTION_POLICY"
    OperationTypeDeleteProtectionPolicy      OperationTypeEnum = "DELETE_PROTECTION_POLICY"
    OperationTypeMoveProtectionPolicy        OperationTypeEnum = "MOVE_PROTECTION_POLICY"
    OperationTypeCreateRecoveryServiceSubnet OperationTypeEnum = "CREATE_RECOVERY_SERVICE_SUBNET"
    OperationTypeUpdateRecoveryServiceSubnet OperationTypeEnum = "UPDATE_RECOVERY_SERVICE_SUBNET"
    OperationTypeDeleteRecoveryServiceSubnet OperationTypeEnum = "DELETE_RECOVERY_SERVICE_SUBNET"
    OperationTypeMoveRecoveryServiceSubnet   OperationTypeEnum = "MOVE_RECOVERY_SERVICE_SUBNET"
)

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 ProtectedDatabase

ProtectedDatabase A protected database is an Oracle Cloud Database whose backups are managed by Oracle Database Autonomous Recovery Service. Each protected database requires a recovery service subnet and a protection policy to use Recovery Service as the backup destination for centralized backup and recovery

type ProtectedDatabase struct {

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

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

    // The dbUniqueName for the protected database in Recovery Service. You cannot change the unique name.
    DbUniqueName *string `mandatory:"true" json:"dbUniqueName"`

    // The virtual private catalog (VPC) user credentials that authenticates the protected database to access Recovery Service.
    VpcUserName *string `mandatory:"true" json:"vpcUserName"`

    // The size of the protected database. XS - Less than 5GB, S - 5GB to 50GB, M - 50GB to 500GB, L - 500GB to 1TB, XL - 1TB to 5TB, XXL - Greater than 5TB.
    DatabaseSize DatabaseSizesEnum `mandatory:"true" json:"databaseSize"`

    // The OCID of the protection policy associated with the protected database.
    ProtectionPolicyId *string `mandatory:"true" json:"protectionPolicyId"`

    // List of recovery service subnet resources associated with the protected database.
    RecoveryServiceSubnets []RecoveryServiceSubnetDetails `mandatory:"true" json:"recoveryServiceSubnets"`

    // The protected database name. You can change the displayName. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The OCID of the protected database.
    DatabaseId *string `mandatory:"false" json:"databaseId"`

    // The size of the database in GBs, in gigabytes.
    DatabaseSizeInGBs *int `mandatory:"false" json:"databaseSizeInGBs"`

    // The percentage of data changes that exist in the database between successive incremental backups.
    ChangeRate *float64 `mandatory:"false" json:"changeRate"`

    // The compression ratio of the protected database. The compression ratio represents the ratio of compressed block size to expanded block size.
    CompressionRatio *float64 `mandatory:"false" json:"compressionRatio"`

    // The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service.
    // Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups. For this to be effective, additional
    // configuration is needed on client side.
    IsRedoLogsShipped *bool `mandatory:"false" json:"isRedoLogsShipped"`

    // An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z'
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // An RFC3339 formatted datetime string that indicates the last updated time for a protected database. For example: '2020-05-22T21:10:29.600Z'
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // The current state of the Protected Database.
    LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // Indicates the protection status of the database. Allowed values are:
    //  - HEALTHY
    //  - WARNING
    //  - ALERT
    // A 'HEALTHY' status indicates that Recovery Service can ensure database recovery to any point in time within the entire recovery window. The potential data loss exposure since the last backup is:
    //  - Less than 10 seconds, if Real-time data protection is enabled
    //  - Less than 70 minutes if Real-time data protection is disabled
    // A 'WARNING' status indicates that Recovery Service can ensure database recovery within the current recovery window - 1 day. The potential data loss exposure since the last backup is:
    //  - Greater than 10 seconds, if Real-time data protection is enabled
    //  - Greater than 60 minutes, if if Real-time data protection is disabled
    // An 'ALERT' status indicates that Recovery Service cannot recover the database within the current recovery window.
    Health HealthEnum `mandatory:"false" json:"health,omitempty"`

    // Indicates whether the protected database is created by Recovery Service or created manually.
    // Set to <b>TRUE</b> for a service-defined protected database. When you enable the OCI-managed automatic backups option for a database and set Recovery Service as the backup destination, then Recovery Service creates the associated protected database resource.
    // Set to <b>FALSE</b> for a user-defined protected database.
    IsReadOnlyResource *bool `mandatory:"false" json:"isReadOnlyResource"`

    // Detailed description about the current lifecycle state of the protected database. For example, it can be used to provide actionable information for a resource in a Failed state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // A message describing the current health of the protected database.
    HealthDetails *string `mandatory:"false" json:"healthDetails"`

    Metrics *Metrics `mandatory:"false" json:"metrics"`

    // 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"}}`. For more information, see Resource Tags (https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
    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"}}`. For more information, see Resource Tags (https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (ProtectedDatabase) String

func (m ProtectedDatabase) String() string

func (ProtectedDatabase) ValidateEnumValue

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

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

type ProtectedDatabaseCollection

ProtectedDatabaseCollection Results of a protected database search operation. The results contain protected database summary and metadata information.

type ProtectedDatabaseCollection struct {

    // List of protected databases.
    Items []ProtectedDatabaseSummary `mandatory:"true" json:"items"`
}

func (ProtectedDatabaseCollection) String

func (m ProtectedDatabaseCollection) String() string

func (ProtectedDatabaseCollection) ValidateEnumValue

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

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

type ProtectedDatabaseSummary

ProtectedDatabaseSummary A protected database is an Oracle Cloud Database whose backups are managed by Oracle Database Autonomous Recovery Service. Each protected database requires a recovery service subnet and a protection policy to use Recovery Service as the backup destination for centralized backup and recovery. To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). For information about access control and compartments, see Overview of the Identity Service (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm).

type ProtectedDatabaseSummary struct {

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

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

    // The dbUniqueName for the protected database in Recovery Service. You cannot change the unique name.
    DbUniqueName *string `mandatory:"true" json:"dbUniqueName"`

    // The virtual private catalog (VPC) user credentials that authenticates the protected database to access Recovery Service.
    VpcUserName *string `mandatory:"true" json:"vpcUserName"`

    // The size of the protected database. XS - Less than 5GB, S - 5GB to 50GB, M - 50GB to 500GB, L - 500GB to 1TB, XL - 1TB to 5TB, XXL - Greater than 5TB.
    DatabaseSize DatabaseSizesEnum `mandatory:"true" json:"databaseSize"`

    // The OCID of the protection policy associated with the protected database.
    ProtectionPolicyId *string `mandatory:"true" json:"protectionPolicyId"`

    // The protected database name. You can change the displayName. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // List of recovery service subnet resources associated with the protected database.
    RecoveryServiceSubnets []RecoveryServiceSubnetDetails `mandatory:"false" json:"recoveryServiceSubnets"`

    // The OCID of the protected database.
    DatabaseId *string `mandatory:"false" json:"databaseId"`

    // An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z'
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // An RFC3339 formatted datetime string that indicates the last updated time for a protected database. For example: '2020-05-22T21:10:29.600Z'
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // The current state of the Protected Database.
    LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // The health of the Protected Database.
    Health HealthEnum `mandatory:"false" json:"health,omitempty"`

    // Detailed description about the current lifecycle state of the protected database. For example, it can be used to provide actionable information for a resource in a Failed state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // A message describing the current health of the protected database.
    HealthDetails *string `mandatory:"false" json:"healthDetails"`

    // Indicates whether the protected database is created by Recovery Service or created manually.
    // Set to <b>TRUE</b> for a service-defined protected database. When you enable the OCI-managed automatic backups option for a database and set Recovery Service as the backup destination, then Recovery Service creates the associated protected database resource.
    // Set to <b>FALSE</b> for a user-defined protected database.
    IsReadOnlyResource *bool `mandatory:"false" json:"isReadOnlyResource"`

    Metrics *MetricsSummary `mandatory:"false" json:"metrics"`

    // 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"}}`. For more information, see Resource Tags (https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
    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"}}`. For more information, see Resource Tags (https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (ProtectedDatabaseSummary) String

func (m ProtectedDatabaseSummary) String() string

func (ProtectedDatabaseSummary) ValidateEnumValue

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

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

type ProtectionPolicy

ProtectionPolicy The details of a protection policy.A policy defines the exact number of days to retain protected database backups created by Recovery Service. Each protected database must be associated with one protection policy. You can use Oracle-defined protection policies or create custom policies to suit your internal backup storage regulation demands.

type ProtectionPolicy struct {

    // The protection policy OCID.
    Id *string `mandatory:"true" json:"id"`

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

    // The maximum number of days to retain backups for a protected database. Specify a period ranging from a minimum 14 days to a maximum 95 days. For example, specify the value 55 if you want to retain backups for 55 days.
    BackupRetentionPeriodInDays *int `mandatory:"true" json:"backupRetentionPeriodInDays"`

    // Set to TRUE if the policy is Oracle-defined, and FALSE for a user-defined custom policy. You can modify only the custom policies.
    IsPredefinedPolicy *bool `mandatory:"true" json:"isPredefinedPolicy"`

    // A user provided name for the protection policy.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // An RFC3339 formatted datetime string that indicates the created time for the protection policy. For example: '2020-05-22T21:10:29.600Z'.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // An RFC3339 formatted datetime string that indicates the updated time for the protection policy. For example: '2020-05-22T21:10:29.600Z'.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // The current state of the protection policy. Allowed values are:
    //   - CREATING
    //   - UPDATING
    //   - ACTIVE
    //   - DELETING
    //   - DELETED
    //   - FAILED
    LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // 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"}}`. For more information, see Resource Tags (https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
    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"}}`. For more information, see Resource Tags (https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (ProtectionPolicy) String

func (m ProtectionPolicy) String() string

func (ProtectionPolicy) ValidateEnumValue

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

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

type ProtectionPolicyCollection

ProtectionPolicyCollection Results of a Protection Policy search. Contains both Protection Policy Summary items and other information, such as metadata.

type ProtectionPolicyCollection struct {

    // List of ProtectionPolicies.
    Items []ProtectionPolicySummary `mandatory:"true" json:"items"`
}

func (ProtectionPolicyCollection) String

func (m ProtectionPolicyCollection) String() string

func (ProtectionPolicyCollection) ValidateEnumValue

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

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

type ProtectionPolicySummary

ProtectionPolicySummary Recovery Service enables policy driven backup storage management. To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). For information about access control and compartments, see Overview of the Identity Service (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm).

type ProtectionPolicySummary struct {

    // The protection policy OCID.
    Id *string `mandatory:"true" json:"id"`

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

    // The maximum number of days to retain backups for a protected database.
    BackupRetentionPeriodInDays *int `mandatory:"true" json:"backupRetentionPeriodInDays"`

    // Set to TRUE if the policy is Oracle-defined, and FALSE for a user-defined custom policy. You can modify only the custom policies.
    IsPredefinedPolicy *bool `mandatory:"true" json:"isPredefinedPolicy"`

    // A user provided name for the protection policy.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The time the Protection Policy was created. An RFC3339 formatted datetime string
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The time the Protection Policy was updated. An RFC3339 formatted datetime string
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // The current state of the Protection Policy.
    LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // 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"}}`. For more information, see Resource Tags (https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
    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"}}`. For more information, see Resource Tags (https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (ProtectionPolicySummary) String

func (m ProtectionPolicySummary) String() string

func (ProtectionPolicySummary) ValidateEnumValue

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

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

type RecoveryServiceSubnet

RecoveryServiceSubnet The details of a recovery service subnet. Recovery service subnets allows Recovery Service to access protected databases in each VCN. Each recovery service subnet uses a single private endpoint on a subnet of your choice within a VCN. The private endpoint need not be on the same subnet as the Oracle Cloud Database, although, it must be on a subnet that can communicate with the Oracle Cloud Database.

type RecoveryServiceSubnet struct {

    // The recovery service subnet OCID.
    Id *string `mandatory:"true" json:"id"`

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

    // VCN Identifier.
    VcnId *string `mandatory:"true" json:"vcnId"`

    // The OCID of the subnet used as the recovery service subnet.
    SubnetId *string `mandatory:"true" json:"subnetId"`

    // A user-provided name for the recovery service subnet.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // An RFC3339 formatted datetime string that indicates the last created time for a recovery service subnet. For example: '2020-05-22T21:10:29.600Z'.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // An RFC3339 formatted datetime string that indicates the last updated time for a recovery service subnet. For example: '2020-05-22T21:10:29.600Z'.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // The current state of the recovery service subnet.
    // Allowed values are:
    //   - CREATING
    //   - UPDATING
    //   - ACTIVE
    //   - DELETING
    //   - DELETED
    //   - FAILED
    LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // Detailed description about the current lifecycle state of the recovery service subnet. For example, it can be used to provide actionable information for a resource in a Failed state
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // 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"}}`. For more information, see Resource Tags (https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
    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"}}`. For more information, see Resource Tags (https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (RecoveryServiceSubnet) String

func (m RecoveryServiceSubnet) String() string

func (RecoveryServiceSubnet) ValidateEnumValue

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

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

type RecoveryServiceSubnetCollection

RecoveryServiceSubnetCollection Results of a recovery service subnet search operation. The results contain recovery service subnet summary and metadata information.

type RecoveryServiceSubnetCollection struct {

    // List of recovery service subnet resources.
    Items []RecoveryServiceSubnetSummary `mandatory:"true" json:"items"`
}

func (RecoveryServiceSubnetCollection) String

func (m RecoveryServiceSubnetCollection) String() string

func (RecoveryServiceSubnetCollection) ValidateEnumValue

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

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

type RecoveryServiceSubnetDetails

RecoveryServiceSubnetDetails Details of the Recovery Service Subnet.

type RecoveryServiceSubnetDetails struct {

    // Recovery Service Subnet Identifier.
    RecoveryServiceSubnetId *string `mandatory:"true" json:"recoveryServiceSubnetId"`

    // The current state of the Recovery Service Subnet.
    LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

func (RecoveryServiceSubnetDetails) String

func (m RecoveryServiceSubnetDetails) String() string

func (RecoveryServiceSubnetDetails) ValidateEnumValue

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

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

type RecoveryServiceSubnetInput

RecoveryServiceSubnetInput Parameters to retrieve information about a specific recovery service subnet.

type RecoveryServiceSubnetInput struct {

    // The recovery service subnet OCID.
    RecoveryServiceSubnetId *string `mandatory:"true" json:"recoveryServiceSubnetId"`
}

func (RecoveryServiceSubnetInput) String

func (m RecoveryServiceSubnetInput) String() string

func (RecoveryServiceSubnetInput) ValidateEnumValue

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

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

type RecoveryServiceSubnetSummary

RecoveryServiceSubnetSummary Each Recovery Service subnet uses a single private endpoint on a subnet of your choice within a VCN. The private endpoint need not be on the same subnet as the Oracle Cloud Database, although, it must be on a subnet that can communicate with the Oracle Cloud Database. To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies. For information about access control and compartments, see Overview of the Identity Service (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm).

type RecoveryServiceSubnetSummary struct {

    // The recovery service subnet OCID.
    Id *string `mandatory:"true" json:"id"`

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

    // The OCID of the virtual cloud network (VCN) associated with the recovery service subnet. You can create a single recovery service subnet per VCN.
    VcnId *string `mandatory:"true" json:"vcnId"`

    // The OCID of the subnet associated with the recovery service subnet. You can create a single backup network per virtual cloud network (VCN).
    SubnetId *string `mandatory:"true" json:"subnetId"`

    // A user-provided name for the recovery service subnet.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // An RFC3339 formatted datetime string that indicates the last created time for a recovery service subnet. For example: '2020-05-22T21:10:29.600Z'.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // An RFC3339 formatted datetime string that indicates the last updated time for a recovery service subnet. For example: '2020-05-22T21:10:29.600Z'.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // The current state of the recovery service subnet.
    // Allowed values are:
    //   - CREATING
    //   - UPDATING
    //   - ACTIVE
    //   - DELETING
    //   - DELETED
    //   - FAILED
    LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // Detailed description about the current lifecycle state of the recovery service subnet. For example, it can be used to provide actionable information for a resource in a Failed state
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // 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"}}`. For more information, see Resource Tags (https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
    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"}}`. For more information, see Resource Tags (https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (RecoveryServiceSubnetSummary) String

func (m RecoveryServiceSubnetSummary) String() string

func (RecoveryServiceSubnetSummary) ValidateEnumValue

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

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

UpdateProtectedDatabaseDetails Describes the parameters required to update a protected database.

type UpdateProtectedDatabaseDetails struct {

    // The protected database name. You can change the displayName. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The size of the database is allowed to be decreased. XS - Less than 5GB, S - 5GB to 50GB, M - 50GB to 500GB, L - 500GB to 1TB, XL - 1TB to 5TB, XXL - Greater than 5TB.
    DatabaseSize DatabaseSizesEnum `mandatory:"false" json:"databaseSize,omitempty"`

    // The size of the database, in gigabytes.
    DatabaseSizeInGBs *int `mandatory:"false" json:"databaseSizeInGBs"`

    // Password credential which can be used to connect to Protected Database.
    // It must contain at least 2 uppercase, 2 lowercase, 2 numeric and 2 special characters.
    // The special characters must be underscore (_), number sign (#) or hyphen (-). The password must not contain the username "admin", regardless of casing.
    // Password must not be same as current passsword.
    Password *string `mandatory:"false" json:"password"`

    // The OCID of the protection policy associated with the protected database.
    ProtectionPolicyId *string `mandatory:"false" json:"protectionPolicyId"`

    // List of recovery service subnet resources associated with the protected database.
    RecoveryServiceSubnets []RecoveryServiceSubnetInput `mandatory:"false" json:"recoveryServiceSubnets"`

    // The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service.
    // Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups. For this to be effective, additional
    // configuration is needed on client side.
    IsRedoLogsShipped *bool `mandatory:"false" json:"isRedoLogsShipped"`

    // 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"}}`. For more information, see Resource Tags (https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (UpdateProtectedDatabaseDetails) String

func (m UpdateProtectedDatabaseDetails) String() string

func (UpdateProtectedDatabaseDetails) ValidateEnumValue

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

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

type UpdateProtectedDatabaseRequest

UpdateProtectedDatabaseRequest wrapper for the UpdateProtectedDatabase operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/recovery/UpdateProtectedDatabase.go.html to see an example of how to use UpdateProtectedDatabaseRequest.

type UpdateProtectedDatabaseRequest struct {

    // The protected database OCID.
    ProtectedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"protectedDatabaseId"`

    // Describes the parameters required to update a protected database.
    UpdateProtectedDatabaseDetails `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"`

    // Unique identifier for the request.
    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 (UpdateProtectedDatabaseRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateProtectedDatabaseRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateProtectedDatabaseRequest) RetryPolicy

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

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

func (UpdateProtectedDatabaseRequest) String

func (request UpdateProtectedDatabaseRequest) String() string

func (UpdateProtectedDatabaseRequest) ValidateEnumValue

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

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

type UpdateProtectedDatabaseResponse

UpdateProtectedDatabaseResponse wrapper for the UpdateProtectedDatabase operation

type UpdateProtectedDatabaseResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier of the work request.
    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 (UpdateProtectedDatabaseResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateProtectedDatabaseResponse) String

func (response UpdateProtectedDatabaseResponse) String() string

type UpdateProtectionPolicyDetails

UpdateProtectionPolicyDetails The information to be updated.

type UpdateProtectionPolicyDetails struct {

    // A user provided name for the protection policy. The 'displayName' does not have to be unique, and it can be modified. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The maximum number of days to retain backups for a protected database.
    BackupRetentionPeriodInDays *int `mandatory:"false" json:"backupRetentionPeriodInDays"`

    // 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"}}`. For more information, see Resource Tags (https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (UpdateProtectionPolicyDetails) String

func (m UpdateProtectionPolicyDetails) String() string

func (UpdateProtectionPolicyDetails) ValidateEnumValue

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

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

type UpdateProtectionPolicyRequest

UpdateProtectionPolicyRequest wrapper for the UpdateProtectionPolicy operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/recovery/UpdateProtectionPolicy.go.html to see an example of how to use UpdateProtectionPolicyRequest.

type UpdateProtectionPolicyRequest struct {

    // The protection policy OCID.
    ProtectionPolicyId *string `mandatory:"true" contributesTo:"path" name:"protectionPolicyId"`

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

    // Unique identifier for the request.
    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 (UpdateProtectionPolicyRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateProtectionPolicyRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateProtectionPolicyRequest) RetryPolicy

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

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

func (UpdateProtectionPolicyRequest) String

func (request UpdateProtectionPolicyRequest) String() string

func (UpdateProtectionPolicyRequest) ValidateEnumValue

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

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

type UpdateProtectionPolicyResponse

UpdateProtectionPolicyResponse wrapper for the UpdateProtectionPolicy operation

type UpdateProtectionPolicyResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier of the work request.
    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 (UpdateProtectionPolicyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateProtectionPolicyResponse) String

func (response UpdateProtectionPolicyResponse) String() string

type UpdateRecoveryServiceSubnetDetails

UpdateRecoveryServiceSubnetDetails Describes the parameters required to update a recovery service subnet.

type UpdateRecoveryServiceSubnetDetails struct {

    // A user-provided name for the recovery service subnet. The 'displayName' does not have to be unique, and it can be modified. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

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

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`. For more information, see Resource Tags (https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (UpdateRecoveryServiceSubnetDetails) String

func (m UpdateRecoveryServiceSubnetDetails) String() string

func (UpdateRecoveryServiceSubnetDetails) ValidateEnumValue

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

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

type UpdateRecoveryServiceSubnetRequest

UpdateRecoveryServiceSubnetRequest wrapper for the UpdateRecoveryServiceSubnet operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/recovery/UpdateRecoveryServiceSubnet.go.html to see an example of how to use UpdateRecoveryServiceSubnetRequest.

type UpdateRecoveryServiceSubnetRequest struct {

    // The recovery service subnet OCID.
    RecoveryServiceSubnetId *string `mandatory:"true" contributesTo:"path" name:"recoveryServiceSubnetId"`

    // Describes the parameters required to update a recovery service subnet.
    UpdateRecoveryServiceSubnetDetails `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"`

    // Unique identifier for the request.
    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 (UpdateRecoveryServiceSubnetRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateRecoveryServiceSubnetRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateRecoveryServiceSubnetRequest) RetryPolicy

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

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

func (UpdateRecoveryServiceSubnetRequest) String

func (request UpdateRecoveryServiceSubnetRequest) String() string

func (UpdateRecoveryServiceSubnetRequest) ValidateEnumValue

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

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

type UpdateRecoveryServiceSubnetResponse

UpdateRecoveryServiceSubnetResponse wrapper for the UpdateRecoveryServiceSubnet operation

type UpdateRecoveryServiceSubnetResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier of the work request.
    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 (UpdateRecoveryServiceSubnetResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateRecoveryServiceSubnetResponse) String

func (response UpdateRecoveryServiceSubnetResponse) String() string

type WorkRequest

WorkRequest A description of workrequest status

type WorkRequest struct {

    // Type of the work request
    OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`

    // Status of current work request.
    Status OperationStatusEnum `mandatory:"true" json:"status"`

    // The id of the work request.
    Id *string `mandatory:"true" json:"id"`

    // The ocid of the compartment that contains the work request. Work requests should be scoped to
    // the same compartment as the resource the work request affects. If the work request affects multiple resources,
    // and those resources are not in the same compartment, it is up to the service team to pick the primary
    // resource whose compartment should be used
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The resources affected by this work request.
    Resources []WorkRequestResource `mandatory:"true" json:"resources"`

    // Percentage of the request completed.
    PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

    // The date and time the request was created, as described in
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
    TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

    // The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
    // section 14.29.
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The date and time  the work request reached a terminal state, either FAILED or SUCCEEDED, as described in 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 a work request.

type WorkRequestError struct {

    // A machine-usable code for the error that occured. Error codes are listed on
    // (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm)
    Code *string `mandatory:"true" json:"code"`

    // A human readable description of the issue encountered.
    Message *string `mandatory:"true" json:"message"`

    // The time the error occured. An RFC3339 formatted datetime string.
    Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

func (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 Results of a workRequestError search. Contains both WorkRequestError items and other information, such as metadata.

type WorkRequestErrorCollection struct {

    // List of workRequestError objects.
    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 the execution of a work request.

type WorkRequestLogEntry struct {

    // Human-readable log message.
    Message *string `mandatory:"true" json:"message"`

    // The time the log message was written. An RFC3339 formatted datetime string
    Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

func (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 Results of a workRequestLog search. Contains both workRequestLog items and other information, such as metadata.

type WorkRequestLogEntryCollection struct {

    // List of workRequestLogEntries.
    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 A resource created or operated on by a work request.

type WorkRequestResource struct {

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

    // The way in which this resource is affected by the work tracked in the work request.
    // A resource being created, updated, or deleted will remain in the IN_PROGRESS state until
    // work is complete for that resource at which point it will transition to CREATED, UPDATED,
    // or DELETED, respectively.
    ActionType ActionTypeEnum `mandatory:"true" json:"actionType"`

    // The identifier of the resource the work request affects.
    Identifier *string `mandatory:"true" json:"identifier"`

    // The URI path that the user can do a GET on to access the resource metadata
    EntityUri *string `mandatory:"false" json:"entityUri"`
}

func (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 summary of the status of a work request.

type WorkRequestSummary struct {

    // Type of the work request
    OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`

    // The status of the current work request.
    Status OperationStatusEnum `mandatory:"true" json:"status"`

    // The ID of the work request.
    Id *string `mandatory:"true" json:"id"`

    // The ocid of the compartment that contains the work request. Work requests should be scoped to
    // the same compartment as the resource the work request affects. If the work request affects multiple resources,
    // and those resources are not in the same compartment, it is up to the service team to pick the primary
    // resource whose compartment should be used.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The resources affected by this work request.
    Resources []WorkRequestResource `mandatory:"true" json:"resources"`

    // The completed percentage of the operation tracked by the work request.
    PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

    // The date and time the request was accepted, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. The precision for this time object is in milliseconds.
    TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

    // The date and time the work request transitioned from ACCEPTED to IN_PROGRESS, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. The precision for this time object is in milliseconds.
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The date and time the work request reached a terminal state, either FAILED or SUCCEEDED, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. The precision for this time object is in milliseconds.
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

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 Results of a workRequest search. Contains both WorkRequest items and other information, such as metadata.

type WorkRequestSummaryCollection struct {

    // List of workRequestSummary objects.
    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