import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Managed Database Alert Log Count resource in Oracle Cloud Infrastructure Database Management service. * * Get the counts of alert logs for the specified Managed Database. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testManagedDatabaseAlertLogCount = oci.databasemanagement.getManagedDatabaseAlertLogCount({ * managedDatabaseId: testManagedDatabase.id, * groupBy: managedDatabaseAlertLogCountGroupBy, * isRegularExpression: managedDatabaseAlertLogCountIsRegularExpression === "true", * levelFilter: managedDatabaseAlertLogCountLevelFilter, * logSearchText: managedDatabaseAlertLogCountLogSearchText, * timeGreaterThanOrEqualTo: managedDatabaseAlertLogCountTimeGreaterThanOrEqualTo, * timeLessThanOrEqualTo: managedDatabaseAlertLogCountTimeLessThanOrEqualTo, * typeFilter: managedDatabaseAlertLogCountTypeFilter, * }); * ``` */ export declare function getManagedDatabaseAlertLogCount(args: GetManagedDatabaseAlertLogCountArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getManagedDatabaseAlertLogCount. */ export interface GetManagedDatabaseAlertLogCountArgs { /** * The optional parameter used to group different alert logs. */ groupBy?: string; /** * The flag to indicate whether the search text is regular expression or not. */ isRegularExpression?: boolean; /** * The optional parameter to filter the alert logs by log level. */ levelFilter?: string; /** * The optional query parameter to filter the attention or alert logs by search text. */ logSearchText?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database. */ managedDatabaseId: string; /** * The optional greater than or equal to timestamp to filter the logs. */ timeGreaterThanOrEqualTo?: string; /** * The optional less than or equal to timestamp to filter the logs. */ timeLessThanOrEqualTo?: string; /** * The optional parameter to filter the attention or alert logs by type. */ typeFilter?: string; } /** * A collection of values returned by getManagedDatabaseAlertLogCount. */ export interface GetManagedDatabaseAlertLogCountResult { readonly groupBy?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly isRegularExpression?: boolean; /** * An array of the counts of different urgency or type of alert logs. */ readonly items: outputs.DatabaseManagement.GetManagedDatabaseAlertLogCountItem[]; readonly levelFilter?: string; readonly logSearchText?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database. */ readonly managedDatabaseId: string; readonly timeGreaterThanOrEqualTo?: string; readonly timeLessThanOrEqualTo?: string; readonly typeFilter?: string; } /** * This data source provides details about a specific Managed Database Alert Log Count resource in Oracle Cloud Infrastructure Database Management service. * * Get the counts of alert logs for the specified Managed Database. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testManagedDatabaseAlertLogCount = oci.databasemanagement.getManagedDatabaseAlertLogCount({ * managedDatabaseId: testManagedDatabase.id, * groupBy: managedDatabaseAlertLogCountGroupBy, * isRegularExpression: managedDatabaseAlertLogCountIsRegularExpression === "true", * levelFilter: managedDatabaseAlertLogCountLevelFilter, * logSearchText: managedDatabaseAlertLogCountLogSearchText, * timeGreaterThanOrEqualTo: managedDatabaseAlertLogCountTimeGreaterThanOrEqualTo, * timeLessThanOrEqualTo: managedDatabaseAlertLogCountTimeLessThanOrEqualTo, * typeFilter: managedDatabaseAlertLogCountTypeFilter, * }); * ``` */ export declare function getManagedDatabaseAlertLogCountOutput(args: GetManagedDatabaseAlertLogCountOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getManagedDatabaseAlertLogCount. */ export interface GetManagedDatabaseAlertLogCountOutputArgs { /** * The optional parameter used to group different alert logs. */ groupBy?: pulumi.Input; /** * The flag to indicate whether the search text is regular expression or not. */ isRegularExpression?: pulumi.Input; /** * The optional parameter to filter the alert logs by log level. */ levelFilter?: pulumi.Input; /** * The optional query parameter to filter the attention or alert logs by search text. */ logSearchText?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database. */ managedDatabaseId: pulumi.Input; /** * The optional greater than or equal to timestamp to filter the logs. */ timeGreaterThanOrEqualTo?: pulumi.Input; /** * The optional less than or equal to timestamp to filter the logs. */ timeLessThanOrEqualTo?: pulumi.Input; /** * The optional parameter to filter the attention or alert logs by type. */ typeFilter?: pulumi.Input; } //# sourceMappingURL=getManagedDatabaseAlertLogCount.d.ts.map