import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../../types"; /** * Creates a new `Occurrence`. Use this method to create `Occurrences` for a resource. */ export declare class Occurrence extends pulumi.CustomResource { /** * Get an existing Occurrence 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Occurrence; /** * Returns true if the given object is an instance of Occurrence. 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 Occurrence; /** * Describes an attestation of an artifact. */ readonly attestation: pulumi.Output; /** * Build details for a verifiable build. */ readonly buildDetails: pulumi.Output; /** * The time this `Occurrence` was created. */ readonly createTime: pulumi.Output; /** * Describes the deployment of an artifact on a runtime. */ readonly deployment: pulumi.Output; /** * Describes how this resource derives from the basis in the associated note. */ readonly derivedImage: pulumi.Output; /** * Describes the initial scan status for this resource. */ readonly discovered: pulumi.Output; /** * Describes the installation of a package on the linked resource. */ readonly installation: pulumi.Output; /** * This explicitly denotes which of the `Occurrence` details are specified. This field can be used as a filter in list requests. */ readonly kind: pulumi.Output; /** * The name of the `Occurrence` in the form "projects/{project_id}/occurrences/{OCCURRENCE_ID}" */ readonly name: pulumi.Output; /** * An analysis note associated with this image, in the form "providers/{provider_id}/notes/{NOTE_ID}" This field can be used as a filter in list requests. */ readonly noteName: pulumi.Output; /** * A description of actions that can be taken to remedy the `Note` */ readonly remediation: pulumi.Output; /** * The resource for which the `Occurrence` applies. */ readonly resource: pulumi.Output; /** * The unique URL of the image or the container for which the `Occurrence` applies. For example, https://gcr.io/project/image@sha256:foo This field can be used as a filter in list requests. */ readonly resourceUrl: pulumi.Output; /** * The time this `Occurrence` was last updated. */ readonly updateTime: pulumi.Output; /** * Describes an upgrade. */ readonly upgrade: pulumi.Output; /** * Details of a security vulnerability note. */ readonly vulnerabilityDetails: pulumi.Output; /** * Create a Occurrence 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: OccurrenceArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Occurrence resource. */ export interface OccurrenceArgs { /** * Describes an attestation of an artifact. */ readonly attestation?: pulumi.Input; /** * Build details for a verifiable build. */ readonly buildDetails?: pulumi.Input; /** * The time this `Occurrence` was created. */ readonly createTime?: pulumi.Input; /** * Describes the deployment of an artifact on a runtime. */ readonly deployment?: pulumi.Input; /** * Describes how this resource derives from the basis in the associated note. */ readonly derivedImage?: pulumi.Input; /** * Describes the initial scan status for this resource. */ readonly discovered?: pulumi.Input; /** * Describes the installation of a package on the linked resource. */ readonly installation?: pulumi.Input; /** * This explicitly denotes which of the `Occurrence` details are specified. This field can be used as a filter in list requests. */ readonly kind?: pulumi.Input; /** * The name of the `Occurrence` in the form "projects/{project_id}/occurrences/{OCCURRENCE_ID}" */ readonly name?: pulumi.Input; /** * An analysis note associated with this image, in the form "providers/{provider_id}/notes/{NOTE_ID}" This field can be used as a filter in list requests. */ readonly noteName?: pulumi.Input; readonly occurrencesId: pulumi.Input; readonly projectsId: pulumi.Input; /** * A description of actions that can be taken to remedy the `Note` */ readonly remediation?: pulumi.Input; /** * The resource for which the `Occurrence` applies. */ readonly resource?: pulumi.Input; /** * The unique URL of the image or the container for which the `Occurrence` applies. For example, https://gcr.io/project/image@sha256:foo This field can be used as a filter in list requests. */ readonly resourceUrl?: pulumi.Input; /** * The time this `Occurrence` was last updated. */ readonly updateTime?: pulumi.Input; /** * Describes an upgrade. */ readonly upgrade?: pulumi.Input; /** * Details of a security vulnerability note. */ readonly vulnerabilityDetails?: pulumi.Input; }