dblm

package
v65.86.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2025 License: Apache-2.0, UPL-1.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetActionTypeEnumStringValues

func GetActionTypeEnumStringValues() []string

GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum

func GetDblmVulnerabilityLifecycleStateEnumStringValues

func GetDblmVulnerabilityLifecycleStateEnumStringValues() []string

GetDblmVulnerabilityLifecycleStateEnumStringValues Enumerates the set of values in String for DblmVulnerabilityLifecycleStateEnum

func GetListVulnerabilitiesSortByEnumStringValues

func GetListVulnerabilitiesSortByEnumStringValues() []string

GetListVulnerabilitiesSortByEnumStringValues Enumerates the set of values in String for ListVulnerabilitiesSortByEnum

func GetListVulnerabilitiesSortOrderEnumStringValues

func GetListVulnerabilitiesSortOrderEnumStringValues() []string

GetListVulnerabilitiesSortOrderEnumStringValues Enumerates the set of values in String for ListVulnerabilitiesSortOrderEnum

func GetListVulnerabilityResourcesPatchRecommendationEnumStringValues

func GetListVulnerabilityResourcesPatchRecommendationEnumStringValues() []string

GetListVulnerabilityResourcesPatchRecommendationEnumStringValues Enumerates the set of values in String for ListVulnerabilityResourcesPatchRecommendationEnum

func GetListVulnerabilityResourcesSortByEnumStringValues

func GetListVulnerabilityResourcesSortByEnumStringValues() []string

GetListVulnerabilityResourcesSortByEnumStringValues Enumerates the set of values in String for ListVulnerabilityResourcesSortByEnum

func GetListVulnerabilityResourcesSortOrderEnumStringValues

func GetListVulnerabilityResourcesSortOrderEnumStringValues() []string

GetListVulnerabilityResourcesSortOrderEnumStringValues Enumerates the set of values in String for ListVulnerabilityResourcesSortOrderEnum

func GetListVulnerabilityScansSortByEnumStringValues

func GetListVulnerabilityScansSortByEnumStringValues() []string

GetListVulnerabilityScansSortByEnumStringValues Enumerates the set of values in String for ListVulnerabilityScansSortByEnum

func GetListVulnerabilityScansSortOrderEnumStringValues

func GetListVulnerabilityScansSortOrderEnumStringValues() []string

GetListVulnerabilityScansSortOrderEnumStringValues Enumerates the set of values in String for ListVulnerabilityScansSortOrderEnum

func GetListVulnerabilityScansVulnerabilityScanStatusEnumStringValues

func GetListVulnerabilityScansVulnerabilityScanStatusEnumStringValues() []string

GetListVulnerabilityScansVulnerabilityScanStatusEnumStringValues Enumerates the set of values in String for ListVulnerabilityScansVulnerabilityScanStatusEnum

func GetListVulnerabilityScansVulnerabilityScanTypeEnumStringValues

func GetListVulnerabilityScansVulnerabilityScanTypeEnumStringValues() []string

GetListVulnerabilityScansVulnerabilityScanTypeEnumStringValues Enumerates the set of values in String for ListVulnerabilityScansVulnerabilityScanTypeEnum

func GetListWorkRequestErrorsSortByEnumStringValues

func GetListWorkRequestErrorsSortByEnumStringValues() []string

GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortOrderEnumStringValues

func GetListWorkRequestErrorsSortOrderEnumStringValues() []string

GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestLogsSortByEnumStringValues

func GetListWorkRequestLogsSortByEnumStringValues() []string

GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortOrderEnumStringValues

func GetListWorkRequestLogsSortOrderEnumStringValues() []string

GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestsSortByEnumStringValues

func GetListWorkRequestsSortByEnumStringValues() []string

GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortOrderEnumStringValues

func GetListWorkRequestsSortOrderEnumStringValues() []string

GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum

func GetListWorkRequestsStatusEnumStringValues

func GetListWorkRequestsStatusEnumStringValues() []string

GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum

func GetNotificationSummaryNotificationTypeEnumStringValues

func GetNotificationSummaryNotificationTypeEnumStringValues() []string

GetNotificationSummaryNotificationTypeEnumStringValues Enumerates the set of values in String for NotificationSummaryNotificationTypeEnum

func GetOperationStatusEnumStringValues

func GetOperationStatusEnumStringValues() []string

GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum

func GetOperationTypeEnumStringValues

func GetOperationTypeEnumStringValues() []string

GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum

func GetResourcesSeveritiesEnumStringValues

func GetResourcesSeveritiesEnumStringValues() []string

GetResourcesSeveritiesEnumStringValues Enumerates the set of values in String for ResourcesSeveritiesEnum

func GetSortOrderEnumStringValues

func GetSortOrderEnumStringValues() []string

GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum

func GetVulnerabilityRiskLevelEnumStringValues

func GetVulnerabilityRiskLevelEnumStringValues() []string

GetVulnerabilityRiskLevelEnumStringValues Enumerates the set of values in String for VulnerabilityRiskLevelEnum

func GetVulnerabilityScanLifecycleStateEnumStringValues

func GetVulnerabilityScanLifecycleStateEnumStringValues() []string

GetVulnerabilityScanLifecycleStateEnumStringValues Enumerates the set of values in String for VulnerabilityScanLifecycleStateEnum

func GetVulnerabilityScanVulnerabilityScanStatusEnumStringValues

func GetVulnerabilityScanVulnerabilityScanStatusEnumStringValues() []string

GetVulnerabilityScanVulnerabilityScanStatusEnumStringValues Enumerates the set of values in String for VulnerabilityScanVulnerabilityScanStatusEnum

func GetVulnerabilityScanVulnerabilityScanTypeEnumStringValues

func GetVulnerabilityScanVulnerabilityScanTypeEnumStringValues() []string

GetVulnerabilityScanVulnerabilityScanTypeEnumStringValues Enumerates the set of values in String for VulnerabilityScanVulnerabilityScanTypeEnum

func GetWorkRequestResourceMetadataKeyEnumStringValues

func GetWorkRequestResourceMetadataKeyEnumStringValues() []string

GetWorkRequestResourceMetadataKeyEnumStringValues Enumerates the set of values in String for WorkRequestResourceMetadataKeyEnum

Types

type ActionTypeEnum

type ActionTypeEnum string

ActionTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ActionTypeEnum

func GetActionTypeEnumValues

func GetActionTypeEnumValues() []ActionTypeEnum

GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum

func GetMappingActionTypeEnum

func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)

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

type AggregatedVulnerabilityCollection

type AggregatedVulnerabilityCollection struct {

	// List of data
	Items []AggregatedVulnerabilitySummary `mandatory:"true" json:"items"`
}

AggregatedVulnerabilityCollection The aggregated vulnerability data.

func (AggregatedVulnerabilityCollection) String

func (AggregatedVulnerabilityCollection) ValidateEnumValue

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

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

type AggregatedVulnerabilitySummary

type AggregatedVulnerabilitySummary struct {

	// UTC timestamp when the scan completed.
	Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`

	// Unresolved vulnerabilities that were found by the scan.
	VulnerabilitiesCount *int `mandatory:"true" json:"vulnerabilitiesCount"`

	// Registered databases against which the scan ran.
	RegisteredResourcesCount *int `mandatory:"true" json:"registeredResourcesCount"`
}

AggregatedVulnerabilitySummary Singular information of an aggregated vulnerability datapoint.

func (AggregatedVulnerabilitySummary) String

func (AggregatedVulnerabilitySummary) ValidateEnumValue

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

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

type ChildPdb

type ChildPdb struct {

	// Identifier for the pluggable database.
	PdbId *string `mandatory:"true" json:"pdbId"`

	// Name fo the pluggable database.
	Name *string `mandatory:"true" json:"name"`

	// Open mode
	OpenMode *string `mandatory:"true" json:"openMode"`

	// Restricted
	Restricted *string `mandatory:"true" json:"restricted"`

	// Recovery status
	RecoveryStatus *string `mandatory:"true" json:"recoveryStatus"`

	// Last changed by
	LastChangedBy *string `mandatory:"true" json:"lastChangedBy"`
}

ChildPdb Child PDB for a CDB.

func (ChildPdb) String

func (m ChildPdb) String() string

func (ChildPdb) ValidateEnumValue

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

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

type CreateVulnerabilityScanDetails

type CreateVulnerabilityScanDetails struct {

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

	// Vulnerability Scan type is CVE, PATCH or IMAGE_PATCH
	VulnerabilityScanType VulnerabilityScanVulnerabilityScanTypeEnum `mandatory:"true" json:"vulnerabilityScanType"`
}

CreateVulnerabilityScanDetails The data to create a VulnerabilityScan.

func (CreateVulnerabilityScanDetails) String

func (CreateVulnerabilityScanDetails) ValidateEnumValue

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

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

type CreateVulnerabilityScanRequest

type CreateVulnerabilityScanRequest struct {

	// Details for the new VulnerabilityScan.
	CreateVulnerabilityScanDetails `contributesTo:"body"`

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

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

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

CreateVulnerabilityScanRequest wrapper for the CreateVulnerabilityScan operation

See also

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

func (CreateVulnerabilityScanRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateVulnerabilityScanRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateVulnerabilityScanRequest) RetryPolicy

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

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

func (CreateVulnerabilityScanRequest) String

func (request CreateVulnerabilityScanRequest) String() string

func (CreateVulnerabilityScanRequest) ValidateEnumValue

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

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

type CreateVulnerabilityScanResponse

type CreateVulnerabilityScanResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// URL for the created Vulnerability Scan. The Vulnerability Scan OCID is generated after this request is sent.
	Location *string `presentIn:"header" name:"location"`

	// Same as location.
	ContentLocation *string `presentIn:"header" name:"content-location"`

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

	// Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
	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"`
}

CreateVulnerabilityScanResponse wrapper for the CreateVulnerabilityScan operation

func (CreateVulnerabilityScanResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateVulnerabilityScanResponse) String

func (response CreateVulnerabilityScanResponse) String() string

type DbLifeCycleManagementClient

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

DbLifeCycleManagementClient a client for DbLifeCycleManagement

func NewDbLifeCycleManagementClientWithConfigurationProvider

func NewDbLifeCycleManagementClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DbLifeCycleManagementClient, err error)

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

func NewDbLifeCycleManagementClientWithOboToken

func NewDbLifeCycleManagementClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DbLifeCycleManagementClient, err error)

NewDbLifeCycleManagementClientWithOboToken Creates a new default DbLifeCycleManagement 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 (*DbLifeCycleManagementClient) ConfigurationProvider

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

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

func (DbLifeCycleManagementClient) CreateVulnerabilityScan

func (client DbLifeCycleManagementClient) CreateVulnerabilityScan(ctx context.Context, request CreateVulnerabilityScanRequest) (response CreateVulnerabilityScanResponse, err error)

CreateVulnerabilityScan Creates a VulnerabilityScan.

See also

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

func (DbLifeCycleManagementClient) GetVulnerability

func (client DbLifeCycleManagementClient) GetVulnerability(ctx context.Context, request GetVulnerabilityRequest) (response GetVulnerabilityResponse, err error)

GetVulnerability Gets a Vulnerability

See also

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

func (DbLifeCycleManagementClient) GetVulnerabilityScan

func (client DbLifeCycleManagementClient) GetVulnerabilityScan(ctx context.Context, request GetVulnerabilityScanRequest) (response GetVulnerabilityScanResponse, err error)

GetVulnerabilityScan Gets information about a VulnerabilityScan.

See also

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

func (DbLifeCycleManagementClient) GetWorkRequest

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

GetWorkRequest Gets details of the work request with the given ID.

See also

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

func (DbLifeCycleManagementClient) ListAggregatedVulnerabilityData

func (client DbLifeCycleManagementClient) ListAggregatedVulnerabilityData(ctx context.Context, request ListAggregatedVulnerabilityDataRequest) (response ListAggregatedVulnerabilityDataResponse, err error)

ListAggregatedVulnerabilityData Gets an AggregatedVulnerabilityData

See also

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

func (DbLifeCycleManagementClient) ListNotifications

func (client DbLifeCycleManagementClient) ListNotifications(ctx context.Context, request ListNotificationsRequest) (response ListNotificationsResponse, err error)

ListNotifications List of notifications

See also

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

func (DbLifeCycleManagementClient) ListVulnerabilities

func (client DbLifeCycleManagementClient) ListVulnerabilities(ctx context.Context, request ListVulnerabilitiesRequest) (response ListVulnerabilitiesResponse, err error)

ListVulnerabilities Gets the vulnerabilities summary list

See also

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

func (DbLifeCycleManagementClient) ListVulnerabilityResources

func (client DbLifeCycleManagementClient) ListVulnerabilityResources(ctx context.Context, request ListVulnerabilityResourcesRequest) (response ListVulnerabilityResourcesResponse, err error)

ListVulnerabilityResources Lists the summary of vulnerable and clean resourcees

See also

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

func (DbLifeCycleManagementClient) ListVulnerabilityScans

func (client DbLifeCycleManagementClient) ListVulnerabilityScans(ctx context.Context, request ListVulnerabilityScansRequest) (response ListVulnerabilityScansResponse, err error)

ListVulnerabilityScans Gets a list of VulnerabilityScans.

See also

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

func (DbLifeCycleManagementClient) ListWorkRequestErrors

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

ListWorkRequestErrors Returns a (paginated) list of errors for the work request with the given ID.

See also

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

func (DbLifeCycleManagementClient) ListWorkRequestLogs

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

ListWorkRequestLogs Returns a (paginated) list of logs for the work request with the given ID.

See also

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

func (DbLifeCycleManagementClient) ListWorkRequests

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

ListWorkRequests Lists the work requests in a compartment.

See also

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

func (*DbLifeCycleManagementClient) SetRegion

func (client *DbLifeCycleManagementClient) SetRegion(region string)

SetRegion overrides the region of this client.

type DblmVulnerability

type DblmVulnerability struct {

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

	// Resources objects.
	Resources []ResourceInfo `mandatory:"false" json:"resources"`

	// A message describing the status of the feature's state.
	Message *string `mandatory:"false" json:"message"`

	// The time the the Vulnerability was enabled. An RFC3339 formatted datetime string.
	TimeEnabled *common.SDKTime `mandatory:"false" json:"timeEnabled"`

	// The current state of the feature.
	LifecycleState DblmVulnerabilityLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// Summary of dblm registered and unregistered resources.
	ResourcesSummary *interface{} `mandatory:"false" json:"resourcesSummary"`

	// Summary of vulnerabilities found in registered resources grouped by severity.
	VulnerabilitiesSummary *interface{} `mandatory:"false" json:"vulnerabilitiesSummary"`

	// Summary of the patch recommendations for databases.
	PatchRecommendationsSummary *interface{} `mandatory:"false" json:"patchRecommendationsSummary"`

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

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

DblmVulnerability A Dblm Vulnerability is a description of a Dblm Vulnerability. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm).

func (DblmVulnerability) String

func (m DblmVulnerability) String() string

func (DblmVulnerability) ValidateEnumValue

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

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

type DblmVulnerabilityLifecycleStateEnum

type DblmVulnerabilityLifecycleStateEnum string

DblmVulnerabilityLifecycleStateEnum Enum with underlying type: string

const (
	DblmVulnerabilityLifecycleStateCreating       DblmVulnerabilityLifecycleStateEnum = "CREATING"
	DblmVulnerabilityLifecycleStateActive         DblmVulnerabilityLifecycleStateEnum = "ACTIVE"
	DblmVulnerabilityLifecycleStateFailed         DblmVulnerabilityLifecycleStateEnum = "FAILED"
	DblmVulnerabilityLifecycleStateNeedsAttention DblmVulnerabilityLifecycleStateEnum = "NEEDS_ATTENTION"
	DblmVulnerabilityLifecycleStateDeleting       DblmVulnerabilityLifecycleStateEnum = "DELETING"
	DblmVulnerabilityLifecycleStateDeleted        DblmVulnerabilityLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for DblmVulnerabilityLifecycleStateEnum

func GetDblmVulnerabilityLifecycleStateEnumValues

func GetDblmVulnerabilityLifecycleStateEnumValues() []DblmVulnerabilityLifecycleStateEnum

GetDblmVulnerabilityLifecycleStateEnumValues Enumerates the set of values for DblmVulnerabilityLifecycleStateEnum

func GetMappingDblmVulnerabilityLifecycleStateEnum

func GetMappingDblmVulnerabilityLifecycleStateEnum(val string) (DblmVulnerabilityLifecycleStateEnum, bool)

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

type GetVulnerabilityRequest

type GetVulnerabilityRequest struct {

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

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

	// A filter to return only database that match the given release version.
	DatabaseRelease *string `mandatory:"false" contributesTo:"query" name:"databaseRelease"`

	// A filter to return only resources their lifecycleState matches the given lifecycleState.
	LifecycleState DblmVulnerabilityLifecycleStateEnum `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
}

GetVulnerabilityRequest wrapper for the GetVulnerability operation

See also

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

func (GetVulnerabilityRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetVulnerabilityRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetVulnerabilityRequest) RetryPolicy

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

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

func (GetVulnerabilityRequest) String

func (request GetVulnerabilityRequest) String() string

func (GetVulnerabilityRequest) ValidateEnumValue

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

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

type GetVulnerabilityResponse

type GetVulnerabilityResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

GetVulnerabilityResponse wrapper for the GetVulnerability operation

func (GetVulnerabilityResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetVulnerabilityResponse) String

func (response GetVulnerabilityResponse) String() string

type GetVulnerabilityScanRequest

type GetVulnerabilityScanRequest struct {

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VulnerabilityScan.
	VulnerabilityScanId *string `mandatory:"true" contributesTo:"path" name:"vulnerabilityScanId"`

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

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

GetVulnerabilityScanRequest wrapper for the GetVulnerabilityScan operation

See also

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

func (GetVulnerabilityScanRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetVulnerabilityScanRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetVulnerabilityScanRequest) RetryPolicy

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

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

func (GetVulnerabilityScanRequest) String

func (request GetVulnerabilityScanRequest) String() string

func (GetVulnerabilityScanRequest) ValidateEnumValue

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

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

type GetVulnerabilityScanResponse

type GetVulnerabilityScanResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

GetVulnerabilityScanResponse wrapper for the GetVulnerabilityScan operation

func (GetVulnerabilityScanResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetVulnerabilityScanResponse) String

func (response GetVulnerabilityScanResponse) String() string

type GetWorkRequestRequest

type GetWorkRequestRequest struct {

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

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

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

GetWorkRequestRequest wrapper for the GetWorkRequest operation

See also

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

func (GetWorkRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetWorkRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy

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

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

func (GetWorkRequestRequest) String

func (request GetWorkRequestRequest) String() string

func (GetWorkRequestRequest) ValidateEnumValue

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

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

type GetWorkRequestResponse

type GetWorkRequestResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

	// A decimal number representing the number of seconds the client should wait before polling this endpoint again.
	RetryAfter *int `presentIn:"header" name:"retry-after"`
}

GetWorkRequestResponse wrapper for the GetWorkRequest operation

func (GetWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String

func (response GetWorkRequestResponse) String() string

type HostInfo

type HostInfo struct {

	// The name of the host.
	HostName *string `mandatory:"true" json:"hostName"`

	// Number of host cores.
	HostCores *int `mandatory:"true" json:"hostCores"`
}

HostInfo The Host Info.

func (HostInfo) String

func (m HostInfo) String() string

func (HostInfo) ValidateEnumValue

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

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

type ListAggregatedVulnerabilityDataRequest

type ListAggregatedVulnerabilityDataRequest struct {

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

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

	// The created greater than.
	TimeCreatedGreaterThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedGreaterThan"`

	// The time ended less than.
	TimeEndedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeEndedLessThan"`

	// A filter to return only database that match the given release version.
	DatabaseRelease *string `mandatory:"false" contributesTo:"query" name:"databaseRelease"`

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

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

	// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

ListAggregatedVulnerabilityDataRequest wrapper for the ListAggregatedVulnerabilityData operation

See also

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

func (ListAggregatedVulnerabilityDataRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListAggregatedVulnerabilityDataRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListAggregatedVulnerabilityDataRequest) RetryPolicy

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

func (ListAggregatedVulnerabilityDataRequest) String

func (ListAggregatedVulnerabilityDataRequest) ValidateEnumValue

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

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

type ListAggregatedVulnerabilityDataResponse

type ListAggregatedVulnerabilityDataResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

ListAggregatedVulnerabilityDataResponse wrapper for the ListAggregatedVulnerabilityData operation

func (ListAggregatedVulnerabilityDataResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListAggregatedVulnerabilityDataResponse) String

type ListNotificationsRequest

type ListNotificationsRequest struct {

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

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

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

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

ListNotificationsRequest wrapper for the ListNotifications operation

See also

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

func (ListNotificationsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListNotificationsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListNotificationsRequest) RetryPolicy

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

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

func (ListNotificationsRequest) String

func (request ListNotificationsRequest) String() string

func (ListNotificationsRequest) ValidateEnumValue

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

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

type ListNotificationsResponse

type ListNotificationsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

ListNotificationsResponse wrapper for the ListNotifications operation

func (ListNotificationsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListNotificationsResponse) String

func (response ListNotificationsResponse) String() string

type ListVulnerabilitiesRequest

type ListVulnerabilitiesRequest struct {

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

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

	// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

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

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

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

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

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

	// A filter to return only database that match the given release version.
	DatabaseRelease *string `mandatory:"false" contributesTo:"query" name:"databaseRelease"`

	// A filter to return only resources that match the given resource id.
	ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`

	// Filter by one or more severity types.
	// Possible values are critical, high, medium, low, info.
	SeverityType []VulnerabilityRiskLevelEnum `contributesTo:"query" name:"severityType" omitEmpty:"true" collectionFormat:"multi"`

	// The search input for filter cve id and cve description.
	SearchBy *string `mandatory:"false" contributesTo:"query" name:"searchBy"`

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

ListVulnerabilitiesRequest wrapper for the ListVulnerabilities operation

See also

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

func (ListVulnerabilitiesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListVulnerabilitiesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListVulnerabilitiesRequest) RetryPolicy

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

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

func (ListVulnerabilitiesRequest) String

func (request ListVulnerabilitiesRequest) String() string

func (ListVulnerabilitiesRequest) ValidateEnumValue

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

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

type ListVulnerabilitiesResponse

type ListVulnerabilitiesResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

ListVulnerabilitiesResponse wrapper for the ListVulnerabilities operation

func (ListVulnerabilitiesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListVulnerabilitiesResponse) String

func (response ListVulnerabilitiesResponse) String() string

type ListVulnerabilitiesSortByEnum

type ListVulnerabilitiesSortByEnum string

ListVulnerabilitiesSortByEnum Enum with underlying type: string

const (
	ListVulnerabilitiesSortByCveid               ListVulnerabilitiesSortByEnum = "cveId"
	ListVulnerabilitiesSortByVulnerableresources ListVulnerabilitiesSortByEnum = "vulnerableResources"
)

Set of constants representing the allowable values for ListVulnerabilitiesSortByEnum

func GetListVulnerabilitiesSortByEnumValues

func GetListVulnerabilitiesSortByEnumValues() []ListVulnerabilitiesSortByEnum

GetListVulnerabilitiesSortByEnumValues Enumerates the set of values for ListVulnerabilitiesSortByEnum

func GetMappingListVulnerabilitiesSortByEnum

func GetMappingListVulnerabilitiesSortByEnum(val string) (ListVulnerabilitiesSortByEnum, bool)

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

type ListVulnerabilitiesSortOrderEnum

type ListVulnerabilitiesSortOrderEnum string

ListVulnerabilitiesSortOrderEnum Enum with underlying type: string

const (
	ListVulnerabilitiesSortOrderAsc  ListVulnerabilitiesSortOrderEnum = "ASC"
	ListVulnerabilitiesSortOrderDesc ListVulnerabilitiesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListVulnerabilitiesSortOrderEnum

func GetListVulnerabilitiesSortOrderEnumValues

func GetListVulnerabilitiesSortOrderEnumValues() []ListVulnerabilitiesSortOrderEnum

GetListVulnerabilitiesSortOrderEnumValues Enumerates the set of values for ListVulnerabilitiesSortOrderEnum

func GetMappingListVulnerabilitiesSortOrderEnum

func GetMappingListVulnerabilitiesSortOrderEnum(val string) (ListVulnerabilitiesSortOrderEnum, bool)

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

type ListVulnerabilityResourcesPatchRecommendationEnum

type ListVulnerabilityResourcesPatchRecommendationEnum string

ListVulnerabilityResourcesPatchRecommendationEnum Enum with underlying type: string

const (
	ListVulnerabilityResourcesPatchRecommendationUptodate       ListVulnerabilityResourcesPatchRecommendationEnum = "upToDate"
	ListVulnerabilityResourcesPatchRecommendationPatchavailable ListVulnerabilityResourcesPatchRecommendationEnum = "patchAvailable"
)

Set of constants representing the allowable values for ListVulnerabilityResourcesPatchRecommendationEnum

func GetListVulnerabilityResourcesPatchRecommendationEnumValues

func GetListVulnerabilityResourcesPatchRecommendationEnumValues() []ListVulnerabilityResourcesPatchRecommendationEnum

GetListVulnerabilityResourcesPatchRecommendationEnumValues Enumerates the set of values for ListVulnerabilityResourcesPatchRecommendationEnum

func GetMappingListVulnerabilityResourcesPatchRecommendationEnum

func GetMappingListVulnerabilityResourcesPatchRecommendationEnum(val string) (ListVulnerabilityResourcesPatchRecommendationEnum, bool)

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

type ListVulnerabilityResourcesRequest

type ListVulnerabilityResourcesRequest struct {

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

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

	// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

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

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

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

	// A filter to return only database that match the given release version.
	DatabaseRelease *string `mandatory:"false" contributesTo:"query" name:"databaseRelease"`

	// The id of a CVE.
	CveId *string `mandatory:"false" contributesTo:"query" name:"cveId"`

	// Filter by one or more severity types.
	// Possible values are critical, high, medium, low, info and none.
	SeverityType []ResourcesSeveritiesEnum `contributesTo:"query" name:"severityType" omitEmpty:"true" collectionFormat:"multi"`

	// Filter by one or more severity types.
	// Possible values are upToDate, patchAvailable
	PatchRecommendation []ListVulnerabilityResourcesPatchRecommendationEnum `contributesTo:"query" name:"patchRecommendation" omitEmpty:"true" collectionFormat:"multi"`

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

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

ListVulnerabilityResourcesRequest wrapper for the ListVulnerabilityResources operation

See also

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

func (ListVulnerabilityResourcesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListVulnerabilityResourcesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListVulnerabilityResourcesRequest) RetryPolicy

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

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

func (ListVulnerabilityResourcesRequest) String

func (request ListVulnerabilityResourcesRequest) String() string

func (ListVulnerabilityResourcesRequest) ValidateEnumValue

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

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

type ListVulnerabilityResourcesResponse

type ListVulnerabilityResourcesResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

ListVulnerabilityResourcesResponse wrapper for the ListVulnerabilityResources operation

func (ListVulnerabilityResourcesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListVulnerabilityResourcesResponse) String

func (response ListVulnerabilityResourcesResponse) String() string

type ListVulnerabilityResourcesSortByEnum

type ListVulnerabilityResourcesSortByEnum string

ListVulnerabilityResourcesSortByEnum Enum with underlying type: string

const (
	ListVulnerabilityResourcesSortByTimecreated        ListVulnerabilityResourcesSortByEnum = "timeCreated"
	ListVulnerabilityResourcesSortByDisplayname        ListVulnerabilityResourcesSortByEnum = "displayName"
	ListVulnerabilityResourcesSortByVulnerabilitycount ListVulnerabilityResourcesSortByEnum = "vulnerabilityCount"
)

Set of constants representing the allowable values for ListVulnerabilityResourcesSortByEnum

func GetListVulnerabilityResourcesSortByEnumValues

func GetListVulnerabilityResourcesSortByEnumValues() []ListVulnerabilityResourcesSortByEnum

GetListVulnerabilityResourcesSortByEnumValues Enumerates the set of values for ListVulnerabilityResourcesSortByEnum

func GetMappingListVulnerabilityResourcesSortByEnum

func GetMappingListVulnerabilityResourcesSortByEnum(val string) (ListVulnerabilityResourcesSortByEnum, bool)

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

type ListVulnerabilityResourcesSortOrderEnum

type ListVulnerabilityResourcesSortOrderEnum string

ListVulnerabilityResourcesSortOrderEnum Enum with underlying type: string

const (
	ListVulnerabilityResourcesSortOrderAsc  ListVulnerabilityResourcesSortOrderEnum = "ASC"
	ListVulnerabilityResourcesSortOrderDesc ListVulnerabilityResourcesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListVulnerabilityResourcesSortOrderEnum

func GetListVulnerabilityResourcesSortOrderEnumValues

func GetListVulnerabilityResourcesSortOrderEnumValues() []ListVulnerabilityResourcesSortOrderEnum

GetListVulnerabilityResourcesSortOrderEnumValues Enumerates the set of values for ListVulnerabilityResourcesSortOrderEnum

func GetMappingListVulnerabilityResourcesSortOrderEnum

func GetMappingListVulnerabilityResourcesSortOrderEnum(val string) (ListVulnerabilityResourcesSortOrderEnum, bool)

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

type ListVulnerabilityScansRequest

type ListVulnerabilityScansRequest struct {

	// The ID of the vulnerability scan.
	VulnerabilityScanId *string `mandatory:"false" contributesTo:"query" name:"vulnerabilityScanId"`

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

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

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

	// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

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

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

	// The created greater than.
	TimeCreatedGreaterThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedGreaterThan"`

	// The time ended less than.
	TimeEndedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeEndedLessThan"`

	// Filter by one or more vulnerability scan status.
	// Possible values are completed, running, completed with error, aborted.
	VulnerabilityScanStatus []ListVulnerabilityScansVulnerabilityScanStatusEnum `contributesTo:"query" name:"vulnerabilityScanStatus" omitEmpty:"true" collectionFormat:"multi"`

	// The scan type to use is 'CVE', 'PATCH' or 'IMAGE_PATCH'.
	VulnerabilityScanType ListVulnerabilityScansVulnerabilityScanTypeEnum `mandatory:"false" contributesTo:"query" name:"vulnerabilityScanType" 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
}

ListVulnerabilityScansRequest wrapper for the ListVulnerabilityScans operation

See also

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

func (ListVulnerabilityScansRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListVulnerabilityScansRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListVulnerabilityScansRequest) RetryPolicy

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

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

func (ListVulnerabilityScansRequest) String

func (request ListVulnerabilityScansRequest) String() string

func (ListVulnerabilityScansRequest) ValidateEnumValue

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

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

type ListVulnerabilityScansResponse

type ListVulnerabilityScansResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

ListVulnerabilityScansResponse wrapper for the ListVulnerabilityScans operation

func (ListVulnerabilityScansResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListVulnerabilityScansResponse) String

func (response ListVulnerabilityScansResponse) String() string

type ListVulnerabilityScansSortByEnum

type ListVulnerabilityScansSortByEnum string

ListVulnerabilityScansSortByEnum Enum with underlying type: string

const (
	ListVulnerabilityScansSortById          ListVulnerabilityScansSortByEnum = "id"
	ListVulnerabilityScansSortByDisplayname ListVulnerabilityScansSortByEnum = "displayName"
	ListVulnerabilityScansSortByTimecreated ListVulnerabilityScansSortByEnum = "timeCreated"
	ListVulnerabilityScansSortByTimeended   ListVulnerabilityScansSortByEnum = "timeEnded"
)

Set of constants representing the allowable values for ListVulnerabilityScansSortByEnum

func GetListVulnerabilityScansSortByEnumValues

func GetListVulnerabilityScansSortByEnumValues() []ListVulnerabilityScansSortByEnum

GetListVulnerabilityScansSortByEnumValues Enumerates the set of values for ListVulnerabilityScansSortByEnum

func GetMappingListVulnerabilityScansSortByEnum

func GetMappingListVulnerabilityScansSortByEnum(val string) (ListVulnerabilityScansSortByEnum, bool)

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

type ListVulnerabilityScansSortOrderEnum

type ListVulnerabilityScansSortOrderEnum string

ListVulnerabilityScansSortOrderEnum Enum with underlying type: string

const (
	ListVulnerabilityScansSortOrderAsc  ListVulnerabilityScansSortOrderEnum = "ASC"
	ListVulnerabilityScansSortOrderDesc ListVulnerabilityScansSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListVulnerabilityScansSortOrderEnum

func GetListVulnerabilityScansSortOrderEnumValues

func GetListVulnerabilityScansSortOrderEnumValues() []ListVulnerabilityScansSortOrderEnum

GetListVulnerabilityScansSortOrderEnumValues Enumerates the set of values for ListVulnerabilityScansSortOrderEnum

func GetMappingListVulnerabilityScansSortOrderEnum

func GetMappingListVulnerabilityScansSortOrderEnum(val string) (ListVulnerabilityScansSortOrderEnum, bool)

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

type ListVulnerabilityScansVulnerabilityScanStatusEnum

type ListVulnerabilityScansVulnerabilityScanStatusEnum string

ListVulnerabilityScansVulnerabilityScanStatusEnum Enum with underlying type: string

const (
	ListVulnerabilityScansVulnerabilityScanStatusCompleted ListVulnerabilityScansVulnerabilityScanStatusEnum = "COMPLETED"
	ListVulnerabilityScansVulnerabilityScanStatusError     ListVulnerabilityScansVulnerabilityScanStatusEnum = "ERROR"
	ListVulnerabilityScansVulnerabilityScanStatusRunning   ListVulnerabilityScansVulnerabilityScanStatusEnum = "RUNNING"
	ListVulnerabilityScansVulnerabilityScanStatusAborted   ListVulnerabilityScansVulnerabilityScanStatusEnum = "ABORTED"
)

Set of constants representing the allowable values for ListVulnerabilityScansVulnerabilityScanStatusEnum

func GetListVulnerabilityScansVulnerabilityScanStatusEnumValues

func GetListVulnerabilityScansVulnerabilityScanStatusEnumValues() []ListVulnerabilityScansVulnerabilityScanStatusEnum

GetListVulnerabilityScansVulnerabilityScanStatusEnumValues Enumerates the set of values for ListVulnerabilityScansVulnerabilityScanStatusEnum

func GetMappingListVulnerabilityScansVulnerabilityScanStatusEnum

func GetMappingListVulnerabilityScansVulnerabilityScanStatusEnum(val string) (ListVulnerabilityScansVulnerabilityScanStatusEnum, bool)

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

type ListVulnerabilityScansVulnerabilityScanTypeEnum

type ListVulnerabilityScansVulnerabilityScanTypeEnum string

ListVulnerabilityScansVulnerabilityScanTypeEnum Enum with underlying type: string

const (
	ListVulnerabilityScansVulnerabilityScanTypeCve        ListVulnerabilityScansVulnerabilityScanTypeEnum = "CVE"
	ListVulnerabilityScansVulnerabilityScanTypePatch      ListVulnerabilityScansVulnerabilityScanTypeEnum = "PATCH"
	ListVulnerabilityScansVulnerabilityScanTypeImagePatch ListVulnerabilityScansVulnerabilityScanTypeEnum = "IMAGE_PATCH"
)

Set of constants representing the allowable values for ListVulnerabilityScansVulnerabilityScanTypeEnum

func GetListVulnerabilityScansVulnerabilityScanTypeEnumValues

func GetListVulnerabilityScansVulnerabilityScanTypeEnumValues() []ListVulnerabilityScansVulnerabilityScanTypeEnum

GetListVulnerabilityScansVulnerabilityScanTypeEnumValues Enumerates the set of values for ListVulnerabilityScansVulnerabilityScanTypeEnum

func GetMappingListVulnerabilityScansVulnerabilityScanTypeEnum

func GetMappingListVulnerabilityScansVulnerabilityScanTypeEnum(val string) (ListVulnerabilityScansVulnerabilityScanTypeEnum, bool)

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

type ListWorkRequestErrorsRequest

type ListWorkRequestErrorsRequest struct {

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

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

	// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

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

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

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

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

See also

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

func (ListWorkRequestErrorsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy

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

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

func (ListWorkRequestErrorsRequest) String

func (request ListWorkRequestErrorsRequest) String() string

func (ListWorkRequestErrorsRequest) ValidateEnumValue

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

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

type ListWorkRequestErrorsResponse

type ListWorkRequestErrorsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

func (ListWorkRequestErrorsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestErrorsSortByEnum

type ListWorkRequestErrorsSortByEnum string

ListWorkRequestErrorsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestErrorsSortByTimestamp ListWorkRequestErrorsSortByEnum = "timestamp"
)

Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortByEnumValues

func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum

GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)

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

type ListWorkRequestErrorsSortOrderEnum

type ListWorkRequestErrorsSortOrderEnum string

ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestErrorsSortOrderEnumValues

func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum

GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)

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

type ListWorkRequestLogsRequest

type ListWorkRequestLogsRequest struct {

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

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

	// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

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

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

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

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

See also

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

func (ListWorkRequestLogsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestLogsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy

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

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

func (ListWorkRequestLogsRequest) String

func (request ListWorkRequestLogsRequest) String() string

func (ListWorkRequestLogsRequest) ValidateEnumValue

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

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

type ListWorkRequestLogsResponse

type ListWorkRequestLogsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

func (ListWorkRequestLogsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestLogsSortByEnum

type ListWorkRequestLogsSortByEnum string

ListWorkRequestLogsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestLogsSortByTimestamp ListWorkRequestLogsSortByEnum = "timestamp"
)

Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortByEnumValues

func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum

GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)

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

type ListWorkRequestLogsSortOrderEnum

type ListWorkRequestLogsSortOrderEnum string

ListWorkRequestLogsSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestLogsSortOrderEnumValues

func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum

GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)

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

type ListWorkRequestsRequest

type ListWorkRequestsRequest struct {

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

	// The ID of the asynchronous work request.
	WorkRequestId *string `mandatory:"false" contributesTo:"query" name:"workRequestId"`

	// A filter to return only resources their lifecycleState matches the given OperationStatus.
	Status ListWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"`

	// The ID of the resource affected by the work request.
	ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`

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

	// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

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

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

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

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

See also

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

func (ListWorkRequestsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy

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

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

func (ListWorkRequestsRequest) String

func (request ListWorkRequestsRequest) String() string

func (ListWorkRequestsRequest) ValidateEnumValue

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

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

type ListWorkRequestsResponse

type ListWorkRequestsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

func (ListWorkRequestsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String

func (response ListWorkRequestsResponse) String() string

type ListWorkRequestsSortByEnum

type ListWorkRequestsSortByEnum string

ListWorkRequestsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
)

Set of constants representing the allowable values for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortByEnumValues

func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum

GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)

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

type ListWorkRequestsSortOrderEnum

type ListWorkRequestsSortOrderEnum string

ListWorkRequestsSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum

func GetListWorkRequestsSortOrderEnumValues

func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum

GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)

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

type ListWorkRequestsStatusEnum

type ListWorkRequestsStatusEnum string

ListWorkRequestsStatusEnum Enum with underlying type: string

const (
	ListWorkRequestsStatusAccepted       ListWorkRequestsStatusEnum = "ACCEPTED"
	ListWorkRequestsStatusInProgress     ListWorkRequestsStatusEnum = "IN_PROGRESS"
	ListWorkRequestsStatusWaiting        ListWorkRequestsStatusEnum = "WAITING"
	ListWorkRequestsStatusNeedsAttention ListWorkRequestsStatusEnum = "NEEDS_ATTENTION"
	ListWorkRequestsStatusFailed         ListWorkRequestsStatusEnum = "FAILED"
	ListWorkRequestsStatusSucceeded      ListWorkRequestsStatusEnum = "SUCCEEDED"
	ListWorkRequestsStatusCanceling      ListWorkRequestsStatusEnum = "CANCELING"
	ListWorkRequestsStatusCanceled       ListWorkRequestsStatusEnum = "CANCELED"
)

Set of constants representing the allowable values for ListWorkRequestsStatusEnum

func GetListWorkRequestsStatusEnumValues

func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum

GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum

func GetMappingListWorkRequestsStatusEnum

func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)

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

type MetricError

type MetricError struct {

	// Time the error record was generated
	TimeGenerated *common.SDKTime `mandatory:"true" json:"timeGenerated"`

	// Error type
	ErrorType *string `mandatory:"true" json:"errorType"`

	// Content type
	ContentType *string `mandatory:"true" json:"contentType"`

	// Data
	Data *string `mandatory:"true" json:"data"`

	// Subject
	Subject *string `mandatory:"true" json:"subject"`

	// Level
	Level *string `mandatory:"true" json:"level"`
}

MetricError Metric error content.

func (MetricError) String

func (m MetricError) String() string

func (MetricError) ValidateEnumValue

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

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

type NotificationCollection

type NotificationCollection struct {

	// Items for notifications.
	Items []NotificationSummary `mandatory:"true" json:"items"`
}

NotificationCollection Collection of notifications for new CVEs and CPUs.

func (NotificationCollection) String

func (m NotificationCollection) String() string

func (NotificationCollection) ValidateEnumValue

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

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

type NotificationSummary

type NotificationSummary struct {

	// Notification type
	NotificationType NotificationSummaryNotificationTypeEnum `mandatory:"true" json:"notificationType"`

	// Notification text
	NotificationText *string `mandatory:"true" json:"notificationText"`

	// Notification identifier.
	Id *string `mandatory:"true" json:"id"`

	// Published date
	TimePublished *common.SDKTime `mandatory:"true" json:"timePublished"`
}

NotificationSummary Notifications

func (NotificationSummary) String

func (m NotificationSummary) String() string

func (NotificationSummary) ValidateEnumValue

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

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

type NotificationSummaryNotificationTypeEnum

type NotificationSummaryNotificationTypeEnum string

NotificationSummaryNotificationTypeEnum Enum with underlying type: string

const (
	NotificationSummaryNotificationTypeCve      NotificationSummaryNotificationTypeEnum = "CVE"
	NotificationSummaryNotificationTypeAdvisory NotificationSummaryNotificationTypeEnum = "ADVISORY"
	NotificationSummaryNotificationTypePatch    NotificationSummaryNotificationTypeEnum = "PATCH"
)

Set of constants representing the allowable values for NotificationSummaryNotificationTypeEnum

func GetMappingNotificationSummaryNotificationTypeEnum

func GetMappingNotificationSummaryNotificationTypeEnum(val string) (NotificationSummaryNotificationTypeEnum, bool)

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

func GetNotificationSummaryNotificationTypeEnumValues

func GetNotificationSummaryNotificationTypeEnumValues() []NotificationSummaryNotificationTypeEnum

GetNotificationSummaryNotificationTypeEnumValues Enumerates the set of values for NotificationSummaryNotificationTypeEnum

type OperationStatusEnum

type OperationStatusEnum string

OperationStatusEnum Enum with underlying type: string

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

Set of constants representing the allowable values for OperationStatusEnum

func GetMappingOperationStatusEnum

func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)

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

func GetOperationStatusEnumValues

func GetOperationStatusEnumValues() []OperationStatusEnum

GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum

type OperationTypeEnum

type OperationTypeEnum string

OperationTypeEnum Enum with underlying type: string

const (
	OperationTypeDblmSubscribe            OperationTypeEnum = "DBLM_SUBSCRIBE"
	OperationTypeDblmEnable               OperationTypeEnum = "DBLM_ENABLE"
	OperationTypeScanVulCve               OperationTypeEnum = "SCAN_VUL_CVE"
	OperationTypeScanVulPatch             OperationTypeEnum = "SCAN_VUL_PATCH"
	OperationTypeScanVulImage             OperationTypeEnum = "SCAN_VUL_IMAGE"
	OperationTypeUpdateSubscription       OperationTypeEnum = "UPDATE_SUBSCRIPTION"
	OperationTypeUpdateSubscribedResource OperationTypeEnum = "UPDATE_SUBSCRIBED_RESOURCE"
	OperationTypeCreateSharedDatastore    OperationTypeEnum = "CREATE_SHARED_DATASTORE"
	OperationTypeDeleteSharedDatastore    OperationTypeEnum = "DELETE_SHARED_DATASTORE"
)

Set of constants representing the allowable values for OperationTypeEnum

func GetMappingOperationTypeEnum

func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)

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

func GetOperationTypeEnumValues

func GetOperationTypeEnumValues() []OperationTypeEnum

GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum

type PatchRecommendationSummary

type PatchRecommendationSummary struct {

	// Total number of databases pending to be updated and/or with latest patches.
	Total *int `mandatory:"true" json:"total"`

	// Number of databases with latest patches.
	UpToDate *int `mandatory:"true" json:"upToDate"`

	// Number of databases pending to be updated.
	PatchAvailable *int `mandatory:"true" json:"patchAvailable"`
}

PatchRecommendationSummary Total count summary of patch recommendations for databases.

func (PatchRecommendationSummary) String

func (PatchRecommendationSummary) ValidateEnumValue

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

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

type PatchRecommendationsDetailsSummary

type PatchRecommendationsDetailsSummary struct {

	// Name of the patch recommendation.
	PatchName *string `mandatory:"true" json:"patchName"`

	// Description of the patch recommendation.
	AbstractText *string `mandatory:"true" json:"abstractText"`

	// Classification of the patch recommendation.
	ClassificationName *string `mandatory:"true" json:"classificationName"`

	// Evaluation date for the patch recommendation.
	TimeEvaluated *common.SDKTime `mandatory:"true" json:"timeEvaluated"`

	// If the patch has a fix for a CVE.
	HasFixForCve *bool `mandatory:"true" json:"hasFixForCve"`

	// Release date for the patch.
	TimeReleased *common.SDKTime `mandatory:"true" json:"timeReleased"`
}

PatchRecommendationsDetailsSummary Summary of patch recommendations for databases.

func (PatchRecommendationsDetailsSummary) String

func (PatchRecommendationsDetailsSummary) ValidateEnumValue

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

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

type ResourceInfo

type ResourceInfo struct {

	// The compartmentId of the resource.
	ResourceCompartmentId *string `mandatory:"true" json:"resourceCompartmentId"`

	// The name of the resource.
	ResourceName *string `mandatory:"true" json:"resourceName"`

	// The Id of the resource.
	ResourceId *string `mandatory:"true" json:"resourceId"`

	// The type of the resource.
	ResourceType *string `mandatory:"true" json:"resourceType"`

	// The deployment type of the resource.
	DeploymentType *string `mandatory:"true" json:"deploymentType"`

	// The connector Id of the resource.
	ConnectorId *string `mandatory:"true" json:"connectorId"`

	// host info objects
	HostInfo []HostInfo `mandatory:"true" json:"hostInfo"`

	// The version of the resource.
	DbVersion *string `mandatory:"true" json:"dbVersion"`

	// The platform type of the resource.
	DbPlatformType *string `mandatory:"true" json:"dbPlatformType"`

	// The License Type of the resource.
	LicenseType *string `mandatory:"true" json:"licenseType"`

	// True if it is a cluster db.
	IsClusterDb *bool `mandatory:"false" json:"isClusterDb"`
}

ResourceInfo The Resource Info.

func (ResourceInfo) String

func (m ResourceInfo) String() string

func (ResourceInfo) ValidateEnumValue

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

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

type ResourceSummary

type ResourceSummary struct {

	// The total number of resources.
	TotalResourcesCount *int `mandatory:"true" json:"totalResourcesCount"`

	// The total number of registered resources.
	RegisteredResourcesCount *int `mandatory:"true" json:"registeredResourcesCount"`

	// The total number of resources that are not registered.
	NotRegisteredResourcesCount *int `mandatory:"true" json:"notRegisteredResourcesCount"`

	// Total number of resources that have 1 or more vulnerabilities.
	VulnerableResourcesCount *int `mandatory:"true" json:"vulnerableResourcesCount"`

	// Total number of resources that have 0 vulnerabilities.
	CleanResourcesCount *int `mandatory:"true" json:"cleanResourcesCount"`

	// Total number of resources that contain an error.
	ErrorResourcesCount *int `mandatory:"true" json:"errorResourcesCount"`
}

ResourceSummary Summary of dblm registered and unregistered resources.

func (ResourceSummary) String

func (m ResourceSummary) String() string

func (ResourceSummary) ValidateEnumValue

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

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

type ResourcesSeveritiesEnum

type ResourcesSeveritiesEnum string

ResourcesSeveritiesEnum Enum with underlying type: string

const (
	ResourcesSeveritiesCritical ResourcesSeveritiesEnum = "CRITICAL"
	ResourcesSeveritiesHigh     ResourcesSeveritiesEnum = "HIGH"
	ResourcesSeveritiesMedium   ResourcesSeveritiesEnum = "MEDIUM"
	ResourcesSeveritiesLow      ResourcesSeveritiesEnum = "LOW"
	ResourcesSeveritiesInfo     ResourcesSeveritiesEnum = "INFO"
	ResourcesSeveritiesNone     ResourcesSeveritiesEnum = "NONE"
)

Set of constants representing the allowable values for ResourcesSeveritiesEnum

func GetMappingResourcesSeveritiesEnum

func GetMappingResourcesSeveritiesEnum(val string) (ResourcesSeveritiesEnum, bool)

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

func GetResourcesSeveritiesEnumValues

func GetResourcesSeveritiesEnumValues() []ResourcesSeveritiesEnum

GetResourcesSeveritiesEnumValues Enumerates the set of values for ResourcesSeveritiesEnum

type SortOrderEnum

type SortOrderEnum string

SortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for SortOrderEnum

func GetMappingSortOrderEnum

func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)

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

func GetSortOrderEnumValues

func GetSortOrderEnumValues() []SortOrderEnum

GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum

type VulnerabilitiesSummary

type VulnerabilitiesSummary struct {

	// Total number of vulnerabilities.
	Total *int `mandatory:"true" json:"total"`

	// Cummulative number of resources that have critical level vulnerabilities.
	Critical *int `mandatory:"true" json:"critical"`

	// Cummulative number of resources that have high level vulnerabilities.
	High *int `mandatory:"true" json:"high"`

	// Cummulative number of resources that have medium level vulnerabilities.
	Medium *int `mandatory:"true" json:"medium"`

	// Cummulative number of resources that have info level vulnerabilities.
	Info *int `mandatory:"true" json:"info"`

	// Cummulative number of resources that have low level vulnerabilities.
	Low *int `mandatory:"true" json:"low"`
}

VulnerabilitiesSummary Summary of vulnerabilities found in registered resources grouped by severity.

func (VulnerabilitiesSummary) String

func (m VulnerabilitiesSummary) String() string

func (VulnerabilitiesSummary) ValidateEnumValue

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

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

type VulnerabilityCollection

type VulnerabilityCollection struct {

	// Collection of vulnerability summary items.
	Items []VulnerabilitySummary `mandatory:"true" json:"items"`
}

VulnerabilityCollection Collection of vulnerabilities, with aggregation for resources.

func (VulnerabilityCollection) String

func (m VulnerabilityCollection) String() string

func (VulnerabilityCollection) ValidateEnumValue

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

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

type VulnerabilityResourceCollection

type VulnerabilityResourceCollection struct {

	// Collection of assessed resources
	Items []VulnerabilityResourceSummary `mandatory:"true" json:"items"`
}

VulnerabilityResourceCollection Collection of assessed resources that may or may not have vulnerabilities

func (VulnerabilityResourceCollection) String

func (VulnerabilityResourceCollection) ValidateEnumValue

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

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

type VulnerabilityResourceSummary

type VulnerabilityResourceSummary struct {

	// The resource ID for this resource.
	Id *string `mandatory:"true" json:"id"`

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

	// A string representing the version of the resource.
	Version *string `mandatory:"true" json:"version"`

	// A string representing the release of the resource.
	Release *string `mandatory:"true" json:"release"`

	// A string representing the platform of the resource.
	Platform *string `mandatory:"true" json:"platform"`

	// Time when the latest configuration collection happened.
	TimeConfigCollected *common.SDKTime `mandatory:"true" json:"timeConfigCollected"`

	// Time when the latest scan happened for the resource.
	TimeScanEnded *common.SDKTime `mandatory:"true" json:"timeScanEnded"`

	// Identifier for the resource is subscribed to.
	ImageId *string `mandatory:"true" json:"imageId"`

	// Image the resource is subscribed to.
	SubscribedImage *string `mandatory:"true" json:"subscribedImage"`

	// Metric errors.
	MetricErrors []MetricError `mandatory:"true" json:"metricErrors"`

	// PDBs for a CDB.
	ChildPdbs []ChildPdb `mandatory:"true" json:"childPdbs"`

	// Summary of the resources that are registered and may or may not have vulnerabilities.
	VulnerabilitiesSummary *interface{} `mandatory:"true" json:"vulnerabilitiesSummary"`

	// Summary of the patch recommendations for databases.
	PatchRecommendationsSummary *interface{} `mandatory:"true" json:"patchRecommendationsSummary"`

	// List of the patch recommendations for databases
	PatchRecommendationsDetails []PatchRecommendationsDetailsSummary `mandatory:"true" json:"patchRecommendationsDetails"`
}

VulnerabilityResourceSummary The assessed Resources.

func (VulnerabilityResourceSummary) String

func (VulnerabilityResourceSummary) ValidateEnumValue

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

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

type VulnerabilityRiskLevelEnum

type VulnerabilityRiskLevelEnum string

VulnerabilityRiskLevelEnum Enum with underlying type: string

const (
	VulnerabilityRiskLevelCritical VulnerabilityRiskLevelEnum = "CRITICAL"
	VulnerabilityRiskLevelHigh     VulnerabilityRiskLevelEnum = "HIGH"
	VulnerabilityRiskLevelMedium   VulnerabilityRiskLevelEnum = "MEDIUM"
	VulnerabilityRiskLevelLow      VulnerabilityRiskLevelEnum = "LOW"
	VulnerabilityRiskLevelInfo     VulnerabilityRiskLevelEnum = "INFO"
)

Set of constants representing the allowable values for VulnerabilityRiskLevelEnum

func GetMappingVulnerabilityRiskLevelEnum

func GetMappingVulnerabilityRiskLevelEnum(val string) (VulnerabilityRiskLevelEnum, bool)

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

func GetVulnerabilityRiskLevelEnumValues

func GetVulnerabilityRiskLevelEnumValues() []VulnerabilityRiskLevelEnum

GetVulnerabilityRiskLevelEnumValues Enumerates the set of values for VulnerabilityRiskLevelEnum

type VulnerabilityScan

type VulnerabilityScan struct {

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

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

	// Scan type is CVE, PATCH or IMAGE_PATCH
	VulnerabilityScanType VulnerabilityScanVulnerabilityScanTypeEnum `mandatory:"true" json:"vulnerabilityScanType"`

	// The status of the vulnerability scan.
	VulnerabilityScanStatus VulnerabilityScanVulnerabilityScanStatusEnum `mandatory:"true" json:"vulnerabilityScanStatus"`

	// The message of the vulnerability scan status.
	VulnerabilityScanMessage *string `mandatory:"true" json:"vulnerabilityScanMessage"`

	// The date and time the VulnerabilityScan was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time the VulnerabilityScan was updated, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeEnded *common.SDKTime `mandatory:"true" json:"timeEnded"`

	// The current state of the VulnerabilityScan.
	LifecycleState VulnerabilityScanLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// A user-friendly name. It does not have to be unique, and it is changeable.
	DisplayName *string `mandatory:"false" json:"displayName"`

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

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

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

VulnerabilityScan A VulnerabilityScan is a description of a VulnerabilityScan. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm).

func (VulnerabilityScan) String

func (m VulnerabilityScan) String() string

func (VulnerabilityScan) ValidateEnumValue

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

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

type VulnerabilityScanCollection

type VulnerabilityScanCollection struct {

	// List of VulnerabilityScans.
	Items []VulnerabilityScanSummary `mandatory:"true" json:"items"`
}

VulnerabilityScanCollection Results of a VulnerabilityScan search. Contains list of VulnerabilityScanSummary items.

func (VulnerabilityScanCollection) String

func (VulnerabilityScanCollection) ValidateEnumValue

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

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

type VulnerabilityScanLifecycleStateEnum

type VulnerabilityScanLifecycleStateEnum string

VulnerabilityScanLifecycleStateEnum Enum with underlying type: string

const (
	VulnerabilityScanLifecycleStateCreating VulnerabilityScanLifecycleStateEnum = "CREATING"
	VulnerabilityScanLifecycleStateUpdating VulnerabilityScanLifecycleStateEnum = "UPDATING"
	VulnerabilityScanLifecycleStateActive   VulnerabilityScanLifecycleStateEnum = "ACTIVE"
	VulnerabilityScanLifecycleStateDeleting VulnerabilityScanLifecycleStateEnum = "DELETING"
	VulnerabilityScanLifecycleStateDeleted  VulnerabilityScanLifecycleStateEnum = "DELETED"
	VulnerabilityScanLifecycleStateFailed   VulnerabilityScanLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for VulnerabilityScanLifecycleStateEnum

func GetMappingVulnerabilityScanLifecycleStateEnum

func GetMappingVulnerabilityScanLifecycleStateEnum(val string) (VulnerabilityScanLifecycleStateEnum, bool)

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

func GetVulnerabilityScanLifecycleStateEnumValues

func GetVulnerabilityScanLifecycleStateEnumValues() []VulnerabilityScanLifecycleStateEnum

GetVulnerabilityScanLifecycleStateEnumValues Enumerates the set of values for VulnerabilityScanLifecycleStateEnum

type VulnerabilityScanSummary

type VulnerabilityScanSummary struct {

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

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

	// Vulnerability Scan Type.
	VulnerabilityScanType VulnerabilityScanVulnerabilityScanTypeEnum `mandatory:"true" json:"vulnerabilityScanType"`

	// The status of the scan.
	VulnerabilityScanStatus VulnerabilityScanVulnerabilityScanStatusEnum `mandatory:"true" json:"vulnerabilityScanStatus"`

	// The message of the scan status.
	VulnerabilityScanMessage *string `mandatory:"true" json:"vulnerabilityScanMessage"`

	// The date and time the VulnerabilityScan was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time the VulnerabilityScan was updated, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeEnded *common.SDKTime `mandatory:"true" json:"timeEnded"`

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

	// The current state of the PatchOperation.
	LifecycleState VulnerabilityScanLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

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

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

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

VulnerabilityScanSummary Summary information about a VulnerabilityScan.

func (VulnerabilityScanSummary) String

func (m VulnerabilityScanSummary) String() string

func (VulnerabilityScanSummary) ValidateEnumValue

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

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

type VulnerabilityScanVulnerabilityScanStatusEnum

type VulnerabilityScanVulnerabilityScanStatusEnum string

VulnerabilityScanVulnerabilityScanStatusEnum Enum with underlying type: string

const (
	VulnerabilityScanVulnerabilityScanStatusCompleted VulnerabilityScanVulnerabilityScanStatusEnum = "COMPLETED"
	VulnerabilityScanVulnerabilityScanStatusError     VulnerabilityScanVulnerabilityScanStatusEnum = "ERROR"
	VulnerabilityScanVulnerabilityScanStatusRunning   VulnerabilityScanVulnerabilityScanStatusEnum = "RUNNING"
	VulnerabilityScanVulnerabilityScanStatusAborted   VulnerabilityScanVulnerabilityScanStatusEnum = "ABORTED"
)

Set of constants representing the allowable values for VulnerabilityScanVulnerabilityScanStatusEnum

func GetMappingVulnerabilityScanVulnerabilityScanStatusEnum

func GetMappingVulnerabilityScanVulnerabilityScanStatusEnum(val string) (VulnerabilityScanVulnerabilityScanStatusEnum, bool)

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

func GetVulnerabilityScanVulnerabilityScanStatusEnumValues

func GetVulnerabilityScanVulnerabilityScanStatusEnumValues() []VulnerabilityScanVulnerabilityScanStatusEnum

GetVulnerabilityScanVulnerabilityScanStatusEnumValues Enumerates the set of values for VulnerabilityScanVulnerabilityScanStatusEnum

type VulnerabilityScanVulnerabilityScanTypeEnum

type VulnerabilityScanVulnerabilityScanTypeEnum string

VulnerabilityScanVulnerabilityScanTypeEnum Enum with underlying type: string

const (
	VulnerabilityScanVulnerabilityScanTypeCve        VulnerabilityScanVulnerabilityScanTypeEnum = "CVE"
	VulnerabilityScanVulnerabilityScanTypePatch      VulnerabilityScanVulnerabilityScanTypeEnum = "PATCH"
	VulnerabilityScanVulnerabilityScanTypeImagePatch VulnerabilityScanVulnerabilityScanTypeEnum = "IMAGE_PATCH"
)

Set of constants representing the allowable values for VulnerabilityScanVulnerabilityScanTypeEnum

func GetMappingVulnerabilityScanVulnerabilityScanTypeEnum

func GetMappingVulnerabilityScanVulnerabilityScanTypeEnum(val string) (VulnerabilityScanVulnerabilityScanTypeEnum, bool)

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

func GetVulnerabilityScanVulnerabilityScanTypeEnumValues

func GetVulnerabilityScanVulnerabilityScanTypeEnumValues() []VulnerabilityScanVulnerabilityScanTypeEnum

GetVulnerabilityScanVulnerabilityScanTypeEnumValues Enumerates the set of values for VulnerabilityScanVulnerabilityScanTypeEnum

type VulnerabilitySummary

type VulnerabilitySummary struct {

	// CVE vulnerability ID
	CveId *string `mandatory:"true" json:"cveId"`

	// Vulnerability description
	Description *string `mandatory:"true" json:"description"`

	// Risk level enumeration
	RiskLevel *string `mandatory:"true" json:"riskLevel"`

	// Vulnerability score
	Score *string `mandatory:"true" json:"score"`

	// Number of vulnerable resources
	VulnerableResourcesCount *int `mandatory:"true" json:"vulnerableResourcesCount"`
}

VulnerabilitySummary The vulnerability summary.

func (VulnerabilitySummary) String

func (m VulnerabilitySummary) String() string

func (VulnerabilitySummary) ValidateEnumValue

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

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

type WorkRequest

type WorkRequest struct {

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

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

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

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

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

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

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

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

	// The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

WorkRequest A description of workrequest status

func (WorkRequest) String

func (m WorkRequest) String() string

func (WorkRequest) ValidateEnumValue

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

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

type WorkRequestError

type WorkRequestError struct {

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

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

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

WorkRequestError An error encountered while executing a work request.

func (WorkRequestError) String

func (m WorkRequestError) String() string

func (WorkRequestError) ValidateEnumValue

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

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

type WorkRequestErrorCollection

type WorkRequestErrorCollection struct {

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

WorkRequestErrorCollection Results of a workRequestError search. Contains both WorkRequestError items and other information, such as metadata.

func (WorkRequestErrorCollection) String

func (WorkRequestErrorCollection) ValidateEnumValue

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

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

type WorkRequestLogEntry

type WorkRequestLogEntry struct {

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

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

WorkRequestLogEntry A log message from the execution of a work request.

func (WorkRequestLogEntry) String

func (m WorkRequestLogEntry) String() string

func (WorkRequestLogEntry) ValidateEnumValue

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

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

type WorkRequestLogEntryCollection

type WorkRequestLogEntryCollection struct {

	// List of workRequestLogEntries.
	Items []WorkRequestLogEntry `mandatory:"true" json:"items"`
}

WorkRequestLogEntryCollection Results of a workRequestLog search. Contains both workRequestLog items and other information, such as metadata.

func (WorkRequestLogEntryCollection) String

func (WorkRequestLogEntryCollection) ValidateEnumValue

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

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

type WorkRequestResource

type WorkRequestResource struct {

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

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

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

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

	// Additional information that helps to explain the resource.
	Metadata map[string]string `mandatory:"false" json:"metadata"`
}

WorkRequestResource A resource created or operated on by a work request.

func (WorkRequestResource) String

func (m WorkRequestResource) String() string

func (WorkRequestResource) ValidateEnumValue

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

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

type WorkRequestResourceMetadataKeyEnum

type WorkRequestResourceMetadataKeyEnum string

WorkRequestResourceMetadataKeyEnum Enum with underlying type: string

const (
	WorkRequestResourceMetadataKeyIsDryRun WorkRequestResourceMetadataKeyEnum = "IS_DRY_RUN"
)

Set of constants representing the allowable values for WorkRequestResourceMetadataKeyEnum

func GetMappingWorkRequestResourceMetadataKeyEnum

func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)

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

func GetWorkRequestResourceMetadataKeyEnumValues

func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum

GetWorkRequestResourceMetadataKeyEnumValues Enumerates the set of values for WorkRequestResourceMetadataKeyEnum

type WorkRequestSummary

type WorkRequestSummary struct {

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

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

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

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

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

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

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

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

	// The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

WorkRequestSummary A summary of the status of a work request.

func (WorkRequestSummary) String

func (m WorkRequestSummary) String() string

func (WorkRequestSummary) ValidateEnumValue

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

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

type WorkRequestSummaryCollection

type WorkRequestSummaryCollection struct {

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

WorkRequestSummaryCollection Results of a workRequest search. Contains both WorkRequest items and other information, such as metadata.

func (WorkRequestSummaryCollection) String

func (WorkRequestSummaryCollection) ValidateEnumValue

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

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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL