import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Managed Database Attention Log Counts in Oracle Cloud Infrastructure Database Management service. * * Get the counts of attention logs for the specified Managed Database. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testManagedDatabaseAttentionLogCounts = oci.databasemanagement.getManagedDatabaseAttentionLogCounts({ * managedDatabaseId: testManagedDatabase.id, * groupBy: managedDatabaseAttentionLogCountGroupBy, * isRegularExpression: managedDatabaseAttentionLogCountIsRegularExpression === "true", * logSearchText: managedDatabaseAttentionLogCountLogSearchText, * timeGreaterThanOrEqualTo: managedDatabaseAttentionLogCountTimeGreaterThanOrEqualTo, * timeLessThanOrEqualTo: managedDatabaseAttentionLogCountTimeLessThanOrEqualTo, * typeFilter: managedDatabaseAttentionLogCountTypeFilter, * urgencyFilter: managedDatabaseAttentionLogCountUrgencyFilter, * }); * ``` */ export declare function getManagedDatabaseAttentionLogCounts(args: GetManagedDatabaseAttentionLogCountsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getManagedDatabaseAttentionLogCounts. */ export interface GetManagedDatabaseAttentionLogCountsArgs { filters?: inputs.DatabaseManagement.GetManagedDatabaseAttentionLogCountsFilter[]; /** * The optional parameter used to group different attention logs. */ groupBy?: string; /** * The flag to indicate whether the search text is regular expression or not. */ isRegularExpression?: boolean; /** * 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; /** * The optional parameter to filter the attention logs by urgency. */ urgencyFilter?: string; } /** * A collection of values returned by getManagedDatabaseAttentionLogCounts. */ export interface GetManagedDatabaseAttentionLogCountsResult { /** * The list of attention_log_counts_collection. */ readonly attentionLogCountsCollections: outputs.DatabaseManagement.GetManagedDatabaseAttentionLogCountsAttentionLogCountsCollection[]; readonly filters?: outputs.DatabaseManagement.GetManagedDatabaseAttentionLogCountsFilter[]; readonly groupBy?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly isRegularExpression?: boolean; 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; readonly urgencyFilter?: string; } /** * This data source provides the list of Managed Database Attention Log Counts in Oracle Cloud Infrastructure Database Management service. * * Get the counts of attention logs for the specified Managed Database. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testManagedDatabaseAttentionLogCounts = oci.databasemanagement.getManagedDatabaseAttentionLogCounts({ * managedDatabaseId: testManagedDatabase.id, * groupBy: managedDatabaseAttentionLogCountGroupBy, * isRegularExpression: managedDatabaseAttentionLogCountIsRegularExpression === "true", * logSearchText: managedDatabaseAttentionLogCountLogSearchText, * timeGreaterThanOrEqualTo: managedDatabaseAttentionLogCountTimeGreaterThanOrEqualTo, * timeLessThanOrEqualTo: managedDatabaseAttentionLogCountTimeLessThanOrEqualTo, * typeFilter: managedDatabaseAttentionLogCountTypeFilter, * urgencyFilter: managedDatabaseAttentionLogCountUrgencyFilter, * }); * ``` */ export declare function getManagedDatabaseAttentionLogCountsOutput(args: GetManagedDatabaseAttentionLogCountsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getManagedDatabaseAttentionLogCounts. */ export interface GetManagedDatabaseAttentionLogCountsOutputArgs { filters?: pulumi.Input[] | undefined>; /** * The optional parameter used to group different attention logs. */ groupBy?: pulumi.Input; /** * The flag to indicate whether the search text is regular expression or not. */ isRegularExpression?: 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; /** * The optional parameter to filter the attention logs by urgency. */ urgencyFilter?: pulumi.Input; } //# sourceMappingURL=getManagedDatabaseAttentionLogCounts.d.ts.map