oci.DataSafe.getTargetAlertPolicyAssociations
Explore with Pulumi AI
This data source provides the list of Target Alert Policy Associations in Oracle Cloud Infrastructure Data Safe service.
Gets a list of all target-alert policy associations.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testTargetAlertPolicyAssociations = oci.DataSafe.getTargetAlertPolicyAssociations({
compartmentId: compartmentId,
accessLevel: targetAlertPolicyAssociationAccessLevel,
alertPolicyId: testAlertPolicy.id,
compartmentIdInSubtree: targetAlertPolicyAssociationCompartmentIdInSubtree,
state: targetAlertPolicyAssociationState,
targetAlertPolicyAssociationId: testTargetAlertPolicyAssociation.id,
targetId: testTarget.id,
timeCreatedGreaterThanOrEqualTo: targetAlertPolicyAssociationTimeCreatedGreaterThanOrEqualTo,
timeCreatedLessThan: targetAlertPolicyAssociationTimeCreatedLessThan,
});
import pulumi
import pulumi_oci as oci
test_target_alert_policy_associations = oci.DataSafe.get_target_alert_policy_associations(compartment_id=compartment_id,
access_level=target_alert_policy_association_access_level,
alert_policy_id=test_alert_policy["id"],
compartment_id_in_subtree=target_alert_policy_association_compartment_id_in_subtree,
state=target_alert_policy_association_state,
target_alert_policy_association_id=test_target_alert_policy_association["id"],
target_id=test_target["id"],
time_created_greater_than_or_equal_to=target_alert_policy_association_time_created_greater_than_or_equal_to,
time_created_less_than=target_alert_policy_association_time_created_less_than)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/DataSafe"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := DataSafe.GetTargetAlertPolicyAssociations(ctx, &datasafe.GetTargetAlertPolicyAssociationsArgs{
CompartmentId: compartmentId,
AccessLevel: pulumi.StringRef(targetAlertPolicyAssociationAccessLevel),
AlertPolicyId: pulumi.StringRef(testAlertPolicy.Id),
CompartmentIdInSubtree: pulumi.BoolRef(targetAlertPolicyAssociationCompartmentIdInSubtree),
State: pulumi.StringRef(targetAlertPolicyAssociationState),
TargetAlertPolicyAssociationId: pulumi.StringRef(testTargetAlertPolicyAssociation.Id),
TargetId: pulumi.StringRef(testTarget.Id),
TimeCreatedGreaterThanOrEqualTo: pulumi.StringRef(targetAlertPolicyAssociationTimeCreatedGreaterThanOrEqualTo),
TimeCreatedLessThan: pulumi.StringRef(targetAlertPolicyAssociationTimeCreatedLessThan),
}, 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 testTargetAlertPolicyAssociations = Oci.DataSafe.GetTargetAlertPolicyAssociations.Invoke(new()
{
CompartmentId = compartmentId,
AccessLevel = targetAlertPolicyAssociationAccessLevel,
AlertPolicyId = testAlertPolicy.Id,
CompartmentIdInSubtree = targetAlertPolicyAssociationCompartmentIdInSubtree,
State = targetAlertPolicyAssociationState,
TargetAlertPolicyAssociationId = testTargetAlertPolicyAssociation.Id,
TargetId = testTarget.Id,
TimeCreatedGreaterThanOrEqualTo = targetAlertPolicyAssociationTimeCreatedGreaterThanOrEqualTo,
TimeCreatedLessThan = targetAlertPolicyAssociationTimeCreatedLessThan,
});
});
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.GetTargetAlertPolicyAssociationsArgs;
import java.util.List;
import java.util.ArrayList;
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 testTargetAlertPolicyAssociations = DataSafeFunctions.getTargetAlertPolicyAssociations(GetTargetAlertPolicyAssociationsArgs.builder()
.compartmentId(compartmentId)
.accessLevel(targetAlertPolicyAssociationAccessLevel)
.alertPolicyId(testAlertPolicy.id())
.compartmentIdInSubtree(targetAlertPolicyAssociationCompartmentIdInSubtree)
.state(targetAlertPolicyAssociationState)
.targetAlertPolicyAssociationId(testTargetAlertPolicyAssociation.id())
.targetId(testTarget.id())
.timeCreatedGreaterThanOrEqualTo(targetAlertPolicyAssociationTimeCreatedGreaterThanOrEqualTo)
.timeCreatedLessThan(targetAlertPolicyAssociationTimeCreatedLessThan)
.build());
}
}
variables:
testTargetAlertPolicyAssociations:
fn::invoke:
Function: oci:DataSafe:getTargetAlertPolicyAssociations
Arguments:
compartmentId: ${compartmentId}
accessLevel: ${targetAlertPolicyAssociationAccessLevel}
alertPolicyId: ${testAlertPolicy.id}
compartmentIdInSubtree: ${targetAlertPolicyAssociationCompartmentIdInSubtree}
state: ${targetAlertPolicyAssociationState}
targetAlertPolicyAssociationId: ${testTargetAlertPolicyAssociation.id}
targetId: ${testTarget.id}
timeCreatedGreaterThanOrEqualTo: ${targetAlertPolicyAssociationTimeCreatedGreaterThanOrEqualTo}
timeCreatedLessThan: ${targetAlertPolicyAssociationTimeCreatedLessThan}
Using getTargetAlertPolicyAssociations
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 getTargetAlertPolicyAssociations(args: GetTargetAlertPolicyAssociationsArgs, opts?: InvokeOptions): Promise<GetTargetAlertPolicyAssociationsResult>
function getTargetAlertPolicyAssociationsOutput(args: GetTargetAlertPolicyAssociationsOutputArgs, opts?: InvokeOptions): Output<GetTargetAlertPolicyAssociationsResult>
def get_target_alert_policy_associations(access_level: Optional[str] = None,
alert_policy_id: Optional[str] = None,
compartment_id: Optional[str] = None,
compartment_id_in_subtree: Optional[bool] = None,
filters: Optional[Sequence[_datasafe.GetTargetAlertPolicyAssociationsFilter]] = None,
state: Optional[str] = None,
target_alert_policy_association_id: Optional[str] = None,
target_id: Optional[str] = None,
time_created_greater_than_or_equal_to: Optional[str] = None,
time_created_less_than: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTargetAlertPolicyAssociationsResult
def get_target_alert_policy_associations_output(access_level: Optional[pulumi.Input[str]] = None,
alert_policy_id: Optional[pulumi.Input[str]] = None,
compartment_id: Optional[pulumi.Input[str]] = None,
compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_datasafe.GetTargetAlertPolicyAssociationsFilterArgs]]]] = None,
state: Optional[pulumi.Input[str]] = None,
target_alert_policy_association_id: Optional[pulumi.Input[str]] = None,
target_id: Optional[pulumi.Input[str]] = None,
time_created_greater_than_or_equal_to: Optional[pulumi.Input[str]] = None,
time_created_less_than: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTargetAlertPolicyAssociationsResult]
func GetTargetAlertPolicyAssociations(ctx *Context, args *GetTargetAlertPolicyAssociationsArgs, opts ...InvokeOption) (*GetTargetAlertPolicyAssociationsResult, error)
func GetTargetAlertPolicyAssociationsOutput(ctx *Context, args *GetTargetAlertPolicyAssociationsOutputArgs, opts ...InvokeOption) GetTargetAlertPolicyAssociationsResultOutput
> Note: This function is named GetTargetAlertPolicyAssociations
in the Go SDK.
public static class GetTargetAlertPolicyAssociations
{
public static Task<GetTargetAlertPolicyAssociationsResult> InvokeAsync(GetTargetAlertPolicyAssociationsArgs args, InvokeOptions? opts = null)
public static Output<GetTargetAlertPolicyAssociationsResult> Invoke(GetTargetAlertPolicyAssociationsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTargetAlertPolicyAssociationsResult> getTargetAlertPolicyAssociations(GetTargetAlertPolicyAssociationsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:DataSafe/getTargetAlertPolicyAssociations:getTargetAlertPolicyAssociations
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - A filter to return only resources that match the specified compartment OCID.
- Access
Level string - Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
- Alert
Policy stringId - A filter to return policy by it's OCID.
- Compartment
Id boolIn Subtree - Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
- Filters
List<Get
Target Alert Policy Associations Filter> - State string
- An optional filter to return only alert policies that have the given life-cycle state.
- Target
Alert stringPolicy Association Id - A filter to return only items related to a specific target-alert policy association ID.
- Target
Id string - A filter to return only items related to a specific target OCID.
- Time
Created stringGreater Than Or Equal To A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
Example: 2016-12-19T16:39:57.600Z
- Time
Created stringLess Than Search for resources that were created before a specific date. Specifying this parameter corresponding
timeCreatedLessThan
parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.Example: 2016-12-19T16:39:57.600Z
- Compartment
Id string - A filter to return only resources that match the specified compartment OCID.
- Access
Level string - Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
- Alert
Policy stringId - A filter to return policy by it's OCID.
- Compartment
Id boolIn Subtree - Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
- Filters
[]Get
Target Alert Policy Associations Filter - State string
- An optional filter to return only alert policies that have the given life-cycle state.
- Target
Alert stringPolicy Association Id - A filter to return only items related to a specific target-alert policy association ID.
- Target
Id string - A filter to return only items related to a specific target OCID.
- Time
Created stringGreater Than Or Equal To A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
Example: 2016-12-19T16:39:57.600Z
- Time
Created stringLess Than Search for resources that were created before a specific date. Specifying this parameter corresponding
timeCreatedLessThan
parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.Example: 2016-12-19T16:39:57.600Z
- compartment
Id String - A filter to return only resources that match the specified compartment OCID.
- access
Level String - Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
- alert
Policy StringId - A filter to return policy by it's OCID.
- compartment
Id BooleanIn Subtree - Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
- filters
List<Get
Target Alert Policy Associations Filter> - state String
- An optional filter to return only alert policies that have the given life-cycle state.
- target
Alert StringPolicy Association Id - A filter to return only items related to a specific target-alert policy association ID.
- target
Id String - A filter to return only items related to a specific target OCID.
- time
Created StringGreater Than Or Equal To A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
Example: 2016-12-19T16:39:57.600Z
- time
Created StringLess Than Search for resources that were created before a specific date. Specifying this parameter corresponding
timeCreatedLessThan
parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.Example: 2016-12-19T16:39:57.600Z
- compartment
Id string - A filter to return only resources that match the specified compartment OCID.
- access
Level string - Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
- alert
Policy stringId - A filter to return policy by it's OCID.
- compartment
Id booleanIn Subtree - Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
- filters
Get
Target Alert Policy Associations Filter[] - state string
- An optional filter to return only alert policies that have the given life-cycle state.
- target
Alert stringPolicy Association Id - A filter to return only items related to a specific target-alert policy association ID.
- target
Id string - A filter to return only items related to a specific target OCID.
- time
Created stringGreater Than Or Equal To A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
Example: 2016-12-19T16:39:57.600Z
- time
Created stringLess Than Search for resources that were created before a specific date. Specifying this parameter corresponding
timeCreatedLessThan
parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.Example: 2016-12-19T16:39:57.600Z
- compartment_
id str - A filter to return only resources that match the specified compartment OCID.
- access_
level str - Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
- alert_
policy_ strid - A filter to return policy by it's OCID.
- compartment_
id_ boolin_ subtree - Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
- filters
Sequence[datasafe.
Get Target Alert Policy Associations Filter] - state str
- An optional filter to return only alert policies that have the given life-cycle state.
- target_
alert_ strpolicy_ association_ id - A filter to return only items related to a specific target-alert policy association ID.
- target_
id str - A filter to return only items related to a specific target OCID.
- time_
created_ strgreater_ than_ or_ equal_ to A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
Example: 2016-12-19T16:39:57.600Z
- time_
created_ strless_ than Search for resources that were created before a specific date. Specifying this parameter corresponding
timeCreatedLessThan
parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.Example: 2016-12-19T16:39:57.600Z
- compartment
Id String - A filter to return only resources that match the specified compartment OCID.
- access
Level String - Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
- alert
Policy StringId - A filter to return policy by it's OCID.
- compartment
Id BooleanIn Subtree - Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
- filters List<Property Map>
- state String
- An optional filter to return only alert policies that have the given life-cycle state.
- target
Alert StringPolicy Association Id - A filter to return only items related to a specific target-alert policy association ID.
- target
Id String - A filter to return only items related to a specific target OCID.
- time
Created StringGreater Than Or Equal To A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
Example: 2016-12-19T16:39:57.600Z
- time
Created StringLess Than Search for resources that were created before a specific date. Specifying this parameter corresponding
timeCreatedLessThan
parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.Example: 2016-12-19T16:39:57.600Z
getTargetAlertPolicyAssociations Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment that contains the policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Target
Alert List<GetPolicy Association Collections Target Alert Policy Associations Target Alert Policy Association Collection> - The list of target_alert_policy_association_collection.
- Access
Level string - Alert
Policy stringId - Compartment
Id boolIn Subtree - Filters
List<Get
Target Alert Policy Associations Filter> - State string
- The current state of the target-alert policy association.
- Target
Alert stringPolicy Association Id - Target
Id string - The OCID of the target on which alert policy is to be applied.
- Time
Created stringGreater Than Or Equal To - Time
Created stringLess Than
- Compartment
Id string - The OCID of the compartment that contains the policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Target
Alert []GetPolicy Association Collections Target Alert Policy Associations Target Alert Policy Association Collection - The list of target_alert_policy_association_collection.
- Access
Level string - Alert
Policy stringId - Compartment
Id boolIn Subtree - Filters
[]Get
Target Alert Policy Associations Filter - State string
- The current state of the target-alert policy association.
- Target
Alert stringPolicy Association Id - Target
Id string - The OCID of the target on which alert policy is to be applied.
- Time
Created stringGreater Than Or Equal To - Time
Created stringLess Than
- compartment
Id String - The OCID of the compartment that contains the policy.
- id String
- The provider-assigned unique ID for this managed resource.
- target
Alert List<GetPolicy Association Collections Target Alert Policy Associations Target Alert Policy Association Collection> - The list of target_alert_policy_association_collection.
- access
Level String - alert
Policy StringId - compartment
Id BooleanIn Subtree - filters
List<Get
Target Alert Policy Associations Filter> - state String
- The current state of the target-alert policy association.
- target
Alert StringPolicy Association Id - target
Id String - The OCID of the target on which alert policy is to be applied.
- time
Created StringGreater Than Or Equal To - time
Created StringLess Than
- compartment
Id string - The OCID of the compartment that contains the policy.
- id string
- The provider-assigned unique ID for this managed resource.
- target
Alert GetPolicy Association Collections Target Alert Policy Associations Target Alert Policy Association Collection[] - The list of target_alert_policy_association_collection.
- access
Level string - alert
Policy stringId - compartment
Id booleanIn Subtree - filters
Get
Target Alert Policy Associations Filter[] - state string
- The current state of the target-alert policy association.
- target
Alert stringPolicy Association Id - target
Id string - The OCID of the target on which alert policy is to be applied.
- time
Created stringGreater Than Or Equal To - time
Created stringLess Than
- compartment_
id str - The OCID of the compartment that contains the policy.
- id str
- The provider-assigned unique ID for this managed resource.
- target_
alert_ Sequence[datasafe.policy_ association_ collections Get Target Alert Policy Associations Target Alert Policy Association Collection] - The list of target_alert_policy_association_collection.
- access_
level str - alert_
policy_ strid - compartment_
id_ boolin_ subtree - filters
Sequence[datasafe.
Get Target Alert Policy Associations Filter] - state str
- The current state of the target-alert policy association.
- target_
alert_ strpolicy_ association_ id - target_
id str - The OCID of the target on which alert policy is to be applied.
- time_
created_ strgreater_ than_ or_ equal_ to - time_
created_ strless_ than
- compartment
Id String - The OCID of the compartment that contains the policy.
- id String
- The provider-assigned unique ID for this managed resource.
- target
Alert List<Property Map>Policy Association Collections - The list of target_alert_policy_association_collection.
- access
Level String - alert
Policy StringId - compartment
Id BooleanIn Subtree - filters List<Property Map>
- state String
- The current state of the target-alert policy association.
- target
Alert StringPolicy Association Id - target
Id String - The OCID of the target on which alert policy is to be applied.
- time
Created StringGreater Than Or Equal To - time
Created StringLess Than
Supporting Types
GetTargetAlertPolicyAssociationsFilter
GetTargetAlertPolicyAssociationsTargetAlertPolicyAssociationCollection
GetTargetAlertPolicyAssociationsTargetAlertPolicyAssociationCollectionItem
- Compartment
Id string - A filter to return only resources that match the specified compartment OCID.
- Dictionary<string, object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- Description string
- Describes the target-alert policy association.
- Display
Name string - The display name of the target-alert policy association.
- Dictionary<string, object>
- 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"}
- Id string
- The OCID of the target-alert policy association.
- Is
Enabled bool - Indicates if the target-alert policy association is enabled or disabled.
- Policy
Id string - The OCID of the alert policy.
- State string
- An optional filter to return only alert policies that have the given life-cycle state.
- Dictionary<string, object>
- 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
Id string - A filter to return only items related to a specific target OCID.
- Time
Created string - Creation date and time of the alert policy, in the format defined by RFC3339.
- Time
Updated string - Last date and time the alert policy was updated, in the format defined by RFC3339.
- Compartment
Id string - A filter to return only resources that match the specified compartment OCID.
- map[string]interface{}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- Description string
- Describes the target-alert policy association.
- Display
Name string - The display name of the target-alert policy association.
- map[string]interface{}
- 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"}
- Id string
- The OCID of the target-alert policy association.
- Is
Enabled bool - Indicates if the target-alert policy association is enabled or disabled.
- Policy
Id string - The OCID of the alert policy.
- State string
- An optional filter to return only alert policies that have the given life-cycle state.
- map[string]interface{}
- 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
Id string - A filter to return only items related to a specific target OCID.
- Time
Created string - Creation date and time of the alert policy, in the format defined by RFC3339.
- Time
Updated string - Last date and time the alert policy was updated, in the format defined by RFC3339.
- compartment
Id String - A filter to return only resources that match the specified compartment OCID.
- Map<String,Object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- description String
- Describes the target-alert policy association.
- display
Name String - The display name of the target-alert policy association.
- Map<String,Object>
- 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"}
- id String
- The OCID of the target-alert policy association.
- is
Enabled Boolean - Indicates if the target-alert policy association is enabled or disabled.
- policy
Id String - The OCID of the alert policy.
- state String
- An optional filter to return only alert policies that have the given life-cycle state.
- Map<String,Object>
- 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
Id String - A filter to return only items related to a specific target OCID.
- time
Created String - Creation date and time of the alert policy, in the format defined by RFC3339.
- time
Updated String - Last date and time the alert policy was updated, in the format defined by RFC3339.
- compartment
Id string - A filter to return only resources that match the specified compartment OCID.
- {[key: string]: any}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- description string
- Describes the target-alert policy association.
- display
Name string - The display name of the target-alert policy association.
- {[key: string]: any}
- 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"}
- id string
- The OCID of the target-alert policy association.
- is
Enabled boolean - Indicates if the target-alert policy association is enabled or disabled.
- policy
Id string - The OCID of the alert policy.
- state string
- An optional filter to return only alert policies that have the given life-cycle state.
- {[key: string]: any}
- 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
Id string - A filter to return only items related to a specific target OCID.
- time
Created string - Creation date and time of the alert policy, in the format defined by RFC3339.
- time
Updated string - Last date and time the alert policy was updated, in the format defined by RFC3339.
- compartment_
id str - A filter to return only resources that match the specified compartment OCID.
- Mapping[str, Any]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- description str
- Describes the target-alert policy association.
- display_
name str - The display name of the target-alert policy association.
- Mapping[str, Any]
- 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"}
- id str
- The OCID of the target-alert policy association.
- is_
enabled bool - Indicates if the target-alert policy association is enabled or disabled.
- policy_
id str - The OCID of the alert policy.
- state str
- An optional filter to return only alert policies that have the given life-cycle state.
- Mapping[str, Any]
- 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_
id str - A filter to return only items related to a specific target OCID.
- time_
created str - Creation date and time of the alert policy, in the format defined by RFC3339.
- time_
updated str - Last date and time the alert policy was updated, in the format defined by RFC3339.
- compartment
Id String - A filter to return only resources that match the specified compartment OCID.
- Map<Any>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- description String
- Describes the target-alert policy association.
- display
Name String - The display name of the target-alert policy association.
- Map<Any>
- 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"}
- id String
- The OCID of the target-alert policy association.
- is
Enabled Boolean - Indicates if the target-alert policy association is enabled or disabled.
- policy
Id String - The OCID of the alert policy.
- state String
- An optional filter to return only alert policies that have the given life-cycle state.
- Map<Any>
- 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
Id String - A filter to return only items related to a specific target OCID.
- time
Created String - Creation date and time of the alert policy, in the format defined by RFC3339.
- time
Updated String - Last date and time the alert policy was updated, in the format defined by RFC3339.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.