oci.VulnerabilityScanning.ContainerScanRecipe
Explore with Pulumi AI
This resource provides the Container Scan Recipe resource in Oracle Cloud Infrastructure Vulnerability Scanning service.
Creates a new ContainerScanRecipe. A recipe determines the types of security issues that you want scanned.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testContainerScanRecipe = new oci.vulnerabilityscanning.ContainerScanRecipe("test_container_scan_recipe", {
compartmentId: compartmentId,
scanSettings: {
scanLevel: containerScanRecipeScanSettingsScanLevel,
},
definedTags: {
"foo-namespace.bar-key": "value",
},
displayName: containerScanRecipeDisplayName,
freeformTags: {
"bar-key": "value",
},
imageCount: containerScanRecipeImageCount,
});
import pulumi
import pulumi_oci as oci
test_container_scan_recipe = oci.vulnerability_scanning.ContainerScanRecipe("test_container_scan_recipe",
compartment_id=compartment_id,
scan_settings={
"scan_level": container_scan_recipe_scan_settings_scan_level,
},
defined_tags={
"foo-namespace.bar-key": "value",
},
display_name=container_scan_recipe_display_name,
freeform_tags={
"bar-key": "value",
},
image_count=container_scan_recipe_image_count)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/VulnerabilityScanning"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := VulnerabilityScanning.NewContainerScanRecipe(ctx, "test_container_scan_recipe", &VulnerabilityScanning.ContainerScanRecipeArgs{
CompartmentId: pulumi.Any(compartmentId),
ScanSettings: &vulnerabilityscanning.ContainerScanRecipeScanSettingsArgs{
ScanLevel: pulumi.Any(containerScanRecipeScanSettingsScanLevel),
},
DefinedTags: pulumi.StringMap{
"foo-namespace.bar-key": pulumi.String("value"),
},
DisplayName: pulumi.Any(containerScanRecipeDisplayName),
FreeformTags: pulumi.StringMap{
"bar-key": pulumi.String("value"),
},
ImageCount: pulumi.Any(containerScanRecipeImageCount),
})
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 testContainerScanRecipe = new Oci.VulnerabilityScanning.ContainerScanRecipe("test_container_scan_recipe", new()
{
CompartmentId = compartmentId,
ScanSettings = new Oci.VulnerabilityScanning.Inputs.ContainerScanRecipeScanSettingsArgs
{
ScanLevel = containerScanRecipeScanSettingsScanLevel,
},
DefinedTags =
{
{ "foo-namespace.bar-key", "value" },
},
DisplayName = containerScanRecipeDisplayName,
FreeformTags =
{
{ "bar-key", "value" },
},
ImageCount = containerScanRecipeImageCount,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.VulnerabilityScanning.ContainerScanRecipe;
import com.pulumi.oci.VulnerabilityScanning.ContainerScanRecipeArgs;
import com.pulumi.oci.VulnerabilityScanning.inputs.ContainerScanRecipeScanSettingsArgs;
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 testContainerScanRecipe = new ContainerScanRecipe("testContainerScanRecipe", ContainerScanRecipeArgs.builder()
.compartmentId(compartmentId)
.scanSettings(ContainerScanRecipeScanSettingsArgs.builder()
.scanLevel(containerScanRecipeScanSettingsScanLevel)
.build())
.definedTags(Map.of("foo-namespace.bar-key", "value"))
.displayName(containerScanRecipeDisplayName)
.freeformTags(Map.of("bar-key", "value"))
.imageCount(containerScanRecipeImageCount)
.build());
}
}
resources:
testContainerScanRecipe:
type: oci:VulnerabilityScanning:ContainerScanRecipe
name: test_container_scan_recipe
properties:
compartmentId: ${compartmentId}
scanSettings:
scanLevel: ${containerScanRecipeScanSettingsScanLevel}
definedTags:
foo-namespace.bar-key: value
displayName: ${containerScanRecipeDisplayName}
freeformTags:
bar-key: value
imageCount: ${containerScanRecipeImageCount}
Create ContainerScanRecipe Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ContainerScanRecipe(name: string, args: ContainerScanRecipeArgs, opts?: CustomResourceOptions);
@overload
def ContainerScanRecipe(resource_name: str,
args: ContainerScanRecipeArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ContainerScanRecipe(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
scan_settings: Optional[_vulnerabilityscanning.ContainerScanRecipeScanSettingsArgs] = None,
defined_tags: Optional[Mapping[str, str]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
image_count: Optional[int] = None)
func NewContainerScanRecipe(ctx *Context, name string, args ContainerScanRecipeArgs, opts ...ResourceOption) (*ContainerScanRecipe, error)
public ContainerScanRecipe(string name, ContainerScanRecipeArgs args, CustomResourceOptions? opts = null)
public ContainerScanRecipe(String name, ContainerScanRecipeArgs args)
public ContainerScanRecipe(String name, ContainerScanRecipeArgs args, CustomResourceOptions options)
type: oci:VulnerabilityScanning:ContainerScanRecipe
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 ContainerScanRecipeArgs
- 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 ContainerScanRecipeArgs
- 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 ContainerScanRecipeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ContainerScanRecipeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ContainerScanRecipeArgs
- 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 containerScanRecipeResource = new Oci.VulnerabilityScanning.ContainerScanRecipe("containerScanRecipeResource", new()
{
CompartmentId = "string",
ScanSettings = new Oci.VulnerabilityScanning.Inputs.ContainerScanRecipeScanSettingsArgs
{
ScanLevel = "string",
},
DefinedTags =
{
{ "string", "string" },
},
DisplayName = "string",
FreeformTags =
{
{ "string", "string" },
},
ImageCount = 0,
});
example, err := VulnerabilityScanning.NewContainerScanRecipe(ctx, "containerScanRecipeResource", &VulnerabilityScanning.ContainerScanRecipeArgs{
CompartmentId: pulumi.String("string"),
ScanSettings: &vulnerabilityscanning.ContainerScanRecipeScanSettingsArgs{
ScanLevel: pulumi.String("string"),
},
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
ImageCount: pulumi.Int(0),
})
var containerScanRecipeResource = new ContainerScanRecipe("containerScanRecipeResource", ContainerScanRecipeArgs.builder()
.compartmentId("string")
.scanSettings(ContainerScanRecipeScanSettingsArgs.builder()
.scanLevel("string")
.build())
.definedTags(Map.of("string", "string"))
.displayName("string")
.freeformTags(Map.of("string", "string"))
.imageCount(0)
.build());
container_scan_recipe_resource = oci.vulnerability_scanning.ContainerScanRecipe("containerScanRecipeResource",
compartment_id="string",
scan_settings={
"scan_level": "string",
},
defined_tags={
"string": "string",
},
display_name="string",
freeform_tags={
"string": "string",
},
image_count=0)
const containerScanRecipeResource = new oci.vulnerabilityscanning.ContainerScanRecipe("containerScanRecipeResource", {
compartmentId: "string",
scanSettings: {
scanLevel: "string",
},
definedTags: {
string: "string",
},
displayName: "string",
freeformTags: {
string: "string",
},
imageCount: 0,
});
type: oci:VulnerabilityScanning:ContainerScanRecipe
properties:
compartmentId: string
definedTags:
string: string
displayName: string
freeformTags:
string: string
imageCount: 0
scanSettings:
scanLevel: string
ContainerScanRecipe 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 ContainerScanRecipe resource accepts the following input properties:
- Compartment
Id string - (Updatable) The OCID of the container scan recipe's compartment
- Scan
Settings ContainerScan Recipe Scan Settings - (Updatable) A collection of container scan settings
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - (Updatable) User friendly name of container scan recipe. If not present, will be auto-generated.
- 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"}
- Image
Count int - (Updatable) This field is set equal to the number of images we want to scan in the first go when the recipe is created
- Compartment
Id string - (Updatable) The OCID of the container scan recipe's compartment
- Scan
Settings ContainerScan Recipe Scan Settings Args - (Updatable) A collection of container scan settings
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - (Updatable) User friendly name of container scan recipe. If not present, will be auto-generated.
- 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"}
- Image
Count int - (Updatable) This field is set equal to the number of images we want to scan in the first go when the recipe is created
- compartment
Id String - (Updatable) The OCID of the container scan recipe's compartment
- scan
Settings ContainerScan Recipe Scan Settings - (Updatable) A collection of container scan settings
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - (Updatable) User friendly name of container scan recipe. If not present, will be auto-generated.
- 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"}
- image
Count Integer - (Updatable) This field is set equal to the number of images we want to scan in the first go when the recipe is created
- compartment
Id string - (Updatable) The OCID of the container scan recipe's compartment
- scan
Settings ContainerScan Recipe Scan Settings - (Updatable) A collection of container scan settings
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name string - (Updatable) User friendly name of container scan recipe. If not present, will be auto-generated.
- {[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"}
- image
Count number - (Updatable) This field is set equal to the number of images we want to scan in the first go when the recipe is created
- compartment_
id str - (Updatable) The OCID of the container scan recipe's compartment
- scan_
settings vulnerabilityscanning.Container Scan Recipe Scan Settings Args - (Updatable) A collection of container scan settings
- 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 - (Updatable) User friendly name of container scan recipe. If not present, will be auto-generated.
- 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"}
- image_
count int - (Updatable) This field is set equal to the number of images we want to scan in the first go when the recipe is created
- compartment
Id String - (Updatable) The OCID of the container scan recipe's compartment
- scan
Settings Property Map - (Updatable) A collection of container scan settings
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - (Updatable) User friendly name of container scan recipe. If not present, will be auto-generated.
- 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"}
- image
Count Number - (Updatable) This field is set equal to the number of images we want to scan in the first go when the recipe is created
Outputs
All input properties are implicitly available as output properties. Additionally, the ContainerScanRecipe resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- The current state of the config.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - Date and time the recipe was created, format as described in RFC 3339
- Time
Updated string - Date and time the recipe was last updated, format as described in RFC 3339
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- The current state of the config.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - Date and time the recipe was created, format as described in RFC 3339
- Time
Updated string - Date and time the recipe was last updated, format as described in RFC 3339
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- The current state of the config.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - Date and time the recipe was created, format as described in RFC 3339
- time
Updated String - Date and time the recipe was last updated, format as described in RFC 3339
- id string
- The provider-assigned unique ID for this managed resource.
- state string
- The current state of the config.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - Date and time the recipe was created, format as described in RFC 3339
- time
Updated string - Date and time the recipe was last updated, format as described in RFC 3339
- id str
- The provider-assigned unique ID for this managed resource.
- state str
- The current state of the config.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - Date and time the recipe was created, format as described in RFC 3339
- time_
updated str - Date and time the recipe was last updated, format as described in RFC 3339
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- The current state of the config.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - Date and time the recipe was created, format as described in RFC 3339
- time
Updated String - Date and time the recipe was last updated, format as described in RFC 3339
Look up Existing ContainerScanRecipe Resource
Get an existing ContainerScanRecipe 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?: ContainerScanRecipeState, opts?: CustomResourceOptions): ContainerScanRecipe
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
image_count: Optional[int] = None,
scan_settings: Optional[_vulnerabilityscanning.ContainerScanRecipeScanSettingsArgs] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None) -> ContainerScanRecipe
func GetContainerScanRecipe(ctx *Context, name string, id IDInput, state *ContainerScanRecipeState, opts ...ResourceOption) (*ContainerScanRecipe, error)
public static ContainerScanRecipe Get(string name, Input<string> id, ContainerScanRecipeState? state, CustomResourceOptions? opts = null)
public static ContainerScanRecipe get(String name, Output<String> id, ContainerScanRecipeState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Compartment
Id string - (Updatable) The OCID of the container scan recipe's compartment
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - (Updatable) User friendly name of container scan recipe. If not present, will be auto-generated.
- 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"}
- Image
Count int - (Updatable) This field is set equal to the number of images we want to scan in the first go when the recipe is created
- Scan
Settings ContainerScan Recipe Scan Settings - (Updatable) A collection of container scan settings
- State string
- The current state of the config.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - Date and time the recipe was created, format as described in RFC 3339
- Time
Updated string - Date and time the recipe was last updated, format as described in RFC 3339
- Compartment
Id string - (Updatable) The OCID of the container scan recipe's compartment
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - (Updatable) User friendly name of container scan recipe. If not present, will be auto-generated.
- 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"}
- Image
Count int - (Updatable) This field is set equal to the number of images we want to scan in the first go when the recipe is created
- Scan
Settings ContainerScan Recipe Scan Settings Args - (Updatable) A collection of container scan settings
- State string
- The current state of the config.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - Date and time the recipe was created, format as described in RFC 3339
- Time
Updated string - Date and time the recipe was last updated, format as described in RFC 3339
- compartment
Id String - (Updatable) The OCID of the container scan recipe's compartment
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - (Updatable) User friendly name of container scan recipe. If not present, will be auto-generated.
- 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"}
- image
Count Integer - (Updatable) This field is set equal to the number of images we want to scan in the first go when the recipe is created
- scan
Settings ContainerScan Recipe Scan Settings - (Updatable) A collection of container scan settings
- state String
- The current state of the config.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - Date and time the recipe was created, format as described in RFC 3339
- time
Updated String - Date and time the recipe was last updated, format as described in RFC 3339
- compartment
Id string - (Updatable) The OCID of the container scan recipe's compartment
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name string - (Updatable) User friendly name of container scan recipe. If not present, will be auto-generated.
- {[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"}
- image
Count number - (Updatable) This field is set equal to the number of images we want to scan in the first go when the recipe is created
- scan
Settings ContainerScan Recipe Scan Settings - (Updatable) A collection of container scan settings
- state string
- The current state of the config.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - Date and time the recipe was created, format as described in RFC 3339
- time
Updated string - Date and time the recipe was last updated, format as described in RFC 3339
- compartment_
id str - (Updatable) The OCID of the container scan recipe's compartment
- 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 - (Updatable) User friendly name of container scan recipe. If not present, will be auto-generated.
- 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"}
- image_
count int - (Updatable) This field is set equal to the number of images we want to scan in the first go when the recipe is created
- scan_
settings vulnerabilityscanning.Container Scan Recipe Scan Settings Args - (Updatable) A collection of container scan settings
- state str
- The current state of the config.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - Date and time the recipe was created, format as described in RFC 3339
- time_
updated str - Date and time the recipe was last updated, format as described in RFC 3339
- compartment
Id String - (Updatable) The OCID of the container scan recipe's compartment
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - (Updatable) User friendly name of container scan recipe. If not present, will be auto-generated.
- 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"}
- image
Count Number - (Updatable) This field is set equal to the number of images we want to scan in the first go when the recipe is created
- scan
Settings Property Map - (Updatable) A collection of container scan settings
- state String
- The current state of the config.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - Date and time the recipe was created, format as described in RFC 3339
- time
Updated String - Date and time the recipe was last updated, format as described in RFC 3339
Supporting Types
ContainerScanRecipeScanSettings, ContainerScanRecipeScanSettingsArgs
- Scan
Level string (Updatable) The scan level
** 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
- Scan
Level string (Updatable) The scan level
** 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
- scan
Level String (Updatable) The scan level
** 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
- scan
Level string (Updatable) The scan level
** 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
- scan_
level str (Updatable) The scan level
** 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
- scan
Level String (Updatable) The scan level
** 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
Import
ContainerScanRecipes can be imported using the id
, e.g.
$ pulumi import oci:VulnerabilityScanning/containerScanRecipe:ContainerScanRecipe test_container_scan_recipe "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.