Viewing docs for Oracle Cloud Infrastructure v4.20.0
published on Wednesday, Jul 15, 2026 by Pulumi
published on Wednesday, Jul 15, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.20.0
published on Wednesday, Jul 15, 2026 by Pulumi
published on Wednesday, Jul 15, 2026 by Pulumi
This data source provides the list of Target Alert Policy Association Unassociated Target Members in Oracle Cloud Infrastructure Data Safe service.
Gets the details of target-alert policy association and its unassociated members by its ID.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testTargetAlertPolicyAssociationUnassociatedTargetMembers = oci.datasafe.getTargetAlertPolicyAssociationUnassociatedTargetMembers({
targetAlertPolicyAssociationId: testTargetAlertPolicyAssociation.id,
});
import pulumi
import pulumi_oci as oci
test_target_alert_policy_association_unassociated_target_members = oci.datasafe.get_target_alert_policy_association_unassociated_target_members(target_alert_policy_association_id=test_target_alert_policy_association["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/datasafe"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datasafe.GetTargetAlertPolicyAssociationUnassociatedTargetMembers(ctx, &datasafe.GetTargetAlertPolicyAssociationUnassociatedTargetMembersArgs{
TargetAlertPolicyAssociationId: testTargetAlertPolicyAssociation.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testTargetAlertPolicyAssociationUnassociatedTargetMembers = Oci.DataSafe.GetTargetAlertPolicyAssociationUnassociatedTargetMembers.Invoke(new()
{
TargetAlertPolicyAssociationId = testTargetAlertPolicyAssociation.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DataSafe.DataSafeFunctions;
import com.pulumi.oci.DataSafe.inputs.GetTargetAlertPolicyAssociationUnassociatedTargetMembersArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testTargetAlertPolicyAssociationUnassociatedTargetMembers = DataSafeFunctions.getTargetAlertPolicyAssociationUnassociatedTargetMembers(GetTargetAlertPolicyAssociationUnassociatedTargetMembersArgs.builder()
.targetAlertPolicyAssociationId(testTargetAlertPolicyAssociation.id())
.build());
}
}
variables:
testTargetAlertPolicyAssociationUnassociatedTargetMembers:
fn::invoke:
function: oci:DataSafe:getTargetAlertPolicyAssociationUnassociatedTargetMembers
arguments:
targetAlertPolicyAssociationId: ${testTargetAlertPolicyAssociation.id}
pulumi {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
data "oci_datasafe_gettargetalertpolicyassociationunassociatedtargetmembers" "testTargetAlertPolicyAssociationUnassociatedTargetMembers" {
target_alert_policy_association_id = testTargetAlertPolicyAssociation.id
}
Using getTargetAlertPolicyAssociationUnassociatedTargetMembers
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTargetAlertPolicyAssociationUnassociatedTargetMembers(args: GetTargetAlertPolicyAssociationUnassociatedTargetMembersArgs, opts?: InvokeOptions): Promise<GetTargetAlertPolicyAssociationUnassociatedTargetMembersResult>
function getTargetAlertPolicyAssociationUnassociatedTargetMembersOutput(args: GetTargetAlertPolicyAssociationUnassociatedTargetMembersOutputArgs, opts?: InvokeOptions): Output<GetTargetAlertPolicyAssociationUnassociatedTargetMembersResult>def get_target_alert_policy_association_unassociated_target_members(filters: Optional[Sequence[GetTargetAlertPolicyAssociationUnassociatedTargetMembersFilter]] = None,
target_alert_policy_association_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTargetAlertPolicyAssociationUnassociatedTargetMembersResult
def get_target_alert_policy_association_unassociated_target_members_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetTargetAlertPolicyAssociationUnassociatedTargetMembersFilterArgs]]]] = None,
target_alert_policy_association_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTargetAlertPolicyAssociationUnassociatedTargetMembersResult]func GetTargetAlertPolicyAssociationUnassociatedTargetMembers(ctx *Context, args *GetTargetAlertPolicyAssociationUnassociatedTargetMembersArgs, opts ...InvokeOption) (*GetTargetAlertPolicyAssociationUnassociatedTargetMembersResult, error)
func GetTargetAlertPolicyAssociationUnassociatedTargetMembersOutput(ctx *Context, args *GetTargetAlertPolicyAssociationUnassociatedTargetMembersOutputArgs, opts ...InvokeOption) GetTargetAlertPolicyAssociationUnassociatedTargetMembersResultOutput> Note: This function is named GetTargetAlertPolicyAssociationUnassociatedTargetMembers in the Go SDK.
public static class GetTargetAlertPolicyAssociationUnassociatedTargetMembers
{
public static Task<GetTargetAlertPolicyAssociationUnassociatedTargetMembersResult> InvokeAsync(GetTargetAlertPolicyAssociationUnassociatedTargetMembersArgs args, InvokeOptions? opts = null)
public static Output<GetTargetAlertPolicyAssociationUnassociatedTargetMembersResult> Invoke(GetTargetAlertPolicyAssociationUnassociatedTargetMembersInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTargetAlertPolicyAssociationUnassociatedTargetMembersResult> getTargetAlertPolicyAssociationUnassociatedTargetMembers(GetTargetAlertPolicyAssociationUnassociatedTargetMembersArgs args, InvokeOptions options)
public static Output<GetTargetAlertPolicyAssociationUnassociatedTargetMembersResult> getTargetAlertPolicyAssociationUnassociatedTargetMembers(GetTargetAlertPolicyAssociationUnassociatedTargetMembersArgs args, InvokeOptions options)
fn::invoke:
function: oci:DataSafe/getTargetAlertPolicyAssociationUnassociatedTargetMembers:getTargetAlertPolicyAssociationUnassociatedTargetMembers
arguments:
# arguments dictionarydata "oci_data_safe_get_target_alert_policy_association_unassociated_target_members" "name" {
# arguments
}The following arguments are supported:
- Target
Alert stringPolicy Association Id - The OCID of the target-alert policy association.
- Filters
List<Get
Target Alert Policy Association Unassociated Target Members Filter>
- Target
Alert stringPolicy Association Id - The OCID of the target-alert policy association.
- Filters
[]Get
Target Alert Policy Association Unassociated Target Members Filter
- target_
alert_ stringpolicy_ association_ id - The OCID of the target-alert policy association.
- filters list(object)
- target
Alert StringPolicy Association Id - The OCID of the target-alert policy association.
- filters
List<Get
Target Alert Policy Association Unassociated Target Members Filter>
- target
Alert stringPolicy Association Id - The OCID of the target-alert policy association.
- filters
Get
Target Alert Policy Association Unassociated Target Members Filter[]
- target_
alert_ strpolicy_ association_ id - The OCID of the target-alert policy association.
- filters
Sequence[Get
Target Alert Policy Association Unassociated Target Members Filter]
- target
Alert StringPolicy Association Id - The OCID of the target-alert policy association.
- filters List<Property Map>
getTargetAlertPolicyAssociationUnassociatedTargetMembers Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Target
Alert stringPolicy Association Id - Target
Alert List<GetPolicy Unassociated Collections Target Alert Policy Association Unassociated Target Members Target Alert Policy Unassociated Collection> - The list of target_alert_policy_unassociated_collection.
- Filters
List<Get
Target Alert Policy Association Unassociated Target Members Filter>
- Id string
- The provider-assigned unique ID for this managed resource.
- Target
Alert stringPolicy Association Id - Target
Alert []GetPolicy Unassociated Collections Target Alert Policy Association Unassociated Target Members Target Alert Policy Unassociated Collection - The list of target_alert_policy_unassociated_collection.
- Filters
[]Get
Target Alert Policy Association Unassociated Target Members Filter
- id string
- The provider-assigned unique ID for this managed resource.
- target_
alert_ stringpolicy_ association_ id - target_
alert_ list(object)policy_ unassociated_ collections - The list of target_alert_policy_unassociated_collection.
- filters list(object)
- id String
- The provider-assigned unique ID for this managed resource.
- target
Alert StringPolicy Association Id - target
Alert List<GetPolicy Unassociated Collections Target Alert Policy Association Unassociated Target Members Target Alert Policy Unassociated Collection> - The list of target_alert_policy_unassociated_collection.
- filters
List<Get
Target Alert Policy Association Unassociated Target Members Filter>
- id string
- The provider-assigned unique ID for this managed resource.
- target
Alert stringPolicy Association Id - target
Alert GetPolicy Unassociated Collections Target Alert Policy Association Unassociated Target Members Target Alert Policy Unassociated Collection[] - The list of target_alert_policy_unassociated_collection.
- filters
Get
Target Alert Policy Association Unassociated Target Members Filter[]
- id str
- The provider-assigned unique ID for this managed resource.
- target_
alert_ strpolicy_ association_ id - target_
alert_ Sequence[Getpolicy_ unassociated_ collections Target Alert Policy Association Unassociated Target Members Target Alert Policy Unassociated Collection] - The list of target_alert_policy_unassociated_collection.
- filters
Sequence[Get
Target Alert Policy Association Unassociated Target Members Filter]
- id String
- The provider-assigned unique ID for this managed resource.
- target
Alert StringPolicy Association Id - target
Alert List<Property Map>Policy Unassociated Collections - The list of target_alert_policy_unassociated_collection.
- filters List<Property Map>
Supporting Types
GetTargetAlertPolicyAssociationUnassociatedTargetMembersFilter
GetTargetAlertPolicyAssociationUnassociatedTargetMembersTargetAlertPolicyUnassociatedCollection
- Items
List<Get
Target Alert Policy Association Unassociated Target Members Target Alert Policy Unassociated Collection Item> - Array of unassociated target alert policy association summary.
- Items
[]Get
Target Alert Policy Association Unassociated Target Members Target Alert Policy Unassociated Collection Item - Array of unassociated target alert policy association summary.
- items list(object)
- Array of unassociated target alert policy association summary.
- items
List<Get
Target Alert Policy Association Unassociated Target Members Target Alert Policy Unassociated Collection Item> - Array of unassociated target alert policy association summary.
- items
Get
Target Alert Policy Association Unassociated Target Members Target Alert Policy Unassociated Collection Item[] - Array of unassociated target alert policy association summary.
- items
Sequence[Get
Target Alert Policy Association Unassociated Target Members Target Alert Policy Unassociated Collection Item] - Array of unassociated target alert policy association summary.
- items List<Property Map>
- Array of unassociated target alert policy association summary.
GetTargetAlertPolicyAssociationUnassociatedTargetMembersTargetAlertPolicyUnassociatedCollectionItem
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"} - Dictionary<string, 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 Example:
{"Department": "Finance"} - Is
Enabled bool - Indicates if the target-alert policy association is enabled or disabled by user.
- Not
Applied stringReason - Details on why policy is not applied on target.
- Dictionary<string, 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"} - Target
Database stringId - The OCID of the target database that differs from the alert policy association of the target database group.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"} - map[string]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 Example:
{"Department": "Finance"} - Is
Enabled bool - Indicates if the target-alert policy association is enabled or disabled by user.
- Not
Applied stringReason - Details on why policy is not applied on target.
- map[string]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"} - Target
Database stringId - The OCID of the target database that differs from the alert policy association of the target database group.
- map(string)
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"} - map(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 Example:
{"Department": "Finance"} - is_
enabled bool - Indicates if the target-alert policy association is enabled or disabled by user.
- not_
applied_ stringreason - Details on why policy is not applied on target.
- map(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"} - target_
database_ stringid - The OCID of the target database that differs from the alert policy association of the target database group.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"} - Map<String,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 Example:
{"Department": "Finance"} - is
Enabled Boolean - Indicates if the target-alert policy association is enabled or disabled by user.
- not
Applied StringReason - Details on why policy is not applied on target.
- Map<String,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"} - target
Database StringId - The OCID of the target database that differs from the alert policy association of the target database group.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"} - {[key: string]: 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 Example:
{"Department": "Finance"} - is
Enabled boolean - Indicates if the target-alert policy association is enabled or disabled by user.
- not
Applied stringReason - Details on why policy is not applied on target.
- {[key: string]: 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"} - target
Database stringId - The OCID of the target database that differs from the alert policy association of the target database group.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"} - Mapping[str, str]
- 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 Example:
{"Department": "Finance"} - is_
enabled bool - Indicates if the target-alert policy association is enabled or disabled by user.
- not_
applied_ strreason - Details on why policy is not applied on target.
- Mapping[str, str]
- 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"} - target_
database_ strid - The OCID of the target database that differs from the alert policy association of the target database group.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"} - Map<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 Example:
{"Department": "Finance"} - is
Enabled Boolean - Indicates if the target-alert policy association is enabled or disabled by user.
- not
Applied StringReason - Details on why policy is not applied on target.
- Map<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"} - target
Database StringId - The OCID of the target database that differs from the alert policy association of the target database group.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v4.20.0
published on Wednesday, Jul 15, 2026 by Pulumi
published on Wednesday, Jul 15, 2026 by Pulumi