Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
oci.Dblm.getVulnerabilityNotifications
Start a Neo task
Explain and create an oci.Dblm.getVulnerabilityNotifications resource
This data source provides the list of Vulnerability Notifications in Oracle Cloud Infrastructure Dblm service.
List of notifications
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testVulnerabilityNotifications = oci.Dblm.getVulnerabilityNotifications({
compartmentId: compartmentId,
});
import pulumi
import pulumi_oci as oci
test_vulnerability_notifications = oci.Dblm.get_vulnerability_notifications(compartment_id=compartment_id)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/dblm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dblm.GetVulnerabilityNotifications(ctx, &dblm.GetVulnerabilityNotificationsArgs{
CompartmentId: compartmentId,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testVulnerabilityNotifications = Oci.Dblm.GetVulnerabilityNotifications.Invoke(new()
{
CompartmentId = compartmentId,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Dblm.DblmFunctions;
import com.pulumi.oci.Dblm.inputs.GetVulnerabilityNotificationsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testVulnerabilityNotifications = DblmFunctions.getVulnerabilityNotifications(GetVulnerabilityNotificationsArgs.builder()
.compartmentId(compartmentId)
.build());
}
}
variables:
testVulnerabilityNotifications:
fn::invoke:
function: oci:Dblm:getVulnerabilityNotifications
arguments:
compartmentId: ${compartmentId}
Using getVulnerabilityNotifications
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVulnerabilityNotifications(args: GetVulnerabilityNotificationsArgs, opts?: InvokeOptions): Promise<GetVulnerabilityNotificationsResult>
function getVulnerabilityNotificationsOutput(args: GetVulnerabilityNotificationsOutputArgs, opts?: InvokeOptions): Output<GetVulnerabilityNotificationsResult>def get_vulnerability_notifications(compartment_id: Optional[str] = None,
filters: Optional[Sequence[GetVulnerabilityNotificationsFilter]] = None,
opts: Optional[InvokeOptions] = None) -> GetVulnerabilityNotificationsResult
def get_vulnerability_notifications_output(compartment_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetVulnerabilityNotificationsFilterArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVulnerabilityNotificationsResult]func GetVulnerabilityNotifications(ctx *Context, args *GetVulnerabilityNotificationsArgs, opts ...InvokeOption) (*GetVulnerabilityNotificationsResult, error)
func GetVulnerabilityNotificationsOutput(ctx *Context, args *GetVulnerabilityNotificationsOutputArgs, opts ...InvokeOption) GetVulnerabilityNotificationsResultOutput> Note: This function is named GetVulnerabilityNotifications in the Go SDK.
public static class GetVulnerabilityNotifications
{
public static Task<GetVulnerabilityNotificationsResult> InvokeAsync(GetVulnerabilityNotificationsArgs args, InvokeOptions? opts = null)
public static Output<GetVulnerabilityNotificationsResult> Invoke(GetVulnerabilityNotificationsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVulnerabilityNotificationsResult> getVulnerabilityNotifications(GetVulnerabilityNotificationsArgs args, InvokeOptions options)
public static Output<GetVulnerabilityNotificationsResult> getVulnerabilityNotifications(GetVulnerabilityNotificationsArgs args, InvokeOptions options)
fn::invoke:
function: oci:Dblm/getVulnerabilityNotifications:getVulnerabilityNotifications
arguments:
# arguments dictionaryThe following arguments are supported:
- Compartment
Id string - The required ID of the compartment in which to list resources.
- Filters
List<Get
Vulnerability Notifications Filter>
- Compartment
Id string - The required ID of the compartment in which to list resources.
- Filters
[]Get
Vulnerability Notifications Filter
- compartment
Id String - The required ID of the compartment in which to list resources.
- filters
List<Get
Vulnerability Notifications Filter>
- compartment
Id string - The required ID of the compartment in which to list resources.
- filters
Get
Vulnerability Notifications Filter[]
- compartment_
id str - The required ID of the compartment in which to list resources.
- filters
Sequence[Get
Vulnerability Notifications Filter]
- compartment
Id String - The required ID of the compartment in which to list resources.
- filters List<Property Map>
getVulnerabilityNotifications Result
The following output properties are available:
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Notification
Collections List<GetVulnerability Notifications Notification Collection> - The list of notification_collection.
- Filters
List<Get
Vulnerability Notifications Filter>
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Notification
Collections []GetVulnerability Notifications Notification Collection - The list of notification_collection.
- Filters
[]Get
Vulnerability Notifications Filter
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- notification
Collections List<GetVulnerability Notifications Notification Collection> - The list of notification_collection.
- filters
List<Get
Vulnerability Notifications Filter>
- compartment
Id string - id string
- The provider-assigned unique ID for this managed resource.
- notification
Collections GetVulnerability Notifications Notification Collection[] - The list of notification_collection.
- filters
Get
Vulnerability Notifications Filter[]
- compartment_
id str - id str
- The provider-assigned unique ID for this managed resource.
- notification_
collections Sequence[GetVulnerability Notifications Notification Collection] - The list of notification_collection.
- filters
Sequence[Get
Vulnerability Notifications Filter]
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- notification
Collections List<Property Map> - The list of notification_collection.
- filters List<Property Map>
Supporting Types
GetVulnerabilityNotificationsFilter
GetVulnerabilityNotificationsNotificationCollection
- Items
List<Get
Vulnerability Notifications Notification Collection Item> - Items for notifications.
- Items
[]Get
Vulnerability Notifications Notification Collection Item - Items for notifications.
- items
List<Get
Vulnerability Notifications Notification Collection Item> - Items for notifications.
- items
Get
Vulnerability Notifications Notification Collection Item[] - Items for notifications.
- items
Sequence[Get
Vulnerability Notifications Notification Collection Item] - Items for notifications.
- items List<Property Map>
- Items for notifications.
GetVulnerabilityNotificationsNotificationCollectionItem
- Id string
- Notification identifier.
- Notification
Text string - Notification text
- Notification
Type string - Notification type
- Time
Published string - Published date
- Id string
- Notification identifier.
- Notification
Text string - Notification text
- Notification
Type string - Notification type
- Time
Published string - Published date
- id String
- Notification identifier.
- notification
Text String - Notification text
- notification
Type String - Notification type
- time
Published String - Published date
- id string
- Notification identifier.
- notification
Text string - Notification text
- notification
Type string - Notification type
- time
Published string - Published date
- id str
- Notification identifier.
- notification_
text str - Notification text
- notification_
type str - Notification type
- time_
published str - Published date
- id String
- Notification identifier.
- notification
Text String - Notification text
- notification
Type String - Notification type
- time
Published String - Published date
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
