import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Container Scan Target resource in Oracle Cloud Infrastructure Vulnerability Scanning service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/scanning/latest/ContainerScanTarget * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/vulnerability_scanning_service * * Creates a new ContainerScanTarget. A container scan target specifies a group of one or more Docker image repositories in Oracle Cloud Infrastructure Registry (OCIR) that you want routinely scanned for security vulnerabilities. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testContainerScanTarget = new oci.vulnerabilityscanning.ContainerScanTarget("test_container_scan_target", { * compartmentId: compartmentId, * containerScanRecipeId: testContainerScanRecipe.id, * targetRegistry: { * compartmentId: compartmentId, * type: containerScanTargetTargetRegistryType, * repositories: containerScanTargetTargetRegistryRepositories, * url: containerScanTargetTargetRegistryUrl, * }, * definedTags: { * "foo-namespace.bar-key": "value", * }, * description: containerScanTargetDescription, * displayName: containerScanTargetDisplayName, * freeformTags: { * "bar-key": "value", * }, * }); * ``` * * ## Import * * ContainerScanTargets can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:VulnerabilityScanning/containerScanTarget:ContainerScanTarget test_container_scan_target "id" * ``` */ export declare class ContainerScanTarget extends pulumi.CustomResource { /** * Get an existing ContainerScanTarget resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ContainerScanTargetState, opts?: pulumi.CustomResourceOptions): ContainerScanTarget; /** * Returns true if the given object is an instance of ContainerScanTarget. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ContainerScanTarget; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container scan target's compartment */ readonly compartmentId: pulumi.Output; /** * (Updatable) ID of the container scan recipe this target applies. */ readonly containerScanRecipeId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) Target description. */ readonly description: pulumi.Output; /** * (Updatable) User friendly name of container scan target. If not present, will be auto-generated. */ readonly displayName: pulumi.Output; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * The current state of the config. */ readonly state: pulumi.Output; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) Registry information for a container scan target */ readonly targetRegistry: pulumi.Output; /** * Date and time the target was created, format as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) */ readonly timeCreated: pulumi.Output; /** * Date and time the target was last updated, format as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) */ readonly timeUpdated: pulumi.Output; /** * Create a ContainerScanTarget resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ContainerScanTargetArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ContainerScanTarget resources. */ export interface ContainerScanTargetState { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container scan target's compartment */ compartmentId?: pulumi.Input; /** * (Updatable) ID of the container scan recipe this target applies. */ containerScanRecipeId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Target description. */ description?: pulumi.Input; /** * (Updatable) User friendly name of container scan target. If not present, will be auto-generated. */ displayName?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The current state of the config. */ state?: pulumi.Input; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Registry information for a container scan target */ targetRegistry?: pulumi.Input; /** * Date and time the target was created, format as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) */ timeCreated?: pulumi.Input; /** * Date and time the target was last updated, format as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a ContainerScanTarget resource. */ export interface ContainerScanTargetArgs { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container scan target's compartment */ compartmentId: pulumi.Input; /** * (Updatable) ID of the container scan recipe this target applies. */ containerScanRecipeId: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Target description. */ description?: pulumi.Input; /** * (Updatable) User friendly name of container scan target. If not present, will be auto-generated. */ displayName?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Registry information for a container scan target */ targetRegistry: pulumi.Input; } //# sourceMappingURL=containerScanTarget.d.ts.map