...

Package datasafe

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

Overview ▾

Index ▾

type ActivateTargetDatabaseDetails
    func (m ActivateTargetDatabaseDetails) String() string
type ActivateTargetDatabaseRequest
    func (request ActivateTargetDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ActivateTargetDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ActivateTargetDatabaseRequest) RetryPolicy() *common.RetryPolicy
    func (request ActivateTargetDatabaseRequest) String() string
type ActivateTargetDatabaseResponse
    func (response ActivateTargetDatabaseResponse) HTTPResponse() *http.Response
    func (response ActivateTargetDatabaseResponse) String() string
type AutonomousDatabaseDetails
    func (m AutonomousDatabaseDetails) GetInfrastructureType() InfrastructureTypeEnum
    func (m AutonomousDatabaseDetails) MarshalJSON() (buff []byte, e error)
    func (m AutonomousDatabaseDetails) String() string
type ChangeDataSafePrivateEndpointCompartmentDetails
    func (m ChangeDataSafePrivateEndpointCompartmentDetails) String() string
type ChangeDataSafePrivateEndpointCompartmentRequest
    func (request ChangeDataSafePrivateEndpointCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeDataSafePrivateEndpointCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeDataSafePrivateEndpointCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeDataSafePrivateEndpointCompartmentRequest) String() string
type ChangeDataSafePrivateEndpointCompartmentResponse
    func (response ChangeDataSafePrivateEndpointCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeDataSafePrivateEndpointCompartmentResponse) String() string
type ChangeOnPremConnectorCompartmentDetails
    func (m ChangeOnPremConnectorCompartmentDetails) String() string
type ChangeOnPremConnectorCompartmentRequest
    func (request ChangeOnPremConnectorCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeOnPremConnectorCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeOnPremConnectorCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeOnPremConnectorCompartmentRequest) String() string
type ChangeOnPremConnectorCompartmentResponse
    func (response ChangeOnPremConnectorCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeOnPremConnectorCompartmentResponse) String() string
type ChangeSecurityAssessmentCompartmentDetails
    func (m ChangeSecurityAssessmentCompartmentDetails) String() string
type ChangeSecurityAssessmentCompartmentRequest
    func (request ChangeSecurityAssessmentCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeSecurityAssessmentCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeSecurityAssessmentCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeSecurityAssessmentCompartmentRequest) String() string
type ChangeSecurityAssessmentCompartmentResponse
    func (response ChangeSecurityAssessmentCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeSecurityAssessmentCompartmentResponse) String() string
type ChangeTargetDatabaseCompartmentDetails
    func (m ChangeTargetDatabaseCompartmentDetails) String() string
type ChangeTargetDatabaseCompartmentRequest
    func (request ChangeTargetDatabaseCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeTargetDatabaseCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeTargetDatabaseCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeTargetDatabaseCompartmentRequest) String() string
type ChangeTargetDatabaseCompartmentResponse
    func (response ChangeTargetDatabaseCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeTargetDatabaseCompartmentResponse) String() string
type ChangeUserAssessmentCompartmentDetails
    func (m ChangeUserAssessmentCompartmentDetails) String() string
type ChangeUserAssessmentCompartmentRequest
    func (request ChangeUserAssessmentCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeUserAssessmentCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeUserAssessmentCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeUserAssessmentCompartmentRequest) String() string
type ChangeUserAssessmentCompartmentResponse
    func (response ChangeUserAssessmentCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeUserAssessmentCompartmentResponse) String() string
type CompareSecurityAssessmentDetails
    func (m CompareSecurityAssessmentDetails) String() string
type CompareSecurityAssessmentRequest
    func (request CompareSecurityAssessmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CompareSecurityAssessmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CompareSecurityAssessmentRequest) RetryPolicy() *common.RetryPolicy
    func (request CompareSecurityAssessmentRequest) String() string
type CompareSecurityAssessmentResponse
    func (response CompareSecurityAssessmentResponse) HTTPResponse() *http.Response
    func (response CompareSecurityAssessmentResponse) String() string
type CompareUserAssessmentDetails
    func (m CompareUserAssessmentDetails) String() string
type CompareUserAssessmentRequest
    func (request CompareUserAssessmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CompareUserAssessmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CompareUserAssessmentRequest) RetryPolicy() *common.RetryPolicy
    func (request CompareUserAssessmentRequest) String() string
type CompareUserAssessmentResponse
    func (response CompareUserAssessmentResponse) HTTPResponse() *http.Response
    func (response CompareUserAssessmentResponse) String() string
type ConnectionOption
type ConnectionOptionConnectionTypeEnum
    func GetConnectionOptionConnectionTypeEnumValues() []ConnectionOptionConnectionTypeEnum
type CreateDataSafePrivateEndpointDetails
    func (m CreateDataSafePrivateEndpointDetails) String() string
type CreateDataSafePrivateEndpointRequest
    func (request CreateDataSafePrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateDataSafePrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateDataSafePrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateDataSafePrivateEndpointRequest) String() string
type CreateDataSafePrivateEndpointResponse
    func (response CreateDataSafePrivateEndpointResponse) HTTPResponse() *http.Response
    func (response CreateDataSafePrivateEndpointResponse) String() string
type CreateOnPremConnectorDetails
    func (m CreateOnPremConnectorDetails) String() string
type CreateOnPremConnectorRequest
    func (request CreateOnPremConnectorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateOnPremConnectorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateOnPremConnectorRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateOnPremConnectorRequest) String() string
type CreateOnPremConnectorResponse
    func (response CreateOnPremConnectorResponse) HTTPResponse() *http.Response
    func (response CreateOnPremConnectorResponse) String() string
type CreateSecurityAssessmentDetails
    func (m CreateSecurityAssessmentDetails) String() string
type CreateSecurityAssessmentRequest
    func (request CreateSecurityAssessmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateSecurityAssessmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateSecurityAssessmentRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateSecurityAssessmentRequest) String() string
type CreateSecurityAssessmentResponse
    func (response CreateSecurityAssessmentResponse) HTTPResponse() *http.Response
    func (response CreateSecurityAssessmentResponse) String() string
type CreateTargetDatabaseDetails
    func (m CreateTargetDatabaseDetails) String() string
    func (m *CreateTargetDatabaseDetails) UnmarshalJSON(data []byte) (e error)
type CreateTargetDatabaseRequest
    func (request CreateTargetDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateTargetDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateTargetDatabaseRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateTargetDatabaseRequest) String() string
type CreateTargetDatabaseResponse
    func (response CreateTargetDatabaseResponse) HTTPResponse() *http.Response
    func (response CreateTargetDatabaseResponse) String() string
type CreateUserAssessmentDetails
    func (m CreateUserAssessmentDetails) String() string
type CreateUserAssessmentRequest
    func (request CreateUserAssessmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateUserAssessmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateUserAssessmentRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateUserAssessmentRequest) String() string
type CreateUserAssessmentResponse
    func (response CreateUserAssessmentResponse) HTTPResponse() *http.Response
    func (response CreateUserAssessmentResponse) String() string
type Credentials
    func (m Credentials) String() string
type DataSafeClient
    func NewDataSafeClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DataSafeClient, err error)
    func NewDataSafeClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DataSafeClient, err error)
    func (client DataSafeClient) ActivateTargetDatabase(ctx context.Context, request ActivateTargetDatabaseRequest) (response ActivateTargetDatabaseResponse, err error)
    func (client DataSafeClient) ChangeDataSafePrivateEndpointCompartment(ctx context.Context, request ChangeDataSafePrivateEndpointCompartmentRequest) (response ChangeDataSafePrivateEndpointCompartmentResponse, err error)
    func (client DataSafeClient) ChangeOnPremConnectorCompartment(ctx context.Context, request ChangeOnPremConnectorCompartmentRequest) (response ChangeOnPremConnectorCompartmentResponse, err error)
    func (client DataSafeClient) ChangeSecurityAssessmentCompartment(ctx context.Context, request ChangeSecurityAssessmentCompartmentRequest) (response ChangeSecurityAssessmentCompartmentResponse, err error)
    func (client DataSafeClient) ChangeTargetDatabaseCompartment(ctx context.Context, request ChangeTargetDatabaseCompartmentRequest) (response ChangeTargetDatabaseCompartmentResponse, err error)
    func (client DataSafeClient) ChangeUserAssessmentCompartment(ctx context.Context, request ChangeUserAssessmentCompartmentRequest) (response ChangeUserAssessmentCompartmentResponse, err error)
    func (client DataSafeClient) CompareSecurityAssessment(ctx context.Context, request CompareSecurityAssessmentRequest) (response CompareSecurityAssessmentResponse, err error)
    func (client DataSafeClient) CompareUserAssessment(ctx context.Context, request CompareUserAssessmentRequest) (response CompareUserAssessmentResponse, err error)
    func (client *DataSafeClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client DataSafeClient) CreateDataSafePrivateEndpoint(ctx context.Context, request CreateDataSafePrivateEndpointRequest) (response CreateDataSafePrivateEndpointResponse, err error)
    func (client DataSafeClient) CreateOnPremConnector(ctx context.Context, request CreateOnPremConnectorRequest) (response CreateOnPremConnectorResponse, err error)
    func (client DataSafeClient) CreateSecurityAssessment(ctx context.Context, request CreateSecurityAssessmentRequest) (response CreateSecurityAssessmentResponse, err error)
    func (client DataSafeClient) CreateTargetDatabase(ctx context.Context, request CreateTargetDatabaseRequest) (response CreateTargetDatabaseResponse, err error)
    func (client DataSafeClient) CreateUserAssessment(ctx context.Context, request CreateUserAssessmentRequest) (response CreateUserAssessmentResponse, err error)
    func (client DataSafeClient) DeactivateTargetDatabase(ctx context.Context, request DeactivateTargetDatabaseRequest) (response DeactivateTargetDatabaseResponse, err error)
    func (client DataSafeClient) DeleteDataSafePrivateEndpoint(ctx context.Context, request DeleteDataSafePrivateEndpointRequest) (response DeleteDataSafePrivateEndpointResponse, err error)
    func (client DataSafeClient) DeleteOnPremConnector(ctx context.Context, request DeleteOnPremConnectorRequest) (response DeleteOnPremConnectorResponse, err error)
    func (client DataSafeClient) DeleteSecurityAssessment(ctx context.Context, request DeleteSecurityAssessmentRequest) (response DeleteSecurityAssessmentResponse, err error)
    func (client DataSafeClient) DeleteTargetDatabase(ctx context.Context, request DeleteTargetDatabaseRequest) (response DeleteTargetDatabaseResponse, err error)
    func (client DataSafeClient) DeleteUserAssessment(ctx context.Context, request DeleteUserAssessmentRequest) (response DeleteUserAssessmentResponse, err error)
    func (client DataSafeClient) DownloadPrivilegeScript(ctx context.Context, request DownloadPrivilegeScriptRequest) (response DownloadPrivilegeScriptResponse, err error)
    func (client DataSafeClient) DownloadSecurityAssessmentReport(ctx context.Context, request DownloadSecurityAssessmentReportRequest) (response DownloadSecurityAssessmentReportResponse, err error)
    func (client DataSafeClient) DownloadUserAssessmentReport(ctx context.Context, request DownloadUserAssessmentReportRequest) (response DownloadUserAssessmentReportResponse, err error)
    func (client DataSafeClient) EnableDataSafeConfiguration(ctx context.Context, request EnableDataSafeConfigurationRequest) (response EnableDataSafeConfigurationResponse, err error)
    func (client DataSafeClient) GenerateOnPremConnectorConfiguration(ctx context.Context, request GenerateOnPremConnectorConfigurationRequest) (response GenerateOnPremConnectorConfigurationResponse, err error)
    func (client DataSafeClient) GenerateSecurityAssessmentReport(ctx context.Context, request GenerateSecurityAssessmentReportRequest) (response GenerateSecurityAssessmentReportResponse, err error)
    func (client DataSafeClient) GenerateUserAssessmentReport(ctx context.Context, request GenerateUserAssessmentReportRequest) (response GenerateUserAssessmentReportResponse, err error)
    func (client DataSafeClient) GetDataSafeConfiguration(ctx context.Context, request GetDataSafeConfigurationRequest) (response GetDataSafeConfigurationResponse, err error)
    func (client DataSafeClient) GetDataSafePrivateEndpoint(ctx context.Context, request GetDataSafePrivateEndpointRequest) (response GetDataSafePrivateEndpointResponse, err error)
    func (client DataSafeClient) GetOnPremConnector(ctx context.Context, request GetOnPremConnectorRequest) (response GetOnPremConnectorResponse, err error)
    func (client DataSafeClient) GetSecurityAssessment(ctx context.Context, request GetSecurityAssessmentRequest) (response GetSecurityAssessmentResponse, err error)
    func (client DataSafeClient) GetSecurityAssessmentComparison(ctx context.Context, request GetSecurityAssessmentComparisonRequest) (response GetSecurityAssessmentComparisonResponse, err error)
    func (client DataSafeClient) GetTargetDatabase(ctx context.Context, request GetTargetDatabaseRequest) (response GetTargetDatabaseResponse, err error)
    func (client DataSafeClient) GetUserAssessment(ctx context.Context, request GetUserAssessmentRequest) (response GetUserAssessmentResponse, err error)
    func (client DataSafeClient) GetUserAssessmentComparison(ctx context.Context, request GetUserAssessmentComparisonRequest) (response GetUserAssessmentComparisonResponse, err error)
    func (client DataSafeClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
    func (client DataSafeClient) ListDataSafePrivateEndpoints(ctx context.Context, request ListDataSafePrivateEndpointsRequest) (response ListDataSafePrivateEndpointsResponse, err error)
    func (client DataSafeClient) ListFindings(ctx context.Context, request ListFindingsRequest) (response ListFindingsResponse, err error)
    func (client DataSafeClient) ListGrants(ctx context.Context, request ListGrantsRequest) (response ListGrantsResponse, err error)
    func (client DataSafeClient) ListOnPremConnectors(ctx context.Context, request ListOnPremConnectorsRequest) (response ListOnPremConnectorsResponse, err error)
    func (client DataSafeClient) ListSecurityAssessments(ctx context.Context, request ListSecurityAssessmentsRequest) (response ListSecurityAssessmentsResponse, err error)
    func (client DataSafeClient) ListTargetDatabases(ctx context.Context, request ListTargetDatabasesRequest) (response ListTargetDatabasesResponse, err error)
    func (client DataSafeClient) ListUserAnalytics(ctx context.Context, request ListUserAnalyticsRequest) (response ListUserAnalyticsResponse, err error)
    func (client DataSafeClient) ListUserAssessments(ctx context.Context, request ListUserAssessmentsRequest) (response ListUserAssessmentsResponse, err error)
    func (client DataSafeClient) ListUsers(ctx context.Context, request ListUsersRequest) (response ListUsersResponse, err error)
    func (client DataSafeClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
    func (client DataSafeClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
    func (client DataSafeClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
    func (client DataSafeClient) RefreshSecurityAssessment(ctx context.Context, request RefreshSecurityAssessmentRequest) (response RefreshSecurityAssessmentResponse, err error)
    func (client DataSafeClient) RefreshUserAssessment(ctx context.Context, request RefreshUserAssessmentRequest) (response RefreshUserAssessmentResponse, err error)
    func (client *DataSafeClient) SetRegion(region string)
    func (client DataSafeClient) SetSecurityAssessmentBaseline(ctx context.Context, request SetSecurityAssessmentBaselineRequest) (response SetSecurityAssessmentBaselineResponse, err error)
    func (client DataSafeClient) SetUserAssessmentBaseline(ctx context.Context, request SetUserAssessmentBaselineRequest) (response SetUserAssessmentBaselineResponse, err error)
    func (client DataSafeClient) UnsetSecurityAssessmentBaseline(ctx context.Context, request UnsetSecurityAssessmentBaselineRequest) (response UnsetSecurityAssessmentBaselineResponse, err error)
    func (client DataSafeClient) UnsetUserAssessmentBaseline(ctx context.Context, request UnsetUserAssessmentBaselineRequest) (response UnsetUserAssessmentBaselineResponse, err error)
    func (client DataSafeClient) UpdateDataSafePrivateEndpoint(ctx context.Context, request UpdateDataSafePrivateEndpointRequest) (response UpdateDataSafePrivateEndpointResponse, err error)
    func (client DataSafeClient) UpdateOnPremConnector(ctx context.Context, request UpdateOnPremConnectorRequest) (response UpdateOnPremConnectorResponse, err error)
    func (client DataSafeClient) UpdateOnPremConnectorWallet(ctx context.Context, request UpdateOnPremConnectorWalletRequest) (response UpdateOnPremConnectorWalletResponse, err error)
    func (client DataSafeClient) UpdateSecurityAssessment(ctx context.Context, request UpdateSecurityAssessmentRequest) (response UpdateSecurityAssessmentResponse, err error)
    func (client DataSafeClient) UpdateTargetDatabase(ctx context.Context, request UpdateTargetDatabaseRequest) (response UpdateTargetDatabaseResponse, err error)
    func (client DataSafeClient) UpdateUserAssessment(ctx context.Context, request UpdateUserAssessmentRequest) (response UpdateUserAssessmentResponse, err error)
type DataSafeConfiguration
    func (m DataSafeConfiguration) String() string
type DataSafePrivateEndpoint
    func (m DataSafePrivateEndpoint) String() string
type DataSafePrivateEndpointSummary
    func (m DataSafePrivateEndpointSummary) String() string
type DatabaseCloudServiceDetails
    func (m DatabaseCloudServiceDetails) GetInfrastructureType() InfrastructureTypeEnum
    func (m DatabaseCloudServiceDetails) MarshalJSON() (buff []byte, e error)
    func (m DatabaseCloudServiceDetails) String() string
type DatabaseDetails
type DatabaseTypeEnum
    func GetDatabaseTypeEnumValues() []DatabaseTypeEnum
type DeactivateTargetDatabaseRequest
    func (request DeactivateTargetDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeactivateTargetDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeactivateTargetDatabaseRequest) RetryPolicy() *common.RetryPolicy
    func (request DeactivateTargetDatabaseRequest) String() string
type DeactivateTargetDatabaseResponse
    func (response DeactivateTargetDatabaseResponse) HTTPResponse() *http.Response
    func (response DeactivateTargetDatabaseResponse) String() string
type DeleteDataSafePrivateEndpointRequest
    func (request DeleteDataSafePrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteDataSafePrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteDataSafePrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteDataSafePrivateEndpointRequest) String() string
type DeleteDataSafePrivateEndpointResponse
    func (response DeleteDataSafePrivateEndpointResponse) HTTPResponse() *http.Response
    func (response DeleteDataSafePrivateEndpointResponse) String() string
type DeleteOnPremConnectorRequest
    func (request DeleteOnPremConnectorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteOnPremConnectorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteOnPremConnectorRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteOnPremConnectorRequest) String() string
type DeleteOnPremConnectorResponse
    func (response DeleteOnPremConnectorResponse) HTTPResponse() *http.Response
    func (response DeleteOnPremConnectorResponse) String() string
type DeleteSecurityAssessmentRequest
    func (request DeleteSecurityAssessmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteSecurityAssessmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteSecurityAssessmentRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteSecurityAssessmentRequest) String() string
type DeleteSecurityAssessmentResponse
    func (response DeleteSecurityAssessmentResponse) HTTPResponse() *http.Response
    func (response DeleteSecurityAssessmentResponse) String() string
type DeleteTargetDatabaseRequest
    func (request DeleteTargetDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteTargetDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteTargetDatabaseRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteTargetDatabaseRequest) String() string
type DeleteTargetDatabaseResponse
    func (response DeleteTargetDatabaseResponse) HTTPResponse() *http.Response
    func (response DeleteTargetDatabaseResponse) String() string
type DeleteUserAssessmentRequest
    func (request DeleteUserAssessmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteUserAssessmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteUserAssessmentRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteUserAssessmentRequest) String() string
type DeleteUserAssessmentResponse
    func (response DeleteUserAssessmentResponse) HTTPResponse() *http.Response
    func (response DeleteUserAssessmentResponse) String() string
type Diffs
    func (m Diffs) String() string
type DiffsSeverityEnum
    func GetDiffsSeverityEnumValues() []DiffsSeverityEnum
type DownloadPrivilegeScriptRequest
    func (request DownloadPrivilegeScriptRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DownloadPrivilegeScriptRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DownloadPrivilegeScriptRequest) RetryPolicy() *common.RetryPolicy
    func (request DownloadPrivilegeScriptRequest) String() string
type DownloadPrivilegeScriptResponse
    func (response DownloadPrivilegeScriptResponse) HTTPResponse() *http.Response
    func (response DownloadPrivilegeScriptResponse) String() string
type DownloadSecurityAssessmentReportDetails
    func (m DownloadSecurityAssessmentReportDetails) String() string
type DownloadSecurityAssessmentReportDetailsFormatEnum
    func GetDownloadSecurityAssessmentReportDetailsFormatEnumValues() []DownloadSecurityAssessmentReportDetailsFormatEnum
type DownloadSecurityAssessmentReportRequest
    func (request DownloadSecurityAssessmentReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DownloadSecurityAssessmentReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DownloadSecurityAssessmentReportRequest) RetryPolicy() *common.RetryPolicy
    func (request DownloadSecurityAssessmentReportRequest) String() string
type DownloadSecurityAssessmentReportResponse
    func (response DownloadSecurityAssessmentReportResponse) HTTPResponse() *http.Response
    func (response DownloadSecurityAssessmentReportResponse) String() string
type DownloadUserAssessmentReportDetails
    func (m DownloadUserAssessmentReportDetails) String() string
type DownloadUserAssessmentReportDetailsFormatEnum
    func GetDownloadUserAssessmentReportDetailsFormatEnumValues() []DownloadUserAssessmentReportDetailsFormatEnum
type DownloadUserAssessmentReportRequest
    func (request DownloadUserAssessmentReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DownloadUserAssessmentReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DownloadUserAssessmentReportRequest) RetryPolicy() *common.RetryPolicy
    func (request DownloadUserAssessmentReportRequest) String() string
type DownloadUserAssessmentReportResponse
    func (response DownloadUserAssessmentReportResponse) HTTPResponse() *http.Response
    func (response DownloadUserAssessmentReportResponse) String() string
type EnableDataSafeConfigurationDetails
    func (m EnableDataSafeConfigurationDetails) String() string
type EnableDataSafeConfigurationRequest
    func (request EnableDataSafeConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request EnableDataSafeConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request EnableDataSafeConfigurationRequest) RetryPolicy() *common.RetryPolicy
    func (request EnableDataSafeConfigurationRequest) String() string
type EnableDataSafeConfigurationResponse
    func (response EnableDataSafeConfigurationResponse) HTTPResponse() *http.Response
    func (response EnableDataSafeConfigurationResponse) String() string
type Finding
    func (m Finding) String() string
type FindingSeverityEnum
    func GetFindingSeverityEnumValues() []FindingSeverityEnum
type FindingSummary
    func (m FindingSummary) String() string
type FindingSummarySeverityEnum
    func GetFindingSummarySeverityEnumValues() []FindingSummarySeverityEnum
type GenerateOnPremConnectorConfigurationDetails
    func (m GenerateOnPremConnectorConfigurationDetails) String() string
type GenerateOnPremConnectorConfigurationRequest
    func (request GenerateOnPremConnectorConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GenerateOnPremConnectorConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GenerateOnPremConnectorConfigurationRequest) RetryPolicy() *common.RetryPolicy
    func (request GenerateOnPremConnectorConfigurationRequest) String() string
type GenerateOnPremConnectorConfigurationResponse
    func (response GenerateOnPremConnectorConfigurationResponse) HTTPResponse() *http.Response
    func (response GenerateOnPremConnectorConfigurationResponse) String() string
type GenerateSecurityAssessmentReportDetails
    func (m GenerateSecurityAssessmentReportDetails) String() string
type GenerateSecurityAssessmentReportDetailsFormatEnum
    func GetGenerateSecurityAssessmentReportDetailsFormatEnumValues() []GenerateSecurityAssessmentReportDetailsFormatEnum
type GenerateSecurityAssessmentReportRequest
    func (request GenerateSecurityAssessmentReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GenerateSecurityAssessmentReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GenerateSecurityAssessmentReportRequest) RetryPolicy() *common.RetryPolicy
    func (request GenerateSecurityAssessmentReportRequest) String() string
type GenerateSecurityAssessmentReportResponse
    func (response GenerateSecurityAssessmentReportResponse) HTTPResponse() *http.Response
    func (response GenerateSecurityAssessmentReportResponse) String() string
type GenerateUserAssessmentReportDetails
    func (m GenerateUserAssessmentReportDetails) String() string
type GenerateUserAssessmentReportDetailsFormatEnum
    func GetGenerateUserAssessmentReportDetailsFormatEnumValues() []GenerateUserAssessmentReportDetailsFormatEnum
type GenerateUserAssessmentReportRequest
    func (request GenerateUserAssessmentReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GenerateUserAssessmentReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GenerateUserAssessmentReportRequest) RetryPolicy() *common.RetryPolicy
    func (request GenerateUserAssessmentReportRequest) String() string
type GenerateUserAssessmentReportResponse
    func (response GenerateUserAssessmentReportResponse) HTTPResponse() *http.Response
    func (response GenerateUserAssessmentReportResponse) String() string
type GetDataSafeConfigurationRequest
    func (request GetDataSafeConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetDataSafeConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetDataSafeConfigurationRequest) RetryPolicy() *common.RetryPolicy
    func (request GetDataSafeConfigurationRequest) String() string
type GetDataSafeConfigurationResponse
    func (response GetDataSafeConfigurationResponse) HTTPResponse() *http.Response
    func (response GetDataSafeConfigurationResponse) String() string
type GetDataSafePrivateEndpointRequest
    func (request GetDataSafePrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetDataSafePrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetDataSafePrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
    func (request GetDataSafePrivateEndpointRequest) String() string
type GetDataSafePrivateEndpointResponse
    func (response GetDataSafePrivateEndpointResponse) HTTPResponse() *http.Response
    func (response GetDataSafePrivateEndpointResponse) String() string
type GetOnPremConnectorRequest
    func (request GetOnPremConnectorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetOnPremConnectorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetOnPremConnectorRequest) RetryPolicy() *common.RetryPolicy
    func (request GetOnPremConnectorRequest) String() string
type GetOnPremConnectorResponse
    func (response GetOnPremConnectorResponse) HTTPResponse() *http.Response
    func (response GetOnPremConnectorResponse) String() string
type GetSecurityAssessmentComparisonRequest
    func (request GetSecurityAssessmentComparisonRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetSecurityAssessmentComparisonRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetSecurityAssessmentComparisonRequest) RetryPolicy() *common.RetryPolicy
    func (request GetSecurityAssessmentComparisonRequest) String() string
type GetSecurityAssessmentComparisonResponse
    func (response GetSecurityAssessmentComparisonResponse) HTTPResponse() *http.Response
    func (response GetSecurityAssessmentComparisonResponse) String() string
type GetSecurityAssessmentRequest
    func (request GetSecurityAssessmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetSecurityAssessmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetSecurityAssessmentRequest) RetryPolicy() *common.RetryPolicy
    func (request GetSecurityAssessmentRequest) String() string
type GetSecurityAssessmentResponse
    func (response GetSecurityAssessmentResponse) HTTPResponse() *http.Response
    func (response GetSecurityAssessmentResponse) String() string
type GetTargetDatabaseRequest
    func (request GetTargetDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetTargetDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetTargetDatabaseRequest) RetryPolicy() *common.RetryPolicy
    func (request GetTargetDatabaseRequest) String() string
type GetTargetDatabaseResponse
    func (response GetTargetDatabaseResponse) HTTPResponse() *http.Response
    func (response GetTargetDatabaseResponse) String() string
type GetUserAssessmentComparisonRequest
    func (request GetUserAssessmentComparisonRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetUserAssessmentComparisonRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetUserAssessmentComparisonRequest) RetryPolicy() *common.RetryPolicy
    func (request GetUserAssessmentComparisonRequest) String() string
type GetUserAssessmentComparisonResponse
    func (response GetUserAssessmentComparisonResponse) HTTPResponse() *http.Response
    func (response GetUserAssessmentComparisonResponse) String() string
type GetUserAssessmentRequest
    func (request GetUserAssessmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetUserAssessmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetUserAssessmentRequest) RetryPolicy() *common.RetryPolicy
    func (request GetUserAssessmentRequest) String() string
type GetUserAssessmentResponse
    func (response GetUserAssessmentResponse) HTTPResponse() *http.Response
    func (response GetUserAssessmentResponse) 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
type GetWorkRequestResponse
    func (response GetWorkRequestResponse) HTTPResponse() *http.Response
    func (response GetWorkRequestResponse) String() string
type GrantSummary
    func (m GrantSummary) String() string
type GrantSummaryPrivilegeCategoryEnum
    func GetGrantSummaryPrivilegeCategoryEnumValues() []GrantSummaryPrivilegeCategoryEnum
type GrantSummaryPrivilegeTypeEnum
    func GetGrantSummaryPrivilegeTypeEnumValues() []GrantSummaryPrivilegeTypeEnum
type InfrastructureTypeEnum
    func GetInfrastructureTypeEnumValues() []InfrastructureTypeEnum
type InitializationParameter
    func (m InitializationParameter) String() string
type InstalledDatabaseDetails
    func (m InstalledDatabaseDetails) GetInfrastructureType() InfrastructureTypeEnum
    func (m InstalledDatabaseDetails) MarshalJSON() (buff []byte, e error)
    func (m InstalledDatabaseDetails) String() string
type LifecycleStateEnum
    func GetLifecycleStateEnumValues() []LifecycleStateEnum
type ListDataSafePrivateEndpointsAccessLevelEnum
    func GetListDataSafePrivateEndpointsAccessLevelEnumValues() []ListDataSafePrivateEndpointsAccessLevelEnum
type ListDataSafePrivateEndpointsLifecycleStateEnum
    func GetListDataSafePrivateEndpointsLifecycleStateEnumValues() []ListDataSafePrivateEndpointsLifecycleStateEnum
type ListDataSafePrivateEndpointsRequest
    func (request ListDataSafePrivateEndpointsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListDataSafePrivateEndpointsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListDataSafePrivateEndpointsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListDataSafePrivateEndpointsRequest) String() string
type ListDataSafePrivateEndpointsResponse
    func (response ListDataSafePrivateEndpointsResponse) HTTPResponse() *http.Response
    func (response ListDataSafePrivateEndpointsResponse) String() string
type ListDataSafePrivateEndpointsSortByEnum
    func GetListDataSafePrivateEndpointsSortByEnumValues() []ListDataSafePrivateEndpointsSortByEnum
type ListDataSafePrivateEndpointsSortOrderEnum
    func GetListDataSafePrivateEndpointsSortOrderEnumValues() []ListDataSafePrivateEndpointsSortOrderEnum
type ListFindingsAccessLevelEnum
    func GetListFindingsAccessLevelEnumValues() []ListFindingsAccessLevelEnum
type ListFindingsRequest
    func (request ListFindingsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListFindingsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListFindingsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListFindingsRequest) String() string
type ListFindingsResponse
    func (response ListFindingsResponse) HTTPResponse() *http.Response
    func (response ListFindingsResponse) String() string
type ListFindingsSeverityEnum
    func GetListFindingsSeverityEnumValues() []ListFindingsSeverityEnum
type ListGrantsRequest
    func (request ListGrantsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListGrantsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListGrantsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListGrantsRequest) String() string
type ListGrantsResponse
    func (response ListGrantsResponse) HTTPResponse() *http.Response
    func (response ListGrantsResponse) String() string
type ListGrantsSortByEnum
    func GetListGrantsSortByEnumValues() []ListGrantsSortByEnum
type ListGrantsSortOrderEnum
    func GetListGrantsSortOrderEnumValues() []ListGrantsSortOrderEnum
type ListOnPremConnectorsAccessLevelEnum
    func GetListOnPremConnectorsAccessLevelEnumValues() []ListOnPremConnectorsAccessLevelEnum
type ListOnPremConnectorsOnPremConnectorLifecycleStateEnum
    func GetListOnPremConnectorsOnPremConnectorLifecycleStateEnumValues() []ListOnPremConnectorsOnPremConnectorLifecycleStateEnum
type ListOnPremConnectorsRequest
    func (request ListOnPremConnectorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListOnPremConnectorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListOnPremConnectorsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListOnPremConnectorsRequest) String() string
type ListOnPremConnectorsResponse
    func (response ListOnPremConnectorsResponse) HTTPResponse() *http.Response
    func (response ListOnPremConnectorsResponse) String() string
type ListOnPremConnectorsSortByEnum
    func GetListOnPremConnectorsSortByEnumValues() []ListOnPremConnectorsSortByEnum
type ListOnPremConnectorsSortOrderEnum
    func GetListOnPremConnectorsSortOrderEnumValues() []ListOnPremConnectorsSortOrderEnum
type ListSecurityAssessmentsAccessLevelEnum
    func GetListSecurityAssessmentsAccessLevelEnumValues() []ListSecurityAssessmentsAccessLevelEnum
type ListSecurityAssessmentsLifecycleStateEnum
    func GetListSecurityAssessmentsLifecycleStateEnumValues() []ListSecurityAssessmentsLifecycleStateEnum
type ListSecurityAssessmentsRequest
    func (request ListSecurityAssessmentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListSecurityAssessmentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListSecurityAssessmentsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListSecurityAssessmentsRequest) String() string
type ListSecurityAssessmentsResponse
    func (response ListSecurityAssessmentsResponse) HTTPResponse() *http.Response
    func (response ListSecurityAssessmentsResponse) String() string
type ListSecurityAssessmentsSortByEnum
    func GetListSecurityAssessmentsSortByEnumValues() []ListSecurityAssessmentsSortByEnum
type ListSecurityAssessmentsSortOrderEnum
    func GetListSecurityAssessmentsSortOrderEnumValues() []ListSecurityAssessmentsSortOrderEnum
type ListSecurityAssessmentsTriggeredByEnum
    func GetListSecurityAssessmentsTriggeredByEnumValues() []ListSecurityAssessmentsTriggeredByEnum
type ListSecurityAssessmentsTypeEnum
    func GetListSecurityAssessmentsTypeEnumValues() []ListSecurityAssessmentsTypeEnum
type ListTargetDatabasesAccessLevelEnum
    func GetListTargetDatabasesAccessLevelEnumValues() []ListTargetDatabasesAccessLevelEnum
type ListTargetDatabasesDatabaseTypeEnum
    func GetListTargetDatabasesDatabaseTypeEnumValues() []ListTargetDatabasesDatabaseTypeEnum
type ListTargetDatabasesInfrastructureTypeEnum
    func GetListTargetDatabasesInfrastructureTypeEnumValues() []ListTargetDatabasesInfrastructureTypeEnum
type ListTargetDatabasesLifecycleStateEnum
    func GetListTargetDatabasesLifecycleStateEnumValues() []ListTargetDatabasesLifecycleStateEnum
type ListTargetDatabasesRequest
    func (request ListTargetDatabasesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListTargetDatabasesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListTargetDatabasesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListTargetDatabasesRequest) String() string
type ListTargetDatabasesResponse
    func (response ListTargetDatabasesResponse) HTTPResponse() *http.Response
    func (response ListTargetDatabasesResponse) String() string
type ListTargetDatabasesSortByEnum
    func GetListTargetDatabasesSortByEnumValues() []ListTargetDatabasesSortByEnum
type ListTargetDatabasesSortOrderEnum
    func GetListTargetDatabasesSortOrderEnumValues() []ListTargetDatabasesSortOrderEnum
type ListUserAnalyticsAccessLevelEnum
    func GetListUserAnalyticsAccessLevelEnumValues() []ListUserAnalyticsAccessLevelEnum
type ListUserAnalyticsRequest
    func (request ListUserAnalyticsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListUserAnalyticsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListUserAnalyticsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListUserAnalyticsRequest) String() string
type ListUserAnalyticsResponse
    func (response ListUserAnalyticsResponse) HTTPResponse() *http.Response
    func (response ListUserAnalyticsResponse) String() string
type ListUserAnalyticsSortByEnum
    func GetListUserAnalyticsSortByEnumValues() []ListUserAnalyticsSortByEnum
type ListUserAnalyticsSortOrderEnum
    func GetListUserAnalyticsSortOrderEnumValues() []ListUserAnalyticsSortOrderEnum
type ListUserAssessmentsAccessLevelEnum
    func GetListUserAssessmentsAccessLevelEnumValues() []ListUserAssessmentsAccessLevelEnum
type ListUserAssessmentsLifecycleStateEnum
    func GetListUserAssessmentsLifecycleStateEnumValues() []ListUserAssessmentsLifecycleStateEnum
type ListUserAssessmentsRequest
    func (request ListUserAssessmentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListUserAssessmentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListUserAssessmentsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListUserAssessmentsRequest) String() string
type ListUserAssessmentsResponse
    func (response ListUserAssessmentsResponse) HTTPResponse() *http.Response
    func (response ListUserAssessmentsResponse) String() string
type ListUserAssessmentsSortByEnum
    func GetListUserAssessmentsSortByEnumValues() []ListUserAssessmentsSortByEnum
type ListUserAssessmentsSortOrderEnum
    func GetListUserAssessmentsSortOrderEnumValues() []ListUserAssessmentsSortOrderEnum
type ListUserAssessmentsTriggeredByEnum
    func GetListUserAssessmentsTriggeredByEnumValues() []ListUserAssessmentsTriggeredByEnum
type ListUserAssessmentsTypeEnum
    func GetListUserAssessmentsTypeEnumValues() []ListUserAssessmentsTypeEnum
type ListUsersAccessLevelEnum
    func GetListUsersAccessLevelEnumValues() []ListUsersAccessLevelEnum
type ListUsersRequest
    func (request ListUsersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListUsersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListUsersRequest) RetryPolicy() *common.RetryPolicy
    func (request ListUsersRequest) String() string
type ListUsersResponse
    func (response ListUsersResponse) HTTPResponse() *http.Response
    func (response ListUsersResponse) String() string
type ListUsersSortByEnum
    func GetListUsersSortByEnumValues() []ListUsersSortByEnum
type ListUsersSortOrderEnum
    func GetListUsersSortOrderEnumValues() []ListUsersSortOrderEnum
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
type ListWorkRequestErrorsResponse
    func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestErrorsResponse) String() string
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
type ListWorkRequestLogsResponse
    func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestLogsResponse) String() string
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
type ListWorkRequestsResponse
    func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestsResponse) String() string
type OnPremConnector
    func (m OnPremConnector) String() string
type OnPremConnectorLifecycleStateEnum
    func GetOnPremConnectorLifecycleStateEnumValues() []OnPremConnectorLifecycleStateEnum
type OnPremConnectorSummary
    func (m OnPremConnectorSummary) String() string
type OnPremiseConnector
    func (m OnPremiseConnector) MarshalJSON() (buff []byte, e error)
    func (m OnPremiseConnector) String() string
type PrivateEndpoint
    func (m PrivateEndpoint) MarshalJSON() (buff []byte, e error)
    func (m PrivateEndpoint) String() string
type ProfileDetails
    func (m ProfileDetails) String() string
type References
    func (m References) String() string
type RefreshSecurityAssessmentRequest
    func (request RefreshSecurityAssessmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request RefreshSecurityAssessmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request RefreshSecurityAssessmentRequest) RetryPolicy() *common.RetryPolicy
    func (request RefreshSecurityAssessmentRequest) String() string
type RefreshSecurityAssessmentResponse
    func (response RefreshSecurityAssessmentResponse) HTTPResponse() *http.Response
    func (response RefreshSecurityAssessmentResponse) String() string
type RefreshUserAssessmentRequest
    func (request RefreshUserAssessmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request RefreshUserAssessmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request RefreshUserAssessmentRequest) RetryPolicy() *common.RetryPolicy
    func (request RefreshUserAssessmentRequest) String() string
type RefreshUserAssessmentResponse
    func (response RefreshUserAssessmentResponse) HTTPResponse() *http.Response
    func (response RefreshUserAssessmentResponse) String() string
type RunSecurityAssessmentDetails
    func (m RunSecurityAssessmentDetails) String() string
type RunUserAssessmentDetails
    func (m RunUserAssessmentDetails) String() string
type SectionStatistics
    func (m SectionStatistics) String() string
type SecurityAssessment
    func (m SecurityAssessment) String() string
type SecurityAssessmentBaseLineDetails
    func (m SecurityAssessmentBaseLineDetails) String() string
type SecurityAssessmentComparison
    func (m SecurityAssessmentComparison) String() string
type SecurityAssessmentComparisonLifecycleStateEnum
    func GetSecurityAssessmentComparisonLifecycleStateEnumValues() []SecurityAssessmentComparisonLifecycleStateEnum
type SecurityAssessmentComparisonPerTarget
    func (m SecurityAssessmentComparisonPerTarget) String() string
type SecurityAssessmentLifecycleStateEnum
    func GetSecurityAssessmentLifecycleStateEnumValues() []SecurityAssessmentLifecycleStateEnum
type SecurityAssessmentStatistics
    func (m SecurityAssessmentStatistics) String() string
type SecurityAssessmentSummary
    func (m SecurityAssessmentSummary) String() string
type SecurityAssessmentSummaryTriggeredByEnum
    func GetSecurityAssessmentSummaryTriggeredByEnumValues() []SecurityAssessmentSummaryTriggeredByEnum
type SecurityAssessmentSummaryTypeEnum
    func GetSecurityAssessmentSummaryTypeEnumValues() []SecurityAssessmentSummaryTypeEnum
type SecurityAssessmentTriggeredByEnum
    func GetSecurityAssessmentTriggeredByEnumValues() []SecurityAssessmentTriggeredByEnum
type SecurityAssessmentTypeEnum
    func GetSecurityAssessmentTypeEnumValues() []SecurityAssessmentTypeEnum
type ServiceListEnum
    func GetServiceListEnumValues() []ServiceListEnum
type SetSecurityAssessmentBaselineRequest
    func (request SetSecurityAssessmentBaselineRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request SetSecurityAssessmentBaselineRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request SetSecurityAssessmentBaselineRequest) RetryPolicy() *common.RetryPolicy
    func (request SetSecurityAssessmentBaselineRequest) String() string
type SetSecurityAssessmentBaselineResponse
    func (response SetSecurityAssessmentBaselineResponse) HTTPResponse() *http.Response
    func (response SetSecurityAssessmentBaselineResponse) String() string
type SetUserAssessmentBaselineRequest
    func (request SetUserAssessmentBaselineRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request SetUserAssessmentBaselineRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request SetUserAssessmentBaselineRequest) RetryPolicy() *common.RetryPolicy
    func (request SetUserAssessmentBaselineRequest) String() string
type SetUserAssessmentBaselineResponse
    func (response SetUserAssessmentBaselineResponse) HTTPResponse() *http.Response
    func (response SetUserAssessmentBaselineResponse) String() string
type SortOrdersEnum
    func GetSortOrdersEnumValues() []SortOrdersEnum
type TargetDatabase
    func (m TargetDatabase) String() string
    func (m *TargetDatabase) UnmarshalJSON(data []byte) (e error)
type TargetDatabaseLifecycleStateEnum
    func GetTargetDatabaseLifecycleStateEnumValues() []TargetDatabaseLifecycleStateEnum
type TargetDatabaseSummary
    func (m TargetDatabaseSummary) String() string
type TlsConfig
    func (m TlsConfig) String() string
type TlsConfigCertificateStoreTypeEnum
    func GetTlsConfigCertificateStoreTypeEnumValues() []TlsConfigCertificateStoreTypeEnum
type TlsConfigStatusEnum
    func GetTlsConfigStatusEnumValues() []TlsConfigStatusEnum
type UnsetSecurityAssessmentBaselineRequest
    func (request UnsetSecurityAssessmentBaselineRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UnsetSecurityAssessmentBaselineRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UnsetSecurityAssessmentBaselineRequest) RetryPolicy() *common.RetryPolicy
    func (request UnsetSecurityAssessmentBaselineRequest) String() string
type UnsetSecurityAssessmentBaselineResponse
    func (response UnsetSecurityAssessmentBaselineResponse) HTTPResponse() *http.Response
    func (response UnsetSecurityAssessmentBaselineResponse) String() string
type UnsetUserAssessmentBaselineRequest
    func (request UnsetUserAssessmentBaselineRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UnsetUserAssessmentBaselineRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UnsetUserAssessmentBaselineRequest) RetryPolicy() *common.RetryPolicy
    func (request UnsetUserAssessmentBaselineRequest) String() string
type UnsetUserAssessmentBaselineResponse
    func (response UnsetUserAssessmentBaselineResponse) HTTPResponse() *http.Response
    func (response UnsetUserAssessmentBaselineResponse) String() string
type UpdateDataSafePrivateEndpointDetails
    func (m UpdateDataSafePrivateEndpointDetails) String() string
type UpdateDataSafePrivateEndpointRequest
    func (request UpdateDataSafePrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateDataSafePrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateDataSafePrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateDataSafePrivateEndpointRequest) String() string
type UpdateDataSafePrivateEndpointResponse
    func (response UpdateDataSafePrivateEndpointResponse) HTTPResponse() *http.Response
    func (response UpdateDataSafePrivateEndpointResponse) String() string
type UpdateOnPremConnectorDetails
    func (m UpdateOnPremConnectorDetails) String() string
type UpdateOnPremConnectorRequest
    func (request UpdateOnPremConnectorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateOnPremConnectorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateOnPremConnectorRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateOnPremConnectorRequest) String() string
type UpdateOnPremConnectorResponse
    func (response UpdateOnPremConnectorResponse) HTTPResponse() *http.Response
    func (response UpdateOnPremConnectorResponse) String() string
type UpdateOnPremConnectorWalletDetails
    func (m UpdateOnPremConnectorWalletDetails) String() string
type UpdateOnPremConnectorWalletRequest
    func (request UpdateOnPremConnectorWalletRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateOnPremConnectorWalletRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateOnPremConnectorWalletRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateOnPremConnectorWalletRequest) String() string
type UpdateOnPremConnectorWalletResponse
    func (response UpdateOnPremConnectorWalletResponse) HTTPResponse() *http.Response
    func (response UpdateOnPremConnectorWalletResponse) String() string
type UpdateSecurityAssessmentDetails
    func (m UpdateSecurityAssessmentDetails) String() string
type UpdateSecurityAssessmentRequest
    func (request UpdateSecurityAssessmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateSecurityAssessmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateSecurityAssessmentRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateSecurityAssessmentRequest) String() string
type UpdateSecurityAssessmentResponse
    func (response UpdateSecurityAssessmentResponse) HTTPResponse() *http.Response
    func (response UpdateSecurityAssessmentResponse) String() string
type UpdateTargetDatabaseDetails
    func (m UpdateTargetDatabaseDetails) String() string
    func (m *UpdateTargetDatabaseDetails) UnmarshalJSON(data []byte) (e error)
type UpdateTargetDatabaseRequest
    func (request UpdateTargetDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateTargetDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateTargetDatabaseRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateTargetDatabaseRequest) String() string
type UpdateTargetDatabaseResponse
    func (response UpdateTargetDatabaseResponse) HTTPResponse() *http.Response
    func (response UpdateTargetDatabaseResponse) String() string
type UpdateUserAssessmentDetails
    func (m UpdateUserAssessmentDetails) String() string
type UpdateUserAssessmentRequest
    func (request UpdateUserAssessmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateUserAssessmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateUserAssessmentRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateUserAssessmentRequest) String() string
type UpdateUserAssessmentResponse
    func (response UpdateUserAssessmentResponse) HTTPResponse() *http.Response
    func (response UpdateUserAssessmentResponse) String() string
type UserAggregation
    func (m UserAggregation) String() string
type UserAssessment
    func (m UserAssessment) String() string
type UserAssessmentBaseLineDetails
    func (m UserAssessmentBaseLineDetails) String() string
type UserAssessmentComparison
    func (m UserAssessmentComparison) String() string
type UserAssessmentComparisonLifecycleStateEnum
    func GetUserAssessmentComparisonLifecycleStateEnumValues() []UserAssessmentComparisonLifecycleStateEnum
type UserAssessmentLifecycleStateEnum
    func GetUserAssessmentLifecycleStateEnumValues() []UserAssessmentLifecycleStateEnum
type UserAssessmentSummary
    func (m UserAssessmentSummary) String() string
type UserAssessmentSummaryTriggeredByEnum
    func GetUserAssessmentSummaryTriggeredByEnumValues() []UserAssessmentSummaryTriggeredByEnum
type UserAssessmentSummaryTypeEnum
    func GetUserAssessmentSummaryTypeEnumValues() []UserAssessmentSummaryTypeEnum
type UserAssessmentTriggeredByEnum
    func GetUserAssessmentTriggeredByEnumValues() []UserAssessmentTriggeredByEnum
type UserAssessmentTypeEnum
    func GetUserAssessmentTypeEnumValues() []UserAssessmentTypeEnum
type UserDetails
    func (m UserDetails) String() string
type UserDetailsAuthenticationTypeEnum
    func GetUserDetailsAuthenticationTypeEnumValues() []UserDetailsAuthenticationTypeEnum
type UserSummary
    func (m UserSummary) String() string
type UserSummaryAccountStatusEnum
    func GetUserSummaryAccountStatusEnumValues() []UserSummaryAccountStatusEnum
type UserSummaryAdminRolesEnum
    func GetUserSummaryAdminRolesEnumValues() []UserSummaryAdminRolesEnum
type UserSummaryAuthenticationTypeEnum
    func GetUserSummaryAuthenticationTypeEnumValues() []UserSummaryAuthenticationTypeEnum
type UserSummaryUserCategoryEnum
    func GetUserSummaryUserCategoryEnumValues() []UserSummaryUserCategoryEnum
type UserSummaryUserTypesEnum
    func GetUserSummaryUserTypesEnumValues() []UserSummaryUserTypesEnum
type WorkRequest
    func (m WorkRequest) String() string
type WorkRequestError
    func (m WorkRequestError) String() string
type WorkRequestLogEntry
    func (m WorkRequestLogEntry) String() string
type WorkRequestOperationTypeEnum
    func GetWorkRequestOperationTypeEnumValues() []WorkRequestOperationTypeEnum
type WorkRequestResource
    func (m WorkRequestResource) String() string
type WorkRequestResourceActionTypeEnum
    func GetWorkRequestResourceActionTypeEnumValues() []WorkRequestResourceActionTypeEnum
type WorkRequestStatusEnum
    func GetWorkRequestStatusEnumValues() []WorkRequestStatusEnum
type WorkRequestSummary
    func (m WorkRequestSummary) String() string
type WorkRequestSummaryOperationTypeEnum
    func GetWorkRequestSummaryOperationTypeEnumValues() []WorkRequestSummaryOperationTypeEnum
type WorkRequestSummaryStatusEnum
    func GetWorkRequestSummaryStatusEnumValues() []WorkRequestSummaryStatusEnum

Package files

activate_target_database_details.go activate_target_database_request_response.go autonomous_database_details.go change_data_safe_private_endpoint_compartment_details.go change_data_safe_private_endpoint_compartment_request_response.go change_on_prem_connector_compartment_details.go change_on_prem_connector_compartment_request_response.go change_security_assessment_compartment_details.go change_security_assessment_compartment_request_response.go change_target_database_compartment_details.go change_target_database_compartment_request_response.go change_user_assessment_compartment_details.go change_user_assessment_compartment_request_response.go compare_security_assessment_details.go compare_security_assessment_request_response.go compare_user_assessment_details.go compare_user_assessment_request_response.go connection_option.go create_data_safe_private_endpoint_details.go create_data_safe_private_endpoint_request_response.go create_on_prem_connector_details.go create_on_prem_connector_request_response.go create_security_assessment_details.go create_security_assessment_request_response.go create_target_database_details.go create_target_database_request_response.go create_user_assessment_details.go create_user_assessment_request_response.go credentials.go data_safe_configuration.go data_safe_private_endpoint.go data_safe_private_endpoint_summary.go database_cloud_service_details.go database_details.go database_type.go datasafe_client.go deactivate_target_database_request_response.go delete_data_safe_private_endpoint_request_response.go delete_on_prem_connector_request_response.go delete_security_assessment_request_response.go delete_target_database_request_response.go delete_user_assessment_request_response.go diffs.go download_privilege_script_request_response.go download_security_assessment_report_details.go download_security_assessment_report_request_response.go download_user_assessment_report_details.go download_user_assessment_report_request_response.go enable_data_safe_configuration_details.go enable_data_safe_configuration_request_response.go finding.go finding_summary.go generate_on_prem_connector_configuration_details.go generate_on_prem_connector_configuration_request_response.go generate_security_assessment_report_details.go generate_security_assessment_report_request_response.go generate_user_assessment_report_details.go generate_user_assessment_report_request_response.go get_data_safe_configuration_request_response.go get_data_safe_private_endpoint_request_response.go get_on_prem_connector_request_response.go get_security_assessment_comparison_request_response.go get_security_assessment_request_response.go get_target_database_request_response.go get_user_assessment_comparison_request_response.go get_user_assessment_request_response.go get_work_request_request_response.go grant_summary.go infrastructure_type.go initialization_parameter.go installed_database_details.go lifecycle_state.go list_data_safe_private_endpoints_request_response.go list_findings_request_response.go list_grants_request_response.go list_on_prem_connectors_request_response.go list_security_assessments_request_response.go list_target_databases_request_response.go list_user_analytics_request_response.go list_user_assessments_request_response.go list_users_request_response.go list_work_request_errors_request_response.go list_work_request_logs_request_response.go list_work_requests_request_response.go on_prem_connector.go on_prem_connector_lifecycle_state.go on_prem_connector_summary.go on_premise_connector.go private_endpoint.go profile_details.go references.go refresh_security_assessment_request_response.go refresh_user_assessment_request_response.go run_security_assessment_details.go run_user_assessment_details.go section_statistics.go security_assessment.go security_assessment_base_line_details.go security_assessment_comparison.go security_assessment_comparison_per_target.go security_assessment_lifecycle_state.go security_assessment_statistics.go security_assessment_summary.go service_list.go set_security_assessment_baseline_request_response.go set_user_assessment_baseline_request_response.go sort_orders.go target_database.go target_database_lifecycle_state.go target_database_summary.go tls_config.go unset_security_assessment_baseline_request_response.go unset_user_assessment_baseline_request_response.go update_data_safe_private_endpoint_details.go update_data_safe_private_endpoint_request_response.go update_on_prem_connector_details.go update_on_prem_connector_request_response.go update_on_prem_connector_wallet_details.go update_on_prem_connector_wallet_request_response.go update_security_assessment_details.go update_security_assessment_request_response.go update_target_database_details.go update_target_database_request_response.go update_user_assessment_details.go update_user_assessment_request_response.go user_aggregation.go user_assessment.go user_assessment_base_line_details.go user_assessment_comparison.go user_assessment_lifecycle_state.go user_assessment_summary.go user_details.go user_summary.go work_request.go work_request_error.go work_request_log_entry.go work_request_resource.go work_request_summary.go

type ActivateTargetDatabaseDetails

ActivateTargetDatabaseDetails The details required to reactivate a previously deactived target database in Data Safe.

type ActivateTargetDatabaseDetails struct {
    Credentials *Credentials `mandatory:"true" json:"credentials"`
}

func (ActivateTargetDatabaseDetails) String

func (m ActivateTargetDatabaseDetails) String() string

type ActivateTargetDatabaseRequest

ActivateTargetDatabaseRequest wrapper for the ActivateTargetDatabase operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/ActivateTargetDatabase.go.html to see an example of how to use ActivateTargetDatabaseRequest.

type ActivateTargetDatabaseRequest struct {

    // The details used to reactivate a target database in Data Safe.
    ActivateTargetDatabaseDetails `contributesTo:"body"`

    // The OCID of the Data Safe target database.
    TargetDatabaseId *string `mandatory:"true" contributesTo:"path" name:"targetDatabaseId"`

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

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

    // 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 (ActivateTargetDatabaseRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ActivateTargetDatabaseRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ActivateTargetDatabaseRequest) RetryPolicy

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

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

func (ActivateTargetDatabaseRequest) String

func (request ActivateTargetDatabaseRequest) String() string

type ActivateTargetDatabaseResponse

ActivateTargetDatabaseResponse wrapper for the ActivateTargetDatabase operation

type ActivateTargetDatabaseResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the 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 (ActivateTargetDatabaseResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ActivateTargetDatabaseResponse) String

func (response ActivateTargetDatabaseResponse) String() string

type AutonomousDatabaseDetails

AutonomousDatabaseDetails The details of the Oracle Autonomous Database to be registered as a target database in Data Safe.

type AutonomousDatabaseDetails struct {

    // The OCID of the autonomous database registered as a target database in Data Safe.
    AutonomousDatabaseId *string `mandatory:"false" json:"autonomousDatabaseId"`

    // The infrastructure type the database is running on.
    InfrastructureType InfrastructureTypeEnum `mandatory:"true" json:"infrastructureType"`
}

func (AutonomousDatabaseDetails) GetInfrastructureType

func (m AutonomousDatabaseDetails) GetInfrastructureType() InfrastructureTypeEnum

GetInfrastructureType returns InfrastructureType

func (AutonomousDatabaseDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (AutonomousDatabaseDetails) String

func (m AutonomousDatabaseDetails) String() string

type ChangeDataSafePrivateEndpointCompartmentDetails

ChangeDataSafePrivateEndpointCompartmentDetails The details used to change the compartment of a Data Safe private endpoint.

type ChangeDataSafePrivateEndpointCompartmentDetails struct {

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

func (ChangeDataSafePrivateEndpointCompartmentDetails) String

func (m ChangeDataSafePrivateEndpointCompartmentDetails) String() string

type ChangeDataSafePrivateEndpointCompartmentRequest

ChangeDataSafePrivateEndpointCompartmentRequest wrapper for the ChangeDataSafePrivateEndpointCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/ChangeDataSafePrivateEndpointCompartment.go.html to see an example of how to use ChangeDataSafePrivateEndpointCompartmentRequest.

type ChangeDataSafePrivateEndpointCompartmentRequest struct {

    // The OCID of the private endpoint.
    DataSafePrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"dataSafePrivateEndpointId"`

    // The details used to change the compartment of a Data Safe private endpoint.
    ChangeDataSafePrivateEndpointCompartmentDetails `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 (ChangeDataSafePrivateEndpointCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeDataSafePrivateEndpointCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeDataSafePrivateEndpointCompartmentRequest) RetryPolicy

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

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

func (ChangeDataSafePrivateEndpointCompartmentRequest) String

func (request ChangeDataSafePrivateEndpointCompartmentRequest) String() string

type ChangeDataSafePrivateEndpointCompartmentResponse

ChangeDataSafePrivateEndpointCompartmentResponse wrapper for the ChangeDataSafePrivateEndpointCompartment operation

type ChangeDataSafePrivateEndpointCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the 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 (ChangeDataSafePrivateEndpointCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeDataSafePrivateEndpointCompartmentResponse) String

func (response ChangeDataSafePrivateEndpointCompartmentResponse) String() string

type ChangeOnPremConnectorCompartmentDetails

ChangeOnPremConnectorCompartmentDetails The details used to change the compartment of a on-premises connector.

type ChangeOnPremConnectorCompartmentDetails struct {

    // The OCID of the new compartment where you want to move the on-premises connector.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

func (ChangeOnPremConnectorCompartmentDetails) String

func (m ChangeOnPremConnectorCompartmentDetails) String() string

type ChangeOnPremConnectorCompartmentRequest

ChangeOnPremConnectorCompartmentRequest wrapper for the ChangeOnPremConnectorCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/ChangeOnPremConnectorCompartment.go.html to see an example of how to use ChangeOnPremConnectorCompartmentRequest.

type ChangeOnPremConnectorCompartmentRequest struct {

    // The OCID of the on-premises connector.
    OnPremConnectorId *string `mandatory:"true" contributesTo:"path" name:"onPremConnectorId"`

    // The details used to change the compartment of an on-premises connector.
    ChangeOnPremConnectorCompartmentDetails `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"`

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

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

func (ChangeOnPremConnectorCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeOnPremConnectorCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeOnPremConnectorCompartmentRequest) RetryPolicy

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

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

func (ChangeOnPremConnectorCompartmentRequest) String

func (request ChangeOnPremConnectorCompartmentRequest) String() string

type ChangeOnPremConnectorCompartmentResponse

ChangeOnPremConnectorCompartmentResponse wrapper for the ChangeOnPremConnectorCompartment operation

type ChangeOnPremConnectorCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

func (ChangeOnPremConnectorCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeOnPremConnectorCompartmentResponse) String

func (response ChangeOnPremConnectorCompartmentResponse) String() string

type ChangeSecurityAssessmentCompartmentDetails

ChangeSecurityAssessmentCompartmentDetails The details that can be changed (or retained) when a security assessment is moved to another compartment.

type ChangeSecurityAssessmentCompartmentDetails struct {

    // The OCID of the compartment where you want to move the security assessment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

func (ChangeSecurityAssessmentCompartmentDetails) String

func (m ChangeSecurityAssessmentCompartmentDetails) String() string

type ChangeSecurityAssessmentCompartmentRequest

ChangeSecurityAssessmentCompartmentRequest wrapper for the ChangeSecurityAssessmentCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/ChangeSecurityAssessmentCompartment.go.html to see an example of how to use ChangeSecurityAssessmentCompartmentRequest.

type ChangeSecurityAssessmentCompartmentRequest struct {

    // The OCID of the security assessment.
    SecurityAssessmentId *string `mandatory:"true" contributesTo:"path" name:"securityAssessmentId"`

    // The details used to change the compartment of a security assessment.
    ChangeSecurityAssessmentCompartmentDetails `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"`

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

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

func (ChangeSecurityAssessmentCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeSecurityAssessmentCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeSecurityAssessmentCompartmentRequest) RetryPolicy

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

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

func (ChangeSecurityAssessmentCompartmentRequest) String

func (request ChangeSecurityAssessmentCompartmentRequest) String() string

type ChangeSecurityAssessmentCompartmentResponse

ChangeSecurityAssessmentCompartmentResponse wrapper for the ChangeSecurityAssessmentCompartment operation

type ChangeSecurityAssessmentCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

func (ChangeSecurityAssessmentCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeSecurityAssessmentCompartmentResponse) String

func (response ChangeSecurityAssessmentCompartmentResponse) String() string

type ChangeTargetDatabaseCompartmentDetails

ChangeTargetDatabaseCompartmentDetails The details used to change the compartment of a Data Safe target database.

type ChangeTargetDatabaseCompartmentDetails struct {

    // The OCID of the new compartment to where you want to move the Data Safe target database.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

func (ChangeTargetDatabaseCompartmentDetails) String

func (m ChangeTargetDatabaseCompartmentDetails) String() string

type ChangeTargetDatabaseCompartmentRequest

ChangeTargetDatabaseCompartmentRequest wrapper for the ChangeTargetDatabaseCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/ChangeTargetDatabaseCompartment.go.html to see an example of how to use ChangeTargetDatabaseCompartmentRequest.

type ChangeTargetDatabaseCompartmentRequest struct {

    // The OCID of the Data Safe target database.
    TargetDatabaseId *string `mandatory:"true" contributesTo:"path" name:"targetDatabaseId"`

    // Details of the move compartment request.
    ChangeTargetDatabaseCompartmentDetails `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"`

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

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

func (ChangeTargetDatabaseCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeTargetDatabaseCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeTargetDatabaseCompartmentRequest) RetryPolicy

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

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

func (ChangeTargetDatabaseCompartmentRequest) String

func (request ChangeTargetDatabaseCompartmentRequest) String() string

type ChangeTargetDatabaseCompartmentResponse

ChangeTargetDatabaseCompartmentResponse wrapper for the ChangeTargetDatabaseCompartment operation

type ChangeTargetDatabaseCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

func (ChangeTargetDatabaseCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeTargetDatabaseCompartmentResponse) String

func (response ChangeTargetDatabaseCompartmentResponse) String() string

type ChangeUserAssessmentCompartmentDetails

ChangeUserAssessmentCompartmentDetails The details used to change the compartment of the user assessment.

type ChangeUserAssessmentCompartmentDetails struct {

    // The OCID of the compartment where you want to move the user assessment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

func (ChangeUserAssessmentCompartmentDetails) String

func (m ChangeUserAssessmentCompartmentDetails) String() string

type ChangeUserAssessmentCompartmentRequest

ChangeUserAssessmentCompartmentRequest wrapper for the ChangeUserAssessmentCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/ChangeUserAssessmentCompartment.go.html to see an example of how to use ChangeUserAssessmentCompartmentRequest.

type ChangeUserAssessmentCompartmentRequest struct {

    // The OCID of the user assessment.
    UserAssessmentId *string `mandatory:"true" contributesTo:"path" name:"userAssessmentId"`

    // The details used to change the compartment of a user assessment.
    ChangeUserAssessmentCompartmentDetails `contributesTo:"body"`

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

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

    // 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 (ChangeUserAssessmentCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeUserAssessmentCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeUserAssessmentCompartmentRequest) RetryPolicy

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

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

func (ChangeUserAssessmentCompartmentRequest) String

func (request ChangeUserAssessmentCompartmentRequest) String() string

type ChangeUserAssessmentCompartmentResponse

ChangeUserAssessmentCompartmentResponse wrapper for the ChangeUserAssessmentCompartment operation

type ChangeUserAssessmentCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

func (ChangeUserAssessmentCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeUserAssessmentCompartmentResponse) String

func (response ChangeUserAssessmentCompartmentResponse) String() string

type CompareSecurityAssessmentDetails

CompareSecurityAssessmentDetails Details specifying the security assessment used for comparison.

type CompareSecurityAssessmentDetails struct {

    // The OCID of the security assessment. In this case a security assessment can be another security assessment, a latest assessment or a baseline.
    ComparisonSecurityAssessmentId *string `mandatory:"true" json:"comparisonSecurityAssessmentId"`
}

func (CompareSecurityAssessmentDetails) String

func (m CompareSecurityAssessmentDetails) String() string

type CompareSecurityAssessmentRequest

CompareSecurityAssessmentRequest wrapper for the CompareSecurityAssessment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/CompareSecurityAssessment.go.html to see an example of how to use CompareSecurityAssessmentRequest.

type CompareSecurityAssessmentRequest struct {

    // The OCID of the security assessment.
    SecurityAssessmentId *string `mandatory:"true" contributesTo:"path" name:"securityAssessmentId"`

    // Details of the security assessment comparison.
    CompareSecurityAssessmentDetails `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"`

    // 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 (CompareSecurityAssessmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CompareSecurityAssessmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CompareSecurityAssessmentRequest) RetryPolicy

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

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

func (CompareSecurityAssessmentRequest) String

func (request CompareSecurityAssessmentRequest) String() string

type CompareSecurityAssessmentResponse

CompareSecurityAssessmentResponse wrapper for the CompareSecurityAssessment operation

type CompareSecurityAssessmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the 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 (CompareSecurityAssessmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CompareSecurityAssessmentResponse) String

func (response CompareSecurityAssessmentResponse) String() string

type CompareUserAssessmentDetails

CompareUserAssessmentDetails The details of the user assessment comparison.

type CompareUserAssessmentDetails struct {

    // The OCID of the user assessment to be compared. You can compare with another user assessment, a latest assessment, or a baseline.
    ComparisonUserAssessmentId *string `mandatory:"true" json:"comparisonUserAssessmentId"`
}

func (CompareUserAssessmentDetails) String

func (m CompareUserAssessmentDetails) String() string

type CompareUserAssessmentRequest

CompareUserAssessmentRequest wrapper for the CompareUserAssessment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/CompareUserAssessment.go.html to see an example of how to use CompareUserAssessmentRequest.

type CompareUserAssessmentRequest struct {

    // The OCID of the user assessment.
    UserAssessmentId *string `mandatory:"true" contributesTo:"path" name:"userAssessmentId"`

    // Details of the user assessment comparison.
    CompareUserAssessmentDetails `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"`

    // 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 (CompareUserAssessmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CompareUserAssessmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CompareUserAssessmentRequest) RetryPolicy

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

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

func (CompareUserAssessmentRequest) String

func (request CompareUserAssessmentRequest) String() string

type CompareUserAssessmentResponse

CompareUserAssessmentResponse wrapper for the CompareUserAssessment operation

type CompareUserAssessmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the 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 (CompareUserAssessmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CompareUserAssessmentResponse) String

func (response CompareUserAssessmentResponse) String() string

type ConnectionOption

ConnectionOption Types of connection supported by Data Safe.

type ConnectionOption interface {
}

type ConnectionOptionConnectionTypeEnum

ConnectionOptionConnectionTypeEnum Enum with underlying type: string

type ConnectionOptionConnectionTypeEnum string

Set of constants representing the allowable values for ConnectionOptionConnectionTypeEnum

const (
    ConnectionOptionConnectionTypePrivateEndpoint ConnectionOptionConnectionTypeEnum = "PRIVATE_ENDPOINT"
    ConnectionOptionConnectionTypeOnpremConnector ConnectionOptionConnectionTypeEnum = "ONPREM_CONNECTOR"
)

func GetConnectionOptionConnectionTypeEnumValues

func GetConnectionOptionConnectionTypeEnumValues() []ConnectionOptionConnectionTypeEnum

GetConnectionOptionConnectionTypeEnumValues Enumerates the set of values for ConnectionOptionConnectionTypeEnum

type CreateDataSafePrivateEndpointDetails

CreateDataSafePrivateEndpointDetails The details used to create a new Data Safe private endpoint.

type CreateDataSafePrivateEndpointDetails struct {

    // The display name for the private endpoint. The name does not have to be unique, and it's changeable.
    DisplayName *string `mandatory:"true" json:"displayName"`

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

    // The OCID of the VCN.
    VcnId *string `mandatory:"true" json:"vcnId"`

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

    // The private IP address of the private endpoint.
    PrivateEndpointIp *string `mandatory:"false" json:"privateEndpointIp"`

    // The description of the private endpoint.
    Description *string `mandatory:"false" json:"description"`

    // The OCIDs of the network security groups that the private endpoint belongs to.
    NsgIds []string `mandatory:"false" json:"nsgIds"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm)
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

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

func (CreateDataSafePrivateEndpointDetails) String

func (m CreateDataSafePrivateEndpointDetails) String() string

type CreateDataSafePrivateEndpointRequest

CreateDataSafePrivateEndpointRequest wrapper for the CreateDataSafePrivateEndpoint operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/CreateDataSafePrivateEndpoint.go.html to see an example of how to use CreateDataSafePrivateEndpointRequest.

type CreateDataSafePrivateEndpointRequest struct {

    // Details to create a new private endpoint.
    CreateDataSafePrivateEndpointDetails `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 (CreateDataSafePrivateEndpointRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateDataSafePrivateEndpointRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateDataSafePrivateEndpointRequest) RetryPolicy

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

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

func (CreateDataSafePrivateEndpointRequest) String

func (request CreateDataSafePrivateEndpointRequest) String() string

type CreateDataSafePrivateEndpointResponse

CreateDataSafePrivateEndpointResponse wrapper for the CreateDataSafePrivateEndpoint operation

type CreateDataSafePrivateEndpointResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

    // For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
    Etag *string `presentIn:"header" name:"etag"`

    // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the 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"`

    // The full URI of the Data Safe private endpoint.
    Location *string `presentIn:"header" name:"location"`
}

func (CreateDataSafePrivateEndpointResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateDataSafePrivateEndpointResponse) String

func (response CreateDataSafePrivateEndpointResponse) String() string

type CreateOnPremConnectorDetails

CreateOnPremConnectorDetails The details used to create a new on-premises connector.

type CreateOnPremConnectorDetails struct {

    // The OCID of the compartment where you want to create the on-premises connector.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The display name of the on-premises connector. The name does not have to be unique, and it's changeable.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The description of the on-premises connector.
    Description *string `mandatory:"false" json:"description"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm)
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

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

func (CreateOnPremConnectorDetails) String

func (m CreateOnPremConnectorDetails) String() string

type CreateOnPremConnectorRequest

CreateOnPremConnectorRequest wrapper for the CreateOnPremConnector operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/CreateOnPremConnector.go.html to see an example of how to use CreateOnPremConnectorRequest.

type CreateOnPremConnectorRequest struct {

    // The details used to create a new on-premises connector.
    CreateOnPremConnectorDetails `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 (CreateOnPremConnectorRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateOnPremConnectorRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateOnPremConnectorRequest) RetryPolicy

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

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

func (CreateOnPremConnectorRequest) String

func (request CreateOnPremConnectorRequest) String() string

type CreateOnPremConnectorResponse

CreateOnPremConnectorResponse wrapper for the CreateOnPremConnector operation

type CreateOnPremConnectorResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

    // For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
    Etag *string `presentIn:"header" name:"etag"`

    // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the 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"`

    // The full URI of the on-premises connector.
    Location *string `presentIn:"header" name:"location"`
}

func (CreateOnPremConnectorResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateOnPremConnectorResponse) String

func (response CreateOnPremConnectorResponse) String() string

type CreateSecurityAssessmentDetails

CreateSecurityAssessmentDetails The details used to save a security assessment.

type CreateSecurityAssessmentDetails struct {

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

    // The OCID of the target database on which security assessment is to be run.
    TargetId *string `mandatory:"true" json:"targetId"`

    // The display name of the security assessment.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Description of the security assessment.
    Description *string `mandatory:"false" json:"description"`

    // To schedule the assessment for running periodically, specify the schedule in this attribute.
    // Create or schedule one assessment per compartment. If not defined, the assessment runs immediately.
    // Format -
    // <version-string>;<version-specific-schedule>
    // Allowed version strings - "v1"
    // v1's version specific schedule -<ss> <mm> <hh> <day-of-week> <day-of-month>
    // Each of the above fields potentially introduce constraints. A workrequest is created only
    // when clock time satisfies all the constraints. Constraints introduced:
    // 1. seconds = <ss> (So, the allowed range for <ss> is [0, 59])
    // 2. minutes = <mm> (So, the allowed range for <mm> is [0, 59])
    // 3. hours = <hh> (So, the allowed range for <hh> is [0, 23])
    // <day-of-week> can be either '*' (without quotes or a number between 1(Monday) and 7(Sunday))
    // 4. No constraint introduced when it is '*'. When not, day of week must equal the given value
    // <day-of-month> can be either '*' (without quotes or a number between 1 and 28)
    // 5. No constraint introduced when it is '*'. When not, day of month must equal the given value
    Schedule *string `mandatory:"false" json:"schedule"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm)
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

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

func (CreateSecurityAssessmentDetails) String

func (m CreateSecurityAssessmentDetails) String() string

type CreateSecurityAssessmentRequest

CreateSecurityAssessmentRequest wrapper for the CreateSecurityAssessment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/CreateSecurityAssessment.go.html to see an example of how to use CreateSecurityAssessmentRequest.

type CreateSecurityAssessmentRequest struct {

    // The details used to create a new saved security assessment.
    CreateSecurityAssessmentDetails `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 (CreateSecurityAssessmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateSecurityAssessmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateSecurityAssessmentRequest) RetryPolicy

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

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

func (CreateSecurityAssessmentRequest) String

func (request CreateSecurityAssessmentRequest) String() string

type CreateSecurityAssessmentResponse

CreateSecurityAssessmentResponse wrapper for the CreateSecurityAssessment operation

type CreateSecurityAssessmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

    // For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
    Etag *string `presentIn:"header" name:"etag"`

    // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the 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"`

    // Full URI of the created security assessment.
    Location *string `presentIn:"header" name:"location"`
}

func (CreateSecurityAssessmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateSecurityAssessmentResponse) String

func (response CreateSecurityAssessmentResponse) String() string

type CreateTargetDatabaseDetails

CreateTargetDatabaseDetails The details used to register the database in Data Safe and to create the Data Safe target database.

type CreateTargetDatabaseDetails struct {

    // The OCID of the compartment in which to create the Data Safe target database.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    DatabaseDetails DatabaseDetails `mandatory:"true" json:"databaseDetails"`

    // The display name of the target database in Data Safe. The name is modifiable and does not need to be unique.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The description of the target database in Data Safe.
    Description *string `mandatory:"false" json:"description"`

    Credentials *Credentials `mandatory:"false" json:"credentials"`

    TlsConfig *TlsConfig `mandatory:"false" json:"tlsConfig"`

    ConnectionOption ConnectionOption `mandatory:"false" json:"connectionOption"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm)
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

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

func (CreateTargetDatabaseDetails) String

func (m CreateTargetDatabaseDetails) String() string

func (*CreateTargetDatabaseDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

type CreateTargetDatabaseRequest

CreateTargetDatabaseRequest wrapper for the CreateTargetDatabase operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/CreateTargetDatabase.go.html to see an example of how to use CreateTargetDatabaseRequest.

type CreateTargetDatabaseRequest struct {

    // Details of the target database.
    CreateTargetDatabaseDetails `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 (CreateTargetDatabaseRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateTargetDatabaseRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateTargetDatabaseRequest) RetryPolicy

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

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

func (CreateTargetDatabaseRequest) String

func (request CreateTargetDatabaseRequest) String() string

type CreateTargetDatabaseResponse

CreateTargetDatabaseResponse wrapper for the CreateTargetDatabase operation

type CreateTargetDatabaseResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

    // For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
    Etag *string `presentIn:"header" name:"etag"`

    // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the 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"`

    // The full URI of the target database.
    Location *string `presentIn:"header" name:"location"`
}

func (CreateTargetDatabaseResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateTargetDatabaseResponse) String

func (response CreateTargetDatabaseResponse) String() string

type CreateUserAssessmentDetails

CreateUserAssessmentDetails The details required to save a user assessment.

type CreateUserAssessmentDetails struct {

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

    // The OCID of the target database on which the user assessment is to be run.
    TargetId *string `mandatory:"true" json:"targetId"`

    // The description of the user assessment.
    Description *string `mandatory:"false" json:"description"`

    // The display name of the user assessment.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // To schedule the assessment for saving periodically, specify the schedule in this attribute.
    // Create or schedule one assessment per compartment. If not defined, the assessment runs immediately.
    //  Format -
    //   <version-string>;<version-specific-schedule>
    //   Allowed version strings - "v1"
    //   v1's version specific schedule -<ss> <mm> <hh> <day-of-week> <day-of-month>
    //   Each of the above fields potentially introduce constraints. A workrequest is created only
    //   when clock time satisfies all the constraints. Constraints introduced:
    //   1. seconds = <ss> (So, the allowed range for <ss> is [0, 59])
    //   2. minutes = <mm> (So, the allowed range for <mm> is [0, 59])
    //   3. hours = <hh> (So, the allowed range for <hh> is [0, 23])
    //   <day-of-week> can be either '*' (without quotes or a number between 1(Monday) and 7(Sunday))
    //   4. No constraint introduced when it is '*'. When not, day of week must equal the given value
    //   <day-of-month> can be either '*' (without quotes or a number between 1 and 28)
    //   5. No constraint introduced when it is '*'. When not, day of month must equal the given value
    Schedule *string `mandatory:"false" json:"schedule"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm)
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

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

func (CreateUserAssessmentDetails) String

func (m CreateUserAssessmentDetails) String() string

type CreateUserAssessmentRequest

CreateUserAssessmentRequest wrapper for the CreateUserAssessment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/CreateUserAssessment.go.html to see an example of how to use CreateUserAssessmentRequest.

type CreateUserAssessmentRequest struct {

    // The details used to create a new saved user assessment.
    CreateUserAssessmentDetails `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 (CreateUserAssessmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateUserAssessmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateUserAssessmentRequest) RetryPolicy

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

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

func (CreateUserAssessmentRequest) String

func (request CreateUserAssessmentRequest) String() string

type CreateUserAssessmentResponse

CreateUserAssessmentResponse wrapper for the CreateUserAssessment operation

type CreateUserAssessmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

    // For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
    Etag *string `presentIn:"header" name:"etag"`

    // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the 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"`

    // Full URI of the created user assessment.
    Location *string `presentIn:"header" name:"location"`
}

func (CreateUserAssessmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateUserAssessmentResponse) String

func (response CreateUserAssessmentResponse) String() string

type Credentials

Credentials The database credentials required for Data Safe to connect to the database.

type Credentials struct {

    // The database user name.
    UserName *string `mandatory:"true" json:"userName"`

    // The password of the database user.
    Password *string `mandatory:"true" json:"password"`
}

func (Credentials) String

func (m Credentials) String() string

type DataSafeClient

DataSafeClient a client for DataSafe

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

func NewDataSafeClientWithConfigurationProvider

func NewDataSafeClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DataSafeClient, err error)

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

func NewDataSafeClientWithOboToken

func NewDataSafeClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DataSafeClient, err error)

NewDataSafeClientWithOboToken Creates a new default DataSafe 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 (DataSafeClient) ActivateTargetDatabase

func (client DataSafeClient) ActivateTargetDatabase(ctx context.Context, request ActivateTargetDatabaseRequest) (response ActivateTargetDatabaseResponse, err error)

ActivateTargetDatabase Reactivates a previously deactivated Data Safe target database.

See also

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

func (DataSafeClient) ChangeDataSafePrivateEndpointCompartment

func (client DataSafeClient) ChangeDataSafePrivateEndpointCompartment(ctx context.Context, request ChangeDataSafePrivateEndpointCompartmentRequest) (response ChangeDataSafePrivateEndpointCompartmentResponse, err error)

ChangeDataSafePrivateEndpointCompartment Moves the Data Safe private endpoint and its dependent resources to the specified compartment.

See also

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

func (DataSafeClient) ChangeOnPremConnectorCompartment

func (client DataSafeClient) ChangeOnPremConnectorCompartment(ctx context.Context, request ChangeOnPremConnectorCompartmentRequest) (response ChangeOnPremConnectorCompartmentResponse, err error)

ChangeOnPremConnectorCompartment Moves the specified on-premises connector into a different compartment.

See also

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

func (DataSafeClient) ChangeSecurityAssessmentCompartment

func (client DataSafeClient) ChangeSecurityAssessmentCompartment(ctx context.Context, request ChangeSecurityAssessmentCompartmentRequest) (response ChangeSecurityAssessmentCompartmentResponse, err error)

ChangeSecurityAssessmentCompartment Moves the specified saved security assessment or future scheduled assessments into a different compartment. To start, call first the operation ListSecurityAssessments with filters "type = save_schedule". This returns the scheduleAssessmentId. Then, call this changeCompartment with the scheduleAssessmentId. The existing saved security assessments created due to the schedule are not moved. However, all new saves will be associated with the new compartment.

See also

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

func (DataSafeClient) ChangeTargetDatabaseCompartment

func (client DataSafeClient) ChangeTargetDatabaseCompartment(ctx context.Context, request ChangeTargetDatabaseCompartmentRequest) (response ChangeTargetDatabaseCompartmentResponse, err error)

ChangeTargetDatabaseCompartment Moves the Data Safe target database to the specified compartment.

See also

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

func (DataSafeClient) ChangeUserAssessmentCompartment

func (client DataSafeClient) ChangeUserAssessmentCompartment(ctx context.Context, request ChangeUserAssessmentCompartmentRequest) (response ChangeUserAssessmentCompartmentResponse, err error)

ChangeUserAssessmentCompartment Moves the specified saved user assessment or future scheduled assessments into a different compartment. To start storing scheduled user assessments on a different compartment, first call the operation ListUserAssessments with the filters "type = save_schedule". That call returns the scheduleAssessmentId. Then call ChangeUserAssessmentCompartment with the scheduleAssessmentId. The existing saved user assessments created per the schedule are not be moved. However, all new saves will be associated with the new compartment.

See also

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

func (DataSafeClient) CompareSecurityAssessment

func (client DataSafeClient) CompareSecurityAssessment(ctx context.Context, request CompareSecurityAssessmentRequest) (response CompareSecurityAssessmentResponse, err error)

CompareSecurityAssessment Compares two security assessments. For this comparison, a security assessment can be a saved assessment, a latest assessment, or a baseline assessment. For example, you can compare saved assessment or a latest assessment against a baseline.

See also

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

func (DataSafeClient) CompareUserAssessment

func (client DataSafeClient) CompareUserAssessment(ctx context.Context, request CompareUserAssessmentRequest) (response CompareUserAssessmentResponse, err error)

CompareUserAssessment Compares two user assessments. For this comparison, a user assessment can be a saved, a latest assessment, or a baseline. As an example, it can be used to compare a user assessment saved or a latest assessment with a baseline.

See also

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

func (*DataSafeClient) ConfigurationProvider

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

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

func (DataSafeClient) CreateDataSafePrivateEndpoint

func (client DataSafeClient) CreateDataSafePrivateEndpoint(ctx context.Context, request CreateDataSafePrivateEndpointRequest) (response CreateDataSafePrivateEndpointResponse, err error)

CreateDataSafePrivateEndpoint Creates a new Data Safe private endpoint.

See also

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

func (DataSafeClient) CreateOnPremConnector

func (client DataSafeClient) CreateOnPremConnector(ctx context.Context, request CreateOnPremConnectorRequest) (response CreateOnPremConnectorResponse, err error)

CreateOnPremConnector Creates a new on-premises connector.

See also

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

func (DataSafeClient) CreateSecurityAssessment

func (client DataSafeClient) CreateSecurityAssessment(ctx context.Context, request CreateSecurityAssessmentRequest) (response CreateSecurityAssessmentResponse, err error)

CreateSecurityAssessment Creates a new saved security assessment for one or multiple targets in a compartment. When this operation is performed, it will save the latest assessments in the specified compartment. If a schedule is passed, it will persist the latest assessments, at the defined date and time, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).

See also

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

func (DataSafeClient) CreateTargetDatabase

func (client DataSafeClient) CreateTargetDatabase(ctx context.Context, request CreateTargetDatabaseRequest) (response CreateTargetDatabaseResponse, err error)

CreateTargetDatabase Registers the specified database with Data Safe and creates a Data Safe target database in the Data Safe Console.

See also

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

func (DataSafeClient) CreateUserAssessment

func (client DataSafeClient) CreateUserAssessment(ctx context.Context, request CreateUserAssessmentRequest) (response CreateUserAssessmentResponse, err error)

CreateUserAssessment Creates a new saved user assessment for one or multiple targets in a compartment. It saves the latest assessments in the specified compartment. If a scheduled is passed in, this operation persists the latest assessments that exist at the defined date and time, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).

See also

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

func (DataSafeClient) DeactivateTargetDatabase

func (client DataSafeClient) DeactivateTargetDatabase(ctx context.Context, request DeactivateTargetDatabaseRequest) (response DeactivateTargetDatabaseResponse, err error)

DeactivateTargetDatabase Deactivates a target database in Data Safe.

See also

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

func (DataSafeClient) DeleteDataSafePrivateEndpoint

func (client DataSafeClient) DeleteDataSafePrivateEndpoint(ctx context.Context, request DeleteDataSafePrivateEndpointRequest) (response DeleteDataSafePrivateEndpointResponse, err error)

DeleteDataSafePrivateEndpoint Deletes the specified Data Safe private endpoint.

See also

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

func (DataSafeClient) DeleteOnPremConnector

func (client DataSafeClient) DeleteOnPremConnector(ctx context.Context, request DeleteOnPremConnectorRequest) (response DeleteOnPremConnectorResponse, err error)

DeleteOnPremConnector Deletes the specified on-premises connector.

See also

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

func (DataSafeClient) DeleteSecurityAssessment

func (client DataSafeClient) DeleteSecurityAssessment(ctx context.Context, request DeleteSecurityAssessmentRequest) (response DeleteSecurityAssessmentResponse, err error)

DeleteSecurityAssessment Deletes the specified saved security assessment or schedule. To delete a security assessment schedule, first call the operation ListSecurityAssessments with filters "type = save_schedule". That operation returns the scheduleAssessmentId. Then, call DeleteSecurityAssessment with the scheduleAssessmentId. If the assessment being deleted is the baseline for that compartment, then it will impact all baselines in the compartment.

See also

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

func (DataSafeClient) DeleteTargetDatabase

func (client DataSafeClient) DeleteTargetDatabase(ctx context.Context, request DeleteTargetDatabaseRequest) (response DeleteTargetDatabaseResponse, err error)

DeleteTargetDatabase Deregisters the specified database from Data Safe and removes the target database from the Data Safe Console.

See also

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

func (DataSafeClient) DeleteUserAssessment

func (client DataSafeClient) DeleteUserAssessment(ctx context.Context, request DeleteUserAssessmentRequest) (response DeleteUserAssessmentResponse, err error)

DeleteUserAssessment Deletes the specified saved user assessment or schedule. To delete a user assessment schedule, first call the operation ListUserAssessments with filters "type = save_schedule". That call returns the scheduleAssessmentId. Then call DeleteUserAssessment with the scheduleAssessmentId. If the assessment being deleted is the baseline for that compartment, then it will impact all baselines in the compartment.

See also

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

func (DataSafeClient) DownloadPrivilegeScript

func (client DataSafeClient) DownloadPrivilegeScript(ctx context.Context, request DownloadPrivilegeScriptRequest) (response DownloadPrivilegeScriptResponse, err error)

DownloadPrivilegeScript Downloads the privilege script to grant/revoke required roles from the Data Safe account on the target database.

See also

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

func (DataSafeClient) DownloadSecurityAssessmentReport

func (client DataSafeClient) DownloadSecurityAssessmentReport(ctx context.Context, request DownloadSecurityAssessmentReportRequest) (response DownloadSecurityAssessmentReportResponse, err error)

DownloadSecurityAssessmentReport Downloads the report of the specified security assessment. To download the security assessment report, it needs to be generated first. Please use GenerateSecurityAssessmentReport to generate a downloadable report in the preferred format (PDF, XLS).

See also

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

func (DataSafeClient) DownloadUserAssessmentReport

func (client DataSafeClient) DownloadUserAssessmentReport(ctx context.Context, request DownloadUserAssessmentReportRequest) (response DownloadUserAssessmentReportResponse, err error)

DownloadUserAssessmentReport Downloads the report of the specified user assessment. To download the user assessment report, it needs to be generated first. Please use GenerateUserAssessmentReport to generate a downloadable report in the preferred format (PDF, XLS).

See also

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

func (DataSafeClient) EnableDataSafeConfiguration

func (client DataSafeClient) EnableDataSafeConfiguration(ctx context.Context, request EnableDataSafeConfigurationRequest) (response EnableDataSafeConfigurationResponse, err error)

EnableDataSafeConfiguration Enables Data Safe in the tenancy and region.

See also

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

func (DataSafeClient) GenerateOnPremConnectorConfiguration

func (client DataSafeClient) GenerateOnPremConnectorConfiguration(ctx context.Context, request GenerateOnPremConnectorConfigurationRequest) (response GenerateOnPremConnectorConfigurationResponse, err error)

GenerateOnPremConnectorConfiguration Creates and downloads the configuration of the specified on-premises connector.

See also

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

func (DataSafeClient) GenerateSecurityAssessmentReport

func (client DataSafeClient) GenerateSecurityAssessmentReport(ctx context.Context, request GenerateSecurityAssessmentReportRequest) (response GenerateSecurityAssessmentReportResponse, err error)

GenerateSecurityAssessmentReport Generates the report of the specified security assessment. You can get the report in PDF or XLS format. After generating the report, use DownloadSecurityAssessmentReport to download it in the preferred format.

See also

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

func (DataSafeClient) GenerateUserAssessmentReport

func (client DataSafeClient) GenerateUserAssessmentReport(ctx context.Context, request GenerateUserAssessmentReportRequest) (response GenerateUserAssessmentReportResponse, err error)

GenerateUserAssessmentReport Generates the report of the specified user assessment. The report is available in PDF or XLS format. After generating the report, use DownloadUserAssessmentReport to download it in the preferred format.

See also

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

func (DataSafeClient) GetDataSafeConfiguration

func (client DataSafeClient) GetDataSafeConfiguration(ctx context.Context, request GetDataSafeConfigurationRequest) (response GetDataSafeConfigurationResponse, err error)

GetDataSafeConfiguration Gets the details of the Data Safe configuration.

See also

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

func (DataSafeClient) GetDataSafePrivateEndpoint

func (client DataSafeClient) GetDataSafePrivateEndpoint(ctx context.Context, request GetDataSafePrivateEndpointRequest) (response GetDataSafePrivateEndpointResponse, err error)

GetDataSafePrivateEndpoint Gets the details of the specified Data Safe private endpoint.

See also

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

func (DataSafeClient) GetOnPremConnector

func (client DataSafeClient) GetOnPremConnector(ctx context.Context, request GetOnPremConnectorRequest) (response GetOnPremConnectorResponse, err error)

GetOnPremConnector Gets the details of the specified on-premises connector.

See also

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

func (DataSafeClient) GetSecurityAssessment

func (client DataSafeClient) GetSecurityAssessment(ctx context.Context, request GetSecurityAssessmentRequest) (response GetSecurityAssessmentResponse, err error)

GetSecurityAssessment Gets the details of the specified security assessment.

See also

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

func (DataSafeClient) GetSecurityAssessmentComparison

func (client DataSafeClient) GetSecurityAssessmentComparison(ctx context.Context, request GetSecurityAssessmentComparisonRequest) (response GetSecurityAssessmentComparisonResponse, err error)

GetSecurityAssessmentComparison Gets the details of the comparison report on the security assessments submitted for comparison.

See also

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

func (DataSafeClient) GetTargetDatabase

func (client DataSafeClient) GetTargetDatabase(ctx context.Context, request GetTargetDatabaseRequest) (response GetTargetDatabaseResponse, err error)

GetTargetDatabase Returns the details of the specified Data Safe target database.

See also

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

func (DataSafeClient) GetUserAssessment

func (client DataSafeClient) GetUserAssessment(ctx context.Context, request GetUserAssessmentRequest) (response GetUserAssessmentResponse, err error)

GetUserAssessment Gets a user assessment by identifier.

See also

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

func (DataSafeClient) GetUserAssessmentComparison

func (client DataSafeClient) GetUserAssessmentComparison(ctx context.Context, request GetUserAssessmentComparisonRequest) (response GetUserAssessmentComparisonResponse, err error)

GetUserAssessmentComparison Gets the details of the comparison report for the user assessments provided.

See also

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

func (DataSafeClient) GetWorkRequest

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

GetWorkRequest Gets the details of the specified work request.

See also

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

func (DataSafeClient) ListDataSafePrivateEndpoints

func (client DataSafeClient) ListDataSafePrivateEndpoints(ctx context.Context, request ListDataSafePrivateEndpointsRequest) (response ListDataSafePrivateEndpointsResponse, err error)

ListDataSafePrivateEndpoints Gets a list of Data Safe private endpoints.

See also

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

func (DataSafeClient) ListFindings

func (client DataSafeClient) ListFindings(ctx context.Context, request ListFindingsRequest) (response ListFindingsResponse, err error)

ListFindings List all the findings from all the targets in the specified assessment.

See also

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

func (DataSafeClient) ListGrants

func (client DataSafeClient) ListGrants(ctx context.Context, request ListGrantsRequest) (response ListGrantsResponse, err error)

ListGrants Gets a list of grants for a particular user in the specified user assessment. A user grant contains details such as the privilege name, type, category, and depth level. The depth level indicates how deep in the hierarchy of roles granted to roles a privilege grant is. The userKey in this operation is a system-generated identifier. Perform the operation ListUsers to get the userKey for a particular user.

See also

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

func (DataSafeClient) ListOnPremConnectors

func (client DataSafeClient) ListOnPremConnectors(ctx context.Context, request ListOnPremConnectorsRequest) (response ListOnPremConnectorsResponse, err error)

ListOnPremConnectors Gets a list of on-premises connectors.

See also

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

func (DataSafeClient) ListSecurityAssessments

func (client DataSafeClient) ListSecurityAssessments(ctx context.Context, request ListSecurityAssessmentsRequest) (response ListSecurityAssessmentsResponse, err error)

ListSecurityAssessments Gets a list of security assessments. The ListSecurityAssessments operation returns only the assessments in the specified `compartmentId`. The list does not include any subcompartments of the compartmentId passed. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform ListSecurityAssessments on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.

See also

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

func (DataSafeClient) ListTargetDatabases

func (client DataSafeClient) ListTargetDatabases(ctx context.Context, request ListTargetDatabasesRequest) (response ListTargetDatabasesResponse, err error)

ListTargetDatabases Returns the list of registered target databases in Data Safe.

See also

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

func (DataSafeClient) ListUserAnalytics

func (client DataSafeClient) ListUserAnalytics(ctx context.Context, request ListUserAnalyticsRequest) (response ListUserAnalyticsResponse, err error)

ListUserAnalytics Gets a list of aggregated user details from the specified user assessment. This provides information about the overall state of database user security. For example, the user details include how many users have the DBA role and how many users are in the critical category. This data is especially useful content for dashboards or to support analytics. When you perform the ListUserAnalytics operation, if the parameter compartmentIdInSubtree is set to "true," and if the parameter accessLevel is set to ACCESSIBLE, then the operation returns compartments in which the requestor has INSPECT permissions on at least one resource, directly or indirectly (in subcompartments). If the operation is performed at the root compartment. If the requestor does not have access to at least one subcompartment of the compartment specified by compartmentId, then "Not Authorized" is returned. The parameter compartmentIdInSubtree applies when you perform ListUserAnalytics on the compartmentId passed and when it is set to true, the entire hierarchy of compartments can be returned. To use ListUserAnalytics to get a full list of all compartments and subcompartments in the tenancy from the root compartment, set the parameter compartmentIdInSubtree to true and accessLevel to ACCESSIBLE.

See also

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

func (DataSafeClient) ListUserAssessments

func (client DataSafeClient) ListUserAssessments(ctx context.Context, request ListUserAssessmentsRequest) (response ListUserAssessmentsResponse, err error)

ListUserAssessments Gets a list of user assessments. The ListUserAssessments operation returns only the assessments in the specified `compartmentId`. The list does not include any subcompartments of the compartmentId passed. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform ListUserAssessments on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.

See also

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

func (DataSafeClient) ListUsers

func (client DataSafeClient) ListUsers(ctx context.Context, request ListUsersRequest) (response ListUsersResponse, err error)

ListUsers Gets a list of users of the specified user assessment. The result contains the database user details for each user, such as user type, account status, last login time, user creation time, authentication type, user profile, and the date and time of the latest password change. It also contains the user category derived from these user details as well as privileges granted to each user.

See also

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

func (DataSafeClient) ListWorkRequestErrors

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

ListWorkRequestErrors Gets a list of errors for the specified work request.

See also

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

func (DataSafeClient) ListWorkRequestLogs

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

ListWorkRequestLogs Gets a list of log entries for the specified work request.

See also

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

func (DataSafeClient) ListWorkRequests

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

ListWorkRequests Gets a list of work requests.

See also

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

func (DataSafeClient) RefreshSecurityAssessment

func (client DataSafeClient) RefreshSecurityAssessment(ctx context.Context, request RefreshSecurityAssessmentRequest) (response RefreshSecurityAssessmentResponse, err error)

RefreshSecurityAssessment Runs a security assessment, refreshes the latest assessment, and saves it for future reference. The assessment runs with a securityAssessmentId of type LATEST. Before you start, first call the ListSecurityAssessments operation with filter "type = latest" to get the security assessment id for the target's latest assessment.

See also

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

func (DataSafeClient) RefreshUserAssessment

func (client DataSafeClient) RefreshUserAssessment(ctx context.Context, request RefreshUserAssessmentRequest) (response RefreshUserAssessmentResponse, err error)

RefreshUserAssessment Refreshes the latest assessment and saves it for future reference. This operation runs with a userAssessmentId of type LATEST. Before you start, first call the ListUserAssessments operation with filter "type = latest" to get the user assessment ID for the target's latest assessment.

See also

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

func (*DataSafeClient) SetRegion

func (client *DataSafeClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (DataSafeClient) SetSecurityAssessmentBaseline

func (client DataSafeClient) SetSecurityAssessmentBaseline(ctx context.Context, request SetSecurityAssessmentBaselineRequest) (response SetSecurityAssessmentBaselineResponse, err error)

SetSecurityAssessmentBaseline Sets the saved security assessment as the baseline in the compartment where the the specified assessment resides. The security assessment needs to be of type 'SAVED'.

See also

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

func (DataSafeClient) SetUserAssessmentBaseline

func (client DataSafeClient) SetUserAssessmentBaseline(ctx context.Context, request SetUserAssessmentBaselineRequest) (response SetUserAssessmentBaselineResponse, err error)

SetUserAssessmentBaseline Sets the saved user assessment as the baseline in the compartment where the specified assessment resides. The user assessment needs to be of type 'SAVED'.

See also

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

func (DataSafeClient) UnsetSecurityAssessmentBaseline

func (client DataSafeClient) UnsetSecurityAssessmentBaseline(ctx context.Context, request UnsetSecurityAssessmentBaselineRequest) (response UnsetSecurityAssessmentBaselineResponse, err error)

UnsetSecurityAssessmentBaseline Removes the baseline setting for the saved security assessment. The saved security assessment is no longer considered a baseline. Sets the if-match parameter to the value of the etag from a previous GET or POST response for that resource.

See also

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

func (DataSafeClient) UnsetUserAssessmentBaseline

func (client DataSafeClient) UnsetUserAssessmentBaseline(ctx context.Context, request UnsetUserAssessmentBaselineRequest) (response UnsetUserAssessmentBaselineResponse, err error)

UnsetUserAssessmentBaseline Removes the baseline setting for the saved user assessment. The saved user assessment is no longer considered a baseline. Sets the if-match parameter to the value of the etag from a previous GET or POST response for that resource.

See also

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

func (DataSafeClient) UpdateDataSafePrivateEndpoint

func (client DataSafeClient) UpdateDataSafePrivateEndpoint(ctx context.Context, request UpdateDataSafePrivateEndpointRequest) (response UpdateDataSafePrivateEndpointResponse, err error)

UpdateDataSafePrivateEndpoint Updates one or more attributes of the specified Data Safe private endpoint.

See also

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

func (DataSafeClient) UpdateOnPremConnector

func (client DataSafeClient) UpdateOnPremConnector(ctx context.Context, request UpdateOnPremConnectorRequest) (response UpdateOnPremConnectorResponse, err error)

UpdateOnPremConnector Updates one or more attributes of the specified on-premises connector.

See also

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

func (DataSafeClient) UpdateOnPremConnectorWallet

func (client DataSafeClient) UpdateOnPremConnectorWallet(ctx context.Context, request UpdateOnPremConnectorWalletRequest) (response UpdateOnPremConnectorWalletResponse, err error)

UpdateOnPremConnectorWallet Updates the wallet for the specified on-premises connector to a new version.

See also

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

func (DataSafeClient) UpdateSecurityAssessment

func (client DataSafeClient) UpdateSecurityAssessment(ctx context.Context, request UpdateSecurityAssessmentRequest) (response UpdateSecurityAssessmentResponse, err error)

UpdateSecurityAssessment Updates one or more attributes of the specified security assessment. This operation allows to update the security assessment displayName, description, or schedule.

See also

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

func (DataSafeClient) UpdateTargetDatabase

func (client DataSafeClient) UpdateTargetDatabase(ctx context.Context, request UpdateTargetDatabaseRequest) (response UpdateTargetDatabaseResponse, err error)

UpdateTargetDatabase Updates one or more attributes of the specified Data Safe target database.

See also

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

func (DataSafeClient) UpdateUserAssessment

func (client DataSafeClient) UpdateUserAssessment(ctx context.Context, request UpdateUserAssessmentRequest) (response UpdateUserAssessmentResponse, err error)

UpdateUserAssessment Updates one or more attributes of the specified user assessment. This operation allows to update the user assessment displayName, description, or schedule.

See also

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

type DataSafeConfiguration

DataSafeConfiguration A Data Safe configuration for a tenancy and region.

type DataSafeConfiguration struct {

    // Indicates if Data Safe is enabled.
    IsEnabled *bool `mandatory:"true" json:"isEnabled"`

    // The URL of the Data Safe service.
    Url *string `mandatory:"false" json:"url"`

    // The OCID of the tenancy used to enable Data Safe.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // The date and time Data Safe was enabled, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    TimeEnabled *common.SDKTime `mandatory:"false" json:"timeEnabled"`

    // The current state of Data Safe.
    LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm)
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

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

func (DataSafeConfiguration) String

func (m DataSafeConfiguration) String() string

type DataSafePrivateEndpoint

DataSafePrivateEndpoint A Data Safe private endpoint that allows Data Safe to connect to databases in a customer's virtual cloud network (VCN).

type DataSafePrivateEndpoint struct {

    // The OCID of the Data Safe private endpoint.
    Id *string `mandatory:"true" json:"id"`

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

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

    // The OCID of the VCN.
    VcnId *string `mandatory:"true" json:"vcnId"`

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

    // The OCID of the underlying private endpoint.
    PrivateEndpointId *string `mandatory:"true" json:"privateEndpointId"`

    // The private IP address of the private endpoint.
    PrivateEndpointIp *string `mandatory:"false" json:"privateEndpointIp"`

    // The three-label fully qualified domain name (FQDN) of the private endpoint. The customer VCN's DNS records are updated with this FQDN.
    EndpointFqdn *string `mandatory:"false" json:"endpointFqdn"`

    // The description of the private endpoint.
    Description *string `mandatory:"false" json:"description"`

    // The date and time the private endpoint was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

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

    // The OCIDs of the network security groups that the private endpoint belongs to.
    NsgIds []string `mandatory:"false" json:"nsgIds"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm)
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

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

    // System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (DataSafePrivateEndpoint) String

func (m DataSafePrivateEndpoint) String() string

type DataSafePrivateEndpointSummary

DataSafePrivateEndpointSummary Summary of a Data Safe private endpoint.

type DataSafePrivateEndpointSummary struct {

    // The OCID of the Data Safe private endpoint.
    Id *string `mandatory:"true" json:"id"`

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

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

    // The OCID of the VCN.
    VcnId *string `mandatory:"true" json:"vcnId"`

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

    // The OCID of the private endpoint.
    PrivateEndpointId *string `mandatory:"true" json:"privateEndpointId"`

    // The description of the private endpoint.
    Description *string `mandatory:"false" json:"description"`

    // The date and time the private endpoint was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

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

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm)
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

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

    // System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (DataSafePrivateEndpointSummary) String

func (m DataSafePrivateEndpointSummary) String() string

type DatabaseCloudServiceDetails

DatabaseCloudServiceDetails The details of the Oracle Database Cloud Service to be registered as a target database in Data Safe.

type DatabaseCloudServiceDetails struct {

    // The OCID of the VM cluster in which the database is running.
    VmClusterId *string `mandatory:"false" json:"vmClusterId"`

    // The OCID of the cloud database system registered as a target database in Data Safe.
    DbSystemId *string `mandatory:"false" json:"dbSystemId"`

    // The database service name.
    ServiceName *string `mandatory:"false" json:"serviceName"`

    // The infrastructure type the database is running on.
    InfrastructureType InfrastructureTypeEnum `mandatory:"true" json:"infrastructureType"`
}

func (DatabaseCloudServiceDetails) GetInfrastructureType

func (m DatabaseCloudServiceDetails) GetInfrastructureType() InfrastructureTypeEnum

GetInfrastructureType returns InfrastructureType

func (DatabaseCloudServiceDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (DatabaseCloudServiceDetails) String

func (m DatabaseCloudServiceDetails) String() string

type DatabaseDetails

DatabaseDetails Details of the database for the registration in Data Safe. To choose applicable database type and infrastructure type refer to https://confluence.oci.oraclecorp.com/display/DATASAFE/Target+V2+Design

type DatabaseDetails interface {

    // The infrastructure type the database is running on.
    GetInfrastructureType() InfrastructureTypeEnum
}

type DatabaseTypeEnum

DatabaseTypeEnum Enum with underlying type: string

type DatabaseTypeEnum string

Set of constants representing the allowable values for DatabaseTypeEnum

const (
    DatabaseTypeDatabaseCloudService DatabaseTypeEnum = "DATABASE_CLOUD_SERVICE"
    DatabaseTypeAutonomousDatabase   DatabaseTypeEnum = "AUTONOMOUS_DATABASE"
    DatabaseTypeInstalledDatabase    DatabaseTypeEnum = "INSTALLED_DATABASE"
)

func GetDatabaseTypeEnumValues

func GetDatabaseTypeEnumValues() []DatabaseTypeEnum

GetDatabaseTypeEnumValues Enumerates the set of values for DatabaseTypeEnum

type DeactivateTargetDatabaseRequest

DeactivateTargetDatabaseRequest wrapper for the DeactivateTargetDatabase operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/DeactivateTargetDatabase.go.html to see an example of how to use DeactivateTargetDatabaseRequest.

type DeactivateTargetDatabaseRequest struct {

    // The OCID of the Data Safe target database.
    TargetDatabaseId *string `mandatory:"true" contributesTo:"path" name:"targetDatabaseId"`

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

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

    // 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 (DeactivateTargetDatabaseRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeactivateTargetDatabaseRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeactivateTargetDatabaseRequest) RetryPolicy

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

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

func (DeactivateTargetDatabaseRequest) String

func (request DeactivateTargetDatabaseRequest) String() string

type DeactivateTargetDatabaseResponse

DeactivateTargetDatabaseResponse wrapper for the DeactivateTargetDatabase operation

type DeactivateTargetDatabaseResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the 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 (DeactivateTargetDatabaseResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeactivateTargetDatabaseResponse) String

func (response DeactivateTargetDatabaseResponse) String() string

type DeleteDataSafePrivateEndpointRequest

DeleteDataSafePrivateEndpointRequest wrapper for the DeleteDataSafePrivateEndpoint operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/DeleteDataSafePrivateEndpoint.go.html to see an example of how to use DeleteDataSafePrivateEndpointRequest.

type DeleteDataSafePrivateEndpointRequest struct {

    // The OCID of the private endpoint.
    DataSafePrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"dataSafePrivateEndpointId"`

    // 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 (DeleteDataSafePrivateEndpointRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteDataSafePrivateEndpointRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteDataSafePrivateEndpointRequest) RetryPolicy

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

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

func (DeleteDataSafePrivateEndpointRequest) String

func (request DeleteDataSafePrivateEndpointRequest) String() string

type DeleteDataSafePrivateEndpointResponse

DeleteDataSafePrivateEndpointResponse wrapper for the DeleteDataSafePrivateEndpoint operation

type DeleteDataSafePrivateEndpointResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the 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 (DeleteDataSafePrivateEndpointResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteDataSafePrivateEndpointResponse) String

func (response DeleteDataSafePrivateEndpointResponse) String() string

type DeleteOnPremConnectorRequest

DeleteOnPremConnectorRequest wrapper for the DeleteOnPremConnector operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/DeleteOnPremConnector.go.html to see an example of how to use DeleteOnPremConnectorRequest.

type DeleteOnPremConnectorRequest struct {

    // The OCID of the on-premises connector.
    OnPremConnectorId *string `mandatory:"true" contributesTo:"path" name:"onPremConnectorId"`

    // 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 (DeleteOnPremConnectorRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteOnPremConnectorRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteOnPremConnectorRequest) RetryPolicy

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

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

func (DeleteOnPremConnectorRequest) String

func (request DeleteOnPremConnectorRequest) String() string

type DeleteOnPremConnectorResponse

DeleteOnPremConnectorResponse wrapper for the DeleteOnPremConnector operation

type DeleteOnPremConnectorResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the 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 (DeleteOnPremConnectorResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteOnPremConnectorResponse) String

func (response DeleteOnPremConnectorResponse) String() string

type DeleteSecurityAssessmentRequest

DeleteSecurityAssessmentRequest wrapper for the DeleteSecurityAssessment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/DeleteSecurityAssessment.go.html to see an example of how to use DeleteSecurityAssessmentRequest.

type DeleteSecurityAssessmentRequest struct {

    // The OCID of the security assessment.
    SecurityAssessmentId *string `mandatory:"true" contributesTo:"path" name:"securityAssessmentId"`

    // 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 (DeleteSecurityAssessmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteSecurityAssessmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteSecurityAssessmentRequest) RetryPolicy

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

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

func (DeleteSecurityAssessmentRequest) String

func (request DeleteSecurityAssessmentRequest) String() string

type DeleteSecurityAssessmentResponse

DeleteSecurityAssessmentResponse wrapper for the DeleteSecurityAssessment operation

type DeleteSecurityAssessmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the 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 (DeleteSecurityAssessmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteSecurityAssessmentResponse) String

func (response DeleteSecurityAssessmentResponse) String() string

type DeleteTargetDatabaseRequest

DeleteTargetDatabaseRequest wrapper for the DeleteTargetDatabase operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/DeleteTargetDatabase.go.html to see an example of how to use DeleteTargetDatabaseRequest.

type DeleteTargetDatabaseRequest struct {

    // The OCID of the Data Safe target database.
    TargetDatabaseId *string `mandatory:"true" contributesTo:"path" name:"targetDatabaseId"`

    // 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 (DeleteTargetDatabaseRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteTargetDatabaseRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteTargetDatabaseRequest) RetryPolicy

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

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

func (DeleteTargetDatabaseRequest) String

func (request DeleteTargetDatabaseRequest) String() string

type DeleteTargetDatabaseResponse

DeleteTargetDatabaseResponse wrapper for the DeleteTargetDatabase operation

type DeleteTargetDatabaseResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the 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 (DeleteTargetDatabaseResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteTargetDatabaseResponse) String

func (response DeleteTargetDatabaseResponse) String() string

type DeleteUserAssessmentRequest

DeleteUserAssessmentRequest wrapper for the DeleteUserAssessment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/DeleteUserAssessment.go.html to see an example of how to use DeleteUserAssessmentRequest.

type DeleteUserAssessmentRequest struct {

    // The OCID of the user assessment.
    UserAssessmentId *string `mandatory:"true" contributesTo:"path" name:"userAssessmentId"`

    // 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 (DeleteUserAssessmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteUserAssessmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteUserAssessmentRequest) RetryPolicy

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

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

func (DeleteUserAssessmentRequest) String

func (request DeleteUserAssessmentRequest) String() string

type DeleteUserAssessmentResponse

DeleteUserAssessmentResponse wrapper for the DeleteUserAssessment operation

type DeleteUserAssessmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the 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 (DeleteUserAssessmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteUserAssessmentResponse) String

func (response DeleteUserAssessmentResponse) String() string

type Diffs

Diffs Results of the comparison of an item between two security assessments.

type Diffs struct {
    Current *Finding `mandatory:"false" json:"current"`

    Baseline *Finding `mandatory:"false" json:"baseline"`

    // This array identifies the items that are present in the baseline, but are missing from the current assessment.
    RemovedItems []string `mandatory:"false" json:"removedItems"`

    // This array identifies the items that are present in the current assessment, but are missing from the baseline.
    AddedItems []string `mandatory:"false" json:"addedItems"`

    // This array contains the items that are present in both the current assessment and the baseline, but are different in the two assessments.
    ModifiedItems []string `mandatory:"false" json:"modifiedItems"`

    // The severity of this diff.
    Severity DiffsSeverityEnum `mandatory:"false" json:"severity,omitempty"`
}

func (Diffs) String

func (m Diffs) String() string

type DiffsSeverityEnum

DiffsSeverityEnum Enum with underlying type: string

type DiffsSeverityEnum string

Set of constants representing the allowable values for DiffsSeverityEnum

const (
    DiffsSeverityHigh     DiffsSeverityEnum = "HIGH"
    DiffsSeverityMedium   DiffsSeverityEnum = "MEDIUM"
    DiffsSeverityLow      DiffsSeverityEnum = "LOW"
    DiffsSeverityEvaluate DiffsSeverityEnum = "EVALUATE"
    DiffsSeverityAdvisory DiffsSeverityEnum = "ADVISORY"
    DiffsSeverityPass     DiffsSeverityEnum = "PASS"
)

func GetDiffsSeverityEnumValues

func GetDiffsSeverityEnumValues() []DiffsSeverityEnum

GetDiffsSeverityEnumValues Enumerates the set of values for DiffsSeverityEnum

type DownloadPrivilegeScriptRequest

DownloadPrivilegeScriptRequest wrapper for the DownloadPrivilegeScript operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/DownloadPrivilegeScript.go.html to see an example of how to use DownloadPrivilegeScriptRequest.

type DownloadPrivilegeScriptRequest struct {

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

    // 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 (DownloadPrivilegeScriptRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DownloadPrivilegeScriptRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DownloadPrivilegeScriptRequest) RetryPolicy

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

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

func (DownloadPrivilegeScriptRequest) String

func (request DownloadPrivilegeScriptRequest) String() string

type DownloadPrivilegeScriptResponse

DownloadPrivilegeScriptResponse wrapper for the DownloadPrivilegeScript operation

type DownloadPrivilegeScriptResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
    Etag *string `presentIn:"header" name:"etag"`

    // Size of the file.
    ContentLength *int64 `presentIn:"header" name:"content-length"`
}

func (DownloadPrivilegeScriptResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DownloadPrivilegeScriptResponse) String

func (response DownloadPrivilegeScriptResponse) String() string

type DownloadSecurityAssessmentReportDetails

DownloadSecurityAssessmentReportDetails The details used to download a security assessment report.

type DownloadSecurityAssessmentReportDetails struct {

    // Format of the report.
    Format DownloadSecurityAssessmentReportDetailsFormatEnum `mandatory:"true" json:"format"`
}

func (DownloadSecurityAssessmentReportDetails) String

func (m DownloadSecurityAssessmentReportDetails) String() string

type DownloadSecurityAssessmentReportDetailsFormatEnum

DownloadSecurityAssessmentReportDetailsFormatEnum Enum with underlying type: string

type DownloadSecurityAssessmentReportDetailsFormatEnum string

Set of constants representing the allowable values for DownloadSecurityAssessmentReportDetailsFormatEnum

const (
    DownloadSecurityAssessmentReportDetailsFormatPdf DownloadSecurityAssessmentReportDetailsFormatEnum = "PDF"
    DownloadSecurityAssessmentReportDetailsFormatXls DownloadSecurityAssessmentReportDetailsFormatEnum = "XLS"
)

func GetDownloadSecurityAssessmentReportDetailsFormatEnumValues

func GetDownloadSecurityAssessmentReportDetailsFormatEnumValues() []DownloadSecurityAssessmentReportDetailsFormatEnum

GetDownloadSecurityAssessmentReportDetailsFormatEnumValues Enumerates the set of values for DownloadSecurityAssessmentReportDetailsFormatEnum

type DownloadSecurityAssessmentReportRequest

DownloadSecurityAssessmentReportRequest wrapper for the DownloadSecurityAssessmentReport operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/DownloadSecurityAssessmentReport.go.html to see an example of how to use DownloadSecurityAssessmentReportRequest.

type DownloadSecurityAssessmentReportRequest struct {

    // The OCID of the security assessment.
    SecurityAssessmentId *string `mandatory:"true" contributesTo:"path" name:"securityAssessmentId"`

    // Details of the report.
    DownloadSecurityAssessmentReportDetails `contributesTo:"body"`

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

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

    // 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 (DownloadSecurityAssessmentReportRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DownloadSecurityAssessmentReportRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DownloadSecurityAssessmentReportRequest) RetryPolicy

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

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

func (DownloadSecurityAssessmentReportRequest) String

func (request DownloadSecurityAssessmentReportRequest) String() string

type DownloadSecurityAssessmentReportResponse

DownloadSecurityAssessmentReportResponse wrapper for the DownloadSecurityAssessmentReport operation

type DownloadSecurityAssessmentReportResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
    Etag *string `presentIn:"header" name:"etag"`

    // Size of the file.
    ContentLength *int64 `presentIn:"header" name:"content-length"`
}

func (DownloadSecurityAssessmentReportResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DownloadSecurityAssessmentReportResponse) String

func (response DownloadSecurityAssessmentReportResponse) String() string

type DownloadUserAssessmentReportDetails

DownloadUserAssessmentReportDetails The details used to download a user assessment report.

type DownloadUserAssessmentReportDetails struct {

    // Format of the report.
    Format DownloadUserAssessmentReportDetailsFormatEnum `mandatory:"true" json:"format"`
}

func (DownloadUserAssessmentReportDetails) String

func (m DownloadUserAssessmentReportDetails) String() string

type DownloadUserAssessmentReportDetailsFormatEnum

DownloadUserAssessmentReportDetailsFormatEnum Enum with underlying type: string

type DownloadUserAssessmentReportDetailsFormatEnum string

Set of constants representing the allowable values for DownloadUserAssessmentReportDetailsFormatEnum

const (
    DownloadUserAssessmentReportDetailsFormatPdf DownloadUserAssessmentReportDetailsFormatEnum = "PDF"
    DownloadUserAssessmentReportDetailsFormatXls DownloadUserAssessmentReportDetailsFormatEnum = "XLS"
)

func GetDownloadUserAssessmentReportDetailsFormatEnumValues

func GetDownloadUserAssessmentReportDetailsFormatEnumValues() []DownloadUserAssessmentReportDetailsFormatEnum

GetDownloadUserAssessmentReportDetailsFormatEnumValues Enumerates the set of values for DownloadUserAssessmentReportDetailsFormatEnum

type DownloadUserAssessmentReportRequest

DownloadUserAssessmentReportRequest wrapper for the DownloadUserAssessmentReport operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/DownloadUserAssessmentReport.go.html to see an example of how to use DownloadUserAssessmentReportRequest.

type DownloadUserAssessmentReportRequest struct {

    // The OCID of the user assessment.
    UserAssessmentId *string `mandatory:"true" contributesTo:"path" name:"userAssessmentId"`

    // Details of the report.
    DownloadUserAssessmentReportDetails `contributesTo:"body"`

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

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

    // 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 (DownloadUserAssessmentReportRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DownloadUserAssessmentReportRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DownloadUserAssessmentReportRequest) RetryPolicy

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

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

func (DownloadUserAssessmentReportRequest) String

func (request DownloadUserAssessmentReportRequest) String() string

type DownloadUserAssessmentReportResponse

DownloadUserAssessmentReportResponse wrapper for the DownloadUserAssessmentReport operation

type DownloadUserAssessmentReportResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
    Etag *string `presentIn:"header" name:"etag"`

    // Size of the file.
    ContentLength *int64 `presentIn:"header" name:"content-length"`
}

func (DownloadUserAssessmentReportResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DownloadUserAssessmentReportResponse) String

func (response DownloadUserAssessmentReportResponse) String() string

type EnableDataSafeConfigurationDetails

EnableDataSafeConfigurationDetails The details used to enable Data Safe in the tenancy and region.

type EnableDataSafeConfigurationDetails struct {

    // Indicates if Data Safe is enabled.
    IsEnabled *bool `mandatory:"true" json:"isEnabled"`
}

func (EnableDataSafeConfigurationDetails) String

func (m EnableDataSafeConfigurationDetails) String() string

type EnableDataSafeConfigurationRequest

EnableDataSafeConfigurationRequest wrapper for the EnableDataSafeConfiguration operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/EnableDataSafeConfiguration.go.html to see an example of how to use EnableDataSafeConfigurationRequest.

type EnableDataSafeConfigurationRequest struct {

    // The details used to enable Data Safe.
    EnableDataSafeConfigurationDetails `contributesTo:"body"`

    // A filter to return only resources that match the specified compartment OCID.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // 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 (EnableDataSafeConfigurationRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (EnableDataSafeConfigurationRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (EnableDataSafeConfigurationRequest) RetryPolicy

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

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

func (EnableDataSafeConfigurationRequest) String

func (request EnableDataSafeConfigurationRequest) String() string

type EnableDataSafeConfigurationResponse

EnableDataSafeConfigurationResponse wrapper for the EnableDataSafeConfiguration operation

type EnableDataSafeConfigurationResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the 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 (EnableDataSafeConfigurationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (EnableDataSafeConfigurationResponse) String

func (response EnableDataSafeConfigurationResponse) String() string

type Finding

Finding The particular finding reported by the security assessment.

type Finding struct {

    // A unique identifier for the finding. This is common for the finding across targets.
    Key *string `mandatory:"false" json:"key"`

    // The severity of the finding.
    Severity FindingSeverityEnum `mandatory:"false" json:"severity,omitempty"`

    // The short title for the finding.
    Title *string `mandatory:"false" json:"title"`

    // The explanation of the issue in this finding. It explains the reason for the rule and, if a risk is reported, it may also explain the recommended actions for remediation.
    Remarks *string `mandatory:"false" json:"remarks"`

    // The details of the finding. Provides detailed information to explain the finding summary, typically results from the assessed database, followed by any recommendations for changes.
    Details *interface{} `mandatory:"false" json:"details"`

    // The brief summary of the finding. When the finding is informational, the summary typically reports only the number of data elements that were examined.
    Summary *string `mandatory:"false" json:"summary"`

    // Provides information on whether the finding is related to a CIS Oracle Database Benchmark recommendation, STIG rule, or related to a GDPR Article/Recital.
    References *References `mandatory:"false" json:"references"`
}

func (Finding) String

func (m Finding) String() string

type FindingSeverityEnum

FindingSeverityEnum Enum with underlying type: string

type FindingSeverityEnum string

Set of constants representing the allowable values for FindingSeverityEnum

const (
    FindingSeverityHigh     FindingSeverityEnum = "HIGH"
    FindingSeverityMedium   FindingSeverityEnum = "MEDIUM"
    FindingSeverityLow      FindingSeverityEnum = "LOW"
    FindingSeverityEvaluate FindingSeverityEnum = "EVALUATE"
    FindingSeverityAdvisory FindingSeverityEnum = "ADVISORY"
    FindingSeverityPass     FindingSeverityEnum = "PASS"
)

func GetFindingSeverityEnumValues

func GetFindingSeverityEnumValues() []FindingSeverityEnum

GetFindingSeverityEnumValues Enumerates the set of values for FindingSeverityEnum

type FindingSummary

FindingSummary The particular finding reported by the security assessment.

type FindingSummary struct {

    // The severity of the finding.
    Severity FindingSummarySeverityEnum `mandatory:"false" json:"severity,omitempty"`

    // The OCID of the assessment that generated this finding.
    AssessmentId *string `mandatory:"false" json:"assessmentId"`

    // The OCID of the target database.
    TargetId *string `mandatory:"false" json:"targetId"`

    // The unique finding key. This is a system-generated identifier. To get the finding key for a finding, use ListFindings.
    Key *string `mandatory:"false" json:"key"`

    // The short title for the finding.
    Title *string `mandatory:"false" json:"title"`

    // The explanation of the issue in this finding. It explains the reason for the rule and, if a risk is reported, it may also explain the recommended actions for remediation.
    Remarks *string `mandatory:"false" json:"remarks"`

    // The details of the finding. Provides detailed information to explain the finding summary, typically results from the assessed database, followed by any recommendations for changes.
    Details *interface{} `mandatory:"false" json:"details"`

    // The brief summary of the finding. When the finding is informational, the summary typically reports only the number of data elements that were examined.
    Summary *string `mandatory:"false" json:"summary"`

    // Provides information on whether the finding is related to a CIS Oracle Database Benchmark recommendation, a STIG rule, or a GDPR Article/Recital.
    References *References `mandatory:"false" json:"references"`
}

func (FindingSummary) String

func (m FindingSummary) String() string

type FindingSummarySeverityEnum

FindingSummarySeverityEnum Enum with underlying type: string

type FindingSummarySeverityEnum string

Set of constants representing the allowable values for FindingSummarySeverityEnum

const (
    FindingSummarySeverityHigh     FindingSummarySeverityEnum = "HIGH"
    FindingSummarySeverityMedium   FindingSummarySeverityEnum = "MEDIUM"
    FindingSummarySeverityLow      FindingSummarySeverityEnum = "LOW"
    FindingSummarySeverityEvaluate FindingSummarySeverityEnum = "EVALUATE"
    FindingSummarySeverityAdvisory FindingSummarySeverityEnum = "ADVISORY"
    FindingSummarySeverityPass     FindingSummarySeverityEnum = "PASS"
)

func GetFindingSummarySeverityEnumValues

func GetFindingSummarySeverityEnumValues() []FindingSummarySeverityEnum

GetFindingSummarySeverityEnumValues Enumerates the set of values for FindingSummarySeverityEnum

type GenerateOnPremConnectorConfigurationDetails

GenerateOnPremConnectorConfigurationDetails The details used to create and download on-premises connector's configuration.

type GenerateOnPremConnectorConfigurationDetails struct {

    // The password to encrypt the keys inside the wallet included as part of the configuration. The password must be between 12 and 30 characters long and must contain atleast 1 uppercase, 1 lowercase, 1 numeric, and 1 special character.
    Password *string `mandatory:"true" json:"password"`
}

func (GenerateOnPremConnectorConfigurationDetails) String

func (m GenerateOnPremConnectorConfigurationDetails) String() string

type GenerateOnPremConnectorConfigurationRequest

GenerateOnPremConnectorConfigurationRequest wrapper for the GenerateOnPremConnectorConfiguration operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/GenerateOnPremConnectorConfiguration.go.html to see an example of how to use GenerateOnPremConnectorConfigurationRequest.

type GenerateOnPremConnectorConfigurationRequest struct {

    // The details used to create and download on-premises connector's configuration.
    GenerateOnPremConnectorConfigurationDetails `contributesTo:"body"`

    // The OCID of the on-premises connector.
    OnPremConnectorId *string `mandatory:"true" contributesTo:"path" name:"onPremConnectorId"`

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

    // 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 (GenerateOnPremConnectorConfigurationRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GenerateOnPremConnectorConfigurationRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GenerateOnPremConnectorConfigurationRequest) RetryPolicy

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

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

func (GenerateOnPremConnectorConfigurationRequest) String

func (request GenerateOnPremConnectorConfigurationRequest) String() string

type GenerateOnPremConnectorConfigurationResponse

GenerateOnPremConnectorConfigurationResponse wrapper for the GenerateOnPremConnectorConfiguration operation

type GenerateOnPremConnectorConfigurationResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // Size of the file.
    ContentLength *int64 `presentIn:"header" name:"content-length"`

    // The date and time the on-premises connector configuration was last modified, in the format defined by HTTP-date.
    LastModified *common.SDKTime `presentIn:"header" name:"last-modified"`
}

func (GenerateOnPremConnectorConfigurationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GenerateOnPremConnectorConfigurationResponse) String

func (response GenerateOnPremConnectorConfigurationResponse) String() string

type GenerateSecurityAssessmentReportDetails

GenerateSecurityAssessmentReportDetails The details used to generate a new security assessment report.

type GenerateSecurityAssessmentReportDetails struct {

    // Format of the report.
    Format GenerateSecurityAssessmentReportDetailsFormatEnum `mandatory:"true" json:"format"`
}

func (GenerateSecurityAssessmentReportDetails) String

func (m GenerateSecurityAssessmentReportDetails) String() string

type GenerateSecurityAssessmentReportDetailsFormatEnum

GenerateSecurityAssessmentReportDetailsFormatEnum Enum with underlying type: string

type GenerateSecurityAssessmentReportDetailsFormatEnum string

Set of constants representing the allowable values for GenerateSecurityAssessmentReportDetailsFormatEnum

const (
    GenerateSecurityAssessmentReportDetailsFormatPdf GenerateSecurityAssessmentReportDetailsFormatEnum = "PDF"
    GenerateSecurityAssessmentReportDetailsFormatXls GenerateSecurityAssessmentReportDetailsFormatEnum = "XLS"
)

func GetGenerateSecurityAssessmentReportDetailsFormatEnumValues

func GetGenerateSecurityAssessmentReportDetailsFormatEnumValues() []GenerateSecurityAssessmentReportDetailsFormatEnum

GetGenerateSecurityAssessmentReportDetailsFormatEnumValues Enumerates the set of values for GenerateSecurityAssessmentReportDetailsFormatEnum

type GenerateSecurityAssessmentReportRequest

GenerateSecurityAssessmentReportRequest wrapper for the GenerateSecurityAssessmentReport operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/GenerateSecurityAssessmentReport.go.html to see an example of how to use GenerateSecurityAssessmentReportRequest.

type GenerateSecurityAssessmentReportRequest struct {

    // The OCID of the security assessment.
    SecurityAssessmentId *string `mandatory:"true" contributesTo:"path" name:"securityAssessmentId"`

    // Details of the report.
    GenerateSecurityAssessmentReportDetails `contributesTo:"body"`

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

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

    // 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 (GenerateSecurityAssessmentReportRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GenerateSecurityAssessmentReportRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GenerateSecurityAssessmentReportRequest) RetryPolicy

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

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

func (GenerateSecurityAssessmentReportRequest) String

func (request GenerateSecurityAssessmentReportRequest) String() string

type GenerateSecurityAssessmentReportResponse

GenerateSecurityAssessmentReportResponse wrapper for the GenerateSecurityAssessmentReport operation

type GenerateSecurityAssessmentReportResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the 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 (GenerateSecurityAssessmentReportResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GenerateSecurityAssessmentReportResponse) String

func (response GenerateSecurityAssessmentReportResponse) String() string

type GenerateUserAssessmentReportDetails

GenerateUserAssessmentReportDetails The details used to generate a new user assessment report.

type GenerateUserAssessmentReportDetails struct {

    // Format of the report.
    Format GenerateUserAssessmentReportDetailsFormatEnum `mandatory:"true" json:"format"`
}

func (GenerateUserAssessmentReportDetails) String

func (m GenerateUserAssessmentReportDetails) String() string

type GenerateUserAssessmentReportDetailsFormatEnum

GenerateUserAssessmentReportDetailsFormatEnum Enum with underlying type: string

type GenerateUserAssessmentReportDetailsFormatEnum string

Set of constants representing the allowable values for GenerateUserAssessmentReportDetailsFormatEnum

const (
    GenerateUserAssessmentReportDetailsFormatPdf GenerateUserAssessmentReportDetailsFormatEnum = "PDF"
    GenerateUserAssessmentReportDetailsFormatXls GenerateUserAssessmentReportDetailsFormatEnum = "XLS"
)

func GetGenerateUserAssessmentReportDetailsFormatEnumValues

func GetGenerateUserAssessmentReportDetailsFormatEnumValues() []GenerateUserAssessmentReportDetailsFormatEnum

GetGenerateUserAssessmentReportDetailsFormatEnumValues Enumerates the set of values for GenerateUserAssessmentReportDetailsFormatEnum

type GenerateUserAssessmentReportRequest

GenerateUserAssessmentReportRequest wrapper for the GenerateUserAssessmentReport operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/GenerateUserAssessmentReport.go.html to see an example of how to use GenerateUserAssessmentReportRequest.

type GenerateUserAssessmentReportRequest struct {

    // The OCID of the user assessment.
    UserAssessmentId *string `mandatory:"true" contributesTo:"path" name:"userAssessmentId"`

    // Details of the report.
    GenerateUserAssessmentReportDetails `contributesTo:"body"`

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

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

    // 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 (GenerateUserAssessmentReportRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GenerateUserAssessmentReportRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GenerateUserAssessmentReportRequest) RetryPolicy

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

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

func (GenerateUserAssessmentReportRequest) String

func (request GenerateUserAssessmentReportRequest) String() string

type GenerateUserAssessmentReportResponse

GenerateUserAssessmentReportResponse wrapper for the GenerateUserAssessmentReport operation

type GenerateUserAssessmentReportResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the 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 (GenerateUserAssessmentReportResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GenerateUserAssessmentReportResponse) String

func (response GenerateUserAssessmentReportResponse) String() string

type GetDataSafeConfigurationRequest

GetDataSafeConfigurationRequest wrapper for the GetDataSafeConfiguration operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/GetDataSafeConfiguration.go.html to see an example of how to use GetDataSafeConfigurationRequest.

type GetDataSafeConfigurationRequest struct {

    // A filter to return only resources that match the specified compartment OCID.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // 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 (GetDataSafeConfigurationRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetDataSafeConfigurationRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetDataSafeConfigurationRequest) RetryPolicy

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

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

func (GetDataSafeConfigurationRequest) String

func (request GetDataSafeConfigurationRequest) String() string

type GetDataSafeConfigurationResponse

GetDataSafeConfigurationResponse wrapper for the GetDataSafeConfiguration operation

type GetDataSafeConfigurationResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

    // For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
    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 (GetDataSafeConfigurationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetDataSafeConfigurationResponse) String

func (response GetDataSafeConfigurationResponse) String() string

type GetDataSafePrivateEndpointRequest

GetDataSafePrivateEndpointRequest wrapper for the GetDataSafePrivateEndpoint operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/GetDataSafePrivateEndpoint.go.html to see an example of how to use GetDataSafePrivateEndpointRequest.

type GetDataSafePrivateEndpointRequest struct {

    // The OCID of the private endpoint.
    DataSafePrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"dataSafePrivateEndpointId"`

    // 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 (GetDataSafePrivateEndpointRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetDataSafePrivateEndpointRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetDataSafePrivateEndpointRequest) RetryPolicy

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

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

func (GetDataSafePrivateEndpointRequest) String

func (request GetDataSafePrivateEndpointRequest) String() string

type GetDataSafePrivateEndpointResponse

GetDataSafePrivateEndpointResponse wrapper for the GetDataSafePrivateEndpoint operation

type GetDataSafePrivateEndpointResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

    // For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
    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 (GetDataSafePrivateEndpointResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetDataSafePrivateEndpointResponse) String

func (response GetDataSafePrivateEndpointResponse) String() string

type GetOnPremConnectorRequest

GetOnPremConnectorRequest wrapper for the GetOnPremConnector operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/GetOnPremConnector.go.html to see an example of how to use GetOnPremConnectorRequest.

type GetOnPremConnectorRequest struct {

    // The OCID of the on-premises connector.
    OnPremConnectorId *string `mandatory:"true" contributesTo:"path" name:"onPremConnectorId"`

    // 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 (GetOnPremConnectorRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetOnPremConnectorRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetOnPremConnectorRequest) RetryPolicy

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

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

func (GetOnPremConnectorRequest) String

func (request GetOnPremConnectorRequest) String() string

type GetOnPremConnectorResponse

GetOnPremConnectorResponse wrapper for the GetOnPremConnector operation

type GetOnPremConnectorResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

    // For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
    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 (GetOnPremConnectorResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetOnPremConnectorResponse) String

func (response GetOnPremConnectorResponse) String() string

type GetSecurityAssessmentComparisonRequest

GetSecurityAssessmentComparisonRequest wrapper for the GetSecurityAssessmentComparison operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/GetSecurityAssessmentComparison.go.html to see an example of how to use GetSecurityAssessmentComparisonRequest.

type GetSecurityAssessmentComparisonRequest struct {

    // The OCID of the security assessment.
    SecurityAssessmentId *string `mandatory:"true" contributesTo:"path" name:"securityAssessmentId"`

    // The OCID of the baseline security assessment.
    ComparisonSecurityAssessmentId *string `mandatory:"true" contributesTo:"path" name:"comparisonSecurityAssessmentId"`

    // 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 (GetSecurityAssessmentComparisonRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetSecurityAssessmentComparisonRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetSecurityAssessmentComparisonRequest) RetryPolicy

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

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

func (GetSecurityAssessmentComparisonRequest) String

func (request GetSecurityAssessmentComparisonRequest) String() string

type GetSecurityAssessmentComparisonResponse

GetSecurityAssessmentComparisonResponse wrapper for the GetSecurityAssessmentComparison operation

type GetSecurityAssessmentComparisonResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
    Etag *string `presentIn:"header" name:"etag"`
}

func (GetSecurityAssessmentComparisonResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetSecurityAssessmentComparisonResponse) String

func (response GetSecurityAssessmentComparisonResponse) String() string

type GetSecurityAssessmentRequest

GetSecurityAssessmentRequest wrapper for the GetSecurityAssessment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/GetSecurityAssessment.go.html to see an example of how to use GetSecurityAssessmentRequest.

type GetSecurityAssessmentRequest struct {

    // The OCID of the security assessment.
    SecurityAssessmentId *string `mandatory:"true" contributesTo:"path" name:"securityAssessmentId"`

    // 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 (GetSecurityAssessmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetSecurityAssessmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetSecurityAssessmentRequest) RetryPolicy

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

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

func (GetSecurityAssessmentRequest) String

func (request GetSecurityAssessmentRequest) String() string

type GetSecurityAssessmentResponse

GetSecurityAssessmentResponse wrapper for the GetSecurityAssessment operation

type GetSecurityAssessmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
    Etag *string `presentIn:"header" name:"etag"`
}

func (GetSecurityAssessmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetSecurityAssessmentResponse) String

func (response GetSecurityAssessmentResponse) String() string

type GetTargetDatabaseRequest

GetTargetDatabaseRequest wrapper for the GetTargetDatabase operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/GetTargetDatabase.go.html to see an example of how to use GetTargetDatabaseRequest.

type GetTargetDatabaseRequest struct {

    // The OCID of the Data Safe target database.
    TargetDatabaseId *string `mandatory:"true" contributesTo:"path" name:"targetDatabaseId"`

    // 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 (GetTargetDatabaseRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetTargetDatabaseRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetTargetDatabaseRequest) RetryPolicy

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

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

func (GetTargetDatabaseRequest) String

func (request GetTargetDatabaseRequest) String() string

type GetTargetDatabaseResponse

GetTargetDatabaseResponse wrapper for the GetTargetDatabase operation

type GetTargetDatabaseResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

    // For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
    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 (GetTargetDatabaseResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetTargetDatabaseResponse) String

func (response GetTargetDatabaseResponse) String() string

type GetUserAssessmentComparisonRequest

GetUserAssessmentComparisonRequest wrapper for the GetUserAssessmentComparison operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/GetUserAssessmentComparison.go.html to see an example of how to use GetUserAssessmentComparisonRequest.

type GetUserAssessmentComparisonRequest struct {

    // The OCID of the user assessment.
    UserAssessmentId *string `mandatory:"true" contributesTo:"path" name:"userAssessmentId"`

    // The OCID of the baseline user assessment.
    ComparisonUserAssessmentId *string `mandatory:"true" contributesTo:"path" name:"comparisonUserAssessmentId"`

    // 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 (GetUserAssessmentComparisonRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetUserAssessmentComparisonRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetUserAssessmentComparisonRequest) RetryPolicy

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

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

func (GetUserAssessmentComparisonRequest) String

func (request GetUserAssessmentComparisonRequest) String() string

type GetUserAssessmentComparisonResponse

GetUserAssessmentComparisonResponse wrapper for the GetUserAssessmentComparison operation

type GetUserAssessmentComparisonResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

func (GetUserAssessmentComparisonResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetUserAssessmentComparisonResponse) String

func (response GetUserAssessmentComparisonResponse) String() string

type GetUserAssessmentRequest

GetUserAssessmentRequest wrapper for the GetUserAssessment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/GetUserAssessment.go.html to see an example of how to use GetUserAssessmentRequest.

type GetUserAssessmentRequest struct {

    // The OCID of the user assessment.
    UserAssessmentId *string `mandatory:"true" contributesTo:"path" name:"userAssessmentId"`

    // 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 (GetUserAssessmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetUserAssessmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetUserAssessmentRequest) RetryPolicy

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

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

func (GetUserAssessmentRequest) String

func (request GetUserAssessmentRequest) String() string

type GetUserAssessmentResponse

GetUserAssessmentResponse wrapper for the GetUserAssessment operation

type GetUserAssessmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

    // For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
    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 (GetUserAssessmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetUserAssessmentResponse) String

func (response GetUserAssessmentResponse) 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/48.0.0/datasafe/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

type GetWorkRequestResponse

GetWorkRequestResponse wrapper for the GetWorkRequest operation

type GetWorkRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

    // For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
    Etag *string `presentIn:"header" name:"etag"`

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

    // A non-negative integer 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 GrantSummary

GrantSummary The summary of user grants.

type GrantSummary struct {

    // The unique key of a user grant.
    Key *string `mandatory:"true" json:"key"`

    // The name of a user grant.
    GrantName *string `mandatory:"false" json:"grantName"`

    // The type of a user grant.
    PrivilegeType GrantSummaryPrivilegeTypeEnum `mandatory:"false" json:"privilegeType,omitempty"`

    // The privilege category.
    PrivilegeCategory GrantSummaryPrivilegeCategoryEnum `mandatory:"false" json:"privilegeCategory,omitempty"`

    // The grant depth level of the indirect grant.
    // An indirectly granted role/privilege is granted to the user through another role.
    // The depth level indicates how deep a privilege is within the grant hierarchy.
    DepthLevel *int `mandatory:"false" json:"depthLevel"`
}

func (GrantSummary) String

func (m GrantSummary) String() string

type GrantSummaryPrivilegeCategoryEnum

GrantSummaryPrivilegeCategoryEnum Enum with underlying type: string

type GrantSummaryPrivilegeCategoryEnum string

Set of constants representing the allowable values for GrantSummaryPrivilegeCategoryEnum

const (
    GrantSummaryPrivilegeCategoryCritical GrantSummaryPrivilegeCategoryEnum = "CRITICAL"
    GrantSummaryPrivilegeCategoryHigh     GrantSummaryPrivilegeCategoryEnum = "HIGH"
    GrantSummaryPrivilegeCategoryMedium   GrantSummaryPrivilegeCategoryEnum = "MEDIUM"
    GrantSummaryPrivilegeCategoryLow      GrantSummaryPrivilegeCategoryEnum = "LOW"
)

func GetGrantSummaryPrivilegeCategoryEnumValues

func GetGrantSummaryPrivilegeCategoryEnumValues() []GrantSummaryPrivilegeCategoryEnum

GetGrantSummaryPrivilegeCategoryEnumValues Enumerates the set of values for GrantSummaryPrivilegeCategoryEnum

type GrantSummaryPrivilegeTypeEnum

GrantSummaryPrivilegeTypeEnum Enum with underlying type: string

type GrantSummaryPrivilegeTypeEnum string

Set of constants representing the allowable values for GrantSummaryPrivilegeTypeEnum

const (
    GrantSummaryPrivilegeTypeSystemPrivilege GrantSummaryPrivilegeTypeEnum = "SYSTEM_PRIVILEGE"
    GrantSummaryPrivilegeTypeObjectPrivilege GrantSummaryPrivilegeTypeEnum = "OBJECT_PRIVILEGE"
    GrantSummaryPrivilegeTypeAdminPrivilege  GrantSummaryPrivilegeTypeEnum = "ADMIN_PRIVILEGE"
    GrantSummaryPrivilegeTypeRole            GrantSummaryPrivilegeTypeEnum = "ROLE"
)

func GetGrantSummaryPrivilegeTypeEnumValues

func GetGrantSummaryPrivilegeTypeEnumValues() []GrantSummaryPrivilegeTypeEnum

GetGrantSummaryPrivilegeTypeEnumValues Enumerates the set of values for GrantSummaryPrivilegeTypeEnum

type InfrastructureTypeEnum

InfrastructureTypeEnum Enum with underlying type: string

type InfrastructureTypeEnum string

Set of constants representing the allowable values for InfrastructureTypeEnum

const (
    InfrastructureTypeOracleCloud     InfrastructureTypeEnum = "ORACLE_CLOUD"
    InfrastructureTypeCloudAtCustomer InfrastructureTypeEnum = "CLOUD_AT_CUSTOMER"
    InfrastructureTypeOnPremises      InfrastructureTypeEnum = "ON_PREMISES"
    InfrastructureTypeNonOracleCloud  InfrastructureTypeEnum = "NON_ORACLE_CLOUD"
)

func GetInfrastructureTypeEnumValues

func GetInfrastructureTypeEnumValues() []InfrastructureTypeEnum

GetInfrastructureTypeEnumValues Enumerates the set of values for InfrastructureTypeEnum

type InitializationParameter

InitializationParameter Encapsulates a parameter name and its value.

type InitializationParameter struct {

    // The name of the parameter.
    Name *string `mandatory:"true" json:"name"`

    // The value of the parameter.
    Value *string `mandatory:"true" json:"value"`
}

func (InitializationParameter) String

func (m InitializationParameter) String() string

type InstalledDatabaseDetails

InstalledDatabaseDetails The details of the database running on-premises or on a compute instance.

type InstalledDatabaseDetails struct {

    // The OCID of the compute instance on which the database is running.
    InstanceId *string `mandatory:"false" json:"instanceId"`

    // The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
    IpAddresses []string `mandatory:"false" json:"ipAddresses"`

    // The port number of the database listener.
    ListenerPort *int `mandatory:"false" json:"listenerPort"`

    // The service name of the database registered as target database.
    ServiceName *string `mandatory:"false" json:"serviceName"`

    // The infrastructure type the database is running on.
    InfrastructureType InfrastructureTypeEnum `mandatory:"true" json:"infrastructureType"`
}

func (InstalledDatabaseDetails) GetInfrastructureType

func (m InstalledDatabaseDetails) GetInfrastructureType() InfrastructureTypeEnum

GetInfrastructureType returns InfrastructureType

func (InstalledDatabaseDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (InstalledDatabaseDetails) String

func (m InstalledDatabaseDetails) String() string

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"
    LifecycleStateNa       LifecycleStateEnum = "NA"
)

func GetLifecycleStateEnumValues

func GetLifecycleStateEnumValues() []LifecycleStateEnum

GetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum

type ListDataSafePrivateEndpointsAccessLevelEnum

ListDataSafePrivateEndpointsAccessLevelEnum Enum with underlying type: string

type ListDataSafePrivateEndpointsAccessLevelEnum string

Set of constants representing the allowable values for ListDataSafePrivateEndpointsAccessLevelEnum

const (
    ListDataSafePrivateEndpointsAccessLevelRestricted ListDataSafePrivateEndpointsAccessLevelEnum = "RESTRICTED"
    ListDataSafePrivateEndpointsAccessLevelAccessible ListDataSafePrivateEndpointsAccessLevelEnum = "ACCESSIBLE"
)

func GetListDataSafePrivateEndpointsAccessLevelEnumValues

func GetListDataSafePrivateEndpointsAccessLevelEnumValues() []ListDataSafePrivateEndpointsAccessLevelEnum

GetListDataSafePrivateEndpointsAccessLevelEnumValues Enumerates the set of values for ListDataSafePrivateEndpointsAccessLevelEnum

type ListDataSafePrivateEndpointsLifecycleStateEnum

ListDataSafePrivateEndpointsLifecycleStateEnum Enum with underlying type: string

type ListDataSafePrivateEndpointsLifecycleStateEnum string

Set of constants representing the allowable values for ListDataSafePrivateEndpointsLifecycleStateEnum

const (
    ListDataSafePrivateEndpointsLifecycleStateCreating ListDataSafePrivateEndpointsLifecycleStateEnum = "CREATING"
    ListDataSafePrivateEndpointsLifecycleStateUpdating ListDataSafePrivateEndpointsLifecycleStateEnum = "UPDATING"
    ListDataSafePrivateEndpointsLifecycleStateActive   ListDataSafePrivateEndpointsLifecycleStateEnum = "ACTIVE"
    ListDataSafePrivateEndpointsLifecycleStateDeleting ListDataSafePrivateEndpointsLifecycleStateEnum = "DELETING"
    ListDataSafePrivateEndpointsLifecycleStateDeleted  ListDataSafePrivateEndpointsLifecycleStateEnum = "DELETED"
    ListDataSafePrivateEndpointsLifecycleStateFailed   ListDataSafePrivateEndpointsLifecycleStateEnum = "FAILED"
    ListDataSafePrivateEndpointsLifecycleStateNa       ListDataSafePrivateEndpointsLifecycleStateEnum = "NA"
)

func GetListDataSafePrivateEndpointsLifecycleStateEnumValues

func GetListDataSafePrivateEndpointsLifecycleStateEnumValues() []ListDataSafePrivateEndpointsLifecycleStateEnum

GetListDataSafePrivateEndpointsLifecycleStateEnumValues Enumerates the set of values for ListDataSafePrivateEndpointsLifecycleStateEnum

type ListDataSafePrivateEndpointsRequest

ListDataSafePrivateEndpointsRequest wrapper for the ListDataSafePrivateEndpoints operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/ListDataSafePrivateEndpoints.go.html to see an example of how to use ListDataSafePrivateEndpointsRequest.

type ListDataSafePrivateEndpointsRequest struct {

    // A filter to return only resources that match the specified compartment OCID.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

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

    // A filter to return only resources that match the specified VCN OCID.
    VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"`

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

    // For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

    // The field used for sorting. Only one sorting order (sortOrder) can be specified.
    // The default order for TIMECREATED is descending. The default order for DISPLAYNAME is ascending.
    // The DISPLAYNAME sort order is case sensitive.
    SortBy ListDataSafePrivateEndpointsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

    // Default is false.
    // When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

    // Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
    // Setting this to ACCESSIBLE returns only those compartments for which the
    // user has INSPECT permissions directly or indirectly (permissions can be on a
    // resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    AccessLevel ListDataSafePrivateEndpointsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" 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 (ListDataSafePrivateEndpointsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListDataSafePrivateEndpointsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListDataSafePrivateEndpointsRequest) RetryPolicy

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

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

func (ListDataSafePrivateEndpointsRequest) String

func (request ListDataSafePrivateEndpointsRequest) String() string

type ListDataSafePrivateEndpointsResponse

ListDataSafePrivateEndpointsResponse wrapper for the ListDataSafePrivateEndpoints operation

type ListDataSafePrivateEndpointsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []DataSafePrivateEndpointSummary instances
    Items []DataSafePrivateEndpointSummary `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 list pagination. When this header appears in the response, additional pages of results remain. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListDataSafePrivateEndpointsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListDataSafePrivateEndpointsResponse) String

func (response ListDataSafePrivateEndpointsResponse) String() string

type ListDataSafePrivateEndpointsSortByEnum

ListDataSafePrivateEndpointsSortByEnum Enum with underlying type: string

type ListDataSafePrivateEndpointsSortByEnum string

Set of constants representing the allowable values for ListDataSafePrivateEndpointsSortByEnum

const (
    ListDataSafePrivateEndpointsSortByTimecreated ListDataSafePrivateEndpointsSortByEnum = "TIMECREATED"
    ListDataSafePrivateEndpointsSortByDisplayname ListDataSafePrivateEndpointsSortByEnum = "DISPLAYNAME"
)

func GetListDataSafePrivateEndpointsSortByEnumValues

func GetListDataSafePrivateEndpointsSortByEnumValues() []ListDataSafePrivateEndpointsSortByEnum

GetListDataSafePrivateEndpointsSortByEnumValues Enumerates the set of values for ListDataSafePrivateEndpointsSortByEnum

type ListDataSafePrivateEndpointsSortOrderEnum

ListDataSafePrivateEndpointsSortOrderEnum Enum with underlying type: string

type ListDataSafePrivateEndpointsSortOrderEnum string

Set of constants representing the allowable values for ListDataSafePrivateEndpointsSortOrderEnum

const (
    ListDataSafePrivateEndpointsSortOrderAsc  ListDataSafePrivateEndpointsSortOrderEnum = "ASC"
    ListDataSafePrivateEndpointsSortOrderDesc ListDataSafePrivateEndpointsSortOrderEnum = "DESC"
)

func GetListDataSafePrivateEndpointsSortOrderEnumValues

func GetListDataSafePrivateEndpointsSortOrderEnumValues() []ListDataSafePrivateEndpointsSortOrderEnum

GetListDataSafePrivateEndpointsSortOrderEnumValues Enumerates the set of values for ListDataSafePrivateEndpointsSortOrderEnum

type ListFindingsAccessLevelEnum

ListFindingsAccessLevelEnum Enum with underlying type: string

type ListFindingsAccessLevelEnum string

Set of constants representing the allowable values for ListFindingsAccessLevelEnum

const (
    ListFindingsAccessLevelRestricted ListFindingsAccessLevelEnum = "RESTRICTED"
    ListFindingsAccessLevelAccessible ListFindingsAccessLevelEnum = "ACCESSIBLE"
)

func GetListFindingsAccessLevelEnumValues

func GetListFindingsAccessLevelEnumValues() []ListFindingsAccessLevelEnum

GetListFindingsAccessLevelEnumValues Enumerates the set of values for ListFindingsAccessLevelEnum

type ListFindingsRequest

ListFindingsRequest wrapper for the ListFindings operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/ListFindings.go.html to see an example of how to use ListFindingsRequest.

type ListFindingsRequest struct {

    // The OCID of the security assessment.
    SecurityAssessmentId *string `mandatory:"true" contributesTo:"path" name:"securityAssessmentId"`

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

    // A filter to return only findings of a particular risk level.
    Severity ListFindingsSeverityEnum `mandatory:"false" contributesTo:"query" name:"severity" omitEmpty:"true"`

    // For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Default is false.
    // When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

    // Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
    // Setting this to ACCESSIBLE returns only those compartments for which the
    // user has INSPECT permissions directly or indirectly (permissions can be on a
    // resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    AccessLevel ListFindingsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

    // Each finding has a key. This key is same for the finding across targets
    FindingKey *string `mandatory:"false" contributesTo:"query" name:"findingKey"`

    // 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 (ListFindingsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListFindingsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListFindingsRequest) RetryPolicy

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

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

func (ListFindingsRequest) String

func (request ListFindingsRequest) String() string

type ListFindingsResponse

ListFindingsResponse wrapper for the ListFindings operation

type ListFindingsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []FindingSummary instances
    Items []FindingSummary `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 list pagination. When this header appears in the response, additional pages of results remain. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // 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 previous batch of items.
    OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

func (ListFindingsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListFindingsResponse) String

func (response ListFindingsResponse) String() string

type ListFindingsSeverityEnum

ListFindingsSeverityEnum Enum with underlying type: string

type ListFindingsSeverityEnum string

Set of constants representing the allowable values for ListFindingsSeverityEnum

const (
    ListFindingsSeverityHigh     ListFindingsSeverityEnum = "HIGH"
    ListFindingsSeverityMedium   ListFindingsSeverityEnum = "MEDIUM"
    ListFindingsSeverityLow      ListFindingsSeverityEnum = "LOW"
    ListFindingsSeverityEvaluate ListFindingsSeverityEnum = "EVALUATE"
    ListFindingsSeverityAdvisory ListFindingsSeverityEnum = "ADVISORY"
    ListFindingsSeverityPass     ListFindingsSeverityEnum = "PASS"
)

func GetListFindingsSeverityEnumValues

func GetListFindingsSeverityEnumValues() []ListFindingsSeverityEnum

GetListFindingsSeverityEnumValues Enumerates the set of values for ListFindingsSeverityEnum

type ListGrantsRequest

ListGrantsRequest wrapper for the ListGrants operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/ListGrants.go.html to see an example of how to use ListGrantsRequest.

type ListGrantsRequest struct {

    // The OCID of the user assessment.
    UserAssessmentId *string `mandatory:"true" contributesTo:"path" name:"userAssessmentId"`

    // The unique user key. This is a system-generated identifier. ListUsers gets the user key for a user.
    UserKey *string `mandatory:"true" contributesTo:"path" name:"userKey"`

    // A filter to return only items that match the specified user grant key.
    GrantKey *string `mandatory:"false" contributesTo:"query" name:"grantKey"`

    // A filter to return only items that match the specified user grant name.
    GrantName *string `mandatory:"false" contributesTo:"query" name:"grantName"`

    // A filter to return only items that match the specified privilege grant type.
    PrivilegeType *string `mandatory:"false" contributesTo:"query" name:"privilegeType"`

    // A filter to return only items that match the specified user privilege category.
    PrivilegeCategory *string `mandatory:"false" contributesTo:"query" name:"privilegeCategory"`

    // A filter to return only items that match the specified user grant depth level.
    DepthLevel *int `mandatory:"false" contributesTo:"query" name:"depthLevel"`

    // A filter to return only items that are at a level greater than or equal to the specified user grant depth level.
    DepthLevelGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"depthLevelGreaterThanOrEqualTo"`

    // A filter to return only items that are at a level less than the specified user grant depth level.
    DepthLevelLessThan *int `mandatory:"false" contributesTo:"query" name:"depthLevelLessThan"`

    // For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

    // The field to sort by. You can specify only one sort order (sortOrder). The default order for grantName is ascending.
    SortBy ListGrantsSortByEnum `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 (ListGrantsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListGrantsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListGrantsRequest) RetryPolicy

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

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

func (ListGrantsRequest) String

func (request ListGrantsRequest) String() string

type ListGrantsResponse

ListGrantsResponse wrapper for the ListGrants operation

type ListGrantsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []GrantSummary instances
    Items []GrantSummary `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 list pagination. When this header appears in the response, additional pages of results remain. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // 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 previous batch of items.
    OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

func (ListGrantsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListGrantsResponse) String

func (response ListGrantsResponse) String() string

type ListGrantsSortByEnum

ListGrantsSortByEnum Enum with underlying type: string

type ListGrantsSortByEnum string

Set of constants representing the allowable values for ListGrantsSortByEnum

const (
    ListGrantsSortByGrantname         ListGrantsSortByEnum = "grantName"
    ListGrantsSortByGranttype         ListGrantsSortByEnum = "grantType"
    ListGrantsSortByPrivilegecategory ListGrantsSortByEnum = "privilegeCategory"
    ListGrantsSortByDepthlevel        ListGrantsSortByEnum = "depthLevel"
    ListGrantsSortByKey               ListGrantsSortByEnum = "key"
)

func GetListGrantsSortByEnumValues

func GetListGrantsSortByEnumValues() []ListGrantsSortByEnum

GetListGrantsSortByEnumValues Enumerates the set of values for ListGrantsSortByEnum

type ListGrantsSortOrderEnum

ListGrantsSortOrderEnum Enum with underlying type: string

type ListGrantsSortOrderEnum string

Set of constants representing the allowable values for ListGrantsSortOrderEnum

const (
    ListGrantsSortOrderAsc  ListGrantsSortOrderEnum = "ASC"
    ListGrantsSortOrderDesc ListGrantsSortOrderEnum = "DESC"
)

func GetListGrantsSortOrderEnumValues

func GetListGrantsSortOrderEnumValues() []ListGrantsSortOrderEnum

GetListGrantsSortOrderEnumValues Enumerates the set of values for ListGrantsSortOrderEnum

type ListOnPremConnectorsAccessLevelEnum

ListOnPremConnectorsAccessLevelEnum Enum with underlying type: string

type ListOnPremConnectorsAccessLevelEnum string

Set of constants representing the allowable values for ListOnPremConnectorsAccessLevelEnum

const (
    ListOnPremConnectorsAccessLevelRestricted ListOnPremConnectorsAccessLevelEnum = "RESTRICTED"
    ListOnPremConnectorsAccessLevelAccessible ListOnPremConnectorsAccessLevelEnum = "ACCESSIBLE"
)

func GetListOnPremConnectorsAccessLevelEnumValues

func GetListOnPremConnectorsAccessLevelEnumValues() []ListOnPremConnectorsAccessLevelEnum

GetListOnPremConnectorsAccessLevelEnumValues Enumerates the set of values for ListOnPremConnectorsAccessLevelEnum

type ListOnPremConnectorsOnPremConnectorLifecycleStateEnum

ListOnPremConnectorsOnPremConnectorLifecycleStateEnum Enum with underlying type: string

type ListOnPremConnectorsOnPremConnectorLifecycleStateEnum string

Set of constants representing the allowable values for ListOnPremConnectorsOnPremConnectorLifecycleStateEnum

const (
    ListOnPremConnectorsOnPremConnectorLifecycleStateCreating ListOnPremConnectorsOnPremConnectorLifecycleStateEnum = "CREATING"
    ListOnPremConnectorsOnPremConnectorLifecycleStateUpdating ListOnPremConnectorsOnPremConnectorLifecycleStateEnum = "UPDATING"
    ListOnPremConnectorsOnPremConnectorLifecycleStateActive   ListOnPremConnectorsOnPremConnectorLifecycleStateEnum = "ACTIVE"
    ListOnPremConnectorsOnPremConnectorLifecycleStateInactive ListOnPremConnectorsOnPremConnectorLifecycleStateEnum = "INACTIVE"
    ListOnPremConnectorsOnPremConnectorLifecycleStateDeleting ListOnPremConnectorsOnPremConnectorLifecycleStateEnum = "DELETING"
    ListOnPremConnectorsOnPremConnectorLifecycleStateDeleted  ListOnPremConnectorsOnPremConnectorLifecycleStateEnum = "DELETED"
    ListOnPremConnectorsOnPremConnectorLifecycleStateFailed   ListOnPremConnectorsOnPremConnectorLifecycleStateEnum = "FAILED"
)

func GetListOnPremConnectorsOnPremConnectorLifecycleStateEnumValues

func GetListOnPremConnectorsOnPremConnectorLifecycleStateEnumValues() []ListOnPremConnectorsOnPremConnectorLifecycleStateEnum

GetListOnPremConnectorsOnPremConnectorLifecycleStateEnumValues Enumerates the set of values for ListOnPremConnectorsOnPremConnectorLifecycleStateEnum

type ListOnPremConnectorsRequest

ListOnPremConnectorsRequest wrapper for the ListOnPremConnectors operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/ListOnPremConnectors.go.html to see an example of how to use ListOnPremConnectorsRequest.

type ListOnPremConnectorsRequest struct {

    // A filter to return only resources that match the specified compartment OCID.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // A filter to return only the on-premises connector that matches the specified id.
    OnPremConnectorId *string `mandatory:"false" contributesTo:"query" name:"onPremConnectorId"`

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

    // A filter to return only on-premises connector resources that match the specified lifecycle state.
    OnPremConnectorLifecycleState ListOnPremConnectorsOnPremConnectorLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"onPremConnectorLifecycleState" omitEmpty:"true"`

    // For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

    // The field used for sorting. Only one sorting order (sortOrder) can be specified.
    // The default order for TIMECREATED is descending. The default order for DISPLAYNAME is ascending.
    // The DISPLAYNAME sort order is case sensitive.
    SortBy ListOnPremConnectorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

    // Default is false.
    // When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

    // Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
    // Setting this to ACCESSIBLE returns only those compartments for which the
    // user has INSPECT permissions directly or indirectly (permissions can be on a
    // resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    AccessLevel ListOnPremConnectorsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" 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 (ListOnPremConnectorsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListOnPremConnectorsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListOnPremConnectorsRequest) RetryPolicy

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

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

func (ListOnPremConnectorsRequest) String

func (request ListOnPremConnectorsRequest) String() string

type ListOnPremConnectorsResponse

ListOnPremConnectorsResponse wrapper for the ListOnPremConnectors operation

type ListOnPremConnectorsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []OnPremConnectorSummary instances
    Items []OnPremConnectorSummary `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 list pagination. When this header appears in the response, additional pages of results remain. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListOnPremConnectorsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListOnPremConnectorsResponse) String

func (response ListOnPremConnectorsResponse) String() string

type ListOnPremConnectorsSortByEnum

ListOnPremConnectorsSortByEnum Enum with underlying type: string

type ListOnPremConnectorsSortByEnum string

Set of constants representing the allowable values for ListOnPremConnectorsSortByEnum

const (
    ListOnPremConnectorsSortByTimecreated ListOnPremConnectorsSortByEnum = "TIMECREATED"
    ListOnPremConnectorsSortByDisplayname ListOnPremConnectorsSortByEnum = "DISPLAYNAME"
)

func GetListOnPremConnectorsSortByEnumValues

func GetListOnPremConnectorsSortByEnumValues() []ListOnPremConnectorsSortByEnum

GetListOnPremConnectorsSortByEnumValues Enumerates the set of values for ListOnPremConnectorsSortByEnum

type ListOnPremConnectorsSortOrderEnum

ListOnPremConnectorsSortOrderEnum Enum with underlying type: string

type ListOnPremConnectorsSortOrderEnum string

Set of constants representing the allowable values for ListOnPremConnectorsSortOrderEnum

const (
    ListOnPremConnectorsSortOrderAsc  ListOnPremConnectorsSortOrderEnum = "ASC"
    ListOnPremConnectorsSortOrderDesc ListOnPremConnectorsSortOrderEnum = "DESC"
)

func GetListOnPremConnectorsSortOrderEnumValues

func GetListOnPremConnectorsSortOrderEnumValues() []ListOnPremConnectorsSortOrderEnum

GetListOnPremConnectorsSortOrderEnumValues Enumerates the set of values for ListOnPremConnectorsSortOrderEnum

type ListSecurityAssessmentsAccessLevelEnum

ListSecurityAssessmentsAccessLevelEnum Enum with underlying type: string

type ListSecurityAssessmentsAccessLevelEnum string

Set of constants representing the allowable values for ListSecurityAssessmentsAccessLevelEnum

const (
    ListSecurityAssessmentsAccessLevelRestricted ListSecurityAssessmentsAccessLevelEnum = "RESTRICTED"
    ListSecurityAssessmentsAccessLevelAccessible ListSecurityAssessmentsAccessLevelEnum = "ACCESSIBLE"
)

func GetListSecurityAssessmentsAccessLevelEnumValues

func GetListSecurityAssessmentsAccessLevelEnumValues() []ListSecurityAssessmentsAccessLevelEnum

GetListSecurityAssessmentsAccessLevelEnumValues Enumerates the set of values for ListSecurityAssessmentsAccessLevelEnum

type ListSecurityAssessmentsLifecycleStateEnum

ListSecurityAssessmentsLifecycleStateEnum Enum with underlying type: string

type ListSecurityAssessmentsLifecycleStateEnum string

Set of constants representing the allowable values for ListSecurityAssessmentsLifecycleStateEnum

const (
    ListSecurityAssessmentsLifecycleStateCreating  ListSecurityAssessmentsLifecycleStateEnum = "CREATING"
    ListSecurityAssessmentsLifecycleStateSucceeded ListSecurityAssessmentsLifecycleStateEnum = "SUCCEEDED"
    ListSecurityAssessmentsLifecycleStateUpdating  ListSecurityAssessmentsLifecycleStateEnum = "UPDATING"
    ListSecurityAssessmentsLifecycleStateDeleting  ListSecurityAssessmentsLifecycleStateEnum = "DELETING"
    ListSecurityAssessmentsLifecycleStateFailed    ListSecurityAssessmentsLifecycleStateEnum = "FAILED"
)

func GetListSecurityAssessmentsLifecycleStateEnumValues

func GetListSecurityAssessmentsLifecycleStateEnumValues() []ListSecurityAssessmentsLifecycleStateEnum

GetListSecurityAssessmentsLifecycleStateEnumValues Enumerates the set of values for ListSecurityAssessmentsLifecycleStateEnum

type ListSecurityAssessmentsRequest

ListSecurityAssessmentsRequest wrapper for the ListSecurityAssessments operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/ListSecurityAssessments.go.html to see an example of how to use ListSecurityAssessmentsRequest.

type ListSecurityAssessmentsRequest struct {

    // A filter to return only resources that match the specified compartment OCID.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Default is false.
    // When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

    // Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
    // Setting this to ACCESSIBLE returns only those compartments for which the
    // user has INSPECT permissions directly or indirectly (permissions can be on a
    // resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    AccessLevel ListSecurityAssessmentsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

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

    // A filter to return only items that match the specified security assessment type.
    Type ListSecurityAssessmentsTypeEnum `mandatory:"false" contributesTo:"query" name:"type" omitEmpty:"true"`

    // The OCID of the security assessment of type SAVE_SCHEDULE.
    ScheduleAssessmentId *string `mandatory:"false" contributesTo:"query" name:"scheduleAssessmentId"`

    // A filter to return only security assessments of type save schedule.
    IsScheduleAssessment *bool `mandatory:"false" contributesTo:"query" name:"isScheduleAssessment"`

    // A filter to return only security asessments that were created by either user or system.
    TriggeredBy ListSecurityAssessmentsTriggeredByEnum `mandatory:"false" contributesTo:"query" name:"triggeredBy" omitEmpty:"true"`

    // A filter to return only items that match the specified target.
    TargetId *string `mandatory:"false" contributesTo:"query" name:"targetId"`

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

    // A filter to return only security assessments that are set as baseline.
    IsBaseline *bool `mandatory:"false" contributesTo:"query" name:"isBaseline"`

    // The field to sort by. You can specify only one sort order(sortOrder). The default order for timeCreated is descending.
    SortBy ListSecurityAssessmentsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // A filter to return only security assessments that were created after the specified date and time, as defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    // Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all assessments created after that date.
    // **Example:** 2016-12-19T16:39:57.600Z
    TimeCreatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedGreaterThanOrEqualTo"`

    // Search for items that were created before a specific date.
    // Specifying this parameter corresponding `timeCreatedLessThan`
    // parameter will retrieve all items created before the
    // specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as
    // defined by RFC 3339.
    // **Example:** 2016-12-19T16:39:57.600Z
    TimeCreatedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedLessThan"`

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

    // For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // A filter to return only resources that match the specified lifecycle state.
    LifecycleState ListSecurityAssessmentsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" 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 (ListSecurityAssessmentsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListSecurityAssessmentsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListSecurityAssessmentsRequest) RetryPolicy

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

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

func (ListSecurityAssessmentsRequest) String

func (request ListSecurityAssessmentsRequest) String() string

type ListSecurityAssessmentsResponse

ListSecurityAssessmentsResponse wrapper for the ListSecurityAssessments operation

type ListSecurityAssessmentsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []SecurityAssessmentSummary instances
    Items []SecurityAssessmentSummary `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 list pagination. When this header appears in the response, additional pages of results remain. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // 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 previous batch of items.
    OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

func (ListSecurityAssessmentsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListSecurityAssessmentsResponse) String

func (response ListSecurityAssessmentsResponse) String() string

type ListSecurityAssessmentsSortByEnum

ListSecurityAssessmentsSortByEnum Enum with underlying type: string

type ListSecurityAssessmentsSortByEnum string

Set of constants representing the allowable values for ListSecurityAssessmentsSortByEnum

const (
    ListSecurityAssessmentsSortByTimecreated ListSecurityAssessmentsSortByEnum = "timeCreated"
    ListSecurityAssessmentsSortByDisplayname ListSecurityAssessmentsSortByEnum = "displayName"
)

func GetListSecurityAssessmentsSortByEnumValues

func GetListSecurityAssessmentsSortByEnumValues() []ListSecurityAssessmentsSortByEnum

GetListSecurityAssessmentsSortByEnumValues Enumerates the set of values for ListSecurityAssessmentsSortByEnum

type ListSecurityAssessmentsSortOrderEnum

ListSecurityAssessmentsSortOrderEnum Enum with underlying type: string

type ListSecurityAssessmentsSortOrderEnum string

Set of constants representing the allowable values for ListSecurityAssessmentsSortOrderEnum

const (
    ListSecurityAssessmentsSortOrderAsc  ListSecurityAssessmentsSortOrderEnum = "ASC"
    ListSecurityAssessmentsSortOrderDesc ListSecurityAssessmentsSortOrderEnum = "DESC"
)

func GetListSecurityAssessmentsSortOrderEnumValues

func GetListSecurityAssessmentsSortOrderEnumValues() []ListSecurityAssessmentsSortOrderEnum

GetListSecurityAssessmentsSortOrderEnumValues Enumerates the set of values for ListSecurityAssessmentsSortOrderEnum

type ListSecurityAssessmentsTriggeredByEnum

ListSecurityAssessmentsTriggeredByEnum Enum with underlying type: string

type ListSecurityAssessmentsTriggeredByEnum string

Set of constants representing the allowable values for ListSecurityAssessmentsTriggeredByEnum

const (
    ListSecurityAssessmentsTriggeredByUser   ListSecurityAssessmentsTriggeredByEnum = "USER"
    ListSecurityAssessmentsTriggeredBySystem ListSecurityAssessmentsTriggeredByEnum = "SYSTEM"
)

func GetListSecurityAssessmentsTriggeredByEnumValues

func GetListSecurityAssessmentsTriggeredByEnumValues() []ListSecurityAssessmentsTriggeredByEnum

GetListSecurityAssessmentsTriggeredByEnumValues Enumerates the set of values for ListSecurityAssessmentsTriggeredByEnum

type ListSecurityAssessmentsTypeEnum

ListSecurityAssessmentsTypeEnum Enum with underlying type: string

type ListSecurityAssessmentsTypeEnum string

Set of constants representing the allowable values for ListSecurityAssessmentsTypeEnum

const (
    ListSecurityAssessmentsTypeLatest       ListSecurityAssessmentsTypeEnum = "LATEST"
    ListSecurityAssessmentsTypeSaved        ListSecurityAssessmentsTypeEnum = "SAVED"
    ListSecurityAssessmentsTypeSaveSchedule ListSecurityAssessmentsTypeEnum = "SAVE_SCHEDULE"
    ListSecurityAssessmentsTypeCompartment  ListSecurityAssessmentsTypeEnum = "COMPARTMENT"
)

func GetListSecurityAssessmentsTypeEnumValues

func GetListSecurityAssessmentsTypeEnumValues() []ListSecurityAssessmentsTypeEnum

GetListSecurityAssessmentsTypeEnumValues Enumerates the set of values for ListSecurityAssessmentsTypeEnum

type ListTargetDatabasesAccessLevelEnum

ListTargetDatabasesAccessLevelEnum Enum with underlying type: string

type ListTargetDatabasesAccessLevelEnum string

Set of constants representing the allowable values for ListTargetDatabasesAccessLevelEnum

const (
    ListTargetDatabasesAccessLevelRestricted ListTargetDatabasesAccessLevelEnum = "RESTRICTED"
    ListTargetDatabasesAccessLevelAccessible ListTargetDatabasesAccessLevelEnum = "ACCESSIBLE"
)

func GetListTargetDatabasesAccessLevelEnumValues

func GetListTargetDatabasesAccessLevelEnumValues() []ListTargetDatabasesAccessLevelEnum

GetListTargetDatabasesAccessLevelEnumValues Enumerates the set of values for ListTargetDatabasesAccessLevelEnum

type ListTargetDatabasesDatabaseTypeEnum

ListTargetDatabasesDatabaseTypeEnum Enum with underlying type: string

type ListTargetDatabasesDatabaseTypeEnum string

Set of constants representing the allowable values for ListTargetDatabasesDatabaseTypeEnum

const (
    ListTargetDatabasesDatabaseTypeDatabaseCloudService ListTargetDatabasesDatabaseTypeEnum = "DATABASE_CLOUD_SERVICE"
    ListTargetDatabasesDatabaseTypeAutonomousDatabase   ListTargetDatabasesDatabaseTypeEnum = "AUTONOMOUS_DATABASE"
    ListTargetDatabasesDatabaseTypeInstalledDatabase    ListTargetDatabasesDatabaseTypeEnum = "INSTALLED_DATABASE"
)

func GetListTargetDatabasesDatabaseTypeEnumValues

func GetListTargetDatabasesDatabaseTypeEnumValues() []ListTargetDatabasesDatabaseTypeEnum

GetListTargetDatabasesDatabaseTypeEnumValues Enumerates the set of values for ListTargetDatabasesDatabaseTypeEnum

type ListTargetDatabasesInfrastructureTypeEnum

ListTargetDatabasesInfrastructureTypeEnum Enum with underlying type: string

type ListTargetDatabasesInfrastructureTypeEnum string

Set of constants representing the allowable values for ListTargetDatabasesInfrastructureTypeEnum

const (
    ListTargetDatabasesInfrastructureTypeOracleCloud     ListTargetDatabasesInfrastructureTypeEnum = "ORACLE_CLOUD"
    ListTargetDatabasesInfrastructureTypeCloudAtCustomer ListTargetDatabasesInfrastructureTypeEnum = "CLOUD_AT_CUSTOMER"
    ListTargetDatabasesInfrastructureTypeOnPremises      ListTargetDatabasesInfrastructureTypeEnum = "ON_PREMISES"
    ListTargetDatabasesInfrastructureTypeNonOracleCloud  ListTargetDatabasesInfrastructureTypeEnum = "NON_ORACLE_CLOUD"
)

func GetListTargetDatabasesInfrastructureTypeEnumValues

func GetListTargetDatabasesInfrastructureTypeEnumValues() []ListTargetDatabasesInfrastructureTypeEnum

GetListTargetDatabasesInfrastructureTypeEnumValues Enumerates the set of values for ListTargetDatabasesInfrastructureTypeEnum

type ListTargetDatabasesLifecycleStateEnum

ListTargetDatabasesLifecycleStateEnum Enum with underlying type: string

type ListTargetDatabasesLifecycleStateEnum string

Set of constants representing the allowable values for ListTargetDatabasesLifecycleStateEnum

const (
    ListTargetDatabasesLifecycleStateCreating       ListTargetDatabasesLifecycleStateEnum = "CREATING"
    ListTargetDatabasesLifecycleStateUpdating       ListTargetDatabasesLifecycleStateEnum = "UPDATING"
    ListTargetDatabasesLifecycleStateActive         ListTargetDatabasesLifecycleStateEnum = "ACTIVE"
    ListTargetDatabasesLifecycleStateInactive       ListTargetDatabasesLifecycleStateEnum = "INACTIVE"
    ListTargetDatabasesLifecycleStateDeleting       ListTargetDatabasesLifecycleStateEnum = "DELETING"
    ListTargetDatabasesLifecycleStateDeleted        ListTargetDatabasesLifecycleStateEnum = "DELETED"
    ListTargetDatabasesLifecycleStateNeedsAttention ListTargetDatabasesLifecycleStateEnum = "NEEDS_ATTENTION"
    ListTargetDatabasesLifecycleStateFailed         ListTargetDatabasesLifecycleStateEnum = "FAILED"
)

func GetListTargetDatabasesLifecycleStateEnumValues

func GetListTargetDatabasesLifecycleStateEnumValues() []ListTargetDatabasesLifecycleStateEnum

GetListTargetDatabasesLifecycleStateEnumValues Enumerates the set of values for ListTargetDatabasesLifecycleStateEnum

type ListTargetDatabasesRequest

ListTargetDatabasesRequest wrapper for the ListTargetDatabases operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/ListTargetDatabases.go.html to see an example of how to use ListTargetDatabasesRequest.

type ListTargetDatabasesRequest struct {

    // A filter to return only resources that match the specified compartment OCID.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // A filter to return the target database that matches the specified OCID.
    TargetDatabaseId *string `mandatory:"false" contributesTo:"query" name:"targetDatabaseId"`

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

    // A filter to return the target databases that matches the current state of the target database.
    LifecycleState ListTargetDatabasesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // A filter to return target databases that match the database type of the target database.
    DatabaseType ListTargetDatabasesDatabaseTypeEnum `mandatory:"false" contributesTo:"query" name:"databaseType" omitEmpty:"true"`

    // A filter to return target databases that match the infrastructure type of the target database.
    InfrastructureType ListTargetDatabasesInfrastructureTypeEnum `mandatory:"false" contributesTo:"query" name:"infrastructureType" omitEmpty:"true"`

    // For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Default is false.
    // When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

    // Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
    // Setting this to ACCESSIBLE returns only those compartments for which the
    // user has INSPECT permissions directly or indirectly (permissions can be on a
    // resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    AccessLevel ListTargetDatabasesAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

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

    // The field used for sorting. Only one sorting order (sortOrder) can be specified.
    // The default order for TIMECREATED is descending. The default order for DISPLAYNAME is ascending.
    // The DISPLAYNAME sort order is case sensitive.
    SortBy ListTargetDatabasesSortByEnum `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 (ListTargetDatabasesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListTargetDatabasesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListTargetDatabasesRequest) RetryPolicy

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

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

func (ListTargetDatabasesRequest) String

func (request ListTargetDatabasesRequest) String() string

type ListTargetDatabasesResponse

ListTargetDatabasesResponse wrapper for the ListTargetDatabases operation

type ListTargetDatabasesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []TargetDatabaseSummary instances
    Items []TargetDatabaseSummary `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 list pagination. When this header appears in the response, additional pages of results remain. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // 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 previous batch of items.
    OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

func (ListTargetDatabasesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListTargetDatabasesResponse) String

func (response ListTargetDatabasesResponse) String() string

type ListTargetDatabasesSortByEnum

ListTargetDatabasesSortByEnum Enum with underlying type: string

type ListTargetDatabasesSortByEnum string

Set of constants representing the allowable values for ListTargetDatabasesSortByEnum

const (
    ListTargetDatabasesSortByTimecreated ListTargetDatabasesSortByEnum = "TIMECREATED"
    ListTargetDatabasesSortByDisplayname ListTargetDatabasesSortByEnum = "DISPLAYNAME"
)

func GetListTargetDatabasesSortByEnumValues

func GetListTargetDatabasesSortByEnumValues() []ListTargetDatabasesSortByEnum

GetListTargetDatabasesSortByEnumValues Enumerates the set of values for ListTargetDatabasesSortByEnum

type ListTargetDatabasesSortOrderEnum

ListTargetDatabasesSortOrderEnum Enum with underlying type: string

type ListTargetDatabasesSortOrderEnum string

Set of constants representing the allowable values for ListTargetDatabasesSortOrderEnum

const (
    ListTargetDatabasesSortOrderAsc  ListTargetDatabasesSortOrderEnum = "ASC"
    ListTargetDatabasesSortOrderDesc ListTargetDatabasesSortOrderEnum = "DESC"
)

func GetListTargetDatabasesSortOrderEnumValues

func GetListTargetDatabasesSortOrderEnumValues() []ListTargetDatabasesSortOrderEnum

GetListTargetDatabasesSortOrderEnumValues Enumerates the set of values for ListTargetDatabasesSortOrderEnum

type ListUserAnalyticsAccessLevelEnum

ListUserAnalyticsAccessLevelEnum Enum with underlying type: string

type ListUserAnalyticsAccessLevelEnum string

Set of constants representing the allowable values for ListUserAnalyticsAccessLevelEnum

const (
    ListUserAnalyticsAccessLevelRestricted ListUserAnalyticsAccessLevelEnum = "RESTRICTED"
    ListUserAnalyticsAccessLevelAccessible ListUserAnalyticsAccessLevelEnum = "ACCESSIBLE"
)

func GetListUserAnalyticsAccessLevelEnumValues

func GetListUserAnalyticsAccessLevelEnumValues() []ListUserAnalyticsAccessLevelEnum

GetListUserAnalyticsAccessLevelEnumValues Enumerates the set of values for ListUserAnalyticsAccessLevelEnum

type ListUserAnalyticsRequest

ListUserAnalyticsRequest wrapper for the ListUserAnalytics operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/ListUserAnalytics.go.html to see an example of how to use ListUserAnalyticsRequest.

type ListUserAnalyticsRequest struct {

    // The OCID of the user assessment.
    UserAssessmentId *string `mandatory:"true" contributesTo:"path" name:"userAssessmentId"`

    // Default is false.
    // When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

    // Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
    // Setting this to ACCESSIBLE returns only those compartments for which the
    // user has INSPECT permissions directly or indirectly (permissions can be on a
    // resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    AccessLevel ListUserAnalyticsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

    // For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // A filter to return only items that match the specified user category.
    UserCategory *string `mandatory:"false" contributesTo:"query" name:"userCategory"`

    // A filter to return only items that match the specified user key.
    UserKey *string `mandatory:"false" contributesTo:"query" name:"userKey"`

    // A filter to return only items that match the specified account status.
    AccountStatus *string `mandatory:"false" contributesTo:"query" name:"accountStatus"`

    // A filter to return only items that match the specified authentication type.
    AuthenticationType *string `mandatory:"false" contributesTo:"query" name:"authenticationType"`

    // A filter to return only items that match the specified user name.
    UserName *string `mandatory:"false" contributesTo:"query" name:"userName"`

    // A filter to return only items that match the specified target.
    TargetId *string `mandatory:"false" contributesTo:"query" name:"targetId"`

    // A filter to return users whose last login time in the database is greater than or equal to the date and time specified, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    // **Example:** 2016-12-19T16:39:57.600Z
    TimeLastLoginGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLastLoginGreaterThanOrEqualTo"`

    // A filter to return users whose last login time in the database is less than the date and time specified, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    // **Example:** 2016-12-19T16:39:57.600Z
    TimeLastLoginLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLastLoginLessThan"`

    // A filter to return users whose creation time in the database is greater than or equal to the date and time specified, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    // **Example:** 2016-12-19T16:39:57.600Z
    TimeUserCreatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeUserCreatedGreaterThanOrEqualTo"`

    // A filter to return users whose creation time in the database is less than the date and time specified, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    // **Example:** 2016-12-19T16:39:57.600Z
    TimeUserCreatedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeUserCreatedLessThan"`

    // A filter to return users whose last password change in the database is greater than or equal to the date and time specified, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    // **Example:** 2016-12-19T16:39:57.600Z
    TimePasswordLastChangedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timePasswordLastChangedGreaterThanOrEqualTo"`

    // A filter to return users whose last password change in the database is less than the date and time specified, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    // **Example:** 2016-12-19T16:39:57.600Z
    TimePasswordLastChangedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timePasswordLastChangedLessThan"`

    // For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

    // The field to sort by. You can specify only one sort order (sortOrder). The default order for userName is ascending.
    SortBy ListUserAnalyticsSortByEnum `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 (ListUserAnalyticsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListUserAnalyticsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListUserAnalyticsRequest) RetryPolicy

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

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

func (ListUserAnalyticsRequest) String

func (request ListUserAnalyticsRequest) String() string

type ListUserAnalyticsResponse

ListUserAnalyticsResponse wrapper for the ListUserAnalytics operation

type ListUserAnalyticsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []UserAggregation instances
    Items []UserAggregation `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 list pagination. When this header appears in the response, additional pages of results remain. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListUserAnalyticsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListUserAnalyticsResponse) String

func (response ListUserAnalyticsResponse) String() string

type ListUserAnalyticsSortByEnum

ListUserAnalyticsSortByEnum Enum with underlying type: string

type ListUserAnalyticsSortByEnum string

Set of constants representing the allowable values for ListUserAnalyticsSortByEnum

const (
    ListUserAnalyticsSortByUsername            ListUserAnalyticsSortByEnum = "userName"
    ListUserAnalyticsSortByUsercategory        ListUserAnalyticsSortByEnum = "userCategory"
    ListUserAnalyticsSortByAccountstatus       ListUserAnalyticsSortByEnum = "accountStatus"
    ListUserAnalyticsSortByTimelastlogin       ListUserAnalyticsSortByEnum = "timeLastLogin"
    ListUserAnalyticsSortByTargetid            ListUserAnalyticsSortByEnum = "targetId"
    ListUserAnalyticsSortByTimeusercreated     ListUserAnalyticsSortByEnum = "timeUserCreated"
    ListUserAnalyticsSortByAuthenticationtype  ListUserAnalyticsSortByEnum = "authenticationType"
    ListUserAnalyticsSortByTimepasswordchanged ListUserAnalyticsSortByEnum = "timePasswordChanged"
)

func GetListUserAnalyticsSortByEnumValues

func GetListUserAnalyticsSortByEnumValues() []ListUserAnalyticsSortByEnum

GetListUserAnalyticsSortByEnumValues Enumerates the set of values for ListUserAnalyticsSortByEnum

type ListUserAnalyticsSortOrderEnum

ListUserAnalyticsSortOrderEnum Enum with underlying type: string

type ListUserAnalyticsSortOrderEnum string

Set of constants representing the allowable values for ListUserAnalyticsSortOrderEnum

const (
    ListUserAnalyticsSortOrderAsc  ListUserAnalyticsSortOrderEnum = "ASC"
    ListUserAnalyticsSortOrderDesc ListUserAnalyticsSortOrderEnum = "DESC"
)

func GetListUserAnalyticsSortOrderEnumValues

func GetListUserAnalyticsSortOrderEnumValues() []ListUserAnalyticsSortOrderEnum

GetListUserAnalyticsSortOrderEnumValues Enumerates the set of values for ListUserAnalyticsSortOrderEnum

type ListUserAssessmentsAccessLevelEnum

ListUserAssessmentsAccessLevelEnum Enum with underlying type: string

type ListUserAssessmentsAccessLevelEnum string

Set of constants representing the allowable values for ListUserAssessmentsAccessLevelEnum

const (
    ListUserAssessmentsAccessLevelRestricted ListUserAssessmentsAccessLevelEnum = "RESTRICTED"
    ListUserAssessmentsAccessLevelAccessible ListUserAssessmentsAccessLevelEnum = "ACCESSIBLE"
)

func GetListUserAssessmentsAccessLevelEnumValues

func GetListUserAssessmentsAccessLevelEnumValues() []ListUserAssessmentsAccessLevelEnum

GetListUserAssessmentsAccessLevelEnumValues Enumerates the set of values for ListUserAssessmentsAccessLevelEnum

type ListUserAssessmentsLifecycleStateEnum

ListUserAssessmentsLifecycleStateEnum Enum with underlying type: string

type ListUserAssessmentsLifecycleStateEnum string

Set of constants representing the allowable values for ListUserAssessmentsLifecycleStateEnum

const (
    ListUserAssessmentsLifecycleStateCreating  ListUserAssessmentsLifecycleStateEnum = "CREATING"
    ListUserAssessmentsLifecycleStateSucceeded ListUserAssessmentsLifecycleStateEnum = "SUCCEEDED"
    ListUserAssessmentsLifecycleStateUpdating  ListUserAssessmentsLifecycleStateEnum = "UPDATING"
    ListUserAssessmentsLifecycleStateDeleting  ListUserAssessmentsLifecycleStateEnum = "DELETING"
    ListUserAssessmentsLifecycleStateFailed    ListUserAssessmentsLifecycleStateEnum = "FAILED"
)

func GetListUserAssessmentsLifecycleStateEnumValues

func GetListUserAssessmentsLifecycleStateEnumValues() []ListUserAssessmentsLifecycleStateEnum

GetListUserAssessmentsLifecycleStateEnumValues Enumerates the set of values for ListUserAssessmentsLifecycleStateEnum

type ListUserAssessmentsRequest

ListUserAssessmentsRequest wrapper for the ListUserAssessments operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/ListUserAssessments.go.html to see an example of how to use ListUserAssessmentsRequest.

type ListUserAssessmentsRequest struct {

    // A filter to return only resources that match the specified compartment OCID.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Default is false.
    // When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

    // Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
    // Setting this to ACCESSIBLE returns only those compartments for which the
    // user has INSPECT permissions directly or indirectly (permissions can be on a
    // resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    AccessLevel ListUserAssessmentsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

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

    // The OCID of the user assessment of type SAVE_SCHEDULE.
    ScheduleUserAssessmentId *string `mandatory:"false" contributesTo:"query" name:"scheduleUserAssessmentId"`

    // A filter to return only user assessments of type SAVE_SCHEDULE.
    IsScheduleAssessment *bool `mandatory:"false" contributesTo:"query" name:"isScheduleAssessment"`

    // A filter to return only user assessments that are set as baseline.
    IsBaseline *bool `mandatory:"false" contributesTo:"query" name:"isBaseline"`

    // A filter to return only items that match the specified target.
    TargetId *string `mandatory:"false" contributesTo:"query" name:"targetId"`

    // A filter to return only items that match the specified assessment type.
    Type ListUserAssessmentsTypeEnum `mandatory:"false" contributesTo:"query" name:"type" omitEmpty:"true"`

    // A filter to return user assessments that were created by either the system or by a user only.
    TriggeredBy ListUserAssessmentsTriggeredByEnum `mandatory:"false" contributesTo:"query" name:"triggeredBy" omitEmpty:"true"`

    // A filter to return only user assessments that were created after the specified date and time, as defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    // Using timeCreatedGreaterThanOrEqualTo parameter retrieves all assessments created after that date.
    // **Example:** 2016-12-19T16:39:57.600Z
    TimeCreatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedGreaterThanOrEqualTo"`

    // Search for items that were created before a specific date.
    // Specifying this parameter corresponding `timeCreatedLessThan`
    // parameter will retrieve all items created before the
    // specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as
    // defined by RFC 3339.
    // **Example:** 2016-12-19T16:39:57.600Z
    TimeCreatedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedLessThan"`

    // For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The current state of the user assessment.
    LifecycleState ListUserAssessmentsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

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

    // The field to sort by. You can specify only one sort order (sortOrder). The default order for timeCreated is descending.
    SortBy ListUserAssessmentsSortByEnum `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 (ListUserAssessmentsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListUserAssessmentsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListUserAssessmentsRequest) RetryPolicy

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

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

func (ListUserAssessmentsRequest) String

func (request ListUserAssessmentsRequest) String() string

type ListUserAssessmentsResponse

ListUserAssessmentsResponse wrapper for the ListUserAssessments operation

type ListUserAssessmentsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []UserAssessmentSummary instances
    Items []UserAssessmentSummary `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 list pagination. When this header appears in the response, additional pages of results remain. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // 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 previous batch of items.
    OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

func (ListUserAssessmentsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListUserAssessmentsResponse) String

func (response ListUserAssessmentsResponse) String() string

type ListUserAssessmentsSortByEnum

ListUserAssessmentsSortByEnum Enum with underlying type: string

type ListUserAssessmentsSortByEnum string

Set of constants representing the allowable values for ListUserAssessmentsSortByEnum

const (
    ListUserAssessmentsSortByTimecreated ListUserAssessmentsSortByEnum = "timeCreated"
    ListUserAssessmentsSortByDisplayname ListUserAssessmentsSortByEnum = "displayName"
)

func GetListUserAssessmentsSortByEnumValues

func GetListUserAssessmentsSortByEnumValues() []ListUserAssessmentsSortByEnum

GetListUserAssessmentsSortByEnumValues Enumerates the set of values for ListUserAssessmentsSortByEnum

type ListUserAssessmentsSortOrderEnum

ListUserAssessmentsSortOrderEnum Enum with underlying type: string

type ListUserAssessmentsSortOrderEnum string

Set of constants representing the allowable values for ListUserAssessmentsSortOrderEnum

const (
    ListUserAssessmentsSortOrderAsc  ListUserAssessmentsSortOrderEnum = "ASC"
    ListUserAssessmentsSortOrderDesc ListUserAssessmentsSortOrderEnum = "DESC"
)

func GetListUserAssessmentsSortOrderEnumValues

func GetListUserAssessmentsSortOrderEnumValues() []ListUserAssessmentsSortOrderEnum

GetListUserAssessmentsSortOrderEnumValues Enumerates the set of values for ListUserAssessmentsSortOrderEnum

type ListUserAssessmentsTriggeredByEnum

ListUserAssessmentsTriggeredByEnum Enum with underlying type: string

type ListUserAssessmentsTriggeredByEnum string

Set of constants representing the allowable values for ListUserAssessmentsTriggeredByEnum

const (
    ListUserAssessmentsTriggeredByUser   ListUserAssessmentsTriggeredByEnum = "USER"
    ListUserAssessmentsTriggeredBySystem ListUserAssessmentsTriggeredByEnum = "SYSTEM"
)

func GetListUserAssessmentsTriggeredByEnumValues

func GetListUserAssessmentsTriggeredByEnumValues() []ListUserAssessmentsTriggeredByEnum

GetListUserAssessmentsTriggeredByEnumValues Enumerates the set of values for ListUserAssessmentsTriggeredByEnum

type ListUserAssessmentsTypeEnum

ListUserAssessmentsTypeEnum Enum with underlying type: string

type ListUserAssessmentsTypeEnum string

Set of constants representing the allowable values for ListUserAssessmentsTypeEnum

const (
    ListUserAssessmentsTypeLatest       ListUserAssessmentsTypeEnum = "LATEST"
    ListUserAssessmentsTypeSaved        ListUserAssessmentsTypeEnum = "SAVED"
    ListUserAssessmentsTypeCompartment  ListUserAssessmentsTypeEnum = "COMPARTMENT"
    ListUserAssessmentsTypeSaveSchedule ListUserAssessmentsTypeEnum = "SAVE_SCHEDULE"
)

func GetListUserAssessmentsTypeEnumValues

func GetListUserAssessmentsTypeEnumValues() []ListUserAssessmentsTypeEnum

GetListUserAssessmentsTypeEnumValues Enumerates the set of values for ListUserAssessmentsTypeEnum

type ListUsersAccessLevelEnum

ListUsersAccessLevelEnum Enum with underlying type: string

type ListUsersAccessLevelEnum string

Set of constants representing the allowable values for ListUsersAccessLevelEnum

const (
    ListUsersAccessLevelRestricted ListUsersAccessLevelEnum = "RESTRICTED"
    ListUsersAccessLevelAccessible ListUsersAccessLevelEnum = "ACCESSIBLE"
)

func GetListUsersAccessLevelEnumValues

func GetListUsersAccessLevelEnumValues() []ListUsersAccessLevelEnum

GetListUsersAccessLevelEnumValues Enumerates the set of values for ListUsersAccessLevelEnum

type ListUsersRequest

ListUsersRequest wrapper for the ListUsers operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/ListUsers.go.html to see an example of how to use ListUsersRequest.

type ListUsersRequest struct {

    // The OCID of the user assessment.
    UserAssessmentId *string `mandatory:"true" contributesTo:"path" name:"userAssessmentId"`

    // For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // Default is false.
    // When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

    // Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
    // Setting this to ACCESSIBLE returns only those compartments for which the
    // user has INSPECT permissions directly or indirectly (permissions can be on a
    // resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    AccessLevel ListUsersAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

    // A filter to return only items that match the specified user category.
    UserCategory *string `mandatory:"false" contributesTo:"query" name:"userCategory"`

    // A filter to return only items that match the specified user key.
    UserKey *string `mandatory:"false" contributesTo:"query" name:"userKey"`

    // A filter to return only items that match the specified account status.
    AccountStatus *string `mandatory:"false" contributesTo:"query" name:"accountStatus"`

    // A filter to return only items that match the specified authentication type.
    AuthenticationType *string `mandatory:"false" contributesTo:"query" name:"authenticationType"`

    // A filter to return only items that match the specified user name.
    UserName *string `mandatory:"false" contributesTo:"query" name:"userName"`

    // A filter to return only items that match the specified target.
    TargetId *string `mandatory:"false" contributesTo:"query" name:"targetId"`

    // A filter to return users whose last login time in the database is greater than or equal to the date and time specified, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    // **Example:** 2016-12-19T16:39:57.600Z
    TimeLastLoginGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLastLoginGreaterThanOrEqualTo"`

    // A filter to return users whose last login time in the database is less than the date and time specified, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    // **Example:** 2016-12-19T16:39:57.600Z
    TimeLastLoginLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLastLoginLessThan"`

    // A filter to return users whose creation time in the database is greater than or equal to the date and time specified, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    // **Example:** 2016-12-19T16:39:57.600Z
    TimeUserCreatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeUserCreatedGreaterThanOrEqualTo"`

    // A filter to return users whose creation time in the database is less than the date and time specified, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    // **Example:** 2016-12-19T16:39:57.600Z
    TimeUserCreatedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeUserCreatedLessThan"`

    // A filter to return users whose last password change in the database is greater than or equal to the date and time specified, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    // **Example:** 2016-12-19T16:39:57.600Z
    TimePasswordLastChangedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timePasswordLastChangedGreaterThanOrEqualTo"`

    // A filter to return users whose last password change in the database is less than the date and time specified, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    // **Example:** 2016-12-19T16:39:57.600Z
    TimePasswordLastChangedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timePasswordLastChangedLessThan"`

    // For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

    // The field to sort by. You can specify only one sort order (sortOrder). The default order for userName is ascending.
    SortBy ListUsersSortByEnum `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 (ListUsersRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListUsersRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListUsersRequest) RetryPolicy

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

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

func (ListUsersRequest) String

func (request ListUsersRequest) String() string

type ListUsersResponse

ListUsersResponse wrapper for the ListUsers operation

type ListUsersResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []UserSummary instances
    Items []UserSummary `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 list pagination. When this header appears in the response, additional pages of results remain. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // 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 previous batch of items.
    OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

func (ListUsersResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListUsersResponse) String

func (response ListUsersResponse) String() string

type ListUsersSortByEnum

ListUsersSortByEnum Enum with underlying type: string

type ListUsersSortByEnum string

Set of constants representing the allowable values for ListUsersSortByEnum

const (
    ListUsersSortByUsername            ListUsersSortByEnum = "userName"
    ListUsersSortByUsercategory        ListUsersSortByEnum = "userCategory"
    ListUsersSortByAccountstatus       ListUsersSortByEnum = "accountStatus"
    ListUsersSortByTimelastlogin       ListUsersSortByEnum = "timeLastLogin"
    ListUsersSortByTargetid            ListUsersSortByEnum = "targetId"
    ListUsersSortByTimeusercreated     ListUsersSortByEnum = "timeUserCreated"
    ListUsersSortByAuthenticationtype  ListUsersSortByEnum = "authenticationType"
    ListUsersSortByTimepasswordchanged ListUsersSortByEnum = "timePasswordChanged"
)

func GetListUsersSortByEnumValues

func GetListUsersSortByEnumValues() []ListUsersSortByEnum

GetListUsersSortByEnumValues Enumerates the set of values for ListUsersSortByEnum

type ListUsersSortOrderEnum

ListUsersSortOrderEnum Enum with underlying type: string

type ListUsersSortOrderEnum string

Set of constants representing the allowable values for ListUsersSortOrderEnum

const (
    ListUsersSortOrderAsc  ListUsersSortOrderEnum = "ASC"
    ListUsersSortOrderDesc ListUsersSortOrderEnum = "DESC"
)

func GetListUsersSortOrderEnumValues

func GetListUsersSortOrderEnumValues() []ListUsersSortOrderEnum

GetListUsersSortOrderEnumValues Enumerates the set of values for ListUsersSortOrderEnum

type ListWorkRequestErrorsRequest

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/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"`

    // For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

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

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

type ListWorkRequestErrorsResponse

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

type ListWorkRequestErrorsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

    // 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 list pagination. When this header appears in the response, additional pages of results remain. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListWorkRequestErrorsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestLogsRequest

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/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"`

    // For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

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

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

type ListWorkRequestLogsResponse

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

type ListWorkRequestLogsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

    // 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 list pagination. When this header appears in the response, additional pages of results remain. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListWorkRequestLogsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestsRequest

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

See also

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

type ListWorkRequestsRequest struct {

    // A filter to return only resources that match the specified compartment OCID.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // A filter to return only work requests that match the specific operation type.
    OperationType *string `mandatory:"false" contributesTo:"query" name:"operationType"`

    // A filter to return only work requests that match the specified resource OCID.
    ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`

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

    // For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

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

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

type ListWorkRequestsResponse

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

type ListWorkRequestsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []WorkRequestSummary instances
    Items []WorkRequestSummary `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 list pagination. When this header appears in the response, additional pages of results remain. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    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 OnPremConnector

OnPremConnector A Data Safe on-premises connector that enables Data Safe to connect to on-premises databases.

type OnPremConnector struct {

    // The OCID of the on-premises connector.
    Id *string `mandatory:"true" json:"id"`

    // The display name of the on-premises connector.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The OCID of the compartment that contains the on-premises connector.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The date and time the on-premises connector was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The current state of the on-premises connector.
    LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The description of the on-premises connector.
    Description *string `mandatory:"false" json:"description"`

    // Details about the current state of the on-premises connector.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm)
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

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

    // System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

    // Latest available version of the on-premises connector.
    AvailableVersion *string `mandatory:"false" json:"availableVersion"`

    // Created version of the on-premises connector.
    CreatedVersion *string `mandatory:"false" json:"createdVersion"`
}

func (OnPremConnector) String

func (m OnPremConnector) String() string

type OnPremConnectorLifecycleStateEnum

OnPremConnectorLifecycleStateEnum Enum with underlying type: string

type OnPremConnectorLifecycleStateEnum string

Set of constants representing the allowable values for OnPremConnectorLifecycleStateEnum

const (
    OnPremConnectorLifecycleStateCreating OnPremConnectorLifecycleStateEnum = "CREATING"
    OnPremConnectorLifecycleStateUpdating OnPremConnectorLifecycleStateEnum = "UPDATING"
    OnPremConnectorLifecycleStateActive   OnPremConnectorLifecycleStateEnum = "ACTIVE"
    OnPremConnectorLifecycleStateInactive OnPremConnectorLifecycleStateEnum = "INACTIVE"
    OnPremConnectorLifecycleStateDeleting OnPremConnectorLifecycleStateEnum = "DELETING"
    OnPremConnectorLifecycleStateDeleted  OnPremConnectorLifecycleStateEnum = "DELETED"
    OnPremConnectorLifecycleStateFailed   OnPremConnectorLifecycleStateEnum = "FAILED"
)

func GetOnPremConnectorLifecycleStateEnumValues

func GetOnPremConnectorLifecycleStateEnumValues() []OnPremConnectorLifecycleStateEnum

GetOnPremConnectorLifecycleStateEnumValues Enumerates the set of values for OnPremConnectorLifecycleStateEnum

type OnPremConnectorSummary

OnPremConnectorSummary Summary of a Data Safe on-premises connector.

type OnPremConnectorSummary struct {

    // The OCID of the on-premises connector.
    Id *string `mandatory:"true" json:"id"`

    // The display name of the on-premises connector.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The OCID of the compartment that contains the on-premises connector.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The date and time the on-premises connector was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The current state of the on-premises connector.
    LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The description of the on-premises connector.
    Description *string `mandatory:"false" json:"description"`

    // Details about the current state of the on-premises connector.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm)
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

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

    // System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

    // Created version of the on-premises connector.
    CreatedVersion *string `mandatory:"false" json:"createdVersion"`
}

func (OnPremConnectorSummary) String

func (m OnPremConnectorSummary) String() string

type OnPremiseConnector

OnPremiseConnector The details required to establish a connection to the database using an on-premises connector.

type OnPremiseConnector struct {

    // The OCID of the on-premises connector.
    OnPremConnectorId *string `mandatory:"false" json:"onPremConnectorId"`
}

func (OnPremiseConnector) MarshalJSON

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

MarshalJSON marshals to json representation

func (OnPremiseConnector) String

func (m OnPremiseConnector) String() string

type PrivateEndpoint

PrivateEndpoint The details required to establish a connection to the database using a private endpoint.

type PrivateEndpoint struct {

    // The OCID of the Data Safe private endpoint.
    DatasafePrivateEndpointId *string `mandatory:"false" json:"datasafePrivateEndpointId"`
}

func (PrivateEndpoint) MarshalJSON

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

MarshalJSON marshals to json representation

func (PrivateEndpoint) String

func (m PrivateEndpoint) String() string

type ProfileDetails

ProfileDetails The details of a particular profile

type ProfileDetails struct {

    // The number of users using this profile.
    NumUsers *int `mandatory:"false" json:"numUsers"`

    // The value of the CONNECT_TIME resource parameter.
    ConnectTime *string `mandatory:"false" json:"connectTime"`

    // The value of the FAILED_LOGIN_ATTEMPTS password parameter.
    FailedLoginAttempts *string `mandatory:"false" json:"failedLoginAttempts"`

    // The value of the IDLE_TIME resource parameter.
    IdleTime *string `mandatory:"false" json:"idleTime"`

    // The value of the INACTIVE_ACCOUNT_TIME password parameter.
    InactiveAccountTime *string `mandatory:"false" json:"inactiveAccountTime"`

    // The value of the PASSWORD_GRACE_TIME password parameter.
    PasswordGraceTime *string `mandatory:"false" json:"passwordGraceTime"`

    // The value of the PASSWORD_LIFE_TIME password parameter.
    PasswordLifeTime *string `mandatory:"false" json:"passwordLifeTime"`

    // The value of the PASSWORD_LOCK_TIME password parameter.
    PasswordLockTime *string `mandatory:"false" json:"passwordLockTime"`

    // The value of the PASSWORD_REUSE_TIME password parameter.
    PasswordReuseTime *string `mandatory:"false" json:"passwordReuseTime"`

    // The value of the PASSWORD_REUSE_MAX resource parameter.
    PasswordReuseMax *string `mandatory:"false" json:"passwordReuseMax"`

    // The value of the PASSWORD_VERIFY_FUNCTION resource.
    PasswordVerifyFunction *string `mandatory:"false" json:"passwordVerifyFunction"`
}

func (ProfileDetails) String

func (m ProfileDetails) String() string

type References

References References to the sections of STIG, CIS, and/or GDPR relevant to the current finding.

type References struct {

    // Relevant section from STIG.
    Stig *string `mandatory:"false" json:"stig"`

    // Relevant section from CIS.
    Cis *string `mandatory:"false" json:"cis"`

    // Relevant section from GDPR.
    Gdpr *string `mandatory:"false" json:"gdpr"`
}

func (References) String

func (m References) String() string

type RefreshSecurityAssessmentRequest

RefreshSecurityAssessmentRequest wrapper for the RefreshSecurityAssessment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/RefreshSecurityAssessment.go.html to see an example of how to use RefreshSecurityAssessmentRequest.

type RefreshSecurityAssessmentRequest struct {

    // The OCID of the security assessment.
    SecurityAssessmentId *string `mandatory:"true" contributesTo:"path" name:"securityAssessmentId"`

    // Details to create an on-demand saved security assessment.
    RunSecurityAssessmentDetails `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"`

    // 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 (RefreshSecurityAssessmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (RefreshSecurityAssessmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (RefreshSecurityAssessmentRequest) RetryPolicy

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

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

func (RefreshSecurityAssessmentRequest) String

func (request RefreshSecurityAssessmentRequest) String() string

type RefreshSecurityAssessmentResponse

RefreshSecurityAssessmentResponse wrapper for the RefreshSecurityAssessment operation

type RefreshSecurityAssessmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the 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 (RefreshSecurityAssessmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (RefreshSecurityAssessmentResponse) String

func (response RefreshSecurityAssessmentResponse) String() string

type RefreshUserAssessmentRequest

RefreshUserAssessmentRequest wrapper for the RefreshUserAssessment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/RefreshUserAssessment.go.html to see an example of how to use RefreshUserAssessmentRequest.

type RefreshUserAssessmentRequest struct {

    // The OCID of the user assessment.
    UserAssessmentId *string `mandatory:"true" contributesTo:"path" name:"userAssessmentId"`

    // The details required to create an on-demand saved user assessment.
    RunUserAssessmentDetails `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"`

    // 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 (RefreshUserAssessmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (RefreshUserAssessmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (RefreshUserAssessmentRequest) RetryPolicy

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

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

func (RefreshUserAssessmentRequest) String

func (request RefreshUserAssessmentRequest) String() string

type RefreshUserAssessmentResponse

RefreshUserAssessmentResponse wrapper for the RefreshUserAssessment operation

type RefreshUserAssessmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the 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 (RefreshUserAssessmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (RefreshUserAssessmentResponse) String

func (response RefreshUserAssessmentResponse) String() string

type RunSecurityAssessmentDetails

RunSecurityAssessmentDetails The details required to create an on-demand saved security assessment.

type RunSecurityAssessmentDetails struct {

    // The OCID of the compartment that contains the security assessment.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // The display name of the security assessment.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm)
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

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

func (RunSecurityAssessmentDetails) String

func (m RunSecurityAssessmentDetails) String() string

type RunUserAssessmentDetails

RunUserAssessmentDetails The details required to create an on-demand saved user assessment.

type RunUserAssessmentDetails struct {

    // The OCID of the compartment that contains the user assessment.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // The description of the user assessment.
    Description *string `mandatory:"false" json:"description"`

    // The display name of the user assessment.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm)
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

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

func (RunUserAssessmentDetails) String

func (m RunUserAssessmentDetails) String() string

type SectionStatistics

SectionStatistics Statistics showing the number of findings with a particular risk level for each category.

type SectionStatistics struct {

    // The number of targets that contributed to the counts at this risk level.
    TargetsCount *int `mandatory:"false" json:"targetsCount"`

    // The number of findings in the Auditing category.
    AuditingFindingsCount *int `mandatory:"false" json:"auditingFindingsCount"`

    // The number of findings in the Authorization Control category.
    AuthorizationControlFindingsCount *int `mandatory:"false" json:"authorizationControlFindingsCount"`

    // The number of findings in the Data Encryption category.
    DataEncryptionFindingsCount *int `mandatory:"false" json:"dataEncryptionFindingsCount"`

    // The number of findings in the Database Configuration category.
    DbConfigurationFindingsCount *int `mandatory:"false" json:"dbConfigurationFindingsCount"`

    // The number of findings in the Fine-Grained Access Control category.
    FineGrainedAccessControlFindingsCount *int `mandatory:"false" json:"fineGrainedAccessControlFindingsCount"`

    // The number of findings in the Privileges and Roles category.
    PrivilegesAndRolesFindingsCount *int `mandatory:"false" json:"privilegesAndRolesFindingsCount"`

    // The number of findings in the User Accounts category.
    UserAccountsFindingsCount *int `mandatory:"false" json:"userAccountsFindingsCount"`
}

func (SectionStatistics) String

func (m SectionStatistics) String() string

type SecurityAssessment

SecurityAssessment A security assessment that provides an overall insight into your database security posture. The security assessment results are based on the analysis of your database configurations, user accounts, and security controls. For more information, see Security Assessment Overview (https://docs.oracle.com/en/cloud/paas/data-safe/udscs/security-assessment-overview.html).

type SecurityAssessment struct {

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

    // The date and time when the security assessment was created. Conforms to the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The date and time when the security assessment was last updated. Conforms to the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

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

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

    // Array of database target OCIDs.
    TargetIds []string `mandatory:"true" json:"targetIds"`

    // The current state of the security assessment.
    LifecycleState SecurityAssessmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The type of this security assessment. The possible types are:
    // LATEST: The most up-to-date assessment that is running automatically for a target. It is system generated.
    // SAVED: A saved security assessment. LATEST assessments are always saved in order to maintain the history of runs. A SAVED assessment is also generated by a 'refresh' action (triggered by the user).
    // SAVE_SCHEDULE: The schedule for periodic saves of LATEST assessments.
    // COMPARTMENT: An automatically managed assessment type that stores all details of targets in one compartment.
    //  This type keeps an up-to-date assessment of all database risks in one compartment. It is automatically updated when
    //  the latest assessment or refresh action is executed. It is also automatically updated when a target is deleted or move to a different compartment.
    Type SecurityAssessmentTypeEnum `mandatory:"true" json:"type"`

    // List containing maps as values.
    // Example: `{"Operations": [ {"CostCenter": "42"} ] }`
    IgnoredTargets []interface{} `mandatory:"false" json:"ignoredTargets"`

    // List containing maps as values.
    // Example: `{"Operations": [ {"CostCenter": "42"} ] }`
    IgnoredAssessmentIds []interface{} `mandatory:"false" json:"ignoredAssessmentIds"`

    // The version of the target database.
    TargetVersion *string `mandatory:"false" json:"targetVersion"`

    // Indicates whether or not the security assessment is set as a baseline. This is applicable only for saved security assessments.
    IsBaseline *bool `mandatory:"false" json:"isBaseline"`

    // Indicates if the assessment has deviated from the baseline.
    IsDeviatedFromBaseline *bool `mandatory:"false" json:"isDeviatedFromBaseline"`

    // The OCID of the baseline against which the latest security assessment was compared.
    LastComparedBaselineId *string `mandatory:"false" json:"lastComparedBaselineId"`

    // Details about the current state of the security assessment.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // The OCID of the security assessment that is responsible for creating this scheduled save assessment.
    ScheduleSecurityAssessmentId *string `mandatory:"false" json:"scheduleSecurityAssessmentId"`

    // Indicates whether the security assessment was created by system or by a user.
    TriggeredBy SecurityAssessmentTriggeredByEnum `mandatory:"false" json:"triggeredBy,omitempty"`

    // The description of the security assessment.
    Description *string `mandatory:"false" json:"description"`

    // Schedule to save the assessment periodically in the specified format:
    // <version-string>;<version-specific-schedule>
    // Allowed version strings - "v1"
    // v1's version specific schedule -<ss> <mm> <hh> <day-of-week> <day-of-month>
    // Each of the above fields potentially introduce constraints. A workrequest is created only
    // when clock time satisfies all the constraints. Constraints introduced:
    // 1. seconds = <ss> (So, the allowed range for <ss> is [0, 59])
    // 2. minutes = <mm> (So, the allowed range for <mm> is [0, 59])
    // 3. hours = <hh> (So, the allowed range for <hh> is [0, 23])
    // <day-of-week> can be either '*' (without quotes or a number between 1(Monday) and 7(Sunday))
    // 4. No constraint introduced when it is '*'. When not, day of week must equal the given value
    // <day-of-month> can be either '*' (without quotes or a number between 1 and 28)
    // 5. No constraint introduced when it is '*'. When not, day of month must equal the given value
    Schedule *string `mandatory:"false" json:"schedule"`

    // The summary of findings for the security assessment
    Link *string `mandatory:"false" json:"link"`

    Statistics *SecurityAssessmentStatistics `mandatory:"false" json:"statistics"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm)
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

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

    // System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (SecurityAssessment) String

func (m SecurityAssessment) String() string

type SecurityAssessmentBaseLineDetails

SecurityAssessmentBaseLineDetails The details reqired to set baseline assessment.

type SecurityAssessmentBaseLineDetails struct {

    // List of security assessment OCIDs that need to be updated while setting the baseline.
    AssessmentIds []string `mandatory:"false" json:"assessmentIds"`
}

func (SecurityAssessmentBaseLineDetails) String

func (m SecurityAssessmentBaseLineDetails) String() string

type SecurityAssessmentComparison

SecurityAssessmentComparison Provides a list of the differences in a comparison of the security assessment with the baseline value.

type SecurityAssessmentComparison struct {

    // The current state of the security assessment comparison.
    LifecycleState SecurityAssessmentComparisonLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The date and time when the security assessment comparison was created. Conforms to the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The OCID of the security assessment that is being compared with a baseline security assessment.
    Id *string `mandatory:"false" json:"id"`

    // The OCID of the security assessment that is set as a baseline.
    BaselineId *string `mandatory:"false" json:"baselineId"`

    // A target-based comparison between two security assessments.
    Targets []SecurityAssessmentComparisonPerTarget `mandatory:"false" json:"targets"`
}

func (SecurityAssessmentComparison) String

func (m SecurityAssessmentComparison) String() string

type SecurityAssessmentComparisonLifecycleStateEnum

SecurityAssessmentComparisonLifecycleStateEnum Enum with underlying type: string

type SecurityAssessmentComparisonLifecycleStateEnum string

Set of constants representing the allowable values for SecurityAssessmentComparisonLifecycleStateEnum

const (
    SecurityAssessmentComparisonLifecycleStateCreating  SecurityAssessmentComparisonLifecycleStateEnum = "CREATING"
    SecurityAssessmentComparisonLifecycleStateSucceeded SecurityAssessmentComparisonLifecycleStateEnum = "SUCCEEDED"
    SecurityAssessmentComparisonLifecycleStateFailed    SecurityAssessmentComparisonLifecycleStateEnum = "FAILED"
)

func GetSecurityAssessmentComparisonLifecycleStateEnumValues

func GetSecurityAssessmentComparisonLifecycleStateEnumValues() []SecurityAssessmentComparisonLifecycleStateEnum

GetSecurityAssessmentComparisonLifecycleStateEnumValues Enumerates the set of values for SecurityAssessmentComparisonLifecycleStateEnum

type SecurityAssessmentComparisonPerTarget

SecurityAssessmentComparisonPerTarget The results of the comparison between two security assessment resources.

type SecurityAssessmentComparisonPerTarget struct {

    // The OCID of the target that is used as a baseline in this comparison.
    BaselineTargetId *string `mandatory:"false" json:"baselineTargetId"`

    // The OCID of the target to be compared against the baseline target.
    CurrentTargetId *string `mandatory:"false" json:"currentTargetId"`

    // A comparison between findings belonging to Auditing category.
    Auditing []Diffs `mandatory:"false" json:"auditing"`

    // A comparison between findings belonging to Authorization Control category.
    AuthorizationControl []Diffs `mandatory:"false" json:"authorizationControl"`

    // Comparison between findings belonging to Data Encryption category.
    DataEncryption []Diffs `mandatory:"false" json:"dataEncryption"`

    // Comparison between findings belonging to Database Configuration category.
    DbConfiguration []Diffs `mandatory:"false" json:"dbConfiguration"`

    // Comparison between findings belonging to Fine-Grained Access Control category.
    FineGrainedAccessControl []Diffs `mandatory:"false" json:"fineGrainedAccessControl"`

    // Comparison between findings belonging to Privileges and Roles category.
    PrivilegesAndRoles []Diffs `mandatory:"false" json:"privilegesAndRoles"`

    // Comparison between findings belonging to User Accounts category.
    UserAccounts []Diffs `mandatory:"false" json:"userAccounts"`
}

func (SecurityAssessmentComparisonPerTarget) String

func (m SecurityAssessmentComparisonPerTarget) String() string

type SecurityAssessmentLifecycleStateEnum

SecurityAssessmentLifecycleStateEnum Enum with underlying type: string

type SecurityAssessmentLifecycleStateEnum string

Set of constants representing the allowable values for SecurityAssessmentLifecycleStateEnum

const (
    SecurityAssessmentLifecycleStateCreating  SecurityAssessmentLifecycleStateEnum = "CREATING"
    SecurityAssessmentLifecycleStateSucceeded SecurityAssessmentLifecycleStateEnum = "SUCCEEDED"
    SecurityAssessmentLifecycleStateUpdating  SecurityAssessmentLifecycleStateEnum = "UPDATING"
    SecurityAssessmentLifecycleStateDeleting  SecurityAssessmentLifecycleStateEnum = "DELETING"
    SecurityAssessmentLifecycleStateFailed    SecurityAssessmentLifecycleStateEnum = "FAILED"
)

func GetSecurityAssessmentLifecycleStateEnumValues

func GetSecurityAssessmentLifecycleStateEnumValues() []SecurityAssessmentLifecycleStateEnum

GetSecurityAssessmentLifecycleStateEnumValues Enumerates the set of values for SecurityAssessmentLifecycleStateEnum

type SecurityAssessmentStatistics

SecurityAssessmentStatistics Statistics showing the number of findings for each category grouped by risk levels for all the targets in the specified security assessment. The categories include Auditing, Authorization Control, Data Encryption, Database Configuration, Fine-Grained Access Control, Privileges and Roles, and User Accounts. The risk levels include High Risk, Medium Risk, Low Risk, Advisory, Evaluate, and Pass.

type SecurityAssessmentStatistics struct {

    // The total number of targets in this security assessment.
    TargetsCount *int `mandatory:"false" json:"targetsCount"`

    HighRisk *SectionStatistics `mandatory:"false" json:"highRisk"`

    MediumRisk *SectionStatistics `mandatory:"false" json:"mediumRisk"`

    LowRisk *SectionStatistics `mandatory:"false" json:"lowRisk"`

    Advisory *SectionStatistics `mandatory:"false" json:"advisory"`

    Evaluate *SectionStatistics `mandatory:"false" json:"evaluate"`

    Pass *SectionStatistics `mandatory:"false" json:"pass"`
}

func (SecurityAssessmentStatistics) String

func (m SecurityAssessmentStatistics) String() string

type SecurityAssessmentSummary

SecurityAssessmentSummary The summary of a security assessment.

type SecurityAssessmentSummary struct {

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

    // The current state of the security assessment.
    LifecycleState SecurityAssessmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The date and time when the security assessment was created. Conforms to the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The date and time when the security assessment was last updated. Conforms to the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

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

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

    // Array of database target OCIDs.
    TargetIds []string `mandatory:"true" json:"targetIds"`

    // The type of the security assessment. Possible values are:
    // LATEST: The most up-to-date assessment that is running automatically for a target. It is system generated.
    // SAVED: A saved security assessment. LATEST assessments are always saved in order to maintain the history of runs. A SAVED assessment is also generated by a 'refresh' action (triggered by the user).
    // SAVE_SCHEDULE: The schedule for periodic saves of LATEST assessments.
    // COMPARTMENT: An automatically managed assessment type that stores all details of targets in one compartment.
    // This type keeps an up-to-date assessment of all database risks in one compartment. It is automatically updated when the latest assessment or refresh action is executed. It is also automatically updated when a target is deleted or move to a different compartment.
    Type SecurityAssessmentSummaryTypeEnum `mandatory:"true" json:"type"`

    // The description of the security assessment.
    Description *string `mandatory:"false" json:"description"`

    // Details about the current state of the security assessment.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // List containing maps as values.
    // Example: `{"Operations": [ {"CostCenter": "42"} ] }`
    IgnoredTargetIds []interface{} `mandatory:"false" json:"ignoredTargetIds"`

    // List containing maps as values.
    // Example: `{"Operations": [ {"CostCenter": "42"} ] }`
    IgnoredAssessmentIds []interface{} `mandatory:"false" json:"ignoredAssessmentIds"`

    // Indicates whether or not the assessment is a baseline assessment. This applied to saved security assessments only.
    IsBaseline *bool `mandatory:"false" json:"isBaseline"`

    // Indicates whether or not the security assessment deviates from the baseline.
    IsDeviatedFromBaseline *bool `mandatory:"false" json:"isDeviatedFromBaseline"`

    // The OCID of the baseline against which the latest assessment was compared.
    LastComparedBaselineId *string `mandatory:"false" json:"lastComparedBaselineId"`

    // The OCID of the security assessment that created this scheduled save assessment.
    ScheduleSecurityAssessmentId *string `mandatory:"false" json:"scheduleSecurityAssessmentId"`

    // Schedule of the assessment that runs periodically in the specified format: -
    // <version-string>;<version-specific-schedule>
    // Allowed version strings - "v1"
    // v1's version specific schedule -<ss> <mm> <hh> <day-of-week> <day-of-month>
    // Each of the above fields potentially introduce constraints. A workrequest is created only
    // when clock time satisfies all the constraints. Constraints introduced:
    // 1. seconds = <ss> (So, the allowed range for <ss> is [0, 59])
    // 2. minutes = <mm> (So, the allowed range for <mm> is [0, 59])
    // 3. hours = <hh> (So, the allowed range for <hh> is [0, 23])
    // <day-of-week> can be either '*' (without quotes or a number between 1(Monday) and 7(Sunday))
    // 4. No constraint introduced when it is '*'. When not, day of week must equal the given value
    // <day-of-month> can be either '*' (without quotes or a number between 1 and 28)
    // 5. No constraint introduced when it is '*'. When not, day of month must equal the given value
    Schedule *string `mandatory:"false" json:"schedule"`

    // Indicates whether the security assessment was created by system or by a user.
    TriggeredBy SecurityAssessmentSummaryTriggeredByEnum `mandatory:"false" json:"triggeredBy,omitempty"`

    // The summary of findings for the security assessment.
    Link *string `mandatory:"false" json:"link"`

    Statistics *SecurityAssessmentStatistics `mandatory:"false" json:"statistics"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm)
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

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

func (SecurityAssessmentSummary) String

func (m SecurityAssessmentSummary) String() string

type SecurityAssessmentSummaryTriggeredByEnum

SecurityAssessmentSummaryTriggeredByEnum Enum with underlying type: string

type SecurityAssessmentSummaryTriggeredByEnum string

Set of constants representing the allowable values for SecurityAssessmentSummaryTriggeredByEnum

const (
    SecurityAssessmentSummaryTriggeredByUser   SecurityAssessmentSummaryTriggeredByEnum = "USER"
    SecurityAssessmentSummaryTriggeredBySystem SecurityAssessmentSummaryTriggeredByEnum = "SYSTEM"
)

func GetSecurityAssessmentSummaryTriggeredByEnumValues

func GetSecurityAssessmentSummaryTriggeredByEnumValues() []SecurityAssessmentSummaryTriggeredByEnum

GetSecurityAssessmentSummaryTriggeredByEnumValues Enumerates the set of values for SecurityAssessmentSummaryTriggeredByEnum

type SecurityAssessmentSummaryTypeEnum

SecurityAssessmentSummaryTypeEnum Enum with underlying type: string

type SecurityAssessmentSummaryTypeEnum string

Set of constants representing the allowable values for SecurityAssessmentSummaryTypeEnum

const (
    SecurityAssessmentSummaryTypeLatest       SecurityAssessmentSummaryTypeEnum = "LATEST"
    SecurityAssessmentSummaryTypeSaved        SecurityAssessmentSummaryTypeEnum = "SAVED"
    SecurityAssessmentSummaryTypeSaveSchedule SecurityAssessmentSummaryTypeEnum = "SAVE_SCHEDULE"
    SecurityAssessmentSummaryTypeCompartment  SecurityAssessmentSummaryTypeEnum = "COMPARTMENT"
)

func GetSecurityAssessmentSummaryTypeEnumValues

func GetSecurityAssessmentSummaryTypeEnumValues() []SecurityAssessmentSummaryTypeEnum

GetSecurityAssessmentSummaryTypeEnumValues Enumerates the set of values for SecurityAssessmentSummaryTypeEnum

type SecurityAssessmentTriggeredByEnum

SecurityAssessmentTriggeredByEnum Enum with underlying type: string

type SecurityAssessmentTriggeredByEnum string

Set of constants representing the allowable values for SecurityAssessmentTriggeredByEnum

const (
    SecurityAssessmentTriggeredByUser   SecurityAssessmentTriggeredByEnum = "USER"
    SecurityAssessmentTriggeredBySystem SecurityAssessmentTriggeredByEnum = "SYSTEM"
)

func GetSecurityAssessmentTriggeredByEnumValues

func GetSecurityAssessmentTriggeredByEnumValues() []SecurityAssessmentTriggeredByEnum

GetSecurityAssessmentTriggeredByEnumValues Enumerates the set of values for SecurityAssessmentTriggeredByEnum

type SecurityAssessmentTypeEnum

SecurityAssessmentTypeEnum Enum with underlying type: string

type SecurityAssessmentTypeEnum string

Set of constants representing the allowable values for SecurityAssessmentTypeEnum

const (
    SecurityAssessmentTypeLatest       SecurityAssessmentTypeEnum = "LATEST"
    SecurityAssessmentTypeSaved        SecurityAssessmentTypeEnum = "SAVED"
    SecurityAssessmentTypeSaveSchedule SecurityAssessmentTypeEnum = "SAVE_SCHEDULE"
    SecurityAssessmentTypeCompartment  SecurityAssessmentTypeEnum = "COMPARTMENT"
)

func GetSecurityAssessmentTypeEnumValues

func GetSecurityAssessmentTypeEnumValues() []SecurityAssessmentTypeEnum

GetSecurityAssessmentTypeEnumValues Enumerates the set of values for SecurityAssessmentTypeEnum

type ServiceListEnum

ServiceListEnum Enum with underlying type: string

type ServiceListEnum string

Set of constants representing the allowable values for ServiceListEnum

const (
    ServiceListDataSafe      ServiceListEnum = "DataSafe"
    ServiceListDataSafeDev   ServiceListEnum = "DataSafe-dev"
    ServiceListDataSafeDev1  ServiceListEnum = "DataSafe-dev1"
    ServiceListDataSafeDev2  ServiceListEnum = "DataSafe-dev2"
    ServiceListDataSafeDev3  ServiceListEnum = "DataSafe-dev3"
    ServiceListDataSafeDev4  ServiceListEnum = "DataSafe-dev4"
    ServiceListDataSafeDev5  ServiceListEnum = "DataSafe-dev5"
    ServiceListDataSafeDev6  ServiceListEnum = "DataSafe-dev6"
    ServiceListDataSafeDev7  ServiceListEnum = "DataSafe-dev7"
    ServiceListDataSafeDev8  ServiceListEnum = "DataSafe-dev8"
    ServiceListDataSafeLrg1  ServiceListEnum = "DataSafe-lrg1"
    ServiceListDataSafeLrg2  ServiceListEnum = "DataSafe-lrg2"
    ServiceListDataSafeLrg3  ServiceListEnum = "DataSafe-lrg3"
    ServiceListDataSafeLrg4  ServiceListEnum = "DataSafe-lrg4"
    ServiceListDataSafePtest ServiceListEnum = "DataSafe-ptest"
    ServiceListDataSafeStest ServiceListEnum = "DataSafe-stest"
    ServiceListDataSafeStage ServiceListEnum = "DataSafe-stage"
)

func GetServiceListEnumValues

func GetServiceListEnumValues() []ServiceListEnum

GetServiceListEnumValues Enumerates the set of values for ServiceListEnum

type SetSecurityAssessmentBaselineRequest

SetSecurityAssessmentBaselineRequest wrapper for the SetSecurityAssessmentBaseline operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/SetSecurityAssessmentBaseline.go.html to see an example of how to use SetSecurityAssessmentBaselineRequest.

type SetSecurityAssessmentBaselineRequest struct {

    // The OCID of the security assessment.
    SecurityAssessmentId *string `mandatory:"true" contributesTo:"path" name:"securityAssessmentId"`

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

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

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

    // Details of security assessment that need to be updated while setting the baseline.
    BaseLineDetails SecurityAssessmentBaseLineDetails `contributesTo:"body"`

    // 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 (SetSecurityAssessmentBaselineRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (SetSecurityAssessmentBaselineRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (SetSecurityAssessmentBaselineRequest) RetryPolicy

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

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

func (SetSecurityAssessmentBaselineRequest) String

func (request SetSecurityAssessmentBaselineRequest) String() string

type SetSecurityAssessmentBaselineResponse

SetSecurityAssessmentBaselineResponse wrapper for the SetSecurityAssessmentBaseline operation

type SetSecurityAssessmentBaselineResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the 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 (SetSecurityAssessmentBaselineResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (SetSecurityAssessmentBaselineResponse) String

func (response SetSecurityAssessmentBaselineResponse) String() string

type SetUserAssessmentBaselineRequest

SetUserAssessmentBaselineRequest wrapper for the SetUserAssessmentBaseline operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/SetUserAssessmentBaseline.go.html to see an example of how to use SetUserAssessmentBaselineRequest.

type SetUserAssessmentBaselineRequest struct {

    // The OCID of the user assessment.
    UserAssessmentId *string `mandatory:"true" contributesTo:"path" name:"userAssessmentId"`

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

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

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

    // Details of user assessment that need to be updated while setting the baseline.
    BaseLineDetails UserAssessmentBaseLineDetails `contributesTo:"body"`

    // 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 (SetUserAssessmentBaselineRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (SetUserAssessmentBaselineRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (SetUserAssessmentBaselineRequest) RetryPolicy

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

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

func (SetUserAssessmentBaselineRequest) String

func (request SetUserAssessmentBaselineRequest) String() string

type SetUserAssessmentBaselineResponse

SetUserAssessmentBaselineResponse wrapper for the SetUserAssessmentBaseline operation

type SetUserAssessmentBaselineResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the 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 (SetUserAssessmentBaselineResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (SetUserAssessmentBaselineResponse) String

func (response SetUserAssessmentBaselineResponse) String() string

type SortOrdersEnum

SortOrdersEnum Enum with underlying type: string

type SortOrdersEnum string

Set of constants representing the allowable values for SortOrdersEnum

const (
    SortOrdersAsc  SortOrdersEnum = "ASC"
    SortOrdersDesc SortOrdersEnum = "DESC"
)

func GetSortOrdersEnumValues

func GetSortOrdersEnumValues() []SortOrdersEnum

GetSortOrdersEnumValues Enumerates the set of values for SortOrdersEnum

type TargetDatabase

TargetDatabase The details of the Data Safe target database.

type TargetDatabase struct {

    // The OCID of the compartment which contains the Data Safe target database.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

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

    // The display name of the target database in Data Safe.
    DisplayName *string `mandatory:"true" json:"displayName"`

    DatabaseDetails DatabaseDetails `mandatory:"true" json:"databaseDetails"`

    // The current state of the target database in Data Safe.
    LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The date and time of target database registration and creation in Data Safe.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The description of the target database in Data Safe.
    Description *string `mandatory:"false" json:"description"`

    Credentials *Credentials `mandatory:"false" json:"credentials"`

    TlsConfig *TlsConfig `mandatory:"false" json:"tlsConfig"`

    ConnectionOption ConnectionOption `mandatory:"false" json:"connectionOption"`

    // Details about the current state of the target database in Data Safe.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // The date and time of the target database update in Data Safe.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm)
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

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

    // System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (TargetDatabase) String

func (m TargetDatabase) String() string

func (*TargetDatabase) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

type TargetDatabaseLifecycleStateEnum

TargetDatabaseLifecycleStateEnum Enum with underlying type: string

type TargetDatabaseLifecycleStateEnum string

Set of constants representing the allowable values for TargetDatabaseLifecycleStateEnum

const (
    TargetDatabaseLifecycleStateCreating       TargetDatabaseLifecycleStateEnum = "CREATING"
    TargetDatabaseLifecycleStateUpdating       TargetDatabaseLifecycleStateEnum = "UPDATING"
    TargetDatabaseLifecycleStateActive         TargetDatabaseLifecycleStateEnum = "ACTIVE"
    TargetDatabaseLifecycleStateInactive       TargetDatabaseLifecycleStateEnum = "INACTIVE"
    TargetDatabaseLifecycleStateDeleting       TargetDatabaseLifecycleStateEnum = "DELETING"
    TargetDatabaseLifecycleStateDeleted        TargetDatabaseLifecycleStateEnum = "DELETED"
    TargetDatabaseLifecycleStateNeedsAttention TargetDatabaseLifecycleStateEnum = "NEEDS_ATTENTION"
    TargetDatabaseLifecycleStateFailed         TargetDatabaseLifecycleStateEnum = "FAILED"
)

func GetTargetDatabaseLifecycleStateEnumValues

func GetTargetDatabaseLifecycleStateEnumValues() []TargetDatabaseLifecycleStateEnum

GetTargetDatabaseLifecycleStateEnumValues Enumerates the set of values for TargetDatabaseLifecycleStateEnum

type TargetDatabaseSummary

TargetDatabaseSummary Summary of a Data Safe target database.

type TargetDatabaseSummary struct {

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

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

    // The display name of the target database in Data Safe.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The infrastructure type the database is running on.
    InfrastructureType InfrastructureTypeEnum `mandatory:"true" json:"infrastructureType"`

    // The database type.
    DatabaseType DatabaseTypeEnum `mandatory:"true" json:"databaseType"`

    // The current state of the target database in Data Safe.
    LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The date and time the database was registered in Data Safe and created as a target database in Data Safe.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The description of the target database in Data Safe.
    Description *string `mandatory:"false" json:"description"`

    // Details about the current state of the target database in Data Safe.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm)
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

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

func (TargetDatabaseSummary) String

func (m TargetDatabaseSummary) String() string

type TlsConfig

TlsConfig The details required to establish a TLS enabled connection.

type TlsConfig struct {

    // Status to represent whether the database connection is TLS enabled or not.
    Status TlsConfigStatusEnum `mandatory:"true" json:"status"`

    // The format of the certificate store.
    CertificateStoreType TlsConfigCertificateStoreTypeEnum `mandatory:"false" json:"certificateStoreType,omitempty"`

    // The password to read the trust store and key store files, if they are password protected.
    StorePassword *string `mandatory:"false" json:"storePassword"`

    // Base64 encoded string of trust store file content.
    TrustStoreContent *string `mandatory:"false" json:"trustStoreContent"`

    // Base64 encoded string of key store file content.
    KeyStoreContent *string `mandatory:"false" json:"keyStoreContent"`
}

func (TlsConfig) String

func (m TlsConfig) String() string

type TlsConfigCertificateStoreTypeEnum

TlsConfigCertificateStoreTypeEnum Enum with underlying type: string

type TlsConfigCertificateStoreTypeEnum string

Set of constants representing the allowable values for TlsConfigCertificateStoreTypeEnum

const (
    TlsConfigCertificateStoreTypeJks TlsConfigCertificateStoreTypeEnum = "JKS"
)

func GetTlsConfigCertificateStoreTypeEnumValues

func GetTlsConfigCertificateStoreTypeEnumValues() []TlsConfigCertificateStoreTypeEnum

GetTlsConfigCertificateStoreTypeEnumValues Enumerates the set of values for TlsConfigCertificateStoreTypeEnum

type TlsConfigStatusEnum

TlsConfigStatusEnum Enum with underlying type: string

type TlsConfigStatusEnum string

Set of constants representing the allowable values for TlsConfigStatusEnum

const (
    TlsConfigStatusEnabled  TlsConfigStatusEnum = "ENABLED"
    TlsConfigStatusDisabled TlsConfigStatusEnum = "DISABLED"
)

func GetTlsConfigStatusEnumValues

func GetTlsConfigStatusEnumValues() []TlsConfigStatusEnum

GetTlsConfigStatusEnumValues Enumerates the set of values for TlsConfigStatusEnum

type UnsetSecurityAssessmentBaselineRequest

UnsetSecurityAssessmentBaselineRequest wrapper for the UnsetSecurityAssessmentBaseline operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/UnsetSecurityAssessmentBaseline.go.html to see an example of how to use UnsetSecurityAssessmentBaselineRequest.

type UnsetSecurityAssessmentBaselineRequest struct {

    // The OCID of the security assessment.
    SecurityAssessmentId *string `mandatory:"true" contributesTo:"path" name:"securityAssessmentId"`

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

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

    // 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 (UnsetSecurityAssessmentBaselineRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UnsetSecurityAssessmentBaselineRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UnsetSecurityAssessmentBaselineRequest) RetryPolicy

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

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

func (UnsetSecurityAssessmentBaselineRequest) String

func (request UnsetSecurityAssessmentBaselineRequest) String() string

type UnsetSecurityAssessmentBaselineResponse

UnsetSecurityAssessmentBaselineResponse wrapper for the UnsetSecurityAssessmentBaseline operation

type UnsetSecurityAssessmentBaselineResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the 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 (UnsetSecurityAssessmentBaselineResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UnsetSecurityAssessmentBaselineResponse) String

func (response UnsetSecurityAssessmentBaselineResponse) String() string

type UnsetUserAssessmentBaselineRequest

UnsetUserAssessmentBaselineRequest wrapper for the UnsetUserAssessmentBaseline operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/UnsetUserAssessmentBaseline.go.html to see an example of how to use UnsetUserAssessmentBaselineRequest.

type UnsetUserAssessmentBaselineRequest struct {

    // The OCID of the user assessment.
    UserAssessmentId *string `mandatory:"true" contributesTo:"path" name:"userAssessmentId"`

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

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

    // 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 (UnsetUserAssessmentBaselineRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UnsetUserAssessmentBaselineRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UnsetUserAssessmentBaselineRequest) RetryPolicy

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

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

func (UnsetUserAssessmentBaselineRequest) String

func (request UnsetUserAssessmentBaselineRequest) String() string

type UnsetUserAssessmentBaselineResponse

UnsetUserAssessmentBaselineResponse wrapper for the UnsetUserAssessmentBaseline operation

type UnsetUserAssessmentBaselineResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the 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 (UnsetUserAssessmentBaselineResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UnsetUserAssessmentBaselineResponse) String

func (response UnsetUserAssessmentBaselineResponse) String() string

type UpdateDataSafePrivateEndpointDetails

UpdateDataSafePrivateEndpointDetails The details used to update a Data Safe private endpoint.

type UpdateDataSafePrivateEndpointDetails struct {

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

    // The description of the private endpoint.
    Description *string `mandatory:"false" json:"description"`

    // The OCIDs of the network security groups that the private endpoint belongs to.
    NsgIds []string `mandatory:"false" json:"nsgIds"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm)
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

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

func (UpdateDataSafePrivateEndpointDetails) String

func (m UpdateDataSafePrivateEndpointDetails) String() string

type UpdateDataSafePrivateEndpointRequest

UpdateDataSafePrivateEndpointRequest wrapper for the UpdateDataSafePrivateEndpoint operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/UpdateDataSafePrivateEndpoint.go.html to see an example of how to use UpdateDataSafePrivateEndpointRequest.

type UpdateDataSafePrivateEndpointRequest struct {

    // The OCID of the private endpoint.
    DataSafePrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"dataSafePrivateEndpointId"`

    // The details used to update a Data Safe private endpoint.
    UpdateDataSafePrivateEndpointDetails `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 (UpdateDataSafePrivateEndpointRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateDataSafePrivateEndpointRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateDataSafePrivateEndpointRequest) RetryPolicy

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

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

func (UpdateDataSafePrivateEndpointRequest) String

func (request UpdateDataSafePrivateEndpointRequest) String() string

type UpdateDataSafePrivateEndpointResponse

UpdateDataSafePrivateEndpointResponse wrapper for the UpdateDataSafePrivateEndpoint operation

type UpdateDataSafePrivateEndpointResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the 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 (UpdateDataSafePrivateEndpointResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateDataSafePrivateEndpointResponse) String

func (response UpdateDataSafePrivateEndpointResponse) String() string

type UpdateOnPremConnectorDetails

UpdateOnPremConnectorDetails The details used to update a on-premises connector.

type UpdateOnPremConnectorDetails struct {

    // The display name of the on-premises connector. The name does not have to be unique, and it's changeable.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The description of the on-premises connector.
    Description *string `mandatory:"false" json:"description"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm)
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

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

func (UpdateOnPremConnectorDetails) String

func (m UpdateOnPremConnectorDetails) String() string

type UpdateOnPremConnectorRequest

UpdateOnPremConnectorRequest wrapper for the UpdateOnPremConnector operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/UpdateOnPremConnector.go.html to see an example of how to use UpdateOnPremConnectorRequest.

type UpdateOnPremConnectorRequest struct {

    // The OCID of the on-premises connector.
    OnPremConnectorId *string `mandatory:"true" contributesTo:"path" name:"onPremConnectorId"`

    // The details used to update a on-premises connector.
    UpdateOnPremConnectorDetails `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 (UpdateOnPremConnectorRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateOnPremConnectorRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateOnPremConnectorRequest) RetryPolicy

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

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

func (UpdateOnPremConnectorRequest) String

func (request UpdateOnPremConnectorRequest) String() string

type UpdateOnPremConnectorResponse

UpdateOnPremConnectorResponse wrapper for the UpdateOnPremConnector operation

type UpdateOnPremConnectorResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the 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 (UpdateOnPremConnectorResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateOnPremConnectorResponse) String

func (response UpdateOnPremConnectorResponse) String() string

type UpdateOnPremConnectorWalletDetails

UpdateOnPremConnectorWalletDetails The details used to update an on-premises connector's wallet.

type UpdateOnPremConnectorWalletDetails struct {

    // Indicates whether to update or not. If false, the wallet will not be updated. Default is false.
    IsUpdate *bool `mandatory:"false" json:"isUpdate"`
}

func (UpdateOnPremConnectorWalletDetails) String

func (m UpdateOnPremConnectorWalletDetails) String() string

type UpdateOnPremConnectorWalletRequest

UpdateOnPremConnectorWalletRequest wrapper for the UpdateOnPremConnectorWallet operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/UpdateOnPremConnectorWallet.go.html to see an example of how to use UpdateOnPremConnectorWalletRequest.

type UpdateOnPremConnectorWalletRequest struct {

    // The details used to update an on-premises connector's wallet.
    UpdateOnPremConnectorWalletDetails `contributesTo:"body"`

    // The OCID of the on-premises connector.
    OnPremConnectorId *string `mandatory:"true" contributesTo:"path" name:"onPremConnectorId"`

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

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

    // 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 (UpdateOnPremConnectorWalletRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateOnPremConnectorWalletRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateOnPremConnectorWalletRequest) RetryPolicy

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

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

func (UpdateOnPremConnectorWalletRequest) String

func (request UpdateOnPremConnectorWalletRequest) String() string

type UpdateOnPremConnectorWalletResponse

UpdateOnPremConnectorWalletResponse wrapper for the UpdateOnPremConnectorWallet operation

type UpdateOnPremConnectorWalletResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the 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 (UpdateOnPremConnectorWalletResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateOnPremConnectorWalletResponse) String

func (response UpdateOnPremConnectorWalletResponse) String() string

type UpdateSecurityAssessmentDetails

UpdateSecurityAssessmentDetails Updates one or more attributes of the specified security assessment.

type UpdateSecurityAssessmentDetails struct {

    // The display name of the security assessment.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The description of the security assessment.
    Description *string `mandatory:"false" json:"description"`

    // This is applicable only for save schedule and latest assessment. It updates the existing schedule in a specified format:
    // <version-string>;<version-specific-schedule>
    // Allowed version strings - "v1"
    // v1's version specific schedule -<ss> <mm> <hh> <day-of-week> <day-of-month>
    // Each of the above fields potentially introduce constraints. A workrequest is created only
    // when clock time satisfies all the constraints. Constraints introduced:
    // 1. seconds = <ss> (So, the allowed range for <ss> is [0, 59])
    // 2. minutes = <mm> (So, the allowed range for <mm> is [0, 59])
    // 3. hours = <hh> (So, the allowed range for <hh> is [0, 23])
    // <day-of-week> can be either '*' (without quotes or a number between 1(Monday) and 7(Sunday))
    // 4. No constraint introduced when it is '*'. When not, day of week must equal the given value
    // <day-of-month> can be either '*' (without quotes or a number between 1 and 28)
    // 5. No constraint introduced when it is '*'. When not, day of month must equal the given value
    Schedule *string `mandatory:"false" json:"schedule"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm)
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

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

func (UpdateSecurityAssessmentDetails) String

func (m UpdateSecurityAssessmentDetails) String() string

type UpdateSecurityAssessmentRequest

UpdateSecurityAssessmentRequest wrapper for the UpdateSecurityAssessment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/UpdateSecurityAssessment.go.html to see an example of how to use UpdateSecurityAssessmentRequest.

type UpdateSecurityAssessmentRequest struct {

    // The OCID of the security assessment.
    SecurityAssessmentId *string `mandatory:"true" contributesTo:"path" name:"securityAssessmentId"`

    // The information to be updated.
    UpdateSecurityAssessmentDetails `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 (UpdateSecurityAssessmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateSecurityAssessmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateSecurityAssessmentRequest) RetryPolicy

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

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

func (UpdateSecurityAssessmentRequest) String

func (request UpdateSecurityAssessmentRequest) String() string

type UpdateSecurityAssessmentResponse

UpdateSecurityAssessmentResponse wrapper for the UpdateSecurityAssessment operation

type UpdateSecurityAssessmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the 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 (UpdateSecurityAssessmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateSecurityAssessmentResponse) String

func (response UpdateSecurityAssessmentResponse) String() string

type UpdateTargetDatabaseDetails

UpdateTargetDatabaseDetails The details of the database used for updating the target database in Data Safe.

type UpdateTargetDatabaseDetails struct {

    // The display name of the target database in Data Safe.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The description of the target database in Data Safe.
    Description *string `mandatory:"false" json:"description"`

    DatabaseDetails DatabaseDetails `mandatory:"false" json:"databaseDetails"`

    Credentials *Credentials `mandatory:"false" json:"credentials"`

    TlsConfig *TlsConfig `mandatory:"false" json:"tlsConfig"`

    ConnectionOption ConnectionOption `mandatory:"false" json:"connectionOption"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm)
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

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

func (UpdateTargetDatabaseDetails) String

func (m UpdateTargetDatabaseDetails) String() string

func (*UpdateTargetDatabaseDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

type UpdateTargetDatabaseRequest

UpdateTargetDatabaseRequest wrapper for the UpdateTargetDatabase operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/UpdateTargetDatabase.go.html to see an example of how to use UpdateTargetDatabaseRequest.

type UpdateTargetDatabaseRequest struct {

    // The OCID of the Data Safe target database.
    TargetDatabaseId *string `mandatory:"true" contributesTo:"path" name:"targetDatabaseId"`

    // Details used to update the target database in Data Safe.
    UpdateTargetDatabaseDetails `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"`

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

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

func (UpdateTargetDatabaseRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateTargetDatabaseRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateTargetDatabaseRequest) RetryPolicy

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

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

func (UpdateTargetDatabaseRequest) String

func (request UpdateTargetDatabaseRequest) String() string

type UpdateTargetDatabaseResponse

UpdateTargetDatabaseResponse wrapper for the UpdateTargetDatabase operation

type UpdateTargetDatabaseResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the 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 (UpdateTargetDatabaseResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateTargetDatabaseResponse) String

func (response UpdateTargetDatabaseResponse) String() string

type UpdateUserAssessmentDetails

UpdateUserAssessmentDetails Updates one or more attributes of the specified user assessment.

type UpdateUserAssessmentDetails struct {

    // The description of the user assessment.
    Description *string `mandatory:"false" json:"description"`

    // The display name of the user assessment.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The schedule for periodically saving the assessment. This is applicable only for assessments of type save schedule and latest assessment. It updates the existing schedule in a specified format:
    // <version-string>;<version-specific-schedule>
    // Allowed version strings - "v1"
    // v1's version specific schedule -<ss> <mm> <hh> <day-of-week> <day-of-month>
    // Each of the above fields potentially introduce constraints. A workrequest is created only
    // when clock time satisfies all the constraints. Constraints introduced:
    // 1. seconds = <ss> (So, the allowed range for <ss> is [0, 59])
    // 2. minutes = <mm> (So, the allowed range for <mm> is [0, 59])
    // 3. hours = <hh> (So, the allowed range for <hh> is [0, 23])
    // <day-of-week> can be either '*' (without quotes or a number between 1(Monday) and 7(Sunday))
    // 4. No constraint introduced when it is '*'. When not, day of week must equal the given value
    // <day-of-month> can be either '*' (without quotes or a number between 1 and 28)
    // 5. No constraint introduced when it is '*'. When not, day of month must equal the given value
    Schedule *string `mandatory:"false" json:"schedule"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm)
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

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

func (UpdateUserAssessmentDetails) String

func (m UpdateUserAssessmentDetails) String() string

type UpdateUserAssessmentRequest

UpdateUserAssessmentRequest wrapper for the UpdateUserAssessment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/48.0.0/datasafe/UpdateUserAssessment.go.html to see an example of how to use UpdateUserAssessmentRequest.

type UpdateUserAssessmentRequest struct {

    // The OCID of the user assessment.
    UserAssessmentId *string `mandatory:"true" contributesTo:"path" name:"userAssessmentId"`

    // The information to be updated.
    UpdateUserAssessmentDetails `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 (UpdateUserAssessmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateUserAssessmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateUserAssessmentRequest) RetryPolicy

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

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

func (UpdateUserAssessmentRequest) String

func (request UpdateUserAssessmentRequest) String() string

type UpdateUserAssessmentResponse

UpdateUserAssessmentResponse wrapper for the UpdateUserAssessment operation

type UpdateUserAssessmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the 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 (UpdateUserAssessmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateUserAssessmentResponse) String

func (response UpdateUserAssessmentResponse) String() string

type UserAggregation

UserAggregation The user aggregation provides information about the overall security state of database users. For example, it states how many users have the DBA role and how many users are in the critical category.

type UserAggregation struct {

    // The array of user aggregation data.
    Items []map[string]interface{} `mandatory:"true" json:"items"`
}

func (UserAggregation) String

func (m UserAggregation) String() string

type UserAssessment

UserAssessment The details of the user assessment, which includes statistics related to target database users.

type UserAssessment struct {

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

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

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

    // The current state of the user assessment.
    LifecycleState UserAssessmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The date and time the user assessment was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The date and time the user assessment was last updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

    // Type of user assessment. Type can be:
    // LATEST: The most up-to-date assessment that is running automatically for a target. It is system generated.
    // SAVED: A saved user assessment. LATEST assessments will always be saved to maintain the history of runs. A SAVED assessment is also generated by a 'refresh' action (triggered by the user).
    // SAVE_SCHEDULE: A schedule to periodically save LATEST assessments.
    // COMPARTMENT: An automatic managed assessment type that stores all details of targets in one compartment. This will keep an up-to-date status of all database risks in one compartment.
    //       It is automatically updated once the latest assessment or refresh action is executed, as well as when a target is deleted or move to a different compartment.
    Type UserAssessmentTypeEnum `mandatory:"true" json:"type"`

    // The description of the user assessment.
    Description *string `mandatory:"false" json:"description"`

    // List containing maps as values.
    // Example: `{"Operations": [ {"CostCenter": "42"} ] }`
    IgnoredTargets []interface{} `mandatory:"false" json:"ignoredTargets"`

    // List containing maps as values.
    // Example: `{"Operations": [ {"CostCenter": "42"} ] }`
    IgnoredAssessmentIds []interface{} `mandatory:"false" json:"ignoredAssessmentIds"`

    // Indicates if the user assessment is set as a baseline. This is applicable only to saved user assessments.
    IsBaseline *bool `mandatory:"false" json:"isBaseline"`

    // Indicates if the user assessment deviates from the baseline.
    IsDeviatedFromBaseline *bool `mandatory:"false" json:"isDeviatedFromBaseline"`

    // The OCID of the last user assessment baseline against which the latest assessment was compared.
    LastComparedBaselineId *string `mandatory:"false" json:"lastComparedBaselineId"`

    // Details about the current state of the user assessment.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // The OCID of the user assessment that is responsible for creating this scheduled save assessment.
    ScheduleAssessmentId *string `mandatory:"false" json:"scheduleAssessmentId"`

    // Schedule of the assessment that runs periodically in this specified format:
    //   <version-string>;<version-specific-schedule>
    //   Allowed version strings - "v1"
    //   v1's version specific schedule -<ss> <mm> <hh> <day-of-week> <day-of-month>
    //   Each of the above fields potentially introduce constraints. A workrequest is created only
    //   when clock time satisfies all the constraints. Constraints introduced:
    //   1. seconds = <ss> (So, the allowed range for <ss> is [0, 59])
    //   2. minutes = <mm> (So, the allowed range for <mm> is [0, 59])
    //   3. hours = <hh> (So, the allowed range for <hh> is [0, 23])
    //   <day-of-week> can be either '*' (without quotes or a number between 1(Monday) and 7(Sunday))
    //   4. No constraint introduced when it is '*'. When not, day of week must equal the given value
    //   <day-of-month> can be either '*' (without quotes or a number between 1 and 28)
    //   5. No constraint introduced when it is '*'. When not, day of month must equal the given value
    Schedule *string `mandatory:"false" json:"schedule"`

    // Map that contains maps of values.
    //  Example: `{"Operations": {"CostCenter": "42"}}`
    Statistics map[string]map[string]interface{} `mandatory:"false" json:"statistics"`

    // Array of database target OCIDs.
    TargetIds []string `mandatory:"false" json:"targetIds"`

    // Indicates whether the user assessment was created by system or user.
    TriggeredBy UserAssessmentTriggeredByEnum `mandatory:"false" json:"triggeredBy,omitempty"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm)
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

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

    // System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (UserAssessment) String

func (m UserAssessment) String() string

type UserAssessmentBaseLineDetails

UserAssessmentBaseLineDetails The details reqired to set baseline assessment.

type UserAssessmentBaseLineDetails struct {

    // The list of user assessment OCIDs that need to be updated while setting the baseline.
    AssessmentIds []string `mandatory:"false" json:"assessmentIds"`
}

func (UserAssessmentBaseLineDetails) String

func (m UserAssessmentBaseLineDetails) String() string

type UserAssessmentComparison

UserAssessmentComparison Provides a list of differences for user assessment when compared with the baseline value.

type UserAssessmentComparison struct {

    // The current state of the user assessment comparison.
    LifecycleState UserAssessmentComparisonLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The date and time the user assessment comparison was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // List containing maps as values.
    // Example: `{"Operations": [ {"CostCenter": "42"} ] }`
    Summary []interface{} `mandatory:"false" json:"summary"`
}

func (UserAssessmentComparison) String

func (m UserAssessmentComparison) String() string

type UserAssessmentComparisonLifecycleStateEnum

UserAssessmentComparisonLifecycleStateEnum Enum with underlying type: string

type UserAssessmentComparisonLifecycleStateEnum string

Set of constants representing the allowable values for UserAssessmentComparisonLifecycleStateEnum

const (
    UserAssessmentComparisonLifecycleStateCreating  UserAssessmentComparisonLifecycleStateEnum = "CREATING"
    UserAssessmentComparisonLifecycleStateSucceeded UserAssessmentComparisonLifecycleStateEnum = "SUCCEEDED"
    UserAssessmentComparisonLifecycleStateFailed    UserAssessmentComparisonLifecycleStateEnum = "FAILED"
)

func GetUserAssessmentComparisonLifecycleStateEnumValues

func GetUserAssessmentComparisonLifecycleStateEnumValues() []UserAssessmentComparisonLifecycleStateEnum

GetUserAssessmentComparisonLifecycleStateEnumValues Enumerates the set of values for UserAssessmentComparisonLifecycleStateEnum

type UserAssessmentLifecycleStateEnum

UserAssessmentLifecycleStateEnum Enum with underlying type: string

type UserAssessmentLifecycleStateEnum string

Set of constants representing the allowable values for UserAssessmentLifecycleStateEnum

const (
    UserAssessmentLifecycleStateCreating  UserAssessmentLifecycleStateEnum = "CREATING"
    UserAssessmentLifecycleStateSucceeded UserAssessmentLifecycleStateEnum = "SUCCEEDED"
    UserAssessmentLifecycleStateUpdating  UserAssessmentLifecycleStateEnum = "UPDATING"
    UserAssessmentLifecycleStateDeleting  UserAssessmentLifecycleStateEnum = "DELETING"
    UserAssessmentLifecycleStateFailed    UserAssessmentLifecycleStateEnum = "FAILED"
)

func GetUserAssessmentLifecycleStateEnumValues

func GetUserAssessmentLifecycleStateEnumValues() []UserAssessmentLifecycleStateEnum

GetUserAssessmentLifecycleStateEnumValues Enumerates the set of values for UserAssessmentLifecycleStateEnum

type UserAssessmentSummary

UserAssessmentSummary The summary of the user assessment.

type UserAssessmentSummary struct {

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

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

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

    // The current state of the user assessment.
    LifecycleState UserAssessmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The date and time when the user assessment was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The last date and time when the user assessment was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

    // Type of user assessment. The possible types are:
    // LATEST: The most up-to-date assessment that is running automatically for a target. It is system generated.
    // SAVED: A saved user assessment. LATEST assessments are always saved to maintain the history of runs. A SAVED assessment is also generated by a 'refresh' action (triggered by the user).
    // SAVE_SCHEDULE: The schedule for periodic save of LATEST assessments.
    // COMPARTMENT: An automatic managed assessment type that stores all details of targets in one compartment. This type keeps an up-to-date status of all database risks in one compartment.
    //        It is automatically updated when the latest assessment or refresh action is executed. It is also automatically updated when a target is deleted or move to a different compartment.
    Type UserAssessmentSummaryTypeEnum `mandatory:"true" json:"type"`

    // The description of the user assessment.
    Description *string `mandatory:"false" json:"description"`

    // List containing maps as values.
    // Example: `{"Operations": [ {"CostCenter": "42"} ] }`
    IgnoredTargets []interface{} `mandatory:"false" json:"ignoredTargets"`

    // List containing maps as values.
    // Example: `{"Operations": [ {"CostCenter": "42"} ] }`
    IgnoredAssessmentIds []interface{} `mandatory:"false" json:"ignoredAssessmentIds"`

    // Indicates if the assessment is a baseline assessment. This applies to saved user assessments only.
    IsBaseline *bool `mandatory:"false" json:"isBaseline"`

    // Indicates if the assessment has deviated from the baseline.
    IsDeviatedFromBaseline *bool `mandatory:"false" json:"isDeviatedFromBaseline"`

    // The OCID of the last user assessment baseline against which the latest assessment was compared.
    LastComparedBaselineId *string `mandatory:"false" json:"lastComparedBaselineId"`

    // Details about the current state of the user assessment.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // The OCID of the user assessment that created this scheduled save assessment.
    ScheduleAssessmentId *string `mandatory:"false" json:"scheduleAssessmentId"`

    // Schedule to save the assessment periodically in the specified format:
    // <version-string>;<version-specific-schedule>
    // Allowed version strings - "v1"
    // v1's version specific schedule -<ss> <mm> <hh> <day-of-week> <day-of-month>
    // Each of the above fields potentially introduce constraints. A workrequest is created only
    // when clock time satisfies all the constraints. Constraints introduced:
    // 1. seconds = <ss> (So, the allowed range for <ss> is [0, 59])
    // 2. minutes = <mm> (So, the allowed range for <mm> is [0, 59])
    // 3. hours = <hh> (So, the allowed range for <hh> is [0, 23])
    // <day-of-week> can be either '*' (without quotes or a number between 1(Monday) and 7(Sunday))
    // 4. No constraint introduced when it is '*'. When not, day of week must equal the given value
    // <day-of-month> can be either '*' (without quotes or a number between 1 and 28)
    // 5. No constraint introduced when it is '*'. When not, day of month must equal the given value
    Schedule *string `mandatory:"false" json:"schedule"`

    // Map that contains maps of values.
    //  Example: `{"Operations": {"CostCenter": "42"}}`
    Statistics map[string]map[string]interface{} `mandatory:"false" json:"statistics"`

    // Array of database target OCIDs.
    TargetIds []string `mandatory:"false" json:"targetIds"`

    // Indicates whether the user assessment was created by system or user.
    TriggeredBy UserAssessmentSummaryTriggeredByEnum `mandatory:"false" json:"triggeredBy,omitempty"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm)
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

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

func (UserAssessmentSummary) String

func (m UserAssessmentSummary) String() string

type UserAssessmentSummaryTriggeredByEnum

UserAssessmentSummaryTriggeredByEnum Enum with underlying type: string

type UserAssessmentSummaryTriggeredByEnum string

Set of constants representing the allowable values for UserAssessmentSummaryTriggeredByEnum

const (
    UserAssessmentSummaryTriggeredByUser   UserAssessmentSummaryTriggeredByEnum = "USER"
    UserAssessmentSummaryTriggeredBySystem UserAssessmentSummaryTriggeredByEnum = "SYSTEM"
)

func GetUserAssessmentSummaryTriggeredByEnumValues

func GetUserAssessmentSummaryTriggeredByEnumValues() []UserAssessmentSummaryTriggeredByEnum

GetUserAssessmentSummaryTriggeredByEnumValues Enumerates the set of values for UserAssessmentSummaryTriggeredByEnum

type UserAssessmentSummaryTypeEnum

UserAssessmentSummaryTypeEnum Enum with underlying type: string

type UserAssessmentSummaryTypeEnum string

Set of constants representing the allowable values for UserAssessmentSummaryTypeEnum

const (
    UserAssessmentSummaryTypeLatest       UserAssessmentSummaryTypeEnum = "LATEST"
    UserAssessmentSummaryTypeSaved        UserAssessmentSummaryTypeEnum = "SAVED"
    UserAssessmentSummaryTypeSaveSchedule UserAssessmentSummaryTypeEnum = "SAVE_SCHEDULE"
    UserAssessmentSummaryTypeCompartment  UserAssessmentSummaryTypeEnum = "COMPARTMENT"
)

func GetUserAssessmentSummaryTypeEnumValues

func GetUserAssessmentSummaryTypeEnumValues() []UserAssessmentSummaryTypeEnum

GetUserAssessmentSummaryTypeEnumValues Enumerates the set of values for UserAssessmentSummaryTypeEnum

type UserAssessmentTriggeredByEnum

UserAssessmentTriggeredByEnum Enum with underlying type: string

type UserAssessmentTriggeredByEnum string

Set of constants representing the allowable values for UserAssessmentTriggeredByEnum

const (
    UserAssessmentTriggeredByUser   UserAssessmentTriggeredByEnum = "USER"
    UserAssessmentTriggeredBySystem UserAssessmentTriggeredByEnum = "SYSTEM"
)

func GetUserAssessmentTriggeredByEnumValues

func GetUserAssessmentTriggeredByEnumValues() []UserAssessmentTriggeredByEnum

GetUserAssessmentTriggeredByEnumValues Enumerates the set of values for UserAssessmentTriggeredByEnum

type UserAssessmentTypeEnum

UserAssessmentTypeEnum Enum with underlying type: string

type UserAssessmentTypeEnum string

Set of constants representing the allowable values for UserAssessmentTypeEnum

const (
    UserAssessmentTypeLatest       UserAssessmentTypeEnum = "LATEST"
    UserAssessmentTypeSaved        UserAssessmentTypeEnum = "SAVED"
    UserAssessmentTypeSaveSchedule UserAssessmentTypeEnum = "SAVE_SCHEDULE"
    UserAssessmentTypeCompartment  UserAssessmentTypeEnum = "COMPARTMENT"
)

func GetUserAssessmentTypeEnumValues

func GetUserAssessmentTypeEnumValues() []UserAssessmentTypeEnum

GetUserAssessmentTypeEnumValues Enumerates the set of values for UserAssessmentTypeEnum

type UserDetails

UserDetails The details of a particular user.

type UserDetails struct {

    // The name of the user.
    Name *string `mandatory:"false" json:"name"`

    // The status of the user account.
    Status *string `mandatory:"false" json:"status"`

    // The name of the profile assigned to the user.
    Profile *string `mandatory:"false" json:"profile"`

    // The default tablespace of the user.
    Tablespace *string `mandatory:"false" json:"tablespace"`

    // Indicates whether or not the user is predefined by ORACLE.
    IsUserPredefinedByOracle *bool `mandatory:"false" json:"isUserPredefinedByOracle"`

    // The authentication type of the user.
    AuthenticationType UserDetailsAuthenticationTypeEnum `mandatory:"false" json:"authenticationType,omitempty"`
}

func (UserDetails) String

func (m UserDetails) String() string

type UserDetailsAuthenticationTypeEnum

UserDetailsAuthenticationTypeEnum Enum with underlying type: string

type UserDetailsAuthenticationTypeEnum string

Set of constants representing the allowable values for UserDetailsAuthenticationTypeEnum

const (
    UserDetailsAuthenticationTypePassword UserDetailsAuthenticationTypeEnum = "PASSWORD"
    UserDetailsAuthenticationTypeNone     UserDetailsAuthenticationTypeEnum = "NONE"
)

func GetUserDetailsAuthenticationTypeEnumValues

func GetUserDetailsAuthenticationTypeEnumValues() []UserDetailsAuthenticationTypeEnum

GetUserDetailsAuthenticationTypeEnumValues Enumerates the set of values for UserDetailsAuthenticationTypeEnum

type UserSummary

UserSummary The summary of information about the database user. It includes details such as user type, account status, last login time, user creation time, authentication type, user profile, and time and date of the last password change. It also contains the user category derived from these user details, as well as granted privileges.

type UserSummary struct {

    // The unique user key. This is a system-generated identifier. Use ListUsers to get the user key for a user.
    Key *string `mandatory:"true" json:"key"`

    // The database user name.
    UserName *string `mandatory:"true" json:"userName"`

    // The OCID of the target database.
    TargetId *string `mandatory:"true" json:"targetId"`

    // The user category based on the privileges and other details of the user.
    UserCategory UserSummaryUserCategoryEnum `mandatory:"false" json:"userCategory,omitempty"`

    // The user account status.
    AccountStatus UserSummaryAccountStatusEnum `mandatory:"false" json:"accountStatus,omitempty"`

    // The date and time when the user last logged in, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    TimeLastLogin *common.SDKTime `mandatory:"false" json:"timeLastLogin"`

    // The date and time when the user was created in the database, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    TimeUserCreated *common.SDKTime `mandatory:"false" json:"timeUserCreated"`

    // The user authentication method.
    AuthenticationType UserSummaryAuthenticationTypeEnum `mandatory:"false" json:"authenticationType,omitempty"`

    // The user profile name.
    UserProfile *string `mandatory:"false" json:"userProfile"`

    // The date and time when the user password was last changed, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    TimePasswordChanged *common.SDKTime `mandatory:"false" json:"timePasswordChanged"`

    // The user type, which can be a combination of the following:
    // 'Admin Privileged': The user has administrative privileges.
    // 'Application': The user is an Oracle E-Business Suite Applications (EBS) or Fusion Applications (FA) user.
    // 'Privileged': The user is a privileged user.
    // 'Schema': The user is EXPIRED & LOCKED / EXPIRED / LOCKED, or a schema-only account (authentication type is NONE).
    // 'Non-privileged': The user is a non-privileged user.
    UserTypes []UserSummaryUserTypesEnum `mandatory:"false" json:"userTypes,omitempty"`

    // The admin roles granted to the user.
    AdminRoles []UserSummaryAdminRolesEnum `mandatory:"false" json:"adminRoles,omitempty"`
}

func (UserSummary) String

func (m UserSummary) String() string

type UserSummaryAccountStatusEnum

UserSummaryAccountStatusEnum Enum with underlying type: string

type UserSummaryAccountStatusEnum string

Set of constants representing the allowable values for UserSummaryAccountStatusEnum

const (
    UserSummaryAccountStatusOpen             UserSummaryAccountStatusEnum = "OPEN"
    UserSummaryAccountStatusLocked           UserSummaryAccountStatusEnum = "LOCKED"
    UserSummaryAccountStatusExpired          UserSummaryAccountStatusEnum = "EXPIRED"
    UserSummaryAccountStatusExpiredAndLocked UserSummaryAccountStatusEnum = "EXPIRED_AND_LOCKED"
    UserSummaryAccountStatusNone             UserSummaryAccountStatusEnum = "NONE"
)

func GetUserSummaryAccountStatusEnumValues

func GetUserSummaryAccountStatusEnumValues() []UserSummaryAccountStatusEnum

GetUserSummaryAccountStatusEnumValues Enumerates the set of values for UserSummaryAccountStatusEnum

type UserSummaryAdminRolesEnum

UserSummaryAdminRolesEnum Enum with underlying type: string

type UserSummaryAdminRolesEnum string

Set of constants representing the allowable values for UserSummaryAdminRolesEnum

const (
    UserSummaryAdminRolesPdbDba     UserSummaryAdminRolesEnum = "PDB_DBA"
    UserSummaryAdminRolesDba        UserSummaryAdminRolesEnum = "DBA"
    UserSummaryAdminRolesDvAdmin    UserSummaryAdminRolesEnum = "DV_ADMIN"
    UserSummaryAdminRolesAuditAdmin UserSummaryAdminRolesEnum = "AUDIT_ADMIN"
)

func GetUserSummaryAdminRolesEnumValues

func GetUserSummaryAdminRolesEnumValues() []UserSummaryAdminRolesEnum

GetUserSummaryAdminRolesEnumValues Enumerates the set of values for UserSummaryAdminRolesEnum

type UserSummaryAuthenticationTypeEnum

UserSummaryAuthenticationTypeEnum Enum with underlying type: string

type UserSummaryAuthenticationTypeEnum string

Set of constants representing the allowable values for UserSummaryAuthenticationTypeEnum

const (
    UserSummaryAuthenticationTypePassword UserSummaryAuthenticationTypeEnum = "PASSWORD"
    UserSummaryAuthenticationTypeNone     UserSummaryAuthenticationTypeEnum = "NONE"
)

func GetUserSummaryAuthenticationTypeEnumValues

func GetUserSummaryAuthenticationTypeEnumValues() []UserSummaryAuthenticationTypeEnum

GetUserSummaryAuthenticationTypeEnumValues Enumerates the set of values for UserSummaryAuthenticationTypeEnum

type UserSummaryUserCategoryEnum

UserSummaryUserCategoryEnum Enum with underlying type: string

type UserSummaryUserCategoryEnum string

Set of constants representing the allowable values for UserSummaryUserCategoryEnum

const (
    UserSummaryUserCategoryCritical UserSummaryUserCategoryEnum = "CRITICAL"
    UserSummaryUserCategoryHigh     UserSummaryUserCategoryEnum = "HIGH"
    UserSummaryUserCategoryMedium   UserSummaryUserCategoryEnum = "MEDIUM"
    UserSummaryUserCategoryLow      UserSummaryUserCategoryEnum = "LOW"
)

func GetUserSummaryUserCategoryEnumValues

func GetUserSummaryUserCategoryEnumValues() []UserSummaryUserCategoryEnum

GetUserSummaryUserCategoryEnumValues Enumerates the set of values for UserSummaryUserCategoryEnum

type UserSummaryUserTypesEnum

UserSummaryUserTypesEnum Enum with underlying type: string

type UserSummaryUserTypesEnum string

Set of constants representing the allowable values for UserSummaryUserTypesEnum

const (
    UserSummaryUserTypesAdminPrivileged UserSummaryUserTypesEnum = "ADMIN_PRIVILEGED"
    UserSummaryUserTypesApplication     UserSummaryUserTypesEnum = "APPLICATION"
    UserSummaryUserTypesPrivileged      UserSummaryUserTypesEnum = "PRIVILEGED"
    UserSummaryUserTypesSchema          UserSummaryUserTypesEnum = "SCHEMA"
    UserSummaryUserTypesNonPrivileged   UserSummaryUserTypesEnum = "NON_PRIVILEGED"
)

func GetUserSummaryUserTypesEnumValues

func GetUserSummaryUserTypesEnumValues() []UserSummaryUserTypesEnum

GetUserSummaryUserTypesEnumValues Enumerates the set of values for UserSummaryUserTypesEnum

type WorkRequest

WorkRequest An asynchronous work request.

type WorkRequest struct {

    // The resources that are affected by the work request.
    OperationType WorkRequestOperationTypeEnum `mandatory:"true" json:"operationType"`

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

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

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

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

    // Progress of the work request in percentage.
    PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

    // The date and time the work request was accepted, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

    // The date and time the work request transitioned from ACCEPTED to IN_PROGRESS, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The date and time the work request reached a terminal state, either FAILED or SUCCEEDED. Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

func (WorkRequest) String

func (m WorkRequest) String() string

type WorkRequestError

WorkRequestError An error related to a work request.

type WorkRequestError struct {

    // A machine-usable error code. For a list of common errors, see API Errors (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm).
    Code *string `mandatory:"true" json:"code"`

    // A human-readable error string.
    Message *string `mandatory:"true" json:"message"`

    // The date and time the error occurred, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

func (WorkRequestError) String

func (m WorkRequestError) String() string

type WorkRequestLogEntry

WorkRequestLogEntry A log entry related to a work request.

type WorkRequestLogEntry struct {

    // A human-readable log entry.
    Message *string `mandatory:"true" json:"message"`

    // The date and time the log entry was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

func (WorkRequestLogEntry) String

func (m WorkRequestLogEntry) String() string

type WorkRequestOperationTypeEnum

WorkRequestOperationTypeEnum Enum with underlying type: string

type WorkRequestOperationTypeEnum string

Set of constants representing the allowable values for WorkRequestOperationTypeEnum

const (
    WorkRequestOperationTypeEnableDataSafeConfiguration           WorkRequestOperationTypeEnum = "ENABLE_DATA_SAFE_CONFIGURATION"
    WorkRequestOperationTypeCreatePrivateEndpoint                 WorkRequestOperationTypeEnum = "CREATE_PRIVATE_ENDPOINT"
    WorkRequestOperationTypeUpdatePrivateEndpoint                 WorkRequestOperationTypeEnum = "UPDATE_PRIVATE_ENDPOINT"
    WorkRequestOperationTypeDeletePrivateEndpoint                 WorkRequestOperationTypeEnum = "DELETE_PRIVATE_ENDPOINT"
    WorkRequestOperationTypeChangePrivateEndpointCompartment      WorkRequestOperationTypeEnum = "CHANGE_PRIVATE_ENDPOINT_COMPARTMENT"
    WorkRequestOperationTypeCreateOnpremConnector                 WorkRequestOperationTypeEnum = "CREATE_ONPREM_CONNECTOR"
    WorkRequestOperationTypeUpdateOnpremConnector                 WorkRequestOperationTypeEnum = "UPDATE_ONPREM_CONNECTOR"
    WorkRequestOperationTypeDeleteOnpremConnector                 WorkRequestOperationTypeEnum = "DELETE_ONPREM_CONNECTOR"
    WorkRequestOperationTypeUpdateOnpremConnectorWallet           WorkRequestOperationTypeEnum = "UPDATE_ONPREM_CONNECTOR_WALLET"
    WorkRequestOperationTypeChangeOnpremConnectorCompartment      WorkRequestOperationTypeEnum = "CHANGE_ONPREM_CONNECTOR_COMPARTMENT"
    WorkRequestOperationTypeCreateTargetDatabase                  WorkRequestOperationTypeEnum = "CREATE_TARGET_DATABASE"
    WorkRequestOperationTypeUpdateTargetDatabase                  WorkRequestOperationTypeEnum = "UPDATE_TARGET_DATABASE"
    WorkRequestOperationTypeActivateTargetDatabase                WorkRequestOperationTypeEnum = "ACTIVATE_TARGET_DATABASE"
    WorkRequestOperationTypeDeactivateTargetDatabase              WorkRequestOperationTypeEnum = "DEACTIVATE_TARGET_DATABASE"
    WorkRequestOperationTypeDeleteTargetDatabase                  WorkRequestOperationTypeEnum = "DELETE_TARGET_DATABASE"
    WorkRequestOperationTypeChangeTargetDatabaseCompartment       WorkRequestOperationTypeEnum = "CHANGE_TARGET_DATABASE_COMPARTMENT"
    WorkRequestOperationTypeCreateUserAssessment                  WorkRequestOperationTypeEnum = "CREATE_USER_ASSESSMENT"
    WorkRequestOperationTypeAssessUserAssessment                  WorkRequestOperationTypeEnum = "ASSESS_USER_ASSESSMENT"
    WorkRequestOperationTypeCreateSnapshotUserAssessment          WorkRequestOperationTypeEnum = "CREATE_SNAPSHOT_USER_ASSESSMENT"
    WorkRequestOperationTypeCreateScheduleUserAssessment          WorkRequestOperationTypeEnum = "CREATE_SCHEDULE_USER_ASSESSMENT"
    WorkRequestOperationTypeCompareWithBaselineUserAssessment     WorkRequestOperationTypeEnum = "COMPARE_WITH_BASELINE_USER_ASSESSMENT"
    WorkRequestOperationTypeDeleteUserAssessment                  WorkRequestOperationTypeEnum = "DELETE_USER_ASSESSMENT"
    WorkRequestOperationTypeUpdateUserAssessment                  WorkRequestOperationTypeEnum = "UPDATE_USER_ASSESSMENT"
    WorkRequestOperationTypeChangeUserAssessmentCompartment       WorkRequestOperationTypeEnum = "CHANGE_USER_ASSESSMENT_COMPARTMENT"
    WorkRequestOperationTypeSetUserAssessmentBaseline             WorkRequestOperationTypeEnum = "SET_USER_ASSESSMENT_BASELINE"
    WorkRequestOperationTypeUnsetUserAssessmentBaseline           WorkRequestOperationTypeEnum = "UNSET_USER_ASSESSMENT_BASELINE"
    WorkRequestOperationTypeGenerateUserAssessmentReport          WorkRequestOperationTypeEnum = "GENERATE_USER_ASSESSMENT_REPORT"
    WorkRequestOperationTypeCreateSecurityAssessment              WorkRequestOperationTypeEnum = "CREATE_SECURITY_ASSESSMENT"
    WorkRequestOperationTypeCreateSecurityAssessmentNow           WorkRequestOperationTypeEnum = "CREATE_SECURITY_ASSESSMENT_NOW"
    WorkRequestOperationTypeAssessSecurityAssessment              WorkRequestOperationTypeEnum = "ASSESS_SECURITY_ASSESSMENT"
    WorkRequestOperationTypeCreateSnapshotSecurityAssessment      WorkRequestOperationTypeEnum = "CREATE_SNAPSHOT_SECURITY_ASSESSMENT"
    WorkRequestOperationTypeCreateScheduleSecurityAssessment      WorkRequestOperationTypeEnum = "CREATE_SCHEDULE_SECURITY_ASSESSMENT"
    WorkRequestOperationTypeCompareWithBaselineSecurityAssessment WorkRequestOperationTypeEnum = "COMPARE_WITH_BASELINE_SECURITY_ASSESSMENT"
    WorkRequestOperationTypeDeleteSecurityAssessment              WorkRequestOperationTypeEnum = "DELETE_SECURITY_ASSESSMENT"
    WorkRequestOperationTypeUpdateSecurityAssessment              WorkRequestOperationTypeEnum = "UPDATE_SECURITY_ASSESSMENT"
    WorkRequestOperationTypeChangeSecurityAssessmentCompartment   WorkRequestOperationTypeEnum = "CHANGE_SECURITY_ASSESSMENT_COMPARTMENT"
    WorkRequestOperationTypeSetSecurityAssessmentBaseline         WorkRequestOperationTypeEnum = "SET_SECURITY_ASSESSMENT_BASELINE"
    WorkRequestOperationTypeUnsetSecurityAssessmentBaseline       WorkRequestOperationTypeEnum = "UNSET_SECURITY_ASSESSMENT_BASELINE"
    WorkRequestOperationTypeGenerateSecurityAssessmentReport      WorkRequestOperationTypeEnum = "GENERATE_SECURITY_ASSESSMENT_REPORT"
)

func GetWorkRequestOperationTypeEnumValues

func GetWorkRequestOperationTypeEnumValues() []WorkRequestOperationTypeEnum

GetWorkRequestOperationTypeEnumValues Enumerates the set of values for WorkRequestOperationTypeEnum

type WorkRequestResource

WorkRequestResource A resource that is created or operated on by an asynchronous operation that is tracked by a work request.

type WorkRequestResource struct {

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

    // The way in which this resource was affected by the operation that spawned 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 WorkRequestResourceActionTypeEnum `mandatory:"true" json:"actionType"`

    // An OCID or other unique identifier for the resource.
    Identifier *string `mandatory:"true" json:"identifier"`

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

func (WorkRequestResource) String

func (m WorkRequestResource) String() string

type WorkRequestResourceActionTypeEnum

WorkRequestResourceActionTypeEnum Enum with underlying type: string

type WorkRequestResourceActionTypeEnum string

Set of constants representing the allowable values for WorkRequestResourceActionTypeEnum

const (
    WorkRequestResourceActionTypeCreated    WorkRequestResourceActionTypeEnum = "CREATED"
    WorkRequestResourceActionTypeUpdated    WorkRequestResourceActionTypeEnum = "UPDATED"
    WorkRequestResourceActionTypeDeleted    WorkRequestResourceActionTypeEnum = "DELETED"
    WorkRequestResourceActionTypeInProgress WorkRequestResourceActionTypeEnum = "IN_PROGRESS"
)

func GetWorkRequestResourceActionTypeEnumValues

func GetWorkRequestResourceActionTypeEnumValues() []WorkRequestResourceActionTypeEnum

GetWorkRequestResourceActionTypeEnumValues Enumerates the set of values for WorkRequestResourceActionTypeEnum

type WorkRequestStatusEnum

WorkRequestStatusEnum Enum with underlying type: string

type WorkRequestStatusEnum string

Set of constants representing the allowable values for WorkRequestStatusEnum

const (
    WorkRequestStatusAccepted   WorkRequestStatusEnum = "ACCEPTED"
    WorkRequestStatusInProgress WorkRequestStatusEnum = "IN_PROGRESS"
    WorkRequestStatusFailed     WorkRequestStatusEnum = "FAILED"
    WorkRequestStatusSucceeded  WorkRequestStatusEnum = "SUCCEEDED"
)

func GetWorkRequestStatusEnumValues

func GetWorkRequestStatusEnumValues() []WorkRequestStatusEnum

GetWorkRequestStatusEnumValues Enumerates the set of values for WorkRequestStatusEnum

type WorkRequestSummary

WorkRequestSummary Summary of a work request.

type WorkRequestSummary struct {

    // The asynchronous operation tracked by this work request.
    OperationType WorkRequestSummaryOperationTypeEnum `mandatory:"true" json:"operationType"`

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

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

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

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

    // Progress of the work request in percentage.
    PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

    // The date and time the work request was accepted, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

    // The date and time the work request transitioned from ACCEPTED to IN_PROGRESS, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The date and time the work request reached a terminal state, either FAILED or SUCCEEDED, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

func (WorkRequestSummary) String

func (m WorkRequestSummary) String() string

type WorkRequestSummaryOperationTypeEnum

WorkRequestSummaryOperationTypeEnum Enum with underlying type: string

type WorkRequestSummaryOperationTypeEnum string

Set of constants representing the allowable values for WorkRequestSummaryOperationTypeEnum

const (
    WorkRequestSummaryOperationTypeEnableDataSafeConfiguration           WorkRequestSummaryOperationTypeEnum = "ENABLE_DATA_SAFE_CONFIGURATION"
    WorkRequestSummaryOperationTypeCreatePrivateEndpoint                 WorkRequestSummaryOperationTypeEnum = "CREATE_PRIVATE_ENDPOINT"
    WorkRequestSummaryOperationTypeUpdatePrivateEndpoint                 WorkRequestSummaryOperationTypeEnum = "UPDATE_PRIVATE_ENDPOINT"
    WorkRequestSummaryOperationTypeDeletePrivateEndpoint                 WorkRequestSummaryOperationTypeEnum = "DELETE_PRIVATE_ENDPOINT"
    WorkRequestSummaryOperationTypeChangePrivateEndpointCompartment      WorkRequestSummaryOperationTypeEnum = "CHANGE_PRIVATE_ENDPOINT_COMPARTMENT"
    WorkRequestSummaryOperationTypeCreateOnpremConnector                 WorkRequestSummaryOperationTypeEnum = "CREATE_ONPREM_CONNECTOR"
    WorkRequestSummaryOperationTypeUpdateOnpremConnector                 WorkRequestSummaryOperationTypeEnum = "UPDATE_ONPREM_CONNECTOR"
    WorkRequestSummaryOperationTypeDeleteOnpremConnector                 WorkRequestSummaryOperationTypeEnum = "DELETE_ONPREM_CONNECTOR"
    WorkRequestSummaryOperationTypeUpdateOnpremConnectorWallet           WorkRequestSummaryOperationTypeEnum = "UPDATE_ONPREM_CONNECTOR_WALLET"
    WorkRequestSummaryOperationTypeChangeOnpremConnectorCompartment      WorkRequestSummaryOperationTypeEnum = "CHANGE_ONPREM_CONNECTOR_COMPARTMENT"
    WorkRequestSummaryOperationTypeCreateTargetDatabase                  WorkRequestSummaryOperationTypeEnum = "CREATE_TARGET_DATABASE"
    WorkRequestSummaryOperationTypeUpdateTargetDatabase                  WorkRequestSummaryOperationTypeEnum = "UPDATE_TARGET_DATABASE"
    WorkRequestSummaryOperationTypeActivateTargetDatabase                WorkRequestSummaryOperationTypeEnum = "ACTIVATE_TARGET_DATABASE"
    WorkRequestSummaryOperationTypeDeactivateTargetDatabase              WorkRequestSummaryOperationTypeEnum = "DEACTIVATE_TARGET_DATABASE"
    WorkRequestSummaryOperationTypeDeleteTargetDatabase                  WorkRequestSummaryOperationTypeEnum = "DELETE_TARGET_DATABASE"
    WorkRequestSummaryOperationTypeChangeTargetDatabaseCompartment       WorkRequestSummaryOperationTypeEnum = "CHANGE_TARGET_DATABASE_COMPARTMENT"
    WorkRequestSummaryOperationTypeCreateUserAssessment                  WorkRequestSummaryOperationTypeEnum = "CREATE_USER_ASSESSMENT"
    WorkRequestSummaryOperationTypeAssessUserAssessment                  WorkRequestSummaryOperationTypeEnum = "ASSESS_USER_ASSESSMENT"
    WorkRequestSummaryOperationTypeCreateSnapshotUserAssessment          WorkRequestSummaryOperationTypeEnum = "CREATE_SNAPSHOT_USER_ASSESSMENT"
    WorkRequestSummaryOperationTypeCreateScheduleUserAssessment          WorkRequestSummaryOperationTypeEnum = "CREATE_SCHEDULE_USER_ASSESSMENT"
    WorkRequestSummaryOperationTypeCompareWithBaselineUserAssessment     WorkRequestSummaryOperationTypeEnum = "COMPARE_WITH_BASELINE_USER_ASSESSMENT"
    WorkRequestSummaryOperationTypeDeleteUserAssessment                  WorkRequestSummaryOperationTypeEnum = "DELETE_USER_ASSESSMENT"
    WorkRequestSummaryOperationTypeUpdateUserAssessment                  WorkRequestSummaryOperationTypeEnum = "UPDATE_USER_ASSESSMENT"
    WorkRequestSummaryOperationTypeChangeUserAssessmentCompartment       WorkRequestSummaryOperationTypeEnum = "CHANGE_USER_ASSESSMENT_COMPARTMENT"
    WorkRequestSummaryOperationTypeSetUserAssessmentBaseline             WorkRequestSummaryOperationTypeEnum = "SET_USER_ASSESSMENT_BASELINE"
    WorkRequestSummaryOperationTypeUnsetUserAssessmentBaseline           WorkRequestSummaryOperationTypeEnum = "UNSET_USER_ASSESSMENT_BASELINE"
    WorkRequestSummaryOperationTypeGenerateUserAssessmentReport          WorkRequestSummaryOperationTypeEnum = "GENERATE_USER_ASSESSMENT_REPORT"
    WorkRequestSummaryOperationTypeCreateSecurityAssessment              WorkRequestSummaryOperationTypeEnum = "CREATE_SECURITY_ASSESSMENT"
    WorkRequestSummaryOperationTypeCreateSecurityAssessmentNow           WorkRequestSummaryOperationTypeEnum = "CREATE_SECURITY_ASSESSMENT_NOW"
    WorkRequestSummaryOperationTypeAssessSecurityAssessment              WorkRequestSummaryOperationTypeEnum = "ASSESS_SECURITY_ASSESSMENT"
    WorkRequestSummaryOperationTypeCreateSnapshotSecurityAssessment      WorkRequestSummaryOperationTypeEnum = "CREATE_SNAPSHOT_SECURITY_ASSESSMENT"
    WorkRequestSummaryOperationTypeCreateScheduleSecurityAssessment      WorkRequestSummaryOperationTypeEnum = "CREATE_SCHEDULE_SECURITY_ASSESSMENT"
    WorkRequestSummaryOperationTypeCompareWithBaselineSecurityAssessment WorkRequestSummaryOperationTypeEnum = "COMPARE_WITH_BASELINE_SECURITY_ASSESSMENT"
    WorkRequestSummaryOperationTypeDeleteSecurityAssessment              WorkRequestSummaryOperationTypeEnum = "DELETE_SECURITY_ASSESSMENT"
    WorkRequestSummaryOperationTypeUpdateSecurityAssessment              WorkRequestSummaryOperationTypeEnum = "UPDATE_SECURITY_ASSESSMENT"
    WorkRequestSummaryOperationTypeChangeSecurityAssessmentCompartment   WorkRequestSummaryOperationTypeEnum = "CHANGE_SECURITY_ASSESSMENT_COMPARTMENT"
    WorkRequestSummaryOperationTypeSetSecurityAssessmentBaseline         WorkRequestSummaryOperationTypeEnum = "SET_SECURITY_ASSESSMENT_BASELINE"
    WorkRequestSummaryOperationTypeUnsetSecurityAssessmentBaseline       WorkRequestSummaryOperationTypeEnum = "UNSET_SECURITY_ASSESSMENT_BASELINE"
    WorkRequestSummaryOperationTypeGenerateSecurityAssessmentReport      WorkRequestSummaryOperationTypeEnum = "GENERATE_SECURITY_ASSESSMENT_REPORT"
)

func GetWorkRequestSummaryOperationTypeEnumValues

func GetWorkRequestSummaryOperationTypeEnumValues() []WorkRequestSummaryOperationTypeEnum

GetWorkRequestSummaryOperationTypeEnumValues Enumerates the set of values for WorkRequestSummaryOperationTypeEnum

type WorkRequestSummaryStatusEnum

WorkRequestSummaryStatusEnum Enum with underlying type: string

type WorkRequestSummaryStatusEnum string

Set of constants representing the allowable values for WorkRequestSummaryStatusEnum

const (
    WorkRequestSummaryStatusAccepted   WorkRequestSummaryStatusEnum = "ACCEPTED"
    WorkRequestSummaryStatusInProgress WorkRequestSummaryStatusEnum = "IN_PROGRESS"
    WorkRequestSummaryStatusFailed     WorkRequestSummaryStatusEnum = "FAILED"
    WorkRequestSummaryStatusSucceeded  WorkRequestSummaryStatusEnum = "SUCCEEDED"
)

func GetWorkRequestSummaryStatusEnumValues

func GetWorkRequestSummaryStatusEnumValues() []WorkRequestSummaryStatusEnum

GetWorkRequestSummaryStatusEnumValues Enumerates the set of values for WorkRequestSummaryStatusEnum