import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets the specified note. */ export declare function getNote(args: GetNoteArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetNoteArgs { noteId: string; project?: string; } export interface GetNoteResult { /** * A note describing an attestation role. */ readonly attestationAuthority: outputs.containeranalysis.v1beta1.AuthorityResponse; /** * A note describing a base image. */ readonly baseImage: outputs.containeranalysis.v1beta1.BasisResponse; /** * A note describing build provenance for a verifiable build. */ readonly build: outputs.containeranalysis.v1beta1.BuildResponse; /** * The time this note was created. This field can be used as a filter in list requests. */ readonly createTime: string; /** * A note describing something that can be deployed. */ readonly deployable: outputs.containeranalysis.v1beta1.DeployableResponse; /** * A note describing the initial analysis of a resource. */ readonly discovery: outputs.containeranalysis.v1beta1.DiscoveryResponse; /** * Time of expiration for this note. Empty if note does not expire. */ readonly expirationTime: string; /** * A note describing an in-toto link. */ readonly intoto: outputs.containeranalysis.v1beta1.InTotoResponse; /** * The type of analysis. This field can be used as a filter in list requests. */ readonly kind: string; /** * A detailed description of this note. */ readonly longDescription: string; /** * The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. */ readonly name: string; /** * A note describing a package hosted by various package managers. */ readonly package: outputs.containeranalysis.v1beta1.PackageResponse; /** * Other notes related to this note. */ readonly relatedNoteNames: string[]; /** * URLs associated with this note. */ readonly relatedUrl: outputs.containeranalysis.v1beta1.RelatedUrlResponse[]; /** * A note describing a software bill of materials. */ readonly sbom: outputs.containeranalysis.v1beta1.DocumentNoteResponse; /** * A note describing an SBOM reference. */ readonly sbomReference: outputs.containeranalysis.v1beta1.SBOMReferenceNoteResponse; /** * A one sentence description of this note. */ readonly shortDescription: string; /** * A note describing an SPDX File. */ readonly spdxFile: outputs.containeranalysis.v1beta1.FileNoteResponse; /** * A note describing an SPDX Package. */ readonly spdxPackage: outputs.containeranalysis.v1beta1.PackageInfoNoteResponse; /** * A note describing an SPDX File. */ readonly spdxRelationship: outputs.containeranalysis.v1beta1.RelationshipNoteResponse; /** * The time this note was last updated. This field can be used as a filter in list requests. */ readonly updateTime: string; /** * A note describing a package vulnerability. */ readonly vulnerability: outputs.containeranalysis.v1beta1.VulnerabilityResponse; /** * A note describing a vulnerability assessment. */ readonly vulnerabilityAssessment: outputs.containeranalysis.v1beta1.VulnerabilityAssessmentNoteResponse; } /** * Gets the specified note. */ export declare function getNoteOutput(args: GetNoteOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetNoteOutputArgs { noteId: pulumi.Input; project?: pulumi.Input; }