func GetActionTypeEnumStringValues() []string
GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum
func GetAdditionalPatchesCategoryEnumStringValues() []string
GetAdditionalPatchesCategoryEnumStringValues Enumerates the set of values in String for AdditionalPatchesCategoryEnum
func GetDatabasesSummaryDatabaseTypeEnumStringValues() []string
GetDatabasesSummaryDatabaseTypeEnumStringValues Enumerates the set of values in String for DatabasesSummaryDatabaseTypeEnum
func GetDatabasesSummaryLifecycleStateEnumStringValues() []string
GetDatabasesSummaryLifecycleStateEnumStringValues Enumerates the set of values in String for DatabasesSummaryLifecycleStateEnum
func GetDblmPatchManagementLifecycleStateEnumStringValues() []string
GetDblmPatchManagementLifecycleStateEnumStringValues Enumerates the set of values in String for DblmPatchManagementLifecycleStateEnum
func GetDblmVulnerabilityLifecycleStateEnumStringValues() []string
GetDblmVulnerabilityLifecycleStateEnumStringValues Enumerates the set of values in String for DblmVulnerabilityLifecycleStateEnum
func GetFppServerLifecycleStateEnumStringValues() []string
GetFppServerLifecycleStateEnumStringValues Enumerates the set of values in String for FppServerLifecycleStateEnum
func GetImageDetailsImageStatusEnumStringValues() []string
GetImageDetailsImageStatusEnumStringValues Enumerates the set of values in String for ImageDetailsImageStatusEnum
func GetListDatabasesDatabaseTypeEnumStringValues() []string
GetListDatabasesDatabaseTypeEnumStringValues Enumerates the set of values in String for ListDatabasesDatabaseTypeEnum
func GetListDatabasesImageComplianceEnumStringValues() []string
GetListDatabasesImageComplianceEnumStringValues Enumerates the set of values in String for ListDatabasesImageComplianceEnum
func GetListDatabasesSortByEnumStringValues() []string
GetListDatabasesSortByEnumStringValues Enumerates the set of values in String for ListDatabasesSortByEnum
func GetListDatabasesSortOrderEnumStringValues() []string
GetListDatabasesSortOrderEnumStringValues Enumerates the set of values in String for ListDatabasesSortOrderEnum
func GetListVulnerabilitiesSortByEnumStringValues() []string
GetListVulnerabilitiesSortByEnumStringValues Enumerates the set of values in String for ListVulnerabilitiesSortByEnum
func GetListVulnerabilitiesSortOrderEnumStringValues() []string
GetListVulnerabilitiesSortOrderEnumStringValues Enumerates the set of values in String for ListVulnerabilitiesSortOrderEnum
func GetListVulnerabilityResourcesPatchRecommendationEnumStringValues() []string
GetListVulnerabilityResourcesPatchRecommendationEnumStringValues Enumerates the set of values in String for ListVulnerabilityResourcesPatchRecommendationEnum
func GetListVulnerabilityResourcesSortByEnumStringValues() []string
GetListVulnerabilityResourcesSortByEnumStringValues Enumerates the set of values in String for ListVulnerabilityResourcesSortByEnum
func GetListVulnerabilityResourcesSortOrderEnumStringValues() []string
GetListVulnerabilityResourcesSortOrderEnumStringValues Enumerates the set of values in String for ListVulnerabilityResourcesSortOrderEnum
func GetListVulnerabilityScansSortByEnumStringValues() []string
GetListVulnerabilityScansSortByEnumStringValues Enumerates the set of values in String for ListVulnerabilityScansSortByEnum
func GetListVulnerabilityScansSortOrderEnumStringValues() []string
GetListVulnerabilityScansSortOrderEnumStringValues Enumerates the set of values in String for ListVulnerabilityScansSortOrderEnum
func GetListVulnerabilityScansVulnerabilityScanStatusEnumStringValues() []string
GetListVulnerabilityScansVulnerabilityScanStatusEnumStringValues Enumerates the set of values in String for ListVulnerabilityScansVulnerabilityScanStatusEnum
func GetListVulnerabilityScansVulnerabilityScanTypeEnumStringValues() []string
GetListVulnerabilityScansVulnerabilityScanTypeEnumStringValues Enumerates the set of values in String for ListVulnerabilityScansVulnerabilityScanTypeEnum
func GetListWorkRequestErrorsSortByEnumStringValues() []string
GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum
func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum
func GetListWorkRequestLogsSortByEnumStringValues() []string
GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum
func GetListWorkRequestLogsSortOrderEnumStringValues() []string
GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum
func GetListWorkRequestsSortByEnumStringValues() []string
GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum
func GetListWorkRequestsSortOrderEnumStringValues() []string
GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum
func GetListWorkRequestsStatusEnumStringValues() []string
GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum
func GetNotificationSummaryNotificationTypeEnumStringValues() []string
GetNotificationSummaryNotificationTypeEnumStringValues Enumerates the set of values in String for NotificationSummaryNotificationTypeEnum
func GetOperationStatusEnumStringValues() []string
GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum
func GetOperationTypeEnumStringValues() []string
GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum
func GetPatchActivityDetailsDeployStatusEnumStringValues() []string
GetPatchActivityDetailsDeployStatusEnumStringValues Enumerates the set of values in String for PatchActivityDetailsDeployStatusEnum
func GetPatchActivityDetailsMigrateListenerStatusEnumStringValues() []string
GetPatchActivityDetailsMigrateListenerStatusEnumStringValues Enumerates the set of values in String for PatchActivityDetailsMigrateListenerStatusEnum
func GetPatchActivityDetailsUpdateStatusEnumStringValues() []string
GetPatchActivityDetailsUpdateStatusEnumStringValues Enumerates the set of values in String for PatchActivityDetailsUpdateStatusEnum
func GetPatchComplianceDetailsPatchComplianceStatusEnumStringValues() []string
GetPatchComplianceDetailsPatchComplianceStatusEnumStringValues Enumerates the set of values in String for PatchComplianceDetailsPatchComplianceStatusEnum
func GetResourcesSeveritiesEnumStringValues() []string
GetResourcesSeveritiesEnumStringValues Enumerates the set of values in String for ResourcesSeveritiesEnum
func GetSortOrderEnumStringValues() []string
GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum
func GetVulnerabilityRiskLevelEnumStringValues() []string
GetVulnerabilityRiskLevelEnumStringValues Enumerates the set of values in String for VulnerabilityRiskLevelEnum
func GetVulnerabilityScanLifecycleStateEnumStringValues() []string
GetVulnerabilityScanLifecycleStateEnumStringValues Enumerates the set of values in String for VulnerabilityScanLifecycleStateEnum
func GetVulnerabilityScanVulnerabilityScanStatusEnumStringValues() []string
GetVulnerabilityScanVulnerabilityScanStatusEnumStringValues Enumerates the set of values in String for VulnerabilityScanVulnerabilityScanStatusEnum
func GetVulnerabilityScanVulnerabilityScanTypeEnumStringValues() []string
GetVulnerabilityScanVulnerabilityScanTypeEnumStringValues Enumerates the set of values in String for VulnerabilityScanVulnerabilityScanTypeEnum
func GetWorkRequestResourceMetadataKeyEnumStringValues() []string
GetWorkRequestResourceMetadataKeyEnumStringValues Enumerates the set of values in String for WorkRequestResourceMetadataKeyEnum
ActionTypeEnum Enum with underlying type: string
type ActionTypeEnum string
Set of constants representing the allowable values for ActionTypeEnum
const ( ActionTypeCreated ActionTypeEnum = "CREATED" ActionTypeUpdated ActionTypeEnum = "UPDATED" ActionTypeDeleted ActionTypeEnum = "DELETED" ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS" ActionTypeRelated ActionTypeEnum = "RELATED" ActionTypeFailed ActionTypeEnum = "FAILED" )
func GetActionTypeEnumValues() []ActionTypeEnum
GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
AdditionalPatches Summary of patch recommendations for image.
type AdditionalPatches struct { // Id for the patch recommendation. PatchId *int `mandatory:"false" json:"patchId"` // Name for the patch recommendation. PatchName *string `mandatory:"false" json:"patchName"` // Description of the patch recommendation. Description *string `mandatory:"false" json:"description"` // Shows if patch is recommended or is an additional patch from an existing database. Category AdditionalPatchesCategoryEnum `mandatory:"false" json:"category,omitempty"` }
func (m AdditionalPatches) String() string
func (m AdditionalPatches) 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
AdditionalPatchesCategoryEnum Enum with underlying type: string
type AdditionalPatchesCategoryEnum string
Set of constants representing the allowable values for AdditionalPatchesCategoryEnum
const ( AdditionalPatchesCategoryRecommended AdditionalPatchesCategoryEnum = "RECOMMENDED" AdditionalPatchesCategoryAdditionalPatch AdditionalPatchesCategoryEnum = "ADDITIONAL_PATCH" )
func GetAdditionalPatchesCategoryEnumValues() []AdditionalPatchesCategoryEnum
GetAdditionalPatchesCategoryEnumValues Enumerates the set of values for AdditionalPatchesCategoryEnum
func GetMappingAdditionalPatchesCategoryEnum(val string) (AdditionalPatchesCategoryEnum, bool)
GetMappingAdditionalPatchesCategoryEnum performs case Insensitive comparison on enum value and return the desired enum
AggregatedVulnerabilityCollection The aggregated vulnerability data.
type AggregatedVulnerabilityCollection struct { // List of data Items []AggregatedVulnerabilitySummary `mandatory:"true" json:"items"` }
func (m AggregatedVulnerabilityCollection) String() string
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
AggregatedVulnerabilitySummary Singular information of an aggregated vulnerability datapoint.
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"` }
func (m AggregatedVulnerabilitySummary) String() string
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
ChildPdb Child PDB for a CDB.
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"` }
func (m ChildPdb) String() string
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
CreateVulnerabilityScanDetails The data to create a VulnerabilityScan.
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"` }
func (m CreateVulnerabilityScanDetails) String() string
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
CreateVulnerabilityScanRequest wrapper for the CreateVulnerabilityScan operation
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.
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 }
func (request CreateVulnerabilityScanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateVulnerabilityScanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateVulnerabilityScanRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateVulnerabilityScanRequest) String() string
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
CreateVulnerabilityScanResponse wrapper for the CreateVulnerabilityScan operation
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"` }
func (response CreateVulnerabilityScanResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateVulnerabilityScanResponse) String() string
DatabasesSummary Summary of a databases.
type DatabasesSummary struct { // Database ocid. DatabaseId *string `mandatory:"true" json:"databaseId"` ImageDetails *ImageDetails `mandatory:"true" json:"imageDetails"` PatchComplianceDetails *PatchComplianceDetails `mandatory:"true" json:"patchComplianceDetails"` PatchActivityDetails *PatchActivityDetails `mandatory:"true" json:"patchActivityDetails"` // 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:"true" 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:"true" json:"definedTags"` // Database name. DatabaseName *string `mandatory:"false" json:"databaseName"` // Database type. DatabaseType DatabasesSummaryDatabaseTypeEnum `mandatory:"false" json:"databaseType,omitempty"` // Database release. Release *string `mandatory:"false" json:"release"` // Database release full version. ReleaseFullVersion *string `mandatory:"false" json:"releaseFullVersion"` // Path to the Oracle home. OracleHomePath *string `mandatory:"false" json:"oracleHomePath"` // This is the hashcode representing the list of patches applied. CurrentPatchWatermark *string `mandatory:"false" json:"currentPatchWatermark"` // For SI, hosted on host and for RAC, host on cluster. HostOrCluster *string `mandatory:"false" json:"hostOrCluster"` // Intermediate user to be used for patching, created and maintained by customers. This user requires sudo access to switch as Oracle home owner and root user PatchUser *string `mandatory:"false" json:"patchUser"` // Path to sudo binary (executable) file SudoFilePath *string `mandatory:"false" json:"sudoFilePath"` // List of additional patches on database. AdditionalPatches []AdditionalPatches `mandatory:"false" json:"additionalPatches"` // Summary of vulnerabilities found in registered resources grouped by severity. VulnerabilitiesSummary *interface{} `mandatory:"false" json:"vulnerabilitiesSummary"` // The current state of the database. LifecycleState DatabasesSummaryLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // 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"` }
func (m DatabasesSummary) String() string
func (m DatabasesSummary) 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
DatabasesSummaryDatabaseTypeEnum Enum with underlying type: string
type DatabasesSummaryDatabaseTypeEnum string
Set of constants representing the allowable values for DatabasesSummaryDatabaseTypeEnum
const ( DatabasesSummaryDatabaseTypeSi DatabasesSummaryDatabaseTypeEnum = "SI" DatabasesSummaryDatabaseTypeRac DatabasesSummaryDatabaseTypeEnum = "RAC" )
func GetDatabasesSummaryDatabaseTypeEnumValues() []DatabasesSummaryDatabaseTypeEnum
GetDatabasesSummaryDatabaseTypeEnumValues Enumerates the set of values for DatabasesSummaryDatabaseTypeEnum
func GetMappingDatabasesSummaryDatabaseTypeEnum(val string) (DatabasesSummaryDatabaseTypeEnum, bool)
GetMappingDatabasesSummaryDatabaseTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabasesSummaryLifecycleStateEnum Enum with underlying type: string
type DatabasesSummaryLifecycleStateEnum string
Set of constants representing the allowable values for DatabasesSummaryLifecycleStateEnum
const ( DatabasesSummaryLifecycleStateCreating DatabasesSummaryLifecycleStateEnum = "CREATING" DatabasesSummaryLifecycleStateUpdating DatabasesSummaryLifecycleStateEnum = "UPDATING" DatabasesSummaryLifecycleStateActive DatabasesSummaryLifecycleStateEnum = "ACTIVE" DatabasesSummaryLifecycleStateDeleting DatabasesSummaryLifecycleStateEnum = "DELETING" DatabasesSummaryLifecycleStateDeleted DatabasesSummaryLifecycleStateEnum = "DELETED" DatabasesSummaryLifecycleStateFailed DatabasesSummaryLifecycleStateEnum = "FAILED" )
func GetDatabasesSummaryLifecycleStateEnumValues() []DatabasesSummaryLifecycleStateEnum
GetDatabasesSummaryLifecycleStateEnumValues Enumerates the set of values for DatabasesSummaryLifecycleStateEnum
func GetMappingDatabasesSummaryLifecycleStateEnum(val string) (DatabasesSummaryLifecycleStateEnum, bool)
GetMappingDatabasesSummaryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
DbLifeCycleManagementClient a client for DbLifeCycleManagement
type DbLifeCycleManagementClient struct { common.BaseClient // contains filtered or unexported fields }
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(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 (client *DbLifeCycleManagementClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client DbLifeCycleManagementClient) CreateVulnerabilityScan(ctx context.Context, request CreateVulnerabilityScanRequest) (response CreateVulnerabilityScanResponse, err error)
CreateVulnerabilityScan Creates a VulnerabilityScan.
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 (client DbLifeCycleManagementClient) GetPatchManagement(ctx context.Context, request GetPatchManagementRequest) (response GetPatchManagementResponse, err error)
GetPatchManagement Overview of Patch Management.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dblm/GetPatchManagement.go.html to see an example of how to use GetPatchManagement API. A default retry strategy applies to this operation GetPatchManagement()
func (client DbLifeCycleManagementClient) GetVulnerability(ctx context.Context, request GetVulnerabilityRequest) (response GetVulnerabilityResponse, err error)
GetVulnerability Gets a Vulnerability
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 (client DbLifeCycleManagementClient) GetVulnerabilityScan(ctx context.Context, request GetVulnerabilityScanRequest) (response GetVulnerabilityScanResponse, err error)
GetVulnerabilityScan Gets information about a VulnerabilityScan.
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 (client DbLifeCycleManagementClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Gets details of the work request with the given ID.
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 (client DbLifeCycleManagementClient) ListAggregatedVulnerabilityData(ctx context.Context, request ListAggregatedVulnerabilityDataRequest) (response ListAggregatedVulnerabilityDataResponse, err error)
ListAggregatedVulnerabilityData Gets an AggregatedVulnerabilityData
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 (client DbLifeCycleManagementClient) ListDatabases(ctx context.Context, request ListDatabasesRequest) (response ListDatabasesResponse, err error)
ListDatabases Gets the list of databases
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dblm/ListDatabases.go.html to see an example of how to use ListDatabases API. A default retry strategy applies to this operation ListDatabases()
func (client DbLifeCycleManagementClient) ListNotifications(ctx context.Context, request ListNotificationsRequest) (response ListNotificationsResponse, err error)
ListNotifications List of notifications
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 (client DbLifeCycleManagementClient) ListVulnerabilities(ctx context.Context, request ListVulnerabilitiesRequest) (response ListVulnerabilitiesResponse, err error)
ListVulnerabilities Gets the vulnerabilities summary list
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 (client DbLifeCycleManagementClient) ListVulnerabilityResources(ctx context.Context, request ListVulnerabilityResourcesRequest) (response ListVulnerabilityResourcesResponse, err error)
ListVulnerabilityResources Lists the summary of vulnerable and clean resourcees
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 (client DbLifeCycleManagementClient) ListVulnerabilityScans(ctx context.Context, request ListVulnerabilityScansRequest) (response ListVulnerabilityScansResponse, err error)
ListVulnerabilityScans Gets a list of VulnerabilityScans.
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 (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.
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 (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.
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 (client DbLifeCycleManagementClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists the work requests in a compartment.
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 (client *DbLifeCycleManagementClient) SetRegion(region string)
SetRegion overrides the region of this client.
DblmPatchManagement Description of PatchManagement.
type DblmPatchManagement 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 Vulnerability was enabled. An RFC3339 formatted datetime string. TimeEnabled *common.SDKTime `mandatory:"false" json:"timeEnabled"` // The current state of the feature. LifecycleState DblmPatchManagementLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Summary of patch operations. PatchOperationsSummary *interface{} `mandatory:"false" json:"patchOperationsSummary"` // Summary of image patches recommended to install. ImagesPatchRecommendationSummary *interface{} `mandatory:"false" json:"imagesPatchRecommendationSummary"` // Summary of image patches to be compliant to install. ResourcesPatchComplianceSummary *interface{} `mandatory:"false" json:"resourcesPatchComplianceSummary"` // 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"` }
func (m DblmPatchManagement) String() string
func (m DblmPatchManagement) 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
DblmPatchManagementLifecycleStateEnum Enum with underlying type: string
type DblmPatchManagementLifecycleStateEnum string
Set of constants representing the allowable values for DblmPatchManagementLifecycleStateEnum
const ( DblmPatchManagementLifecycleStateCreating DblmPatchManagementLifecycleStateEnum = "CREATING" DblmPatchManagementLifecycleStateActive DblmPatchManagementLifecycleStateEnum = "ACTIVE" DblmPatchManagementLifecycleStateFailed DblmPatchManagementLifecycleStateEnum = "FAILED" DblmPatchManagementLifecycleStateNeedsAttention DblmPatchManagementLifecycleStateEnum = "NEEDS_ATTENTION" )
func GetDblmPatchManagementLifecycleStateEnumValues() []DblmPatchManagementLifecycleStateEnum
GetDblmPatchManagementLifecycleStateEnumValues Enumerates the set of values for DblmPatchManagementLifecycleStateEnum
func GetMappingDblmPatchManagementLifecycleStateEnum(val string) (DblmPatchManagementLifecycleStateEnum, bool)
GetMappingDblmPatchManagementLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
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).
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"` }
func (m DblmVulnerability) String() string
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
DblmVulnerabilityLifecycleStateEnum Enum with underlying type: string
type DblmVulnerabilityLifecycleStateEnum string
Set of constants representing the allowable values for DblmVulnerabilityLifecycleStateEnum
const ( DblmVulnerabilityLifecycleStateCreating DblmVulnerabilityLifecycleStateEnum = "CREATING" DblmVulnerabilityLifecycleStateActive DblmVulnerabilityLifecycleStateEnum = "ACTIVE" DblmVulnerabilityLifecycleStateFailed DblmVulnerabilityLifecycleStateEnum = "FAILED" DblmVulnerabilityLifecycleStateNeedsAttention DblmVulnerabilityLifecycleStateEnum = "NEEDS_ATTENTION" DblmVulnerabilityLifecycleStateDeleting DblmVulnerabilityLifecycleStateEnum = "DELETING" DblmVulnerabilityLifecycleStateDeleted DblmVulnerabilityLifecycleStateEnum = "DELETED" )
func GetDblmVulnerabilityLifecycleStateEnumValues() []DblmVulnerabilityLifecycleStateEnum
GetDblmVulnerabilityLifecycleStateEnumValues Enumerates the set of values for DblmVulnerabilityLifecycleStateEnum
func GetMappingDblmVulnerabilityLifecycleStateEnum(val string) (DblmVulnerabilityLifecycleStateEnum, bool)
GetMappingDblmVulnerabilityLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
FppServer Description of FPP Server.
type FppServer struct { // Unique identifier that is immutable on creation Id *string `mandatory:"true" json:"id"` // FPP Server Identifier, can be renamed DisplayName *string `mandatory:"true" json:"displayName"` // Compartment Identifier CompartmentId *string `mandatory:"true" json:"compartmentId"` // The time the the FPP server was created. An RFC3339 formatted datetime string TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The current state of the FPP server. LifecycleState FppServerLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // 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:"true" 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:"true" json:"definedTags"` // Unique Management Agent identifier ManagementAgentId *string `mandatory:"false" json:"managementAgentId"` // Unique Management Agent Compartment identifier MacAgentCompartmentId *string `mandatory:"false" json:"macAgentCompartmentId"` // REST endpoint URL of FPP Server FppRestUrl *string `mandatory:"false" json:"fppRestUrl"` // Absolute path of JKS Trust Store TrustStoreLocation *string `mandatory:"false" json:"trustStoreLocation"` // JKS Trust Store Password TrustStorePassword *string `mandatory:"false" json:"trustStorePassword"` // FPP REST User Name RestUserName *string `mandatory:"false" json:"restUserName"` // FPP REST User Password RestUserPassword *string `mandatory:"false" json:"restUserPassword"` // The time the FPP server was updated. An RFC3339 formatted datetime string TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // 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"` }
func (m FppServer) String() string
func (m FppServer) 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
FppServerLifecycleStateEnum Enum with underlying type: string
type FppServerLifecycleStateEnum string
Set of constants representing the allowable values for FppServerLifecycleStateEnum
const ( FppServerLifecycleStateCreating FppServerLifecycleStateEnum = "CREATING" FppServerLifecycleStateUpdating FppServerLifecycleStateEnum = "UPDATING" FppServerLifecycleStateActive FppServerLifecycleStateEnum = "ACTIVE" FppServerLifecycleStateDeleting FppServerLifecycleStateEnum = "DELETING" FppServerLifecycleStateDeleted FppServerLifecycleStateEnum = "DELETED" FppServerLifecycleStateFailed FppServerLifecycleStateEnum = "FAILED" )
func GetFppServerLifecycleStateEnumValues() []FppServerLifecycleStateEnum
GetFppServerLifecycleStateEnumValues Enumerates the set of values for FppServerLifecycleStateEnum
func GetMappingFppServerLifecycleStateEnum(val string) (FppServerLifecycleStateEnum, bool)
GetMappingFppServerLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
GetPatchManagementRequest wrapper for the GetPatchManagement operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dblm/GetPatchManagement.go.html to see an example of how to use GetPatchManagementRequest.
type GetPatchManagementRequest 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"` // A filter to return only resources whose timeStarted is greater than or equal to the given date-time. TimeStartedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeStartedGreaterThanOrEqualTo"` // A filter to return only resources whose timeStarted is less than the given date-time. TimeStartedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeStartedLessThan"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetPatchManagementRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetPatchManagementRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetPatchManagementRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetPatchManagementRequest) String() string
func (request GetPatchManagementRequest) 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
GetPatchManagementResponse wrapper for the GetPatchManagement operation
type GetPatchManagementResponse struct { // The underlying http response RawResponse *http.Response // The DblmPatchManagement instance DblmPatchManagement `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetPatchManagementResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetPatchManagementResponse) String() string
GetVulnerabilityRequest wrapper for the GetVulnerability operation
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.
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 }
func (request GetVulnerabilityRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetVulnerabilityRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetVulnerabilityRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetVulnerabilityRequest) String() string
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
GetVulnerabilityResponse wrapper for the GetVulnerability operation
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"` }
func (response GetVulnerabilityResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetVulnerabilityResponse) String() string
GetVulnerabilityScanRequest wrapper for the GetVulnerabilityScan operation
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.
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 }
func (request GetVulnerabilityScanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetVulnerabilityScanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetVulnerabilityScanRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetVulnerabilityScanRequest) String() string
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
GetVulnerabilityScanResponse wrapper for the GetVulnerabilityScan operation
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"` }
func (response GetVulnerabilityScanResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetVulnerabilityScanResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
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.
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 }
func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetWorkRequestRequest) String() string
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
GetWorkRequestResponse wrapper for the GetWorkRequest operation
type GetWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // The WorkRequest instance WorkRequest `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // A decimal number representing the number of seconds the client should wait before polling this endpoint again. RetryAfter *int `presentIn:"header" name:"retry-after"` }
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetWorkRequestResponse) String() string
HostInfo The Host Info.
type HostInfo struct { // The name of the host. HostName *string `mandatory:"true" json:"hostName"` // Number of host cores. HostCores *int `mandatory:"true" json:"hostCores"` }
func (m HostInfo) String() string
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
ImageDetails Image details containing the subscribed image, its status, version, owner and time of creation.
type ImageDetails struct { // Image identifier. ImageId *string `mandatory:"false" json:"imageId"` // Subscribed image. SubscribedImage *string `mandatory:"false" json:"subscribedImage"` // Name of the image version marked as current of the image. CurrentVersion *string `mandatory:"false" json:"currentVersion"` // Image status. ImageStatus ImageDetailsImageStatusEnum `mandatory:"false" json:"imageStatus,omitempty"` // Release version of the image. ImageVersion *string `mandatory:"false" json:"imageVersion"` // Owner of the image. ImageOwner *string `mandatory:"false" json:"imageOwner"` // Name of the person who created the image. CreatedBy *string `mandatory:"false" json:"createdBy"` // Date when the image was created. TimeImageCreation *common.SDKTime `mandatory:"false" json:"timeImageCreation"` // An image version name, that is up to date and has no recommendations. UpToDateImageVersion *string `mandatory:"false" json:"upToDateImageVersion"` }
func (m ImageDetails) String() string
func (m ImageDetails) 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
ImageDetailsImageStatusEnum Enum with underlying type: string
type ImageDetailsImageStatusEnum string
Set of constants representing the allowable values for ImageDetailsImageStatusEnum
const ( ImageDetailsImageStatusGreen ImageDetailsImageStatusEnum = "GREEN" ImageDetailsImageStatusYellow ImageDetailsImageStatusEnum = "YELLOW" ImageDetailsImageStatusRed ImageDetailsImageStatusEnum = "RED" )
func GetImageDetailsImageStatusEnumValues() []ImageDetailsImageStatusEnum
GetImageDetailsImageStatusEnumValues Enumerates the set of values for ImageDetailsImageStatusEnum
func GetMappingImageDetailsImageStatusEnum(val string) (ImageDetailsImageStatusEnum, bool)
GetMappingImageDetailsImageStatusEnum performs case Insensitive comparison on enum value and return the desired enum
ImagesPatchRecommendationSummary Summary of image patches recommended to install.
type ImagesPatchRecommendationSummary struct { // Total number of images. TotalImagesCount *int `mandatory:"false" json:"totalImagesCount"` // Total number of up to date images. UpToDateImagesCount *int `mandatory:"false" json:"upToDateImagesCount"` // Total number of patch recommendations available. ImagePatchRecommendationsCount *int `mandatory:"false" json:"imagePatchRecommendationsCount"` }
func (m ImagesPatchRecommendationSummary) String() string
func (m ImagesPatchRecommendationSummary) 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
ListAggregatedVulnerabilityDataRequest wrapper for the ListAggregatedVulnerabilityData operation
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.
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 }
func (request ListAggregatedVulnerabilityDataRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAggregatedVulnerabilityDataRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAggregatedVulnerabilityDataRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAggregatedVulnerabilityDataRequest) String() string
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
ListAggregatedVulnerabilityDataResponse wrapper for the ListAggregatedVulnerabilityData operation
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"` }
func (response ListAggregatedVulnerabilityDataResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAggregatedVulnerabilityDataResponse) String() string
ListDatabasesDatabaseTypeEnum Enum with underlying type: string
type ListDatabasesDatabaseTypeEnum string
Set of constants representing the allowable values for ListDatabasesDatabaseTypeEnum
const ( ListDatabasesDatabaseTypeSi ListDatabasesDatabaseTypeEnum = "SI" ListDatabasesDatabaseTypeRac ListDatabasesDatabaseTypeEnum = "RAC" )
func GetListDatabasesDatabaseTypeEnumValues() []ListDatabasesDatabaseTypeEnum
GetListDatabasesDatabaseTypeEnumValues Enumerates the set of values for ListDatabasesDatabaseTypeEnum
func GetMappingListDatabasesDatabaseTypeEnum(val string) (ListDatabasesDatabaseTypeEnum, bool)
GetMappingListDatabasesDatabaseTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabasesImageComplianceEnum Enum with underlying type: string
type ListDatabasesImageComplianceEnum string
Set of constants representing the allowable values for ListDatabasesImageComplianceEnum
const ( ListDatabasesImageComplianceNotSubscribed ListDatabasesImageComplianceEnum = "NOT_SUBSCRIBED" ListDatabasesImageComplianceNotCompliantWithImages ListDatabasesImageComplianceEnum = "NOT_COMPLIANT_WITH_IMAGES" ListDatabasesImageComplianceAllDatabases ListDatabasesImageComplianceEnum = "ALL_DATABASES" )
func GetListDatabasesImageComplianceEnumValues() []ListDatabasesImageComplianceEnum
GetListDatabasesImageComplianceEnumValues Enumerates the set of values for ListDatabasesImageComplianceEnum
func GetMappingListDatabasesImageComplianceEnum(val string) (ListDatabasesImageComplianceEnum, bool)
GetMappingListDatabasesImageComplianceEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabasesRequest wrapper for the ListDatabases operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dblm/ListDatabases.go.html to see an example of how to use ListDatabasesRequest.
type ListDatabasesRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // A filter to return only resources their lifecycleState matches the given lifecycleState. LifecycleState 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"` // Filter by database type. // Possible values Single Instance or RAC. DatabaseType ListDatabasesDatabaseTypeEnum `mandatory:"false" contributesTo:"query" name:"databaseType" omitEmpty:"true"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListDatabasesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. SortBy ListDatabasesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Subscribed image ImageId *string `mandatory:"false" contributesTo:"query" name:"imageId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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 database that have given patchId as additional patch (drifter from image version). DrifterPatchId *int `mandatory:"false" contributesTo:"query" name:"drifterPatchId"` // Filter databases by image compliance status. ImageCompliance ListDatabasesImageComplianceEnum `mandatory:"false" contributesTo:"query" name:"imageCompliance" omitEmpty:"true"` // 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"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListDatabasesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDatabasesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDatabasesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDatabasesRequest) String() string
func (request ListDatabasesRequest) 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
ListDatabasesResponse wrapper for the ListDatabases operation
type ListDatabasesResponse struct { // The underlying http response RawResponse *http.Response // A list of PatchDatabasesCollection instances PatchDatabasesCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListDatabasesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDatabasesResponse) String() string
ListDatabasesSortByEnum Enum with underlying type: string
type ListDatabasesSortByEnum string
Set of constants representing the allowable values for ListDatabasesSortByEnum
const ( ListDatabasesSortByTimecreated ListDatabasesSortByEnum = "timeCreated" ListDatabasesSortByName ListDatabasesSortByEnum = "name" ListDatabasesSortByResourcetype ListDatabasesSortByEnum = "resourceType" ListDatabasesSortByRelease ListDatabasesSortByEnum = "release" ListDatabasesSortBySubscribedimage ListDatabasesSortByEnum = "subscribedImage" ListDatabasesSortByPatchcompliance ListDatabasesSortByEnum = "patchCompliance" )
func GetListDatabasesSortByEnumValues() []ListDatabasesSortByEnum
GetListDatabasesSortByEnumValues Enumerates the set of values for ListDatabasesSortByEnum
func GetMappingListDatabasesSortByEnum(val string) (ListDatabasesSortByEnum, bool)
GetMappingListDatabasesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabasesSortOrderEnum Enum with underlying type: string
type ListDatabasesSortOrderEnum string
Set of constants representing the allowable values for ListDatabasesSortOrderEnum
const ( ListDatabasesSortOrderAsc ListDatabasesSortOrderEnum = "ASC" ListDatabasesSortOrderDesc ListDatabasesSortOrderEnum = "DESC" )
func GetListDatabasesSortOrderEnumValues() []ListDatabasesSortOrderEnum
GetListDatabasesSortOrderEnumValues Enumerates the set of values for ListDatabasesSortOrderEnum
func GetMappingListDatabasesSortOrderEnum(val string) (ListDatabasesSortOrderEnum, bool)
GetMappingListDatabasesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListNotificationsRequest wrapper for the ListNotifications operation
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.
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 }
func (request ListNotificationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListNotificationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListNotificationsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListNotificationsRequest) String() string
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
ListNotificationsResponse wrapper for the ListNotifications operation
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"` }
func (response ListNotificationsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListNotificationsResponse) String() string
ListVulnerabilitiesRequest wrapper for the ListVulnerabilities operation
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.
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 }
func (request ListVulnerabilitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListVulnerabilitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListVulnerabilitiesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListVulnerabilitiesRequest) String() string
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
ListVulnerabilitiesResponse wrapper for the ListVulnerabilities operation
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"` }
func (response ListVulnerabilitiesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListVulnerabilitiesResponse) String() string
ListVulnerabilitiesSortByEnum Enum with underlying type: string
type ListVulnerabilitiesSortByEnum string
Set of constants representing the allowable values for ListVulnerabilitiesSortByEnum
const ( ListVulnerabilitiesSortByCveid ListVulnerabilitiesSortByEnum = "cveId" ListVulnerabilitiesSortByVulnerableresources ListVulnerabilitiesSortByEnum = "vulnerableResources" )
func GetListVulnerabilitiesSortByEnumValues() []ListVulnerabilitiesSortByEnum
GetListVulnerabilitiesSortByEnumValues Enumerates the set of values for ListVulnerabilitiesSortByEnum
func GetMappingListVulnerabilitiesSortByEnum(val string) (ListVulnerabilitiesSortByEnum, bool)
GetMappingListVulnerabilitiesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListVulnerabilitiesSortOrderEnum Enum with underlying type: string
type ListVulnerabilitiesSortOrderEnum string
Set of constants representing the allowable values for ListVulnerabilitiesSortOrderEnum
const ( ListVulnerabilitiesSortOrderAsc ListVulnerabilitiesSortOrderEnum = "ASC" ListVulnerabilitiesSortOrderDesc ListVulnerabilitiesSortOrderEnum = "DESC" )
func GetListVulnerabilitiesSortOrderEnumValues() []ListVulnerabilitiesSortOrderEnum
GetListVulnerabilitiesSortOrderEnumValues Enumerates the set of values for ListVulnerabilitiesSortOrderEnum
func GetMappingListVulnerabilitiesSortOrderEnum(val string) (ListVulnerabilitiesSortOrderEnum, bool)
GetMappingListVulnerabilitiesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListVulnerabilityResourcesPatchRecommendationEnum Enum with underlying type: string
type ListVulnerabilityResourcesPatchRecommendationEnum string
Set of constants representing the allowable values for ListVulnerabilityResourcesPatchRecommendationEnum
const ( ListVulnerabilityResourcesPatchRecommendationUptodate ListVulnerabilityResourcesPatchRecommendationEnum = "upToDate" ListVulnerabilityResourcesPatchRecommendationPatchavailable ListVulnerabilityResourcesPatchRecommendationEnum = "patchAvailable" )
func GetListVulnerabilityResourcesPatchRecommendationEnumValues() []ListVulnerabilityResourcesPatchRecommendationEnum
GetListVulnerabilityResourcesPatchRecommendationEnumValues Enumerates the set of values for ListVulnerabilityResourcesPatchRecommendationEnum
func GetMappingListVulnerabilityResourcesPatchRecommendationEnum(val string) (ListVulnerabilityResourcesPatchRecommendationEnum, bool)
GetMappingListVulnerabilityResourcesPatchRecommendationEnum performs case Insensitive comparison on enum value and return the desired enum
ListVulnerabilityResourcesRequest wrapper for the ListVulnerabilityResources operation
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.
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 }
func (request ListVulnerabilityResourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListVulnerabilityResourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListVulnerabilityResourcesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListVulnerabilityResourcesRequest) String() string
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
ListVulnerabilityResourcesResponse wrapper for the ListVulnerabilityResources operation
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"` }
func (response ListVulnerabilityResourcesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListVulnerabilityResourcesResponse) String() string
ListVulnerabilityResourcesSortByEnum Enum with underlying type: string
type ListVulnerabilityResourcesSortByEnum string
Set of constants representing the allowable values for ListVulnerabilityResourcesSortByEnum
const ( ListVulnerabilityResourcesSortByTimecreated ListVulnerabilityResourcesSortByEnum = "timeCreated" ListVulnerabilityResourcesSortByDisplayname ListVulnerabilityResourcesSortByEnum = "displayName" ListVulnerabilityResourcesSortByVulnerabilitycount ListVulnerabilityResourcesSortByEnum = "vulnerabilityCount" )
func GetListVulnerabilityResourcesSortByEnumValues() []ListVulnerabilityResourcesSortByEnum
GetListVulnerabilityResourcesSortByEnumValues Enumerates the set of values for ListVulnerabilityResourcesSortByEnum
func GetMappingListVulnerabilityResourcesSortByEnum(val string) (ListVulnerabilityResourcesSortByEnum, bool)
GetMappingListVulnerabilityResourcesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListVulnerabilityResourcesSortOrderEnum Enum with underlying type: string
type ListVulnerabilityResourcesSortOrderEnum string
Set of constants representing the allowable values for ListVulnerabilityResourcesSortOrderEnum
const ( ListVulnerabilityResourcesSortOrderAsc ListVulnerabilityResourcesSortOrderEnum = "ASC" ListVulnerabilityResourcesSortOrderDesc ListVulnerabilityResourcesSortOrderEnum = "DESC" )
func GetListVulnerabilityResourcesSortOrderEnumValues() []ListVulnerabilityResourcesSortOrderEnum
GetListVulnerabilityResourcesSortOrderEnumValues Enumerates the set of values for ListVulnerabilityResourcesSortOrderEnum
func GetMappingListVulnerabilityResourcesSortOrderEnum(val string) (ListVulnerabilityResourcesSortOrderEnum, bool)
GetMappingListVulnerabilityResourcesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListVulnerabilityScansRequest wrapper for the ListVulnerabilityScans operation
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.
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 }
func (request ListVulnerabilityScansRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListVulnerabilityScansRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListVulnerabilityScansRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListVulnerabilityScansRequest) String() string
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
ListVulnerabilityScansResponse wrapper for the ListVulnerabilityScans operation
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"` }
func (response ListVulnerabilityScansResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListVulnerabilityScansResponse) String() string
ListVulnerabilityScansSortByEnum Enum with underlying type: string
type ListVulnerabilityScansSortByEnum string
Set of constants representing the allowable values for ListVulnerabilityScansSortByEnum
const ( ListVulnerabilityScansSortById ListVulnerabilityScansSortByEnum = "id" ListVulnerabilityScansSortByDisplayname ListVulnerabilityScansSortByEnum = "displayName" ListVulnerabilityScansSortByTimecreated ListVulnerabilityScansSortByEnum = "timeCreated" ListVulnerabilityScansSortByTimeended ListVulnerabilityScansSortByEnum = "timeEnded" )
func GetListVulnerabilityScansSortByEnumValues() []ListVulnerabilityScansSortByEnum
GetListVulnerabilityScansSortByEnumValues Enumerates the set of values for ListVulnerabilityScansSortByEnum
func GetMappingListVulnerabilityScansSortByEnum(val string) (ListVulnerabilityScansSortByEnum, bool)
GetMappingListVulnerabilityScansSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListVulnerabilityScansSortOrderEnum Enum with underlying type: string
type ListVulnerabilityScansSortOrderEnum string
Set of constants representing the allowable values for ListVulnerabilityScansSortOrderEnum
const ( ListVulnerabilityScansSortOrderAsc ListVulnerabilityScansSortOrderEnum = "ASC" ListVulnerabilityScansSortOrderDesc ListVulnerabilityScansSortOrderEnum = "DESC" )
func GetListVulnerabilityScansSortOrderEnumValues() []ListVulnerabilityScansSortOrderEnum
GetListVulnerabilityScansSortOrderEnumValues Enumerates the set of values for ListVulnerabilityScansSortOrderEnum
func GetMappingListVulnerabilityScansSortOrderEnum(val string) (ListVulnerabilityScansSortOrderEnum, bool)
GetMappingListVulnerabilityScansSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListVulnerabilityScansVulnerabilityScanStatusEnum Enum with underlying type: string
type ListVulnerabilityScansVulnerabilityScanStatusEnum string
Set of constants representing the allowable values for ListVulnerabilityScansVulnerabilityScanStatusEnum
const ( ListVulnerabilityScansVulnerabilityScanStatusCompleted ListVulnerabilityScansVulnerabilityScanStatusEnum = "COMPLETED" ListVulnerabilityScansVulnerabilityScanStatusError ListVulnerabilityScansVulnerabilityScanStatusEnum = "ERROR" ListVulnerabilityScansVulnerabilityScanStatusRunning ListVulnerabilityScansVulnerabilityScanStatusEnum = "RUNNING" ListVulnerabilityScansVulnerabilityScanStatusAborted ListVulnerabilityScansVulnerabilityScanStatusEnum = "ABORTED" )
func GetListVulnerabilityScansVulnerabilityScanStatusEnumValues() []ListVulnerabilityScansVulnerabilityScanStatusEnum
GetListVulnerabilityScansVulnerabilityScanStatusEnumValues Enumerates the set of values for ListVulnerabilityScansVulnerabilityScanStatusEnum
func GetMappingListVulnerabilityScansVulnerabilityScanStatusEnum(val string) (ListVulnerabilityScansVulnerabilityScanStatusEnum, bool)
GetMappingListVulnerabilityScansVulnerabilityScanStatusEnum performs case Insensitive comparison on enum value and return the desired enum
ListVulnerabilityScansVulnerabilityScanTypeEnum Enum with underlying type: string
type ListVulnerabilityScansVulnerabilityScanTypeEnum string
Set of constants representing the allowable values for ListVulnerabilityScansVulnerabilityScanTypeEnum
const ( ListVulnerabilityScansVulnerabilityScanTypeCve ListVulnerabilityScansVulnerabilityScanTypeEnum = "CVE" ListVulnerabilityScansVulnerabilityScanTypePatch ListVulnerabilityScansVulnerabilityScanTypeEnum = "PATCH" ListVulnerabilityScansVulnerabilityScanTypeImagePatch ListVulnerabilityScansVulnerabilityScanTypeEnum = "IMAGE_PATCH" )
func GetListVulnerabilityScansVulnerabilityScanTypeEnumValues() []ListVulnerabilityScansVulnerabilityScanTypeEnum
GetListVulnerabilityScansVulnerabilityScanTypeEnumValues Enumerates the set of values for ListVulnerabilityScansVulnerabilityScanTypeEnum
func GetMappingListVulnerabilityScansVulnerabilityScanTypeEnum(val string) (ListVulnerabilityScansVulnerabilityScanTypeEnum, bool)
GetMappingListVulnerabilityScansVulnerabilityScanTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
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.
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 }
func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestErrorsRequest) String() string
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
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
type ListWorkRequestErrorsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestErrorCollection instances WorkRequestErrorCollection `presentIn:"body"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestErrorsResponse) String() string
ListWorkRequestErrorsSortByEnum Enum with underlying type: string
type ListWorkRequestErrorsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum
const ( ListWorkRequestErrorsSortByTimestamp ListWorkRequestErrorsSortByEnum = "timestamp" )
func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum
func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)
GetMappingListWorkRequestErrorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string
type ListWorkRequestErrorsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum
const ( ListWorkRequestErrorsSortOrderAsc ListWorkRequestErrorsSortOrderEnum = "ASC" ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC" )
func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum
func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)
GetMappingListWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
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.
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 }
func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestLogsRequest) String() string
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
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
type ListWorkRequestLogsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestLogEntryCollection instances WorkRequestLogEntryCollection `presentIn:"body"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestLogsResponse) String() string
ListWorkRequestLogsSortByEnum Enum with underlying type: string
type ListWorkRequestLogsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum
const ( ListWorkRequestLogsSortByTimestamp ListWorkRequestLogsSortByEnum = "timestamp" )
func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum
func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)
GetMappingListWorkRequestLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestLogsSortOrderEnum Enum with underlying type: string
type ListWorkRequestLogsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum
const ( ListWorkRequestLogsSortOrderAsc ListWorkRequestLogsSortOrderEnum = "ASC" ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC" )
func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum
func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)
GetMappingListWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
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.
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 }
func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestsRequest) String() string
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
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
type ListWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestSummaryCollection instances WorkRequestSummaryCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestsResponse) String() string
ListWorkRequestsSortByEnum Enum with underlying type: string
type ListWorkRequestsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestsSortByEnum
const ( ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted" )
func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum
func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsSortOrderEnum Enum with underlying type: string
type ListWorkRequestsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum
const ( ListWorkRequestsSortOrderAsc ListWorkRequestsSortOrderEnum = "ASC" ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC" )
func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum
func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsStatusEnum Enum with underlying type: string
type ListWorkRequestsStatusEnum string
Set of constants representing the allowable values for ListWorkRequestsStatusEnum
const ( ListWorkRequestsStatusAccepted ListWorkRequestsStatusEnum = "ACCEPTED" ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS" ListWorkRequestsStatusWaiting ListWorkRequestsStatusEnum = "WAITING" ListWorkRequestsStatusNeedsAttention ListWorkRequestsStatusEnum = "NEEDS_ATTENTION" ListWorkRequestsStatusFailed ListWorkRequestsStatusEnum = "FAILED" ListWorkRequestsStatusSucceeded ListWorkRequestsStatusEnum = "SUCCEEDED" ListWorkRequestsStatusCanceling ListWorkRequestsStatusEnum = "CANCELING" ListWorkRequestsStatusCanceled ListWorkRequestsStatusEnum = "CANCELED" )
func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum
func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)
GetMappingListWorkRequestsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
MetricError Metric error content.
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"` }
func (m MetricError) String() string
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
NotificationCollection Collection of notifications for new CVEs and CPUs.
type NotificationCollection struct { // Items for notifications. Items []NotificationSummary `mandatory:"true" json:"items"` }
func (m NotificationCollection) String() string
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
NotificationSummary Notifications
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"` }
func (m NotificationSummary) String() string
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
NotificationSummaryNotificationTypeEnum Enum with underlying type: string
type NotificationSummaryNotificationTypeEnum string
Set of constants representing the allowable values for NotificationSummaryNotificationTypeEnum
const ( NotificationSummaryNotificationTypeCve NotificationSummaryNotificationTypeEnum = "CVE" NotificationSummaryNotificationTypeAdvisory NotificationSummaryNotificationTypeEnum = "ADVISORY" NotificationSummaryNotificationTypePatch NotificationSummaryNotificationTypeEnum = "PATCH" )
func GetMappingNotificationSummaryNotificationTypeEnum(val string) (NotificationSummaryNotificationTypeEnum, bool)
GetMappingNotificationSummaryNotificationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetNotificationSummaryNotificationTypeEnumValues() []NotificationSummaryNotificationTypeEnum
GetNotificationSummaryNotificationTypeEnumValues Enumerates the set of values for NotificationSummaryNotificationTypeEnum
OperationStatusEnum Enum with underlying type: string
type OperationStatusEnum string
Set of constants representing the allowable values for OperationStatusEnum
const ( OperationStatusAccepted OperationStatusEnum = "ACCEPTED" OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS" OperationStatusWaiting OperationStatusEnum = "WAITING" OperationStatusNeedsAttention OperationStatusEnum = "NEEDS_ATTENTION" OperationStatusFailed OperationStatusEnum = "FAILED" OperationStatusSucceeded OperationStatusEnum = "SUCCEEDED" OperationStatusCanceling OperationStatusEnum = "CANCELING" OperationStatusCanceled OperationStatusEnum = "CANCELED" )
func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationStatusEnumValues() []OperationStatusEnum
GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum
OperationTypeEnum Enum with underlying type: string
type OperationTypeEnum string
Set of constants representing the allowable values for OperationTypeEnum
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" OperationTypeEnum = "CREATE_SHARED_DATASTORE" OperationTypeEnum = "DELETE_SHARED_DATASTORE" )
func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
GetMappingOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationTypeEnumValues() []OperationTypeEnum
GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum
PatchActivityDetails Details of deploy, update and migrate-listener(only for single Instance database) operations for this resource.
type PatchActivityDetails struct { // Operation Identifier for deploy operation. DeployOperationId *string `mandatory:"false" json:"deployOperationId"` // Task identifier for deploy operation. DeployTaskId *string `mandatory:"false" json:"deployTaskId"` // Status of deploy operation. DeployStatus PatchActivityDetailsDeployStatusEnum `mandatory:"false" json:"deployStatus,omitempty"` // Operation Identifier for update operation. UpdateOperationId *string `mandatory:"false" json:"updateOperationId"` // Task identifier for update operation. UpdateTaskId *string `mandatory:"false" json:"updateTaskId"` // Status of update operation. UpdateStatus PatchActivityDetailsUpdateStatusEnum `mandatory:"false" json:"updateStatus,omitempty"` // Operation Identifier for migrate listener operation. MigrateListenerOperationId *string `mandatory:"false" json:"migrateListenerOperationId"` // Task identifier for migrate listener operation. MigrateListenerTaskId *string `mandatory:"false" json:"migrateListenerTaskId"` // Status of migrate listener operation. MigrateListenerStatus PatchActivityDetailsMigrateListenerStatusEnum `mandatory:"false" json:"migrateListenerStatus,omitempty"` }
func (m PatchActivityDetails) String() string
func (m PatchActivityDetails) 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
PatchActivityDetailsDeployStatusEnum Enum with underlying type: string
type PatchActivityDetailsDeployStatusEnum string
Set of constants representing the allowable values for PatchActivityDetailsDeployStatusEnum
const ( PatchActivityDetailsDeployStatusScheduled PatchActivityDetailsDeployStatusEnum = "SCHEDULED" PatchActivityDetailsDeployStatusRunning PatchActivityDetailsDeployStatusEnum = "RUNNING" PatchActivityDetailsDeployStatusCompleted PatchActivityDetailsDeployStatusEnum = "COMPLETED" PatchActivityDetailsDeployStatusFailed PatchActivityDetailsDeployStatusEnum = "FAILED" )
func GetMappingPatchActivityDetailsDeployStatusEnum(val string) (PatchActivityDetailsDeployStatusEnum, bool)
GetMappingPatchActivityDetailsDeployStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPatchActivityDetailsDeployStatusEnumValues() []PatchActivityDetailsDeployStatusEnum
GetPatchActivityDetailsDeployStatusEnumValues Enumerates the set of values for PatchActivityDetailsDeployStatusEnum
PatchActivityDetailsMigrateListenerStatusEnum Enum with underlying type: string
type PatchActivityDetailsMigrateListenerStatusEnum string
Set of constants representing the allowable values for PatchActivityDetailsMigrateListenerStatusEnum
const ( PatchActivityDetailsMigrateListenerStatusScheduled PatchActivityDetailsMigrateListenerStatusEnum = "SCHEDULED" PatchActivityDetailsMigrateListenerStatusRunning PatchActivityDetailsMigrateListenerStatusEnum = "RUNNING" PatchActivityDetailsMigrateListenerStatusCompleted PatchActivityDetailsMigrateListenerStatusEnum = "COMPLETED" PatchActivityDetailsMigrateListenerStatusFailed PatchActivityDetailsMigrateListenerStatusEnum = "FAILED" PatchActivityDetailsMigrateListenerStatusNa PatchActivityDetailsMigrateListenerStatusEnum = "NA" )
func GetMappingPatchActivityDetailsMigrateListenerStatusEnum(val string) (PatchActivityDetailsMigrateListenerStatusEnum, bool)
GetMappingPatchActivityDetailsMigrateListenerStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPatchActivityDetailsMigrateListenerStatusEnumValues() []PatchActivityDetailsMigrateListenerStatusEnum
GetPatchActivityDetailsMigrateListenerStatusEnumValues Enumerates the set of values for PatchActivityDetailsMigrateListenerStatusEnum
PatchActivityDetailsUpdateStatusEnum Enum with underlying type: string
type PatchActivityDetailsUpdateStatusEnum string
Set of constants representing the allowable values for PatchActivityDetailsUpdateStatusEnum
const ( PatchActivityDetailsUpdateStatusScheduled PatchActivityDetailsUpdateStatusEnum = "SCHEDULED" PatchActivityDetailsUpdateStatusRunning PatchActivityDetailsUpdateStatusEnum = "RUNNING" PatchActivityDetailsUpdateStatusCompleted PatchActivityDetailsUpdateStatusEnum = "COMPLETED" PatchActivityDetailsUpdateStatusFailed PatchActivityDetailsUpdateStatusEnum = "FAILED" )
func GetMappingPatchActivityDetailsUpdateStatusEnum(val string) (PatchActivityDetailsUpdateStatusEnum, bool)
GetMappingPatchActivityDetailsUpdateStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPatchActivityDetailsUpdateStatusEnumValues() []PatchActivityDetailsUpdateStatusEnum
GetPatchActivityDetailsUpdateStatusEnumValues Enumerates the set of values for PatchActivityDetailsUpdateStatusEnum
PatchComplianceDetails Patch Compliance Status
type PatchComplianceDetails struct { // Patch compliance status. PatchComplianceStatus PatchComplianceDetailsPatchComplianceStatusEnum `mandatory:"false" json:"patchComplianceStatus,omitempty"` // Resource patch compliance version name. PatchComplianceVersion *string `mandatory:"false" json:"patchComplianceVersion"` }
func (m PatchComplianceDetails) String() string
func (m PatchComplianceDetails) 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
PatchComplianceDetailsPatchComplianceStatusEnum Enum with underlying type: string
type PatchComplianceDetailsPatchComplianceStatusEnum string
Set of constants representing the allowable values for PatchComplianceDetailsPatchComplianceStatusEnum
const ( PatchComplianceDetailsPatchComplianceStatusGreen PatchComplianceDetailsPatchComplianceStatusEnum = "GREEN" PatchComplianceDetailsPatchComplianceStatusYellow PatchComplianceDetailsPatchComplianceStatusEnum = "YELLOW" PatchComplianceDetailsPatchComplianceStatusRed PatchComplianceDetailsPatchComplianceStatusEnum = "RED" )
func GetMappingPatchComplianceDetailsPatchComplianceStatusEnum(val string) (PatchComplianceDetailsPatchComplianceStatusEnum, bool)
GetMappingPatchComplianceDetailsPatchComplianceStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPatchComplianceDetailsPatchComplianceStatusEnumValues() []PatchComplianceDetailsPatchComplianceStatusEnum
GetPatchComplianceDetailsPatchComplianceStatusEnumValues Enumerates the set of values for PatchComplianceDetailsPatchComplianceStatusEnum
PatchDatabasesCollection Results of a patchDatabases search. Contains items for databases, images and patch compliance information.
type PatchDatabasesCollection struct { // List of patchDatabases. Items []DatabasesSummary `mandatory:"true" json:"items"` }
func (m PatchDatabasesCollection) String() string
func (m PatchDatabasesCollection) 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
PatchOperationsSummary Patch operation list summary by status record.
type PatchOperationsSummary struct { // Total number of scheduled Patch operations. ScheduledPatchOpsCount *int `mandatory:"false" json:"scheduledPatchOpsCount"` // Total number of in progress Patch operations. RunningPatchOpsCount *int `mandatory:"false" json:"runningPatchOpsCount"` // Total number of successful Patch operations. SuccessfulPatchOpsCount *int `mandatory:"false" json:"successfulPatchOpsCount"` // Total number of Patch operations that have warnings. WarningsPatchOpsCount *int `mandatory:"false" json:"warningsPatchOpsCount"` // Total number of failed Patch operations. FailedPatchOpsCount *int `mandatory:"false" json:"failedPatchOpsCount"` }
func (m PatchOperationsSummary) String() string
func (m PatchOperationsSummary) 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
PatchRecommendationSummary Total count summary of patch recommendations for databases.
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"` }
func (m PatchRecommendationSummary) String() string
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
PatchRecommendationsDetailsSummary Summary of patch recommendations for databases.
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"` }
func (m PatchRecommendationsDetailsSummary) String() string
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
ResourceInfo The Resource Info.
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"` // The agent Id of the agent managing the resource. AgentId *string `mandatory:"false" json:"agentId"` }
func (m ResourceInfo) String() string
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
ResourceSummary Summary of dblm registered and unregistered resources.
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"` }
func (m ResourceSummary) String() string
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
ResourcesPatchComplianceSummary Summary of resources and their patch compliance.
type ResourcesPatchComplianceSummary struct { // Total number of resources. TotalResourcesCount *int `mandatory:"false" json:"totalResourcesCount"` // Total number of resources that are up to date. UpToDateResourcesCount *int `mandatory:"false" json:"upToDateResourcesCount"` // Total number of non-compliant resources. NonCompliantResourcesCount *int `mandatory:"false" json:"nonCompliantResourcesCount"` // Total number of resources that are not subscribed. NotSubscribedResourcesCount *int `mandatory:"false" json:"notSubscribedResourcesCount"` // Total number of resources that are not registered to DBLM. NotDblmRegisteredResourcesCount *int `mandatory:"false" json:"notDblmRegisteredResourcesCount"` }
func (m ResourcesPatchComplianceSummary) String() string
func (m ResourcesPatchComplianceSummary) 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
ResourcesSeveritiesEnum Enum with underlying type: string
type ResourcesSeveritiesEnum string
Set of constants representing the allowable values for ResourcesSeveritiesEnum
const ( ResourcesSeveritiesCritical ResourcesSeveritiesEnum = "CRITICAL" ResourcesSeveritiesHigh ResourcesSeveritiesEnum = "HIGH" ResourcesSeveritiesMedium ResourcesSeveritiesEnum = "MEDIUM" ResourcesSeveritiesLow ResourcesSeveritiesEnum = "LOW" ResourcesSeveritiesInfo ResourcesSeveritiesEnum = "INFO" ResourcesSeveritiesNone ResourcesSeveritiesEnum = "NONE" )
func GetMappingResourcesSeveritiesEnum(val string) (ResourcesSeveritiesEnum, bool)
GetMappingResourcesSeveritiesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetResourcesSeveritiesEnumValues() []ResourcesSeveritiesEnum
GetResourcesSeveritiesEnumValues Enumerates the set of values for ResourcesSeveritiesEnum
SortOrderEnum Enum with underlying type: string
type SortOrderEnum string
Set of constants representing the allowable values for SortOrderEnum
const ( SortOrderAsc SortOrderEnum = "ASC" SortOrderDesc SortOrderEnum = "DESC" )
func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSortOrderEnumValues() []SortOrderEnum
GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum
VulnerabilitiesSummary Summary of vulnerabilities found in registered resources grouped by severity.
type VulnerabilitiesSummary struct { // Total number of vulnerabilities. Total *int `mandatory:"true" json:"total"` // Cumulative number of resources that have critical level vulnerabilities. Critical *int `mandatory:"true" json:"critical"` // Cumulative number of resources that have high level vulnerabilities. High *int `mandatory:"true" json:"high"` // Cumulative number of resources that have medium level vulnerabilities. Medium *int `mandatory:"true" json:"medium"` // Cumulative number of resources that have info level vulnerabilities. Info *int `mandatory:"true" json:"info"` // Cumulative number of resources that have low level vulnerabilities. Low *int `mandatory:"true" json:"low"` }
func (m VulnerabilitiesSummary) String() string
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
VulnerabilityCollection Collection of vulnerabilities, with aggregation for resources.
type VulnerabilityCollection struct { // Collection of vulnerability summary items. Items []VulnerabilitySummary `mandatory:"true" json:"items"` }
func (m VulnerabilityCollection) String() string
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
VulnerabilityResourceCollection Collection of assessed resources that may or may not have vulnerabilities
type VulnerabilityResourceCollection struct { // Collection of assessed resources Items []VulnerabilityResourceSummary `mandatory:"true" json:"items"` }
func (m VulnerabilityResourceCollection) String() string
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
VulnerabilityResourceSummary The assessed Resources.
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"` }
func (m VulnerabilityResourceSummary) String() string
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
VulnerabilityRiskLevelEnum Enum with underlying type: string
type VulnerabilityRiskLevelEnum string
Set of constants representing the allowable values for VulnerabilityRiskLevelEnum
const ( VulnerabilityRiskLevelCritical VulnerabilityRiskLevelEnum = "CRITICAL" VulnerabilityRiskLevelHigh VulnerabilityRiskLevelEnum = "HIGH" VulnerabilityRiskLevelMedium VulnerabilityRiskLevelEnum = "MEDIUM" VulnerabilityRiskLevelLow VulnerabilityRiskLevelEnum = "LOW" VulnerabilityRiskLevelInfo VulnerabilityRiskLevelEnum = "INFO" )
func GetMappingVulnerabilityRiskLevelEnum(val string) (VulnerabilityRiskLevelEnum, bool)
GetMappingVulnerabilityRiskLevelEnum performs case Insensitive comparison on enum value and return the desired enum
func GetVulnerabilityRiskLevelEnumValues() []VulnerabilityRiskLevelEnum
GetVulnerabilityRiskLevelEnumValues Enumerates the set of values for VulnerabilityRiskLevelEnum
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).
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"` }
func (m VulnerabilityScan) String() string
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
VulnerabilityScanCollection Results of a VulnerabilityScan search. Contains list of VulnerabilityScanSummary items.
type VulnerabilityScanCollection struct { // List of VulnerabilityScans. Items []VulnerabilityScanSummary `mandatory:"true" json:"items"` }
func (m VulnerabilityScanCollection) String() string
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
VulnerabilityScanLifecycleStateEnum Enum with underlying type: string
type VulnerabilityScanLifecycleStateEnum string
Set of constants representing the allowable values for VulnerabilityScanLifecycleStateEnum
const ( VulnerabilityScanLifecycleStateCreating VulnerabilityScanLifecycleStateEnum = "CREATING" VulnerabilityScanLifecycleStateUpdating VulnerabilityScanLifecycleStateEnum = "UPDATING" VulnerabilityScanLifecycleStateActive VulnerabilityScanLifecycleStateEnum = "ACTIVE" VulnerabilityScanLifecycleStateDeleting VulnerabilityScanLifecycleStateEnum = "DELETING" VulnerabilityScanLifecycleStateDeleted VulnerabilityScanLifecycleStateEnum = "DELETED" VulnerabilityScanLifecycleStateFailed VulnerabilityScanLifecycleStateEnum = "FAILED" )
func GetMappingVulnerabilityScanLifecycleStateEnum(val string) (VulnerabilityScanLifecycleStateEnum, bool)
GetMappingVulnerabilityScanLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetVulnerabilityScanLifecycleStateEnumValues() []VulnerabilityScanLifecycleStateEnum
GetVulnerabilityScanLifecycleStateEnumValues Enumerates the set of values for VulnerabilityScanLifecycleStateEnum
VulnerabilityScanSummary Summary information about a VulnerabilityScan.
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"` }
func (m VulnerabilityScanSummary) String() string
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
VulnerabilityScanVulnerabilityScanStatusEnum Enum with underlying type: string
type VulnerabilityScanVulnerabilityScanStatusEnum string
Set of constants representing the allowable values for VulnerabilityScanVulnerabilityScanStatusEnum
const ( VulnerabilityScanVulnerabilityScanStatusCompleted VulnerabilityScanVulnerabilityScanStatusEnum = "COMPLETED" VulnerabilityScanVulnerabilityScanStatusError VulnerabilityScanVulnerabilityScanStatusEnum = "ERROR" VulnerabilityScanVulnerabilityScanStatusRunning VulnerabilityScanVulnerabilityScanStatusEnum = "RUNNING" VulnerabilityScanVulnerabilityScanStatusAborted VulnerabilityScanVulnerabilityScanStatusEnum = "ABORTED" )
func GetMappingVulnerabilityScanVulnerabilityScanStatusEnum(val string) (VulnerabilityScanVulnerabilityScanStatusEnum, bool)
GetMappingVulnerabilityScanVulnerabilityScanStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetVulnerabilityScanVulnerabilityScanStatusEnumValues() []VulnerabilityScanVulnerabilityScanStatusEnum
GetVulnerabilityScanVulnerabilityScanStatusEnumValues Enumerates the set of values for VulnerabilityScanVulnerabilityScanStatusEnum
VulnerabilityScanVulnerabilityScanTypeEnum Enum with underlying type: string
type VulnerabilityScanVulnerabilityScanTypeEnum string
Set of constants representing the allowable values for VulnerabilityScanVulnerabilityScanTypeEnum
const ( VulnerabilityScanVulnerabilityScanTypeCve VulnerabilityScanVulnerabilityScanTypeEnum = "CVE" VulnerabilityScanVulnerabilityScanTypePatch VulnerabilityScanVulnerabilityScanTypeEnum = "PATCH" VulnerabilityScanVulnerabilityScanTypeImagePatch VulnerabilityScanVulnerabilityScanTypeEnum = "IMAGE_PATCH" )
func GetMappingVulnerabilityScanVulnerabilityScanTypeEnum(val string) (VulnerabilityScanVulnerabilityScanTypeEnum, bool)
GetMappingVulnerabilityScanVulnerabilityScanTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetVulnerabilityScanVulnerabilityScanTypeEnumValues() []VulnerabilityScanVulnerabilityScanTypeEnum
GetVulnerabilityScanVulnerabilityScanTypeEnumValues Enumerates the set of values for VulnerabilityScanVulnerabilityScanTypeEnum
VulnerabilitySummary The vulnerability summary.
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"` }
func (m VulnerabilitySummary) String() string
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
WorkRequest A description of workrequest status
type WorkRequest struct { // Type of the work request OperationType OperationTypeEnum `mandatory:"true" json:"operationType"` // Status of current work request. Status OperationStatusEnum `mandatory:"true" json:"status"` // The id of the work request. Id *string `mandatory:"true" json:"id"` // The ocid of the compartment that contains the work request. Work requests should be scoped to // the same compartment as the resource the work request affects. If the work request affects multiple resources, // and those resources are not in the same compartment, it is up to the service team to pick the primary // resource whose compartment should be used CompartmentId *string `mandatory:"true" json:"compartmentId"` // The resources affected by this work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // Percentage of the request completed. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The date and time the request was created, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), // section 14.29. TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
func (m WorkRequest) String() string
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
WorkRequestError An error encountered while executing a work request.
type WorkRequestError struct { // A machine-usable code for the error that occured. Error codes are listed on // (https://docs.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"` }
func (m WorkRequestError) String() string
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
WorkRequestErrorCollection Results of a workRequestError search. Contains both WorkRequestError items and other information, such as metadata.
type WorkRequestErrorCollection struct { // List of workRequestError objects. Items []WorkRequestError `mandatory:"true" json:"items"` }
func (m WorkRequestErrorCollection) String() string
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
WorkRequestLogEntry A log message from the execution of a work request.
type WorkRequestLogEntry struct { // Human-readable log message. Message *string `mandatory:"true" json:"message"` // The time the log message was written. An RFC3339 formatted datetime string Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
func (m WorkRequestLogEntry) String() string
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
WorkRequestLogEntryCollection Results of a workRequestLog search. Contains both workRequestLog items and other information, such as metadata.
type WorkRequestLogEntryCollection struct { // List of workRequestLogEntries. Items []WorkRequestLogEntry `mandatory:"true" json:"items"` }
func (m WorkRequestLogEntryCollection) String() string
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
WorkRequestResource A resource created or operated on by a work request.
type WorkRequestResource struct { // The resource type the work request affects. EntityType *string `mandatory:"true" json:"entityType"` // The way in which this resource is affected by the work tracked in the work request. // A resource being created, updated, or deleted will remain in the IN_PROGRESS state until // work is complete for that resource at which point it will transition to CREATED, UPDATED, // or DELETED, respectively. ActionType ActionTypeEnum `mandatory:"true" json:"actionType"` // The identifier of the resource the work request affects. Identifier *string `mandatory:"true" json:"identifier"` // The URI path that the user can do a GET on to access the resource metadata EntityUri *string `mandatory:"false" json:"entityUri"` // Additional information that helps to explain the resource. Metadata map[string]string `mandatory:"false" json:"metadata"` }
func (m WorkRequestResource) String() string
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
WorkRequestResourceMetadataKeyEnum Enum with underlying type: string
type WorkRequestResourceMetadataKeyEnum string
Set of constants representing the allowable values for WorkRequestResourceMetadataKeyEnum
const ( WorkRequestResourceMetadataKeyIsDryRun WorkRequestResourceMetadataKeyEnum = "IS_DRY_RUN" )
func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)
GetMappingWorkRequestResourceMetadataKeyEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum
GetWorkRequestResourceMetadataKeyEnumValues Enumerates the set of values for WorkRequestResourceMetadataKeyEnum
WorkRequestSummary A summary of the status of a work request.
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"` }
func (m WorkRequestSummary) String() string
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
WorkRequestSummaryCollection Results of a workRequest search. Contains both WorkRequest items and other information, such as metadata.
type WorkRequestSummaryCollection struct { // List of workRequestSummary objects. Items []WorkRequestSummary `mandatory:"true" json:"items"` }
func (m WorkRequestSummaryCollection) String() string
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