import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Target Database Group resource in Oracle Cloud Infrastructure Data Safe service. * * Returns the details of the specified target database group. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testTargetDatabaseGroup = oci.datasafe.getTargetDatabaseGroup({ * targetDatabaseGroupId: testTargetDatabaseGroupOciDataSafeTargetDatabaseGroup.id, * }); * ``` */ export declare function getTargetDatabaseGroup(args: GetTargetDatabaseGroupArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getTargetDatabaseGroup. */ export interface GetTargetDatabaseGroupArgs { /** * The OCID of the specified target database group. */ targetDatabaseGroupId: string; } /** * A collection of values returned by getTargetDatabaseGroup. */ export interface GetTargetDatabaseGroupResult { /** * The OCID for the compartment containing the target database group. */ readonly compartmentId: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: { [key: string]: string; }; /** * Description of the target database group. */ readonly description: string; /** * The name of the target database group. */ readonly displayName: string; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}` */ readonly freeformTags: { [key: string]: string; }; /** * The OCID of the compartment for including target databases to the target database group. All target databases in the compartment will be members of the target database group. */ readonly id: string; /** * Details for the lifecycle status of the target database group. */ readonly lifecycleDetails: string; /** * Criteria to either include or exclude target databases from the target database group. These criteria can be based on compartments or tags or a list of target databases. See examples below for more details. Include: Target databases will be added to the target database group if they match at least one of the include criteria. Exclude: Target databases that will be excluded from the target database group (even if they match any of the include criteria). */ readonly matchingCriterias: outputs.DataSafe.GetTargetDatabaseGroupMatchingCriteria[]; /** * The number of target databases in the specified target database group. */ readonly membershipCount: number; /** * Time when the members of the target database group were last changed, i.e. the list was refreshed, a target database was added or removed. */ readonly membershipUpdateTime: string; /** * The lifecycle status of the target database group. */ readonly state: string; /** * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; readonly targetDatabaseGroupId: string; /** * Time when the target database group was created. */ readonly timeCreated: string; /** * Time when the target database group was last updated. */ readonly timeUpdated: string; } /** * This data source provides details about a specific Target Database Group resource in Oracle Cloud Infrastructure Data Safe service. * * Returns the details of the specified target database group. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testTargetDatabaseGroup = oci.datasafe.getTargetDatabaseGroup({ * targetDatabaseGroupId: testTargetDatabaseGroupOciDataSafeTargetDatabaseGroup.id, * }); * ``` */ export declare function getTargetDatabaseGroupOutput(args: GetTargetDatabaseGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getTargetDatabaseGroup. */ export interface GetTargetDatabaseGroupOutputArgs { /** * The OCID of the specified target database group. */ targetDatabaseGroupId: pulumi.Input; } //# sourceMappingURL=getTargetDatabaseGroup.d.ts.map