Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.FleetAppsManagement.getCompliancePolicyRules
Explore with Pulumi AI
This data source provides the list of Compliance Policy Rules in Oracle Cloud Infrastructure Fleet Apps Management service.
Gets a list of CompliancePolicyRules.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testCompliancePolicyRules = oci.FleetAppsManagement.getCompliancePolicyRules({
    compartmentId: compartmentId,
    compliancePolicyId: testCompliancePolicy.id,
    displayName: compliancePolicyRuleDisplayName,
    id: compliancePolicyRuleId,
    patchName: testPatch.name,
    state: compliancePolicyRuleState,
});
import pulumi
import pulumi_oci as oci
test_compliance_policy_rules = oci.FleetAppsManagement.get_compliance_policy_rules(compartment_id=compartment_id,
    compliance_policy_id=test_compliance_policy["id"],
    display_name=compliance_policy_rule_display_name,
    id=compliance_policy_rule_id,
    patch_name=test_patch["name"],
    state=compliance_policy_rule_state)
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/fleetappsmanagement"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := fleetappsmanagement.GetCompliancePolicyRules(ctx, &fleetappsmanagement.GetCompliancePolicyRulesArgs{
			CompartmentId:      pulumi.StringRef(compartmentId),
			CompliancePolicyId: pulumi.StringRef(testCompliancePolicy.Id),
			DisplayName:        pulumi.StringRef(compliancePolicyRuleDisplayName),
			Id:                 pulumi.StringRef(compliancePolicyRuleId),
			PatchName:          pulumi.StringRef(testPatch.Name),
			State:              pulumi.StringRef(compliancePolicyRuleState),
		}, 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 testCompliancePolicyRules = Oci.FleetAppsManagement.GetCompliancePolicyRules.Invoke(new()
    {
        CompartmentId = compartmentId,
        CompliancePolicyId = testCompliancePolicy.Id,
        DisplayName = compliancePolicyRuleDisplayName,
        Id = compliancePolicyRuleId,
        PatchName = testPatch.Name,
        State = compliancePolicyRuleState,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.FleetAppsManagement.FleetAppsManagementFunctions;
import com.pulumi.oci.FleetAppsManagement.inputs.GetCompliancePolicyRulesArgs;
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 testCompliancePolicyRules = FleetAppsManagementFunctions.getCompliancePolicyRules(GetCompliancePolicyRulesArgs.builder()
            .compartmentId(compartmentId)
            .compliancePolicyId(testCompliancePolicy.id())
            .displayName(compliancePolicyRuleDisplayName)
            .id(compliancePolicyRuleId)
            .patchName(testPatch.name())
            .state(compliancePolicyRuleState)
            .build());
    }
}
variables:
  testCompliancePolicyRules:
    fn::invoke:
      function: oci:FleetAppsManagement:getCompliancePolicyRules
      arguments:
        compartmentId: ${compartmentId}
        compliancePolicyId: ${testCompliancePolicy.id}
        displayName: ${compliancePolicyRuleDisplayName}
        id: ${compliancePolicyRuleId}
        patchName: ${testPatch.name}
        state: ${compliancePolicyRuleState}
Using getCompliancePolicyRules
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 getCompliancePolicyRules(args: GetCompliancePolicyRulesArgs, opts?: InvokeOptions): Promise<GetCompliancePolicyRulesResult>
function getCompliancePolicyRulesOutput(args: GetCompliancePolicyRulesOutputArgs, opts?: InvokeOptions): Output<GetCompliancePolicyRulesResult>def get_compliance_policy_rules(compartment_id: Optional[str] = None,
                                compliance_policy_id: Optional[str] = None,
                                display_name: Optional[str] = None,
                                filters: Optional[Sequence[GetCompliancePolicyRulesFilter]] = None,
                                id: Optional[str] = None,
                                patch_name: Optional[str] = None,
                                state: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetCompliancePolicyRulesResult
def get_compliance_policy_rules_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                compliance_policy_id: Optional[pulumi.Input[str]] = None,
                                display_name: Optional[pulumi.Input[str]] = None,
                                filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetCompliancePolicyRulesFilterArgs]]]] = None,
                                id: Optional[pulumi.Input[str]] = None,
                                patch_name: Optional[pulumi.Input[str]] = None,
                                state: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetCompliancePolicyRulesResult]func GetCompliancePolicyRules(ctx *Context, args *GetCompliancePolicyRulesArgs, opts ...InvokeOption) (*GetCompliancePolicyRulesResult, error)
func GetCompliancePolicyRulesOutput(ctx *Context, args *GetCompliancePolicyRulesOutputArgs, opts ...InvokeOption) GetCompliancePolicyRulesResultOutput> Note: This function is named GetCompliancePolicyRules in the Go SDK.
public static class GetCompliancePolicyRules 
{
    public static Task<GetCompliancePolicyRulesResult> InvokeAsync(GetCompliancePolicyRulesArgs args, InvokeOptions? opts = null)
    public static Output<GetCompliancePolicyRulesResult> Invoke(GetCompliancePolicyRulesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCompliancePolicyRulesResult> getCompliancePolicyRules(GetCompliancePolicyRulesArgs args, InvokeOptions options)
public static Output<GetCompliancePolicyRulesResult> getCompliancePolicyRules(GetCompliancePolicyRulesArgs args, InvokeOptions options)
fn::invoke:
  function: oci:FleetAppsManagement/getCompliancePolicyRules:getCompliancePolicyRules
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CompartmentId string
- The ID of the compartment in which to list resources.
- CompliancePolicy stringId 
- unique CompliancePolicy identifier.
- DisplayName string
- A filter to return only resources that match the entire display name given.
- Filters
List<GetCompliance Policy Rules Filter> 
- Id string
- unique CompliancePolicyRule identifier.
- PatchName string
- A filter to return only resources that match the patch selection against the given patch name.
- State string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- CompartmentId string
- The ID of the compartment in which to list resources.
- CompliancePolicy stringId 
- unique CompliancePolicy identifier.
- DisplayName string
- A filter to return only resources that match the entire display name given.
- Filters
[]GetCompliance Policy Rules Filter 
- Id string
- unique CompliancePolicyRule identifier.
- PatchName string
- A filter to return only resources that match the patch selection against the given patch name.
- State string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- compartmentId String
- The ID of the compartment in which to list resources.
- compliancePolicy StringId 
- unique CompliancePolicy identifier.
- displayName String
- A filter to return only resources that match the entire display name given.
- filters
List<GetCompliance Policy Rules Filter> 
- id String
- unique CompliancePolicyRule identifier.
- patchName String
- A filter to return only resources that match the patch selection against the given patch name.
- state String
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- compartmentId string
- The ID of the compartment in which to list resources.
- compliancePolicy stringId 
- unique CompliancePolicy identifier.
- displayName string
- A filter to return only resources that match the entire display name given.
- filters
GetCompliance Policy Rules Filter[] 
- id string
- unique CompliancePolicyRule identifier.
- patchName string
- A filter to return only resources that match the patch selection against the given patch name.
- state string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- compartment_id str
- The ID of the compartment in which to list resources.
- compliance_policy_ strid 
- unique CompliancePolicy identifier.
- display_name str
- A filter to return only resources that match the entire display name given.
- filters
Sequence[GetCompliance Policy Rules Filter] 
- id str
- unique CompliancePolicyRule identifier.
- patch_name str
- A filter to return only resources that match the patch selection against the given patch name.
- state str
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- compartmentId String
- The ID of the compartment in which to list resources.
- compliancePolicy StringId 
- unique CompliancePolicy identifier.
- displayName String
- A filter to return only resources that match the entire display name given.
- filters List<Property Map>
- id String
- unique CompliancePolicyRule identifier.
- patchName String
- A filter to return only resources that match the patch selection against the given patch name.
- state String
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
getCompliancePolicyRules Result
The following output properties are available:
- CompliancePolicy List<GetRule Collections Compliance Policy Rules Compliance Policy Rule Collection> 
- The list of compliance_policy_rule_collection.
- CompartmentId string
- The OCID of the compartment the CompliancePolicyRule belongs to.
- CompliancePolicy stringId 
- Unique OCID of the CompliancePolicy.
- DisplayName string
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
- Filters
List<GetCompliance Policy Rules Filter> 
- Id string
- Unique OCID of the CompliancePolicyRule.
- PatchName string
- Patch Name.
- State string
- The current state of the CompliancePolicyRule.
- CompliancePolicy []GetRule Collections Compliance Policy Rules Compliance Policy Rule Collection 
- The list of compliance_policy_rule_collection.
- CompartmentId string
- The OCID of the compartment the CompliancePolicyRule belongs to.
- CompliancePolicy stringId 
- Unique OCID of the CompliancePolicy.
- DisplayName string
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
- Filters
[]GetCompliance Policy Rules Filter 
- Id string
- Unique OCID of the CompliancePolicyRule.
- PatchName string
- Patch Name.
- State string
- The current state of the CompliancePolicyRule.
- compliancePolicy List<GetRule Collections Compliance Policy Rules Compliance Policy Rule Collection> 
- The list of compliance_policy_rule_collection.
- compartmentId String
- The OCID of the compartment the CompliancePolicyRule belongs to.
- compliancePolicy StringId 
- Unique OCID of the CompliancePolicy.
- displayName String
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
- filters
List<GetCompliance Policy Rules Filter> 
- id String
- Unique OCID of the CompliancePolicyRule.
- patchName String
- Patch Name.
- state String
- The current state of the CompliancePolicyRule.
- compliancePolicy GetRule Collections Compliance Policy Rules Compliance Policy Rule Collection[] 
- The list of compliance_policy_rule_collection.
- compartmentId string
- The OCID of the compartment the CompliancePolicyRule belongs to.
- compliancePolicy stringId 
- Unique OCID of the CompliancePolicy.
- displayName string
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
- filters
GetCompliance Policy Rules Filter[] 
- id string
- Unique OCID of the CompliancePolicyRule.
- patchName string
- Patch Name.
- state string
- The current state of the CompliancePolicyRule.
- compliance_policy_ Sequence[Getrule_ collections Compliance Policy Rules Compliance Policy Rule Collection] 
- The list of compliance_policy_rule_collection.
- compartment_id str
- The OCID of the compartment the CompliancePolicyRule belongs to.
- compliance_policy_ strid 
- Unique OCID of the CompliancePolicy.
- display_name str
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
- filters
Sequence[GetCompliance Policy Rules Filter] 
- id str
- Unique OCID of the CompliancePolicyRule.
- patch_name str
- Patch Name.
- state str
- The current state of the CompliancePolicyRule.
- compliancePolicy List<Property Map>Rule Collections 
- The list of compliance_policy_rule_collection.
- compartmentId String
- The OCID of the compartment the CompliancePolicyRule belongs to.
- compliancePolicy StringId 
- Unique OCID of the CompliancePolicy.
- displayName String
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
- filters List<Property Map>
- id String
- Unique OCID of the CompliancePolicyRule.
- patchName String
- Patch Name.
- state String
- The current state of the CompliancePolicyRule.
Supporting Types
GetCompliancePolicyRulesCompliancePolicyRuleCollection       
GetCompliancePolicyRulesCompliancePolicyRuleCollectionItem        
- CompartmentId string
- The ID of the compartment in which to list resources.
- CompliancePolicy stringId 
- unique CompliancePolicy identifier.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- DisplayName string
- A filter to return only resources that match the entire display name given.
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- GracePeriod string
- Grace period in days,weeks,months or years the exemption is applicable for the rule. This enables a grace period when Fleet Application Management doesn't report the product as noncompliant when patch is not applied.
- Id string
- unique CompliancePolicyRule identifier.
- LifecycleDetails string
- A message that describes the current state of the CompliancePolicyRule in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- PatchSelections List<GetCompliance Policy Rules Compliance Policy Rule Collection Item Patch Selection> 
- Patch Selection Details
- PatchTypes List<string>
- PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies.
- ProductVersions List<GetCompliance Policy Rules Compliance Policy Rule Collection Item Product Version> 
- A specific product version or a specific version and succeeding. Example: 12.1 or 12.1 and above for Oracle WebLogic Application server. The policy applies to the next version only, and not to other versions such as, 12.1.x.
- Severities List<string>
- Severity to which this CompliancePolicyRule applies.
- State string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- The date and time the CompliancePolicyRule was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
- TimeUpdated string
- The date and time the CompliancePolicyRule was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
- CompartmentId string
- The ID of the compartment in which to list resources.
- CompliancePolicy stringId 
- unique CompliancePolicy identifier.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- DisplayName string
- A filter to return only resources that match the entire display name given.
- map[string]string
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- GracePeriod string
- Grace period in days,weeks,months or years the exemption is applicable for the rule. This enables a grace period when Fleet Application Management doesn't report the product as noncompliant when patch is not applied.
- Id string
- unique CompliancePolicyRule identifier.
- LifecycleDetails string
- A message that describes the current state of the CompliancePolicyRule in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- PatchSelections []GetCompliance Policy Rules Compliance Policy Rule Collection Item Patch Selection 
- Patch Selection Details
- PatchTypes []string
- PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies.
- ProductVersions []GetCompliance Policy Rules Compliance Policy Rule Collection Item Product Version 
- A specific product version or a specific version and succeeding. Example: 12.1 or 12.1 and above for Oracle WebLogic Application server. The policy applies to the next version only, and not to other versions such as, 12.1.x.
- Severities []string
- Severity to which this CompliancePolicyRule applies.
- State string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- The date and time the CompliancePolicyRule was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
- TimeUpdated string
- The date and time the CompliancePolicyRule was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
- compartmentId String
- The ID of the compartment in which to list resources.
- compliancePolicy StringId 
- unique CompliancePolicy identifier.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- displayName String
- A filter to return only resources that match the entire display name given.
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- gracePeriod String
- Grace period in days,weeks,months or years the exemption is applicable for the rule. This enables a grace period when Fleet Application Management doesn't report the product as noncompliant when patch is not applied.
- id String
- unique CompliancePolicyRule identifier.
- lifecycleDetails String
- A message that describes the current state of the CompliancePolicyRule in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- patchSelections List<GetCompliance Policy Rules Compliance Policy Rule Collection Item Patch Selection> 
- Patch Selection Details
- patchTypes List<String>
- PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies.
- productVersions List<GetCompliance Policy Rules Compliance Policy Rule Collection Item Product Version> 
- A specific product version or a specific version and succeeding. Example: 12.1 or 12.1 and above for Oracle WebLogic Application server. The policy applies to the next version only, and not to other versions such as, 12.1.x.
- severities List<String>
- Severity to which this CompliancePolicyRule applies.
- state String
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- The date and time the CompliancePolicyRule was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
- timeUpdated String
- The date and time the CompliancePolicyRule was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
- compartmentId string
- The ID of the compartment in which to list resources.
- compliancePolicy stringId 
- unique CompliancePolicy identifier.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- displayName string
- A filter to return only resources that match the entire display name given.
- {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- gracePeriod string
- Grace period in days,weeks,months or years the exemption is applicable for the rule. This enables a grace period when Fleet Application Management doesn't report the product as noncompliant when patch is not applied.
- id string
- unique CompliancePolicyRule identifier.
- lifecycleDetails string
- A message that describes the current state of the CompliancePolicyRule in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- patchSelections GetCompliance Policy Rules Compliance Policy Rule Collection Item Patch Selection[] 
- Patch Selection Details
- patchTypes string[]
- PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies.
- productVersions GetCompliance Policy Rules Compliance Policy Rule Collection Item Product Version[] 
- A specific product version or a specific version and succeeding. Example: 12.1 or 12.1 and above for Oracle WebLogic Application server. The policy applies to the next version only, and not to other versions such as, 12.1.x.
- severities string[]
- Severity to which this CompliancePolicyRule applies.
- state string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated string
- The date and time the CompliancePolicyRule was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
- timeUpdated string
- The date and time the CompliancePolicyRule was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
- compartment_id str
- The ID of the compartment in which to list resources.
- compliance_policy_ strid 
- unique CompliancePolicy identifier.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- display_name str
- A filter to return only resources that match the entire display name given.
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- grace_period str
- Grace period in days,weeks,months or years the exemption is applicable for the rule. This enables a grace period when Fleet Application Management doesn't report the product as noncompliant when patch is not applied.
- id str
- unique CompliancePolicyRule identifier.
- lifecycle_details str
- A message that describes the current state of the CompliancePolicyRule in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- patch_selections Sequence[GetCompliance Policy Rules Compliance Policy Rule Collection Item Patch Selection] 
- Patch Selection Details
- patch_types Sequence[str]
- PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies.
- product_versions Sequence[GetCompliance Policy Rules Compliance Policy Rule Collection Item Product Version] 
- A specific product version or a specific version and succeeding. Example: 12.1 or 12.1 and above for Oracle WebLogic Application server. The policy applies to the next version only, and not to other versions such as, 12.1.x.
- severities Sequence[str]
- Severity to which this CompliancePolicyRule applies.
- state str
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- time_created str
- The date and time the CompliancePolicyRule was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
- time_updated str
- The date and time the CompliancePolicyRule was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
- compartmentId String
- The ID of the compartment in which to list resources.
- compliancePolicy StringId 
- unique CompliancePolicy identifier.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- displayName String
- A filter to return only resources that match the entire display name given.
- Map<String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- gracePeriod String
- Grace period in days,weeks,months or years the exemption is applicable for the rule. This enables a grace period when Fleet Application Management doesn't report the product as noncompliant when patch is not applied.
- id String
- unique CompliancePolicyRule identifier.
- lifecycleDetails String
- A message that describes the current state of the CompliancePolicyRule in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- patchSelections List<Property Map>
- Patch Selection Details
- patchTypes List<String>
- PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies.
- productVersions List<Property Map>
- A specific product version or a specific version and succeeding. Example: 12.1 or 12.1 and above for Oracle WebLogic Application server. The policy applies to the next version only, and not to other versions such as, 12.1.x.
- severities List<String>
- Severity to which this CompliancePolicyRule applies.
- state String
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- The date and time the CompliancePolicyRule was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
- timeUpdated String
- The date and time the CompliancePolicyRule was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
GetCompliancePolicyRulesCompliancePolicyRuleCollectionItemPatchSelection          
- DaysSince intRelease 
- Days passed since patch release.
- PatchLevel string
- Patch Name.
- PatchName string
- A filter to return only resources that match the patch selection against the given patch name.
- SelectionType string
- Selection type for the Patch.
- DaysSince intRelease 
- Days passed since patch release.
- PatchLevel string
- Patch Name.
- PatchName string
- A filter to return only resources that match the patch selection against the given patch name.
- SelectionType string
- Selection type for the Patch.
- daysSince IntegerRelease 
- Days passed since patch release.
- patchLevel String
- Patch Name.
- patchName String
- A filter to return only resources that match the patch selection against the given patch name.
- selectionType String
- Selection type for the Patch.
- daysSince numberRelease 
- Days passed since patch release.
- patchLevel string
- Patch Name.
- patchName string
- A filter to return only resources that match the patch selection against the given patch name.
- selectionType string
- Selection type for the Patch.
- days_since_ intrelease 
- Days passed since patch release.
- patch_level str
- Patch Name.
- patch_name str
- A filter to return only resources that match the patch selection against the given patch name.
- selection_type str
- Selection type for the Patch.
- daysSince NumberRelease 
- Days passed since patch release.
- patchLevel String
- Patch Name.
- patchName String
- A filter to return only resources that match the patch selection against the given patch name.
- selectionType String
- Selection type for the Patch.
GetCompliancePolicyRulesCompliancePolicyRuleCollectionItemProductVersion          
- IsApplicable boolFor All Higher Versions 
- Is rule applicable to all higher versions also
- Version string
- Product version the rule is applicable.
- IsApplicable boolFor All Higher Versions 
- Is rule applicable to all higher versions also
- Version string
- Product version the rule is applicable.
- isApplicable BooleanFor All Higher Versions 
- Is rule applicable to all higher versions also
- version String
- Product version the rule is applicable.
- isApplicable booleanFor All Higher Versions 
- Is rule applicable to all higher versions also
- version string
- Product version the rule is applicable.
- is_applicable_ boolfor_ all_ higher_ versions 
- Is rule applicable to all higher versions also
- version str
- Product version the rule is applicable.
- isApplicable BooleanFor All Higher Versions 
- Is rule applicable to all higher versions also
- version String
- Product version the rule is applicable.
GetCompliancePolicyRulesFilter    
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.