import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Target Alert Policy Association resource in Oracle Cloud Infrastructure Data Safe service. * * Gets the details of target-alert policy association by its ID. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testTargetAlertPolicyAssociation = oci.datasafe.getTargetAlertPolicyAssociation({ * targetAlertPolicyAssociationId: testTargetAlertPolicyAssociationOciDataSafeTargetAlertPolicyAssociation.id, * }); * ``` */ export declare function getTargetAlertPolicyAssociation(args: GetTargetAlertPolicyAssociationArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getTargetAlertPolicyAssociation. */ export interface GetTargetAlertPolicyAssociationArgs { /** * The OCID of the target-alert policy association. */ targetAlertPolicyAssociationId: string; } /** * A collection of values returned by getTargetAlertPolicyAssociation. */ export interface GetTargetAlertPolicyAssociationResult { /** * The OCID of the compartment that contains the policy. */ 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; }; /** * Describes the target-alert policy association. */ readonly description: string; /** * The display name of the target-alert policy association. */ 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 target-alert policy association. */ readonly id: string; /** * Indicates if the target-alert policy association is enabled or disabled by user. */ readonly isEnabled: boolean; /** * Details about the current state of the target-alert policy association. */ readonly lifecycleDetails: string; /** * The OCID of the alert policy. */ readonly policyId: string; /** * The current state of the target-alert policy association. */ 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 targetAlertPolicyAssociationId: string; /** * The OCID of the target or target database group on which alert policy is to be applied. */ readonly targetId: string; /** * The resource type that is represented by the target alert policy association. */ readonly targetType: string; /** * Creation date and time of the alert policy, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). */ readonly timeCreated: string; /** * Last date and time the alert policy was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). */ readonly timeUpdated: string; } /** * This data source provides details about a specific Target Alert Policy Association resource in Oracle Cloud Infrastructure Data Safe service. * * Gets the details of target-alert policy association by its ID. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testTargetAlertPolicyAssociation = oci.datasafe.getTargetAlertPolicyAssociation({ * targetAlertPolicyAssociationId: testTargetAlertPolicyAssociationOciDataSafeTargetAlertPolicyAssociation.id, * }); * ``` */ export declare function getTargetAlertPolicyAssociationOutput(args: GetTargetAlertPolicyAssociationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getTargetAlertPolicyAssociation. */ export interface GetTargetAlertPolicyAssociationOutputArgs { /** * The OCID of the target-alert policy association. */ targetAlertPolicyAssociationId: pulumi.Input; } //# sourceMappingURL=getTargetAlertPolicyAssociation.d.ts.map