1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. FleetAppsManagement
  5. CompliancePolicyRule
Oracle Cloud Infrastructure v2.20.0 published on Saturday, Dec 21, 2024 by Pulumi

oci.FleetAppsManagement.CompliancePolicyRule

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.20.0 published on Saturday, Dec 21, 2024 by Pulumi

    This resource provides the Compliance Policy Rule resource in Oracle Cloud Infrastructure Fleet Apps Management service.

    Creates a CompliancePolicyRule.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testCompliancePolicyRule = new oci.fleetappsmanagement.CompliancePolicyRule("test_compliance_policy_rule", {
        compartmentId: compartmentId,
        displayName: compliancePolicyRuleDisplayName,
        patchSelection: {
            selectionType: compliancePolicyRulePatchSelectionSelectionType,
            daysSinceRelease: compliancePolicyRulePatchSelectionDaysSinceRelease,
            patchLevel: compliancePolicyRulePatchSelectionPatchLevel,
            patchName: testPatch.name,
        },
        patchTypes: compliancePolicyRulePatchType,
        productVersion: {
            version: compliancePolicyRuleProductVersionVersion,
            isApplicableForAllHigherVersions: compliancePolicyRuleProductVersionIsApplicableForAllHigherVersions,
        },
        compliancePolicyId: testCompliancePolicy.id,
        definedTags: {
            "foo-namespace.bar-key": "value",
        },
        freeformTags: {
            "bar-key": "value",
        },
        gracePeriod: compliancePolicyRuleGracePeriod,
        severities: compliancePolicyRuleSeverity,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_compliance_policy_rule = oci.fleet_apps_management.CompliancePolicyRule("test_compliance_policy_rule",
        compartment_id=compartment_id,
        display_name=compliance_policy_rule_display_name,
        patch_selection={
            "selection_type": compliance_policy_rule_patch_selection_selection_type,
            "days_since_release": compliance_policy_rule_patch_selection_days_since_release,
            "patch_level": compliance_policy_rule_patch_selection_patch_level,
            "patch_name": test_patch["name"],
        },
        patch_types=compliance_policy_rule_patch_type,
        product_version={
            "version": compliance_policy_rule_product_version_version,
            "is_applicable_for_all_higher_versions": compliance_policy_rule_product_version_is_applicable_for_all_higher_versions,
        },
        compliance_policy_id=test_compliance_policy["id"],
        defined_tags={
            "foo-namespace.bar-key": "value",
        },
        freeform_tags={
            "bar-key": "value",
        },
        grace_period=compliance_policy_rule_grace_period,
        severities=compliance_policy_rule_severity)
    
    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.NewCompliancePolicyRule(ctx, "test_compliance_policy_rule", &FleetAppsManagement.CompliancePolicyRuleArgs{
    			CompartmentId: pulumi.Any(compartmentId),
    			DisplayName:   pulumi.Any(compliancePolicyRuleDisplayName),
    			PatchSelection: &fleetappsmanagement.CompliancePolicyRulePatchSelectionArgs{
    				SelectionType:    pulumi.Any(compliancePolicyRulePatchSelectionSelectionType),
    				DaysSinceRelease: pulumi.Any(compliancePolicyRulePatchSelectionDaysSinceRelease),
    				PatchLevel:       pulumi.Any(compliancePolicyRulePatchSelectionPatchLevel),
    				PatchName:        pulumi.Any(testPatch.Name),
    			},
    			PatchTypes: pulumi.Any(compliancePolicyRulePatchType),
    			ProductVersion: &fleetappsmanagement.CompliancePolicyRuleProductVersionArgs{
    				Version:                          pulumi.Any(compliancePolicyRuleProductVersionVersion),
    				IsApplicableForAllHigherVersions: pulumi.Any(compliancePolicyRuleProductVersionIsApplicableForAllHigherVersions),
    			},
    			CompliancePolicyId: pulumi.Any(testCompliancePolicy.Id),
    			DefinedTags: pulumi.StringMap{
    				"foo-namespace.bar-key": pulumi.String("value"),
    			},
    			FreeformTags: pulumi.StringMap{
    				"bar-key": pulumi.String("value"),
    			},
    			GracePeriod: pulumi.Any(compliancePolicyRuleGracePeriod),
    			Severities:  pulumi.Any(compliancePolicyRuleSeverity),
    		})
    		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 testCompliancePolicyRule = new Oci.FleetAppsManagement.CompliancePolicyRule("test_compliance_policy_rule", new()
        {
            CompartmentId = compartmentId,
            DisplayName = compliancePolicyRuleDisplayName,
            PatchSelection = new Oci.FleetAppsManagement.Inputs.CompliancePolicyRulePatchSelectionArgs
            {
                SelectionType = compliancePolicyRulePatchSelectionSelectionType,
                DaysSinceRelease = compliancePolicyRulePatchSelectionDaysSinceRelease,
                PatchLevel = compliancePolicyRulePatchSelectionPatchLevel,
                PatchName = testPatch.Name,
            },
            PatchTypes = compliancePolicyRulePatchType,
            ProductVersion = new Oci.FleetAppsManagement.Inputs.CompliancePolicyRuleProductVersionArgs
            {
                Version = compliancePolicyRuleProductVersionVersion,
                IsApplicableForAllHigherVersions = compliancePolicyRuleProductVersionIsApplicableForAllHigherVersions,
            },
            CompliancePolicyId = testCompliancePolicy.Id,
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
            GracePeriod = compliancePolicyRuleGracePeriod,
            Severities = compliancePolicyRuleSeverity,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.FleetAppsManagement.CompliancePolicyRule;
    import com.pulumi.oci.FleetAppsManagement.CompliancePolicyRuleArgs;
    import com.pulumi.oci.FleetAppsManagement.inputs.CompliancePolicyRulePatchSelectionArgs;
    import com.pulumi.oci.FleetAppsManagement.inputs.CompliancePolicyRuleProductVersionArgs;
    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) {
            var testCompliancePolicyRule = new CompliancePolicyRule("testCompliancePolicyRule", CompliancePolicyRuleArgs.builder()
                .compartmentId(compartmentId)
                .displayName(compliancePolicyRuleDisplayName)
                .patchSelection(CompliancePolicyRulePatchSelectionArgs.builder()
                    .selectionType(compliancePolicyRulePatchSelectionSelectionType)
                    .daysSinceRelease(compliancePolicyRulePatchSelectionDaysSinceRelease)
                    .patchLevel(compliancePolicyRulePatchSelectionPatchLevel)
                    .patchName(testPatch.name())
                    .build())
                .patchTypes(compliancePolicyRulePatchType)
                .productVersion(CompliancePolicyRuleProductVersionArgs.builder()
                    .version(compliancePolicyRuleProductVersionVersion)
                    .isApplicableForAllHigherVersions(compliancePolicyRuleProductVersionIsApplicableForAllHigherVersions)
                    .build())
                .compliancePolicyId(testCompliancePolicy.id())
                .definedTags(Map.of("foo-namespace.bar-key", "value"))
                .freeformTags(Map.of("bar-key", "value"))
                .gracePeriod(compliancePolicyRuleGracePeriod)
                .severities(compliancePolicyRuleSeverity)
                .build());
    
        }
    }
    
    resources:
      testCompliancePolicyRule:
        type: oci:FleetAppsManagement:CompliancePolicyRule
        name: test_compliance_policy_rule
        properties:
          compartmentId: ${compartmentId}
          displayName: ${compliancePolicyRuleDisplayName}
          patchSelection:
            selectionType: ${compliancePolicyRulePatchSelectionSelectionType}
            daysSinceRelease: ${compliancePolicyRulePatchSelectionDaysSinceRelease}
            patchLevel: ${compliancePolicyRulePatchSelectionPatchLevel}
            patchName: ${testPatch.name}
          patchTypes: ${compliancePolicyRulePatchType}
          productVersion:
            version: ${compliancePolicyRuleProductVersionVersion}
            isApplicableForAllHigherVersions: ${compliancePolicyRuleProductVersionIsApplicableForAllHigherVersions}
          compliancePolicyId: ${testCompliancePolicy.id}
          definedTags:
            foo-namespace.bar-key: value
          freeformTags:
            bar-key: value
          gracePeriod: ${compliancePolicyRuleGracePeriod}
          severities: ${compliancePolicyRuleSeverity}
    

    Create CompliancePolicyRule Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CompliancePolicyRule(name: string, args: CompliancePolicyRuleArgs, opts?: CustomResourceOptions);
    @overload
    def CompliancePolicyRule(resource_name: str,
                             args: CompliancePolicyRuleArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def CompliancePolicyRule(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             compartment_id: Optional[str] = None,
                             display_name: Optional[str] = None,
                             patch_selection: Optional[_fleetappsmanagement.CompliancePolicyRulePatchSelectionArgs] = None,
                             patch_types: Optional[Sequence[str]] = None,
                             product_version: Optional[_fleetappsmanagement.CompliancePolicyRuleProductVersionArgs] = None,
                             compliance_policy_id: Optional[str] = None,
                             defined_tags: Optional[Mapping[str, str]] = None,
                             freeform_tags: Optional[Mapping[str, str]] = None,
                             grace_period: Optional[str] = None,
                             severities: Optional[Sequence[str]] = None)
    func NewCompliancePolicyRule(ctx *Context, name string, args CompliancePolicyRuleArgs, opts ...ResourceOption) (*CompliancePolicyRule, error)
    public CompliancePolicyRule(string name, CompliancePolicyRuleArgs args, CustomResourceOptions? opts = null)
    public CompliancePolicyRule(String name, CompliancePolicyRuleArgs args)
    public CompliancePolicyRule(String name, CompliancePolicyRuleArgs args, CustomResourceOptions options)
    
    type: oci:FleetAppsManagement:CompliancePolicyRule
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CompliancePolicyRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args CompliancePolicyRuleArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args CompliancePolicyRuleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CompliancePolicyRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CompliancePolicyRuleArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var compliancePolicyRuleResource = new Oci.FleetAppsManagement.CompliancePolicyRule("compliancePolicyRuleResource", new()
    {
        CompartmentId = "string",
        DisplayName = "string",
        PatchSelection = new Oci.FleetAppsManagement.Inputs.CompliancePolicyRulePatchSelectionArgs
        {
            SelectionType = "string",
            DaysSinceRelease = 0,
            PatchLevel = "string",
            PatchName = "string",
        },
        PatchTypes = new[]
        {
            "string",
        },
        ProductVersion = new Oci.FleetAppsManagement.Inputs.CompliancePolicyRuleProductVersionArgs
        {
            Version = "string",
            IsApplicableForAllHigherVersions = false,
        },
        CompliancePolicyId = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        FreeformTags = 
        {
            { "string", "string" },
        },
        GracePeriod = "string",
        Severities = new[]
        {
            "string",
        },
    });
    
    example, err := FleetAppsManagement.NewCompliancePolicyRule(ctx, "compliancePolicyRuleResource", &FleetAppsManagement.CompliancePolicyRuleArgs{
    	CompartmentId: pulumi.String("string"),
    	DisplayName:   pulumi.String("string"),
    	PatchSelection: &fleetappsmanagement.CompliancePolicyRulePatchSelectionArgs{
    		SelectionType:    pulumi.String("string"),
    		DaysSinceRelease: pulumi.Int(0),
    		PatchLevel:       pulumi.String("string"),
    		PatchName:        pulumi.String("string"),
    	},
    	PatchTypes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ProductVersion: &fleetappsmanagement.CompliancePolicyRuleProductVersionArgs{
    		Version:                          pulumi.String("string"),
    		IsApplicableForAllHigherVersions: pulumi.Bool(false),
    	},
    	CompliancePolicyId: pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	GracePeriod: pulumi.String("string"),
    	Severities: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var compliancePolicyRuleResource = new CompliancePolicyRule("compliancePolicyRuleResource", CompliancePolicyRuleArgs.builder()
        .compartmentId("string")
        .displayName("string")
        .patchSelection(CompliancePolicyRulePatchSelectionArgs.builder()
            .selectionType("string")
            .daysSinceRelease(0)
            .patchLevel("string")
            .patchName("string")
            .build())
        .patchTypes("string")
        .productVersion(CompliancePolicyRuleProductVersionArgs.builder()
            .version("string")
            .isApplicableForAllHigherVersions(false)
            .build())
        .compliancePolicyId("string")
        .definedTags(Map.of("string", "string"))
        .freeformTags(Map.of("string", "string"))
        .gracePeriod("string")
        .severities("string")
        .build());
    
    compliance_policy_rule_resource = oci.fleet_apps_management.CompliancePolicyRule("compliancePolicyRuleResource",
        compartment_id="string",
        display_name="string",
        patch_selection={
            "selection_type": "string",
            "days_since_release": 0,
            "patch_level": "string",
            "patch_name": "string",
        },
        patch_types=["string"],
        product_version={
            "version": "string",
            "is_applicable_for_all_higher_versions": False,
        },
        compliance_policy_id="string",
        defined_tags={
            "string": "string",
        },
        freeform_tags={
            "string": "string",
        },
        grace_period="string",
        severities=["string"])
    
    const compliancePolicyRuleResource = new oci.fleetappsmanagement.CompliancePolicyRule("compliancePolicyRuleResource", {
        compartmentId: "string",
        displayName: "string",
        patchSelection: {
            selectionType: "string",
            daysSinceRelease: 0,
            patchLevel: "string",
            patchName: "string",
        },
        patchTypes: ["string"],
        productVersion: {
            version: "string",
            isApplicableForAllHigherVersions: false,
        },
        compliancePolicyId: "string",
        definedTags: {
            string: "string",
        },
        freeformTags: {
            string: "string",
        },
        gracePeriod: "string",
        severities: ["string"],
    });
    
    type: oci:FleetAppsManagement:CompliancePolicyRule
    properties:
        compartmentId: string
        compliancePolicyId: string
        definedTags:
            string: string
        displayName: string
        freeformTags:
            string: string
        gracePeriod: string
        patchSelection:
            daysSinceRelease: 0
            patchLevel: string
            patchName: string
            selectionType: string
        patchTypes:
            - string
        productVersion:
            isApplicableForAllHigherVersions: false
            version: string
        severities:
            - string
    

    CompliancePolicyRule Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The CompliancePolicyRule resource accepts the following input properties:

    CompartmentId string
    The OCID of the compartment the CompliancePolicyRule belongs to.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    PatchSelection CompliancePolicyRulePatchSelection
    (Updatable) Patch Selection Details
    PatchTypes List<string>
    (Updatable) PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies.
    ProductVersion CompliancePolicyRuleProductVersion
    (Updatable) 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.
    CompliancePolicyId string
    Unique OCID of the CompliancePolicy this CompliancePolicyRule belongs to.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags Dictionary<string, string>
    (Updatable) 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
    (Updatable) 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.
    Severities List<string>

    (Updatable) Severity to which this CompliancePolicyRule applies.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    CompartmentId string
    The OCID of the compartment the CompliancePolicyRule belongs to.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    PatchSelection CompliancePolicyRulePatchSelectionArgs
    (Updatable) Patch Selection Details
    PatchTypes []string
    (Updatable) PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies.
    ProductVersion CompliancePolicyRuleProductVersionArgs
    (Updatable) 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.
    CompliancePolicyId string
    Unique OCID of the CompliancePolicy this CompliancePolicyRule belongs to.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags map[string]string
    (Updatable) 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
    (Updatable) 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.
    Severities []string

    (Updatable) Severity to which this CompliancePolicyRule applies.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    The OCID of the compartment the CompliancePolicyRule belongs to.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    patchSelection CompliancePolicyRulePatchSelection
    (Updatable) Patch Selection Details
    patchTypes List<String>
    (Updatable) PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies.
    productVersion CompliancePolicyRuleProductVersion
    (Updatable) 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.
    compliancePolicyId String
    Unique OCID of the CompliancePolicy this CompliancePolicyRule belongs to.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<String,String>
    (Updatable) 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
    (Updatable) 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.
    severities List<String>

    (Updatable) Severity to which this CompliancePolicyRule applies.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId string
    The OCID of the compartment the CompliancePolicyRule belongs to.
    displayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    patchSelection CompliancePolicyRulePatchSelection
    (Updatable) Patch Selection Details
    patchTypes string[]
    (Updatable) PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies.
    productVersion CompliancePolicyRuleProductVersion
    (Updatable) 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.
    compliancePolicyId string
    Unique OCID of the CompliancePolicy this CompliancePolicyRule belongs to.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags {[key: string]: string}
    (Updatable) 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
    (Updatable) 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.
    severities string[]

    (Updatable) Severity to which this CompliancePolicyRule applies.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartment_id str
    The OCID of the compartment the CompliancePolicyRule belongs to.
    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
    patch_selection fleetappsmanagement.CompliancePolicyRulePatchSelectionArgs
    (Updatable) Patch Selection Details
    patch_types Sequence[str]
    (Updatable) PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies.
    product_version fleetappsmanagement.CompliancePolicyRuleProductVersionArgs
    (Updatable) 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.
    compliance_policy_id str
    Unique OCID of the CompliancePolicy this CompliancePolicyRule belongs to.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeform_tags Mapping[str, str]
    (Updatable) 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
    (Updatable) 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.
    severities Sequence[str]

    (Updatable) Severity to which this CompliancePolicyRule applies.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    The OCID of the compartment the CompliancePolicyRule belongs to.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    patchSelection Property Map
    (Updatable) Patch Selection Details
    patchTypes List<String>
    (Updatable) PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies.
    productVersion Property Map
    (Updatable) 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.
    compliancePolicyId String
    Unique OCID of the CompliancePolicy this CompliancePolicyRule belongs to.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<String>
    (Updatable) 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
    (Updatable) 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.
    severities List<String>

    (Updatable) Severity to which this CompliancePolicyRule applies.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CompliancePolicyRule resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    State string
    The current state of the CompliancePolicyRule.
    SystemTags 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
    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    State string
    The current state of the CompliancePolicyRule.
    SystemTags 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
    id String
    The provider-assigned unique ID for this managed resource.
    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.
    state String
    The current state of the CompliancePolicyRule.
    systemTags 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
    id string
    The provider-assigned unique ID for this managed resource.
    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.
    state string
    The current state of the CompliancePolicyRule.
    systemTags {[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
    id str
    The provider-assigned unique ID for this managed resource.
    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.
    state str
    The current state of the CompliancePolicyRule.
    system_tags 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
    id String
    The provider-assigned unique ID for this managed resource.
    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.
    state String
    The current state of the CompliancePolicyRule.
    systemTags 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

    Look up Existing CompliancePolicyRule Resource

    Get an existing CompliancePolicyRule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: CompliancePolicyRuleState, opts?: CustomResourceOptions): CompliancePolicyRule
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            compliance_policy_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            grace_period: Optional[str] = None,
            lifecycle_details: Optional[str] = None,
            patch_selection: Optional[_fleetappsmanagement.CompliancePolicyRulePatchSelectionArgs] = None,
            patch_types: Optional[Sequence[str]] = None,
            product_version: Optional[_fleetappsmanagement.CompliancePolicyRuleProductVersionArgs] = None,
            severities: Optional[Sequence[str]] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None) -> CompliancePolicyRule
    func GetCompliancePolicyRule(ctx *Context, name string, id IDInput, state *CompliancePolicyRuleState, opts ...ResourceOption) (*CompliancePolicyRule, error)
    public static CompliancePolicyRule Get(string name, Input<string> id, CompliancePolicyRuleState? state, CustomResourceOptions? opts = null)
    public static CompliancePolicyRule get(String name, Output<String> id, CompliancePolicyRuleState state, CustomResourceOptions options)
    resources:  _:    type: oci:FleetAppsManagement:CompliancePolicyRule    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CompartmentId string
    The OCID of the compartment the CompliancePolicyRule belongs to.
    CompliancePolicyId string
    Unique OCID of the CompliancePolicy this CompliancePolicyRule belongs to.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    FreeformTags Dictionary<string, string>
    (Updatable) 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
    (Updatable) 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.
    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.
    PatchSelection CompliancePolicyRulePatchSelection
    (Updatable) Patch Selection Details
    PatchTypes List<string>
    (Updatable) PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies.
    ProductVersion CompliancePolicyRuleProductVersion
    (Updatable) 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>

    (Updatable) Severity to which this CompliancePolicyRule applies.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    State string
    The current state of the CompliancePolicyRule.
    SystemTags 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 OCID of the compartment the CompliancePolicyRule belongs to.
    CompliancePolicyId string
    Unique OCID of the CompliancePolicy this CompliancePolicyRule belongs to.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    FreeformTags map[string]string
    (Updatable) 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
    (Updatable) 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.
    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.
    PatchSelection CompliancePolicyRulePatchSelectionArgs
    (Updatable) Patch Selection Details
    PatchTypes []string
    (Updatable) PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies.
    ProductVersion CompliancePolicyRuleProductVersionArgs
    (Updatable) 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

    (Updatable) Severity to which this CompliancePolicyRule applies.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    State string
    The current state of the CompliancePolicyRule.
    SystemTags 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 OCID of the compartment the CompliancePolicyRule belongs to.
    compliancePolicyId String
    Unique OCID of the CompliancePolicy this CompliancePolicyRule belongs to.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    freeformTags Map<String,String>
    (Updatable) 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
    (Updatable) 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.
    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.
    patchSelection CompliancePolicyRulePatchSelection
    (Updatable) Patch Selection Details
    patchTypes List<String>
    (Updatable) PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies.
    productVersion CompliancePolicyRuleProductVersion
    (Updatable) 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>

    (Updatable) Severity to which this CompliancePolicyRule applies.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state String
    The current state of the CompliancePolicyRule.
    systemTags 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 OCID of the compartment the CompliancePolicyRule belongs to.
    compliancePolicyId string
    Unique OCID of the CompliancePolicy this CompliancePolicyRule belongs to.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    freeformTags {[key: string]: string}
    (Updatable) 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
    (Updatable) 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.
    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.
    patchSelection CompliancePolicyRulePatchSelection
    (Updatable) Patch Selection Details
    patchTypes string[]
    (Updatable) PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies.
    productVersion CompliancePolicyRuleProductVersion
    (Updatable) 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[]

    (Updatable) Severity to which this CompliancePolicyRule applies.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state string
    The current state of the CompliancePolicyRule.
    systemTags {[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 OCID of the compartment the CompliancePolicyRule belongs to.
    compliance_policy_id str
    Unique OCID of the CompliancePolicy this CompliancePolicyRule belongs to.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    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
    freeform_tags Mapping[str, str]
    (Updatable) 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
    (Updatable) 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.
    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_selection fleetappsmanagement.CompliancePolicyRulePatchSelectionArgs
    (Updatable) Patch Selection Details
    patch_types Sequence[str]
    (Updatable) PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies.
    product_version fleetappsmanagement.CompliancePolicyRuleProductVersionArgs
    (Updatable) 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]

    (Updatable) Severity to which this CompliancePolicyRule applies.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state str
    The current state of the CompliancePolicyRule.
    system_tags 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 OCID of the compartment the CompliancePolicyRule belongs to.
    compliancePolicyId String
    Unique OCID of the CompliancePolicy this CompliancePolicyRule belongs to.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    freeformTags Map<String>
    (Updatable) 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
    (Updatable) 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.
    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.
    patchSelection Property Map
    (Updatable) Patch Selection Details
    patchTypes List<String>
    (Updatable) PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies.
    productVersion Property Map
    (Updatable) 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>

    (Updatable) Severity to which this CompliancePolicyRule applies.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state String
    The current state of the CompliancePolicyRule.
    systemTags 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

    Supporting Types

    CompliancePolicyRulePatchSelection, CompliancePolicyRulePatchSelectionArgs

    SelectionType string
    (Updatable) Selection type for the Patch.
    DaysSinceRelease int
    (Updatable) Days passed since patch release.
    PatchLevel string
    (Updatable) Patch Name.
    PatchName string
    (Updatable) Patch Name.
    SelectionType string
    (Updatable) Selection type for the Patch.
    DaysSinceRelease int
    (Updatable) Days passed since patch release.
    PatchLevel string
    (Updatable) Patch Name.
    PatchName string
    (Updatable) Patch Name.
    selectionType String
    (Updatable) Selection type for the Patch.
    daysSinceRelease Integer
    (Updatable) Days passed since patch release.
    patchLevel String
    (Updatable) Patch Name.
    patchName String
    (Updatable) Patch Name.
    selectionType string
    (Updatable) Selection type for the Patch.
    daysSinceRelease number
    (Updatable) Days passed since patch release.
    patchLevel string
    (Updatable) Patch Name.
    patchName string
    (Updatable) Patch Name.
    selection_type str
    (Updatable) Selection type for the Patch.
    days_since_release int
    (Updatable) Days passed since patch release.
    patch_level str
    (Updatable) Patch Name.
    patch_name str
    (Updatable) Patch Name.
    selectionType String
    (Updatable) Selection type for the Patch.
    daysSinceRelease Number
    (Updatable) Days passed since patch release.
    patchLevel String
    (Updatable) Patch Name.
    patchName String
    (Updatable) Patch Name.

    CompliancePolicyRuleProductVersion, CompliancePolicyRuleProductVersionArgs

    Version string
    (Updatable) Product version the rule is applicable.
    IsApplicableForAllHigherVersions bool
    (Updatable) Is rule applicable to all higher versions also
    Version string
    (Updatable) Product version the rule is applicable.
    IsApplicableForAllHigherVersions bool
    (Updatable) Is rule applicable to all higher versions also
    version String
    (Updatable) Product version the rule is applicable.
    isApplicableForAllHigherVersions Boolean
    (Updatable) Is rule applicable to all higher versions also
    version string
    (Updatable) Product version the rule is applicable.
    isApplicableForAllHigherVersions boolean
    (Updatable) Is rule applicable to all higher versions also
    version str
    (Updatable) Product version the rule is applicable.
    is_applicable_for_all_higher_versions bool
    (Updatable) Is rule applicable to all higher versions also
    version String
    (Updatable) Product version the rule is applicable.
    isApplicableForAllHigherVersions Boolean
    (Updatable) Is rule applicable to all higher versions also

    Import

    CompliancePolicyRules can be imported using the id, e.g.

    $ pulumi import oci:FleetAppsManagement/compliancePolicyRule:CompliancePolicyRule test_compliance_policy_rule "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.20.0 published on Saturday, Dec 21, 2024 by Pulumi