import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This Data Source is currently in preview. * * This data source provides the list of Multicloudalerts in Oracle Cloud Infrastructure Multicloud service. * * Gets a list of Multicloud Alerts for a given root compartment. * Optional query parameters can be used to filter alerts by resource, * subscription, severity, lifecycle state, and alert status. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMulticloudalerts = oci.oci.getMulticloudMulticloudalerts({ * compartmentId: compartmentId, * alertFunctionName: testFunction.name, * alertStatus: multicloudalertAlertStatus, * alertType: multicloudalertAlertType, * displayName: multicloudalertDisplayName, * resourceId: testResource.id, * resourceType: multicloudalertResourceType, * severity: multicloudalertSeverity, * subscriptionId: testSubscription.id, * subscriptionServiceName: testService.name, * }); * ``` */ export declare function getMulticloudMulticloudalerts(args: GetMulticloudMulticloudalertsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getMulticloudMulticloudalerts. */ export interface GetMulticloudMulticloudalertsArgs { /** * Filter alerts generated by a specific internal component (e.g. MCL, BILLING, ORP). */ alertFunctionName?: string; /** * Filter alerts by alert status. User interaction: ACKNOWLEDGED, UNACKNOWLEDGED System lifecycle: RESOLVED */ alertStatus?: string; /** * Filter alerts by alert type (e.g. IAM_POLICY_GAP). */ alertType?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. */ compartmentId: string; /** * A filter to return only resources that match the given display name exactly. */ displayName?: string; filters?: inputs.oci.GetMulticloudMulticloudalertsFilter[]; limit?: number; /** * Filter alerts associated with a specific resource OCID. */ resourceId?: string; /** * Filter alerts by resource type (e.g. ADBD, VMCluster). */ resourceType?: string; /** * Filter alerts by severity. */ severity?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Multicloud subscription in which to list resources. */ subscriptionId?: string; /** * The cloud service provider. */ subscriptionServiceName?: string; } /** * A collection of values returned by getMulticloudMulticloudalerts. */ export interface GetMulticloudMulticloudalertsResult { readonly alertFunctionName?: string; /** * Current acknowledgment status of the alert. */ readonly alertStatus?: string; /** * Type/category of the alert (e.g. IAM_POLICY_GAP, TAG_INCONSISTENCY). */ readonly alertType?: string; /** * Root Compartment The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) (TenantId) associated with the alert. */ readonly compartmentId: string; /** * Human-readable name of the alert. */ readonly displayName?: string; readonly filters?: outputs.oci.GetMulticloudMulticloudalertsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly limit?: number; /** * The list of multicloud_alert_collection. */ readonly multicloudAlertCollections: outputs.oci.GetMulticloudMulticloudalertsMulticloudAlertCollection[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the affected resource. */ readonly resourceId?: string; /** * Type of the affected resource (e.g. ADBD). */ readonly resourceType?: string; /** * Severity of the alert. */ readonly severity?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the multicloud subscription. */ readonly subscriptionId?: string; readonly subscriptionServiceName?: string; } /** * This Data Source is currently in preview. * * This data source provides the list of Multicloudalerts in Oracle Cloud Infrastructure Multicloud service. * * Gets a list of Multicloud Alerts for a given root compartment. * Optional query parameters can be used to filter alerts by resource, * subscription, severity, lifecycle state, and alert status. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMulticloudalerts = oci.oci.getMulticloudMulticloudalerts({ * compartmentId: compartmentId, * alertFunctionName: testFunction.name, * alertStatus: multicloudalertAlertStatus, * alertType: multicloudalertAlertType, * displayName: multicloudalertDisplayName, * resourceId: testResource.id, * resourceType: multicloudalertResourceType, * severity: multicloudalertSeverity, * subscriptionId: testSubscription.id, * subscriptionServiceName: testService.name, * }); * ``` */ export declare function getMulticloudMulticloudalertsOutput(args: GetMulticloudMulticloudalertsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getMulticloudMulticloudalerts. */ export interface GetMulticloudMulticloudalertsOutputArgs { /** * Filter alerts generated by a specific internal component (e.g. MCL, BILLING, ORP). */ alertFunctionName?: pulumi.Input; /** * Filter alerts by alert status. User interaction: ACKNOWLEDGED, UNACKNOWLEDGED System lifecycle: RESOLVED */ alertStatus?: pulumi.Input; /** * Filter alerts by alert type (e.g. IAM_POLICY_GAP). */ alertType?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. */ compartmentId: pulumi.Input; /** * A filter to return only resources that match the given display name exactly. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; limit?: pulumi.Input; /** * Filter alerts associated with a specific resource OCID. */ resourceId?: pulumi.Input; /** * Filter alerts by resource type (e.g. ADBD, VMCluster). */ resourceType?: pulumi.Input; /** * Filter alerts by severity. */ severity?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Multicloud subscription in which to list resources. */ subscriptionId?: pulumi.Input; /** * The cloud service provider. */ subscriptionServiceName?: pulumi.Input; } //# sourceMappingURL=getMulticloudMulticloudalerts.d.ts.map