containeranalysis

package
v4.21.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Note

type Note struct {
	pulumi.CustomResourceState

	// Note kind that represents a logical attestation "role" or "authority".
	// For example, an organization might have one AttestationAuthority for
	// "QA" and one for "build". This Note is intended to act strictly as a
	// grouping mechanism for the attached Occurrences (Attestations). This
	// grouping mechanism also provides a security boundary, since IAM ACLs
	// gate the ability for a principle to attach an Occurrence to a given
	// Note. It also provides a single point of lookup to find all attached
	// Attestation Occurrences, even if they don't all live in the same
	// project.
	// Structure is documented below.
	AttestationAuthority NoteAttestationAuthorityOutput `pulumi:"attestationAuthority"`
	// The time this note was created.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Time of expiration for this note. Leave empty if note does not expire.
	ExpirationTime pulumi.StringPtrOutput `pulumi:"expirationTime"`
	// The type of analysis this note describes
	Kind pulumi.StringOutput `pulumi:"kind"`
	// A detailed description of the note
	LongDescription pulumi.StringPtrOutput `pulumi:"longDescription"`
	// The name of the note.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// Names of other notes related to this note.
	RelatedNoteNames pulumi.StringArrayOutput `pulumi:"relatedNoteNames"`
	// URLs associated with this note and related metadata.
	// Structure is documented below.
	RelatedUrls NoteRelatedUrlArrayOutput `pulumi:"relatedUrls"`
	// A one sentence description of the note.
	ShortDescription pulumi.StringPtrOutput `pulumi:"shortDescription"`
	// The time this note was last updated.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

A Container Analysis note is a high-level piece of metadata that describes a type of analysis that can be done for a resource.

To get more information about Note, see:

* [API documentation](https://cloud.google.com/container-analysis/api/reference/rest/) * How-to Guides

## Example Usage ### Container Analysis Note Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v4/go/gcp/containeranalysis"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := containeranalysis.NewNote(ctx, "note", &containeranalysis.NoteArgs{
			AttestationAuthority: &containeranalysis.NoteAttestationAuthorityArgs{
				Hint: &containeranalysis.NoteAttestationAuthorityHintArgs{
					HumanReadableName: pulumi.String("Attestor Note"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Container Analysis Note Attestation Full

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v4/go/gcp/containeranalysis"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := containeranalysis.NewNote(ctx, "note", &containeranalysis.NoteArgs{
			AttestationAuthority: &containeranalysis.NoteAttestationAuthorityArgs{
				Hint: &containeranalysis.NoteAttestationAuthorityHintArgs{
					HumanReadableName: pulumi.String("Attestor Note"),
				},
			},
			ExpirationTime:  pulumi.String("2120-10-02T15:01:23.045123456Z"),
			LongDescription: pulumi.String("a longer description of test note"),
			RelatedUrls: containeranalysis.NoteRelatedUrlArray{
				&containeranalysis.NoteRelatedUrlArgs{
					Label: pulumi.String("foo"),
					Url:   pulumi.String("some.url"),
				},
				&containeranalysis.NoteRelatedUrlArgs{
					Url: pulumi.String("google.com"),
				},
			},
			ShortDescription: pulumi.String("test note"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Note can be imported using any of these accepted formats

```sh

$ pulumi import gcp:containeranalysis/note:Note default projects/{{project}}/notes/{{name}}

```

```sh

$ pulumi import gcp:containeranalysis/note:Note default {{project}}/{{name}}

```

```sh

$ pulumi import gcp:containeranalysis/note:Note default {{name}}

```

func GetNote

func GetNote(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NoteState, opts ...pulumi.ResourceOption) (*Note, error)

GetNote gets an existing Note resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewNote

func NewNote(ctx *pulumi.Context,
	name string, args *NoteArgs, opts ...pulumi.ResourceOption) (*Note, error)

NewNote registers a new resource with the given unique name, arguments, and options.

func (*Note) ElementType added in v4.4.0

func (*Note) ElementType() reflect.Type

func (*Note) ToNoteOutput added in v4.4.0

func (i *Note) ToNoteOutput() NoteOutput

func (*Note) ToNoteOutputWithContext added in v4.4.0

func (i *Note) ToNoteOutputWithContext(ctx context.Context) NoteOutput

func (*Note) ToNotePtrOutput added in v4.11.1

func (i *Note) ToNotePtrOutput() NotePtrOutput

func (*Note) ToNotePtrOutputWithContext added in v4.11.1

func (i *Note) ToNotePtrOutputWithContext(ctx context.Context) NotePtrOutput

type NoteArgs

type NoteArgs struct {
	// Note kind that represents a logical attestation "role" or "authority".
	// For example, an organization might have one AttestationAuthority for
	// "QA" and one for "build". This Note is intended to act strictly as a
	// grouping mechanism for the attached Occurrences (Attestations). This
	// grouping mechanism also provides a security boundary, since IAM ACLs
	// gate the ability for a principle to attach an Occurrence to a given
	// Note. It also provides a single point of lookup to find all attached
	// Attestation Occurrences, even if they don't all live in the same
	// project.
	// Structure is documented below.
	AttestationAuthority NoteAttestationAuthorityInput
	// Time of expiration for this note. Leave empty if note does not expire.
	ExpirationTime pulumi.StringPtrInput
	// A detailed description of the note
	LongDescription pulumi.StringPtrInput
	// The name of the note.
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// Names of other notes related to this note.
	RelatedNoteNames pulumi.StringArrayInput
	// URLs associated with this note and related metadata.
	// Structure is documented below.
	RelatedUrls NoteRelatedUrlArrayInput
	// A one sentence description of the note.
	ShortDescription pulumi.StringPtrInput
}

The set of arguments for constructing a Note resource.

func (NoteArgs) ElementType

func (NoteArgs) ElementType() reflect.Type

type NoteArray added in v4.11.1

type NoteArray []NoteInput

func (NoteArray) ElementType added in v4.11.1

func (NoteArray) ElementType() reflect.Type

func (NoteArray) ToNoteArrayOutput added in v4.11.1

func (i NoteArray) ToNoteArrayOutput() NoteArrayOutput

func (NoteArray) ToNoteArrayOutputWithContext added in v4.11.1

func (i NoteArray) ToNoteArrayOutputWithContext(ctx context.Context) NoteArrayOutput

type NoteArrayInput added in v4.11.1

type NoteArrayInput interface {
	pulumi.Input

	ToNoteArrayOutput() NoteArrayOutput
	ToNoteArrayOutputWithContext(context.Context) NoteArrayOutput
}

NoteArrayInput is an input type that accepts NoteArray and NoteArrayOutput values. You can construct a concrete instance of `NoteArrayInput` via:

NoteArray{ NoteArgs{...} }

type NoteArrayOutput added in v4.11.1

type NoteArrayOutput struct{ *pulumi.OutputState }

func (NoteArrayOutput) ElementType added in v4.11.1

func (NoteArrayOutput) ElementType() reflect.Type

func (NoteArrayOutput) Index added in v4.11.1

func (NoteArrayOutput) ToNoteArrayOutput added in v4.11.1

func (o NoteArrayOutput) ToNoteArrayOutput() NoteArrayOutput

func (NoteArrayOutput) ToNoteArrayOutputWithContext added in v4.11.1

func (o NoteArrayOutput) ToNoteArrayOutputWithContext(ctx context.Context) NoteArrayOutput

type NoteAttestationAuthority

type NoteAttestationAuthority struct {
	// This submessage provides human-readable hints about the purpose of
	// the AttestationAuthority. Because the name of a Note acts as its
	// resource reference, it is important to disambiguate the canonical
	// name of the Note (which might be a UUID for security purposes)
	// from "readable" names more suitable for debug output. Note that
	// these hints should NOT be used to look up AttestationAuthorities
	// in security sensitive contexts, such as when looking up
	// Attestations to verify.
	// Structure is documented below.
	Hint NoteAttestationAuthorityHint `pulumi:"hint"`
}

type NoteAttestationAuthorityArgs

type NoteAttestationAuthorityArgs struct {
	// This submessage provides human-readable hints about the purpose of
	// the AttestationAuthority. Because the name of a Note acts as its
	// resource reference, it is important to disambiguate the canonical
	// name of the Note (which might be a UUID for security purposes)
	// from "readable" names more suitable for debug output. Note that
	// these hints should NOT be used to look up AttestationAuthorities
	// in security sensitive contexts, such as when looking up
	// Attestations to verify.
	// Structure is documented below.
	Hint NoteAttestationAuthorityHintInput `pulumi:"hint"`
}

func (NoteAttestationAuthorityArgs) ElementType

func (NoteAttestationAuthorityArgs) ToNoteAttestationAuthorityOutput

func (i NoteAttestationAuthorityArgs) ToNoteAttestationAuthorityOutput() NoteAttestationAuthorityOutput

func (NoteAttestationAuthorityArgs) ToNoteAttestationAuthorityOutputWithContext

func (i NoteAttestationAuthorityArgs) ToNoteAttestationAuthorityOutputWithContext(ctx context.Context) NoteAttestationAuthorityOutput

func (NoteAttestationAuthorityArgs) ToNoteAttestationAuthorityPtrOutput

func (i NoteAttestationAuthorityArgs) ToNoteAttestationAuthorityPtrOutput() NoteAttestationAuthorityPtrOutput

func (NoteAttestationAuthorityArgs) ToNoteAttestationAuthorityPtrOutputWithContext

func (i NoteAttestationAuthorityArgs) ToNoteAttestationAuthorityPtrOutputWithContext(ctx context.Context) NoteAttestationAuthorityPtrOutput

type NoteAttestationAuthorityHint

type NoteAttestationAuthorityHint struct {
	// The human readable name of this Attestation Authority, for
	// example "qa".
	HumanReadableName string `pulumi:"humanReadableName"`
}

type NoteAttestationAuthorityHintArgs

type NoteAttestationAuthorityHintArgs struct {
	// The human readable name of this Attestation Authority, for
	// example "qa".
	HumanReadableName pulumi.StringInput `pulumi:"humanReadableName"`
}

func (NoteAttestationAuthorityHintArgs) ElementType

func (NoteAttestationAuthorityHintArgs) ToNoteAttestationAuthorityHintOutput

func (i NoteAttestationAuthorityHintArgs) ToNoteAttestationAuthorityHintOutput() NoteAttestationAuthorityHintOutput

func (NoteAttestationAuthorityHintArgs) ToNoteAttestationAuthorityHintOutputWithContext

func (i NoteAttestationAuthorityHintArgs) ToNoteAttestationAuthorityHintOutputWithContext(ctx context.Context) NoteAttestationAuthorityHintOutput

func (NoteAttestationAuthorityHintArgs) ToNoteAttestationAuthorityHintPtrOutput

func (i NoteAttestationAuthorityHintArgs) ToNoteAttestationAuthorityHintPtrOutput() NoteAttestationAuthorityHintPtrOutput

func (NoteAttestationAuthorityHintArgs) ToNoteAttestationAuthorityHintPtrOutputWithContext

func (i NoteAttestationAuthorityHintArgs) ToNoteAttestationAuthorityHintPtrOutputWithContext(ctx context.Context) NoteAttestationAuthorityHintPtrOutput

type NoteAttestationAuthorityHintInput

type NoteAttestationAuthorityHintInput interface {
	pulumi.Input

	ToNoteAttestationAuthorityHintOutput() NoteAttestationAuthorityHintOutput
	ToNoteAttestationAuthorityHintOutputWithContext(context.Context) NoteAttestationAuthorityHintOutput
}

NoteAttestationAuthorityHintInput is an input type that accepts NoteAttestationAuthorityHintArgs and NoteAttestationAuthorityHintOutput values. You can construct a concrete instance of `NoteAttestationAuthorityHintInput` via:

NoteAttestationAuthorityHintArgs{...}

type NoteAttestationAuthorityHintOutput

type NoteAttestationAuthorityHintOutput struct{ *pulumi.OutputState }

func (NoteAttestationAuthorityHintOutput) ElementType

func (NoteAttestationAuthorityHintOutput) HumanReadableName

The human readable name of this Attestation Authority, for example "qa".

func (NoteAttestationAuthorityHintOutput) ToNoteAttestationAuthorityHintOutput

func (o NoteAttestationAuthorityHintOutput) ToNoteAttestationAuthorityHintOutput() NoteAttestationAuthorityHintOutput

func (NoteAttestationAuthorityHintOutput) ToNoteAttestationAuthorityHintOutputWithContext

func (o NoteAttestationAuthorityHintOutput) ToNoteAttestationAuthorityHintOutputWithContext(ctx context.Context) NoteAttestationAuthorityHintOutput

func (NoteAttestationAuthorityHintOutput) ToNoteAttestationAuthorityHintPtrOutput

func (o NoteAttestationAuthorityHintOutput) ToNoteAttestationAuthorityHintPtrOutput() NoteAttestationAuthorityHintPtrOutput

func (NoteAttestationAuthorityHintOutput) ToNoteAttestationAuthorityHintPtrOutputWithContext

func (o NoteAttestationAuthorityHintOutput) ToNoteAttestationAuthorityHintPtrOutputWithContext(ctx context.Context) NoteAttestationAuthorityHintPtrOutput

type NoteAttestationAuthorityHintPtrInput

type NoteAttestationAuthorityHintPtrInput interface {
	pulumi.Input

	ToNoteAttestationAuthorityHintPtrOutput() NoteAttestationAuthorityHintPtrOutput
	ToNoteAttestationAuthorityHintPtrOutputWithContext(context.Context) NoteAttestationAuthorityHintPtrOutput
}

NoteAttestationAuthorityHintPtrInput is an input type that accepts NoteAttestationAuthorityHintArgs, NoteAttestationAuthorityHintPtr and NoteAttestationAuthorityHintPtrOutput values. You can construct a concrete instance of `NoteAttestationAuthorityHintPtrInput` via:

        NoteAttestationAuthorityHintArgs{...}

or:

        nil

type NoteAttestationAuthorityHintPtrOutput

type NoteAttestationAuthorityHintPtrOutput struct{ *pulumi.OutputState }

func (NoteAttestationAuthorityHintPtrOutput) Elem

func (NoteAttestationAuthorityHintPtrOutput) ElementType

func (NoteAttestationAuthorityHintPtrOutput) HumanReadableName

The human readable name of this Attestation Authority, for example "qa".

func (NoteAttestationAuthorityHintPtrOutput) ToNoteAttestationAuthorityHintPtrOutput

func (o NoteAttestationAuthorityHintPtrOutput) ToNoteAttestationAuthorityHintPtrOutput() NoteAttestationAuthorityHintPtrOutput

func (NoteAttestationAuthorityHintPtrOutput) ToNoteAttestationAuthorityHintPtrOutputWithContext

func (o NoteAttestationAuthorityHintPtrOutput) ToNoteAttestationAuthorityHintPtrOutputWithContext(ctx context.Context) NoteAttestationAuthorityHintPtrOutput

type NoteAttestationAuthorityInput

type NoteAttestationAuthorityInput interface {
	pulumi.Input

	ToNoteAttestationAuthorityOutput() NoteAttestationAuthorityOutput
	ToNoteAttestationAuthorityOutputWithContext(context.Context) NoteAttestationAuthorityOutput
}

NoteAttestationAuthorityInput is an input type that accepts NoteAttestationAuthorityArgs and NoteAttestationAuthorityOutput values. You can construct a concrete instance of `NoteAttestationAuthorityInput` via:

NoteAttestationAuthorityArgs{...}

type NoteAttestationAuthorityOutput

type NoteAttestationAuthorityOutput struct{ *pulumi.OutputState }

func (NoteAttestationAuthorityOutput) ElementType

func (NoteAttestationAuthorityOutput) Hint

This submessage provides human-readable hints about the purpose of the AttestationAuthority. Because the name of a Note acts as its resource reference, it is important to disambiguate the canonical name of the Note (which might be a UUID for security purposes) from "readable" names more suitable for debug output. Note that these hints should NOT be used to look up AttestationAuthorities in security sensitive contexts, such as when looking up Attestations to verify. Structure is documented below.

func (NoteAttestationAuthorityOutput) ToNoteAttestationAuthorityOutput

func (o NoteAttestationAuthorityOutput) ToNoteAttestationAuthorityOutput() NoteAttestationAuthorityOutput

func (NoteAttestationAuthorityOutput) ToNoteAttestationAuthorityOutputWithContext

func (o NoteAttestationAuthorityOutput) ToNoteAttestationAuthorityOutputWithContext(ctx context.Context) NoteAttestationAuthorityOutput

func (NoteAttestationAuthorityOutput) ToNoteAttestationAuthorityPtrOutput

func (o NoteAttestationAuthorityOutput) ToNoteAttestationAuthorityPtrOutput() NoteAttestationAuthorityPtrOutput

func (NoteAttestationAuthorityOutput) ToNoteAttestationAuthorityPtrOutputWithContext

func (o NoteAttestationAuthorityOutput) ToNoteAttestationAuthorityPtrOutputWithContext(ctx context.Context) NoteAttestationAuthorityPtrOutput

type NoteAttestationAuthorityPtrInput

type NoteAttestationAuthorityPtrInput interface {
	pulumi.Input

	ToNoteAttestationAuthorityPtrOutput() NoteAttestationAuthorityPtrOutput
	ToNoteAttestationAuthorityPtrOutputWithContext(context.Context) NoteAttestationAuthorityPtrOutput
}

NoteAttestationAuthorityPtrInput is an input type that accepts NoteAttestationAuthorityArgs, NoteAttestationAuthorityPtr and NoteAttestationAuthorityPtrOutput values. You can construct a concrete instance of `NoteAttestationAuthorityPtrInput` via:

        NoteAttestationAuthorityArgs{...}

or:

        nil

type NoteAttestationAuthorityPtrOutput

type NoteAttestationAuthorityPtrOutput struct{ *pulumi.OutputState }

func (NoteAttestationAuthorityPtrOutput) Elem

func (NoteAttestationAuthorityPtrOutput) ElementType

func (NoteAttestationAuthorityPtrOutput) Hint

This submessage provides human-readable hints about the purpose of the AttestationAuthority. Because the name of a Note acts as its resource reference, it is important to disambiguate the canonical name of the Note (which might be a UUID for security purposes) from "readable" names more suitable for debug output. Note that these hints should NOT be used to look up AttestationAuthorities in security sensitive contexts, such as when looking up Attestations to verify. Structure is documented below.

func (NoteAttestationAuthorityPtrOutput) ToNoteAttestationAuthorityPtrOutput

func (o NoteAttestationAuthorityPtrOutput) ToNoteAttestationAuthorityPtrOutput() NoteAttestationAuthorityPtrOutput

func (NoteAttestationAuthorityPtrOutput) ToNoteAttestationAuthorityPtrOutputWithContext

func (o NoteAttestationAuthorityPtrOutput) ToNoteAttestationAuthorityPtrOutputWithContext(ctx context.Context) NoteAttestationAuthorityPtrOutput

type NoteInput added in v4.4.0

type NoteInput interface {
	pulumi.Input

	ToNoteOutput() NoteOutput
	ToNoteOutputWithContext(ctx context.Context) NoteOutput
}

type NoteMap added in v4.11.1

type NoteMap map[string]NoteInput

func (NoteMap) ElementType added in v4.11.1

func (NoteMap) ElementType() reflect.Type

func (NoteMap) ToNoteMapOutput added in v4.11.1

func (i NoteMap) ToNoteMapOutput() NoteMapOutput

func (NoteMap) ToNoteMapOutputWithContext added in v4.11.1

func (i NoteMap) ToNoteMapOutputWithContext(ctx context.Context) NoteMapOutput

type NoteMapInput added in v4.11.1

type NoteMapInput interface {
	pulumi.Input

	ToNoteMapOutput() NoteMapOutput
	ToNoteMapOutputWithContext(context.Context) NoteMapOutput
}

NoteMapInput is an input type that accepts NoteMap and NoteMapOutput values. You can construct a concrete instance of `NoteMapInput` via:

NoteMap{ "key": NoteArgs{...} }

type NoteMapOutput added in v4.11.1

type NoteMapOutput struct{ *pulumi.OutputState }

func (NoteMapOutput) ElementType added in v4.11.1

func (NoteMapOutput) ElementType() reflect.Type

func (NoteMapOutput) MapIndex added in v4.11.1

func (NoteMapOutput) ToNoteMapOutput added in v4.11.1

func (o NoteMapOutput) ToNoteMapOutput() NoteMapOutput

func (NoteMapOutput) ToNoteMapOutputWithContext added in v4.11.1

func (o NoteMapOutput) ToNoteMapOutputWithContext(ctx context.Context) NoteMapOutput

type NoteOutput added in v4.4.0

type NoteOutput struct {
	*pulumi.OutputState
}

func (NoteOutput) ElementType added in v4.4.0

func (NoteOutput) ElementType() reflect.Type

func (NoteOutput) ToNoteOutput added in v4.4.0

func (o NoteOutput) ToNoteOutput() NoteOutput

func (NoteOutput) ToNoteOutputWithContext added in v4.4.0

func (o NoteOutput) ToNoteOutputWithContext(ctx context.Context) NoteOutput

func (NoteOutput) ToNotePtrOutput added in v4.11.1

func (o NoteOutput) ToNotePtrOutput() NotePtrOutput

func (NoteOutput) ToNotePtrOutputWithContext added in v4.11.1

func (o NoteOutput) ToNotePtrOutputWithContext(ctx context.Context) NotePtrOutput

type NotePtrInput added in v4.11.1

type NotePtrInput interface {
	pulumi.Input

	ToNotePtrOutput() NotePtrOutput
	ToNotePtrOutputWithContext(ctx context.Context) NotePtrOutput
}

type NotePtrOutput added in v4.11.1

type NotePtrOutput struct {
	*pulumi.OutputState
}

func (NotePtrOutput) ElementType added in v4.11.1

func (NotePtrOutput) ElementType() reflect.Type

func (NotePtrOutput) ToNotePtrOutput added in v4.11.1

func (o NotePtrOutput) ToNotePtrOutput() NotePtrOutput

func (NotePtrOutput) ToNotePtrOutputWithContext added in v4.11.1

func (o NotePtrOutput) ToNotePtrOutputWithContext(ctx context.Context) NotePtrOutput

type NoteRelatedUrl

type NoteRelatedUrl struct {
	// Label to describe usage of the URL
	Label *string `pulumi:"label"`
	// Specific URL associated with the resource.
	Url string `pulumi:"url"`
}

type NoteRelatedUrlArgs

type NoteRelatedUrlArgs struct {
	// Label to describe usage of the URL
	Label pulumi.StringPtrInput `pulumi:"label"`
	// Specific URL associated with the resource.
	Url pulumi.StringInput `pulumi:"url"`
}

func (NoteRelatedUrlArgs) ElementType

func (NoteRelatedUrlArgs) ElementType() reflect.Type

func (NoteRelatedUrlArgs) ToNoteRelatedUrlOutput

func (i NoteRelatedUrlArgs) ToNoteRelatedUrlOutput() NoteRelatedUrlOutput

func (NoteRelatedUrlArgs) ToNoteRelatedUrlOutputWithContext

func (i NoteRelatedUrlArgs) ToNoteRelatedUrlOutputWithContext(ctx context.Context) NoteRelatedUrlOutput

type NoteRelatedUrlArray

type NoteRelatedUrlArray []NoteRelatedUrlInput

func (NoteRelatedUrlArray) ElementType

func (NoteRelatedUrlArray) ElementType() reflect.Type

func (NoteRelatedUrlArray) ToNoteRelatedUrlArrayOutput

func (i NoteRelatedUrlArray) ToNoteRelatedUrlArrayOutput() NoteRelatedUrlArrayOutput

func (NoteRelatedUrlArray) ToNoteRelatedUrlArrayOutputWithContext

func (i NoteRelatedUrlArray) ToNoteRelatedUrlArrayOutputWithContext(ctx context.Context) NoteRelatedUrlArrayOutput

type NoteRelatedUrlArrayInput

type NoteRelatedUrlArrayInput interface {
	pulumi.Input

	ToNoteRelatedUrlArrayOutput() NoteRelatedUrlArrayOutput
	ToNoteRelatedUrlArrayOutputWithContext(context.Context) NoteRelatedUrlArrayOutput
}

NoteRelatedUrlArrayInput is an input type that accepts NoteRelatedUrlArray and NoteRelatedUrlArrayOutput values. You can construct a concrete instance of `NoteRelatedUrlArrayInput` via:

NoteRelatedUrlArray{ NoteRelatedUrlArgs{...} }

type NoteRelatedUrlArrayOutput

type NoteRelatedUrlArrayOutput struct{ *pulumi.OutputState }

func (NoteRelatedUrlArrayOutput) ElementType

func (NoteRelatedUrlArrayOutput) ElementType() reflect.Type

func (NoteRelatedUrlArrayOutput) Index

func (NoteRelatedUrlArrayOutput) ToNoteRelatedUrlArrayOutput

func (o NoteRelatedUrlArrayOutput) ToNoteRelatedUrlArrayOutput() NoteRelatedUrlArrayOutput

func (NoteRelatedUrlArrayOutput) ToNoteRelatedUrlArrayOutputWithContext

func (o NoteRelatedUrlArrayOutput) ToNoteRelatedUrlArrayOutputWithContext(ctx context.Context) NoteRelatedUrlArrayOutput

type NoteRelatedUrlInput

type NoteRelatedUrlInput interface {
	pulumi.Input

	ToNoteRelatedUrlOutput() NoteRelatedUrlOutput
	ToNoteRelatedUrlOutputWithContext(context.Context) NoteRelatedUrlOutput
}

NoteRelatedUrlInput is an input type that accepts NoteRelatedUrlArgs and NoteRelatedUrlOutput values. You can construct a concrete instance of `NoteRelatedUrlInput` via:

NoteRelatedUrlArgs{...}

type NoteRelatedUrlOutput

type NoteRelatedUrlOutput struct{ *pulumi.OutputState }

func (NoteRelatedUrlOutput) ElementType

func (NoteRelatedUrlOutput) ElementType() reflect.Type

func (NoteRelatedUrlOutput) Label

Label to describe usage of the URL

func (NoteRelatedUrlOutput) ToNoteRelatedUrlOutput

func (o NoteRelatedUrlOutput) ToNoteRelatedUrlOutput() NoteRelatedUrlOutput

func (NoteRelatedUrlOutput) ToNoteRelatedUrlOutputWithContext

func (o NoteRelatedUrlOutput) ToNoteRelatedUrlOutputWithContext(ctx context.Context) NoteRelatedUrlOutput

func (NoteRelatedUrlOutput) Url

Specific URL associated with the resource.

type NoteState

type NoteState struct {
	// Note kind that represents a logical attestation "role" or "authority".
	// For example, an organization might have one AttestationAuthority for
	// "QA" and one for "build". This Note is intended to act strictly as a
	// grouping mechanism for the attached Occurrences (Attestations). This
	// grouping mechanism also provides a security boundary, since IAM ACLs
	// gate the ability for a principle to attach an Occurrence to a given
	// Note. It also provides a single point of lookup to find all attached
	// Attestation Occurrences, even if they don't all live in the same
	// project.
	// Structure is documented below.
	AttestationAuthority NoteAttestationAuthorityPtrInput
	// The time this note was created.
	CreateTime pulumi.StringPtrInput
	// Time of expiration for this note. Leave empty if note does not expire.
	ExpirationTime pulumi.StringPtrInput
	// The type of analysis this note describes
	Kind pulumi.StringPtrInput
	// A detailed description of the note
	LongDescription pulumi.StringPtrInput
	// The name of the note.
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// Names of other notes related to this note.
	RelatedNoteNames pulumi.StringArrayInput
	// URLs associated with this note and related metadata.
	// Structure is documented below.
	RelatedUrls NoteRelatedUrlArrayInput
	// A one sentence description of the note.
	ShortDescription pulumi.StringPtrInput
	// The time this note was last updated.
	UpdateTime pulumi.StringPtrInput
}

func (NoteState) ElementType

func (NoteState) ElementType() reflect.Type

type Occurence

type Occurence struct {
	pulumi.CustomResourceState

	// Occurrence that represents a single "attestation". The authenticity
	// of an attestation can be verified using the attached signature.
	// If the verifier trusts the public key of the signer, then verifying
	// the signature is sufficient to establish trust. In this circumstance,
	// the authority to which this attestation is attached is primarily
	// useful for lookup (how to find this attestation if you already
	// know the authority and artifact to be verified) and intent (for
	// which authority this attestation was intended to sign.
	// Structure is documented below.
	Attestation OccurenceAttestationOutput `pulumi:"attestation"`
	// The time when the repository was created.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// The note kind which explicitly denotes which of the occurrence details are specified. This field can be used as a filter
	// in list requests.
	Kind pulumi.StringOutput `pulumi:"kind"`
	// The name of the occurrence.
	Name pulumi.StringOutput `pulumi:"name"`
	// The analysis note associated with this occurrence, in the form of
	// projects/[PROJECT]/notes/[NOTE_ID]. This field can be used as a
	// filter in list requests.
	NoteName pulumi.StringOutput `pulumi:"noteName"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// A description of actions that can be taken to remedy the note.
	Remediation pulumi.StringPtrOutput `pulumi:"remediation"`
	// Required. Immutable. A URI that represents the resource for which
	// the occurrence applies. For example,
	// https://gcr.io/project/image@sha256:123abc for a Docker image.
	ResourceUri pulumi.StringOutput `pulumi:"resourceUri"`
	// The time when the repository was last updated.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

An occurrence is an instance of a Note, or type of analysis that can be done for a resource.

To get more information about Occurrence, see:

* [API documentation](https://cloud.google.com/container-analysis/api/reference/rest/) * How-to Guides

## Example Usage

## Import

Occurrence can be imported using any of these accepted formats

```sh

$ pulumi import gcp:containeranalysis/occurence:Occurence default projects/{{project}}/occurrences/{{name}}

```

```sh

$ pulumi import gcp:containeranalysis/occurence:Occurence default {{project}}/{{name}}

```

```sh

$ pulumi import gcp:containeranalysis/occurence:Occurence default {{name}}

```

func GetOccurence

func GetOccurence(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OccurenceState, opts ...pulumi.ResourceOption) (*Occurence, error)

GetOccurence gets an existing Occurence resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewOccurence

func NewOccurence(ctx *pulumi.Context,
	name string, args *OccurenceArgs, opts ...pulumi.ResourceOption) (*Occurence, error)

NewOccurence registers a new resource with the given unique name, arguments, and options.

func (*Occurence) ElementType added in v4.4.0

func (*Occurence) ElementType() reflect.Type

func (*Occurence) ToOccurenceOutput added in v4.4.0

func (i *Occurence) ToOccurenceOutput() OccurenceOutput

func (*Occurence) ToOccurenceOutputWithContext added in v4.4.0

func (i *Occurence) ToOccurenceOutputWithContext(ctx context.Context) OccurenceOutput

func (*Occurence) ToOccurencePtrOutput added in v4.11.1

func (i *Occurence) ToOccurencePtrOutput() OccurencePtrOutput

func (*Occurence) ToOccurencePtrOutputWithContext added in v4.11.1

func (i *Occurence) ToOccurencePtrOutputWithContext(ctx context.Context) OccurencePtrOutput

type OccurenceArgs

type OccurenceArgs struct {
	// Occurrence that represents a single "attestation". The authenticity
	// of an attestation can be verified using the attached signature.
	// If the verifier trusts the public key of the signer, then verifying
	// the signature is sufficient to establish trust. In this circumstance,
	// the authority to which this attestation is attached is primarily
	// useful for lookup (how to find this attestation if you already
	// know the authority and artifact to be verified) and intent (for
	// which authority this attestation was intended to sign.
	// Structure is documented below.
	Attestation OccurenceAttestationInput
	// The analysis note associated with this occurrence, in the form of
	// projects/[PROJECT]/notes/[NOTE_ID]. This field can be used as a
	// filter in list requests.
	NoteName pulumi.StringInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// A description of actions that can be taken to remedy the note.
	Remediation pulumi.StringPtrInput
	// Required. Immutable. A URI that represents the resource for which
	// the occurrence applies. For example,
	// https://gcr.io/project/image@sha256:123abc for a Docker image.
	ResourceUri pulumi.StringInput
}

The set of arguments for constructing a Occurence resource.

func (OccurenceArgs) ElementType

func (OccurenceArgs) ElementType() reflect.Type

type OccurenceArray added in v4.11.1

type OccurenceArray []OccurenceInput

func (OccurenceArray) ElementType added in v4.11.1

func (OccurenceArray) ElementType() reflect.Type

func (OccurenceArray) ToOccurenceArrayOutput added in v4.11.1

func (i OccurenceArray) ToOccurenceArrayOutput() OccurenceArrayOutput

func (OccurenceArray) ToOccurenceArrayOutputWithContext added in v4.11.1

func (i OccurenceArray) ToOccurenceArrayOutputWithContext(ctx context.Context) OccurenceArrayOutput

type OccurenceArrayInput added in v4.11.1

type OccurenceArrayInput interface {
	pulumi.Input

	ToOccurenceArrayOutput() OccurenceArrayOutput
	ToOccurenceArrayOutputWithContext(context.Context) OccurenceArrayOutput
}

OccurenceArrayInput is an input type that accepts OccurenceArray and OccurenceArrayOutput values. You can construct a concrete instance of `OccurenceArrayInput` via:

OccurenceArray{ OccurenceArgs{...} }

type OccurenceArrayOutput added in v4.11.1

type OccurenceArrayOutput struct{ *pulumi.OutputState }

func (OccurenceArrayOutput) ElementType added in v4.11.1

func (OccurenceArrayOutput) ElementType() reflect.Type

func (OccurenceArrayOutput) Index added in v4.11.1

func (OccurenceArrayOutput) ToOccurenceArrayOutput added in v4.11.1

func (o OccurenceArrayOutput) ToOccurenceArrayOutput() OccurenceArrayOutput

func (OccurenceArrayOutput) ToOccurenceArrayOutputWithContext added in v4.11.1

func (o OccurenceArrayOutput) ToOccurenceArrayOutputWithContext(ctx context.Context) OccurenceArrayOutput

type OccurenceAttestation

type OccurenceAttestation struct {
	// The serialized payload that is verified by one or
	// more signatures. A base64-encoded string.
	SerializedPayload string `pulumi:"serializedPayload"`
	// One or more signatures over serializedPayload.
	// Verifier implementations should consider this attestation
	// message verified if at least one signature verifies
	// serializedPayload. See Signature in common.proto for more
	// details on signature structure and verification.
	// Structure is documented below.
	Signatures []OccurenceAttestationSignature `pulumi:"signatures"`
}

type OccurenceAttestationArgs

type OccurenceAttestationArgs struct {
	// The serialized payload that is verified by one or
	// more signatures. A base64-encoded string.
	SerializedPayload pulumi.StringInput `pulumi:"serializedPayload"`
	// One or more signatures over serializedPayload.
	// Verifier implementations should consider this attestation
	// message verified if at least one signature verifies
	// serializedPayload. See Signature in common.proto for more
	// details on signature structure and verification.
	// Structure is documented below.
	Signatures OccurenceAttestationSignatureArrayInput `pulumi:"signatures"`
}

func (OccurenceAttestationArgs) ElementType

func (OccurenceAttestationArgs) ElementType() reflect.Type

func (OccurenceAttestationArgs) ToOccurenceAttestationOutput

func (i OccurenceAttestationArgs) ToOccurenceAttestationOutput() OccurenceAttestationOutput

func (OccurenceAttestationArgs) ToOccurenceAttestationOutputWithContext

func (i OccurenceAttestationArgs) ToOccurenceAttestationOutputWithContext(ctx context.Context) OccurenceAttestationOutput

func (OccurenceAttestationArgs) ToOccurenceAttestationPtrOutput

func (i OccurenceAttestationArgs) ToOccurenceAttestationPtrOutput() OccurenceAttestationPtrOutput

func (OccurenceAttestationArgs) ToOccurenceAttestationPtrOutputWithContext

func (i OccurenceAttestationArgs) ToOccurenceAttestationPtrOutputWithContext(ctx context.Context) OccurenceAttestationPtrOutput

type OccurenceAttestationInput

type OccurenceAttestationInput interface {
	pulumi.Input

	ToOccurenceAttestationOutput() OccurenceAttestationOutput
	ToOccurenceAttestationOutputWithContext(context.Context) OccurenceAttestationOutput
}

OccurenceAttestationInput is an input type that accepts OccurenceAttestationArgs and OccurenceAttestationOutput values. You can construct a concrete instance of `OccurenceAttestationInput` via:

OccurenceAttestationArgs{...}

type OccurenceAttestationOutput

type OccurenceAttestationOutput struct{ *pulumi.OutputState }

func (OccurenceAttestationOutput) ElementType

func (OccurenceAttestationOutput) ElementType() reflect.Type

func (OccurenceAttestationOutput) SerializedPayload

func (o OccurenceAttestationOutput) SerializedPayload() pulumi.StringOutput

The serialized payload that is verified by one or more signatures. A base64-encoded string.

func (OccurenceAttestationOutput) Signatures

One or more signatures over serializedPayload. Verifier implementations should consider this attestation message verified if at least one signature verifies serializedPayload. See Signature in common.proto for more details on signature structure and verification. Structure is documented below.

func (OccurenceAttestationOutput) ToOccurenceAttestationOutput

func (o OccurenceAttestationOutput) ToOccurenceAttestationOutput() OccurenceAttestationOutput

func (OccurenceAttestationOutput) ToOccurenceAttestationOutputWithContext

func (o OccurenceAttestationOutput) ToOccurenceAttestationOutputWithContext(ctx context.Context) OccurenceAttestationOutput

func (OccurenceAttestationOutput) ToOccurenceAttestationPtrOutput

func (o OccurenceAttestationOutput) ToOccurenceAttestationPtrOutput() OccurenceAttestationPtrOutput

func (OccurenceAttestationOutput) ToOccurenceAttestationPtrOutputWithContext

func (o OccurenceAttestationOutput) ToOccurenceAttestationPtrOutputWithContext(ctx context.Context) OccurenceAttestationPtrOutput

type OccurenceAttestationPtrInput

type OccurenceAttestationPtrInput interface {
	pulumi.Input

	ToOccurenceAttestationPtrOutput() OccurenceAttestationPtrOutput
	ToOccurenceAttestationPtrOutputWithContext(context.Context) OccurenceAttestationPtrOutput
}

OccurenceAttestationPtrInput is an input type that accepts OccurenceAttestationArgs, OccurenceAttestationPtr and OccurenceAttestationPtrOutput values. You can construct a concrete instance of `OccurenceAttestationPtrInput` via:

        OccurenceAttestationArgs{...}

or:

        nil

type OccurenceAttestationPtrOutput

type OccurenceAttestationPtrOutput struct{ *pulumi.OutputState }

func (OccurenceAttestationPtrOutput) Elem

func (OccurenceAttestationPtrOutput) ElementType

func (OccurenceAttestationPtrOutput) SerializedPayload

The serialized payload that is verified by one or more signatures. A base64-encoded string.

func (OccurenceAttestationPtrOutput) Signatures

One or more signatures over serializedPayload. Verifier implementations should consider this attestation message verified if at least one signature verifies serializedPayload. See Signature in common.proto for more details on signature structure and verification. Structure is documented below.

func (OccurenceAttestationPtrOutput) ToOccurenceAttestationPtrOutput

func (o OccurenceAttestationPtrOutput) ToOccurenceAttestationPtrOutput() OccurenceAttestationPtrOutput

func (OccurenceAttestationPtrOutput) ToOccurenceAttestationPtrOutputWithContext

func (o OccurenceAttestationPtrOutput) ToOccurenceAttestationPtrOutputWithContext(ctx context.Context) OccurenceAttestationPtrOutput

type OccurenceAttestationSignature

type OccurenceAttestationSignature struct {
	// The identifier for the public key that verifies this
	// signature. MUST be an RFC3986 conformant
	// URI. * When possible, the key id should be an
	// immutable reference, such as a cryptographic digest.
	// Examples of valid values:
	// * OpenPGP V4 public key fingerprint. See https://www.iana.org/assignments/uri-schemes/prov/openpgp4fpr
	//   for more details on this scheme.
	// * `openpgp4fpr:74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA`
	// * RFC6920 digest-named SubjectPublicKeyInfo (digest of the DER serialization):
	// * "ni:///sha-256;cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU"
	PublicKeyId string `pulumi:"publicKeyId"`
	// The content of the signature, an opaque bytestring.
	// The payload that this signature verifies MUST be
	// unambiguously provided with the Signature during
	// verification. A wrapper message might provide the
	// payload explicitly. Alternatively, a message might
	// have a canonical serialization that can always be
	// unambiguously computed to derive the payload.
	Signature *string `pulumi:"signature"`
}

type OccurenceAttestationSignatureArgs

type OccurenceAttestationSignatureArgs struct {
	// The identifier for the public key that verifies this
	// signature. MUST be an RFC3986 conformant
	// URI. * When possible, the key id should be an
	// immutable reference, such as a cryptographic digest.
	// Examples of valid values:
	// * OpenPGP V4 public key fingerprint. See https://www.iana.org/assignments/uri-schemes/prov/openpgp4fpr
	//   for more details on this scheme.
	// * `openpgp4fpr:74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA`
	// * RFC6920 digest-named SubjectPublicKeyInfo (digest of the DER serialization):
	// * "ni:///sha-256;cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU"
	PublicKeyId pulumi.StringInput `pulumi:"publicKeyId"`
	// The content of the signature, an opaque bytestring.
	// The payload that this signature verifies MUST be
	// unambiguously provided with the Signature during
	// verification. A wrapper message might provide the
	// payload explicitly. Alternatively, a message might
	// have a canonical serialization that can always be
	// unambiguously computed to derive the payload.
	Signature pulumi.StringPtrInput `pulumi:"signature"`
}

func (OccurenceAttestationSignatureArgs) ElementType

func (OccurenceAttestationSignatureArgs) ToOccurenceAttestationSignatureOutput

func (i OccurenceAttestationSignatureArgs) ToOccurenceAttestationSignatureOutput() OccurenceAttestationSignatureOutput

func (OccurenceAttestationSignatureArgs) ToOccurenceAttestationSignatureOutputWithContext

func (i OccurenceAttestationSignatureArgs) ToOccurenceAttestationSignatureOutputWithContext(ctx context.Context) OccurenceAttestationSignatureOutput

type OccurenceAttestationSignatureArray

type OccurenceAttestationSignatureArray []OccurenceAttestationSignatureInput

func (OccurenceAttestationSignatureArray) ElementType

func (OccurenceAttestationSignatureArray) ToOccurenceAttestationSignatureArrayOutput

func (i OccurenceAttestationSignatureArray) ToOccurenceAttestationSignatureArrayOutput() OccurenceAttestationSignatureArrayOutput

func (OccurenceAttestationSignatureArray) ToOccurenceAttestationSignatureArrayOutputWithContext

func (i OccurenceAttestationSignatureArray) ToOccurenceAttestationSignatureArrayOutputWithContext(ctx context.Context) OccurenceAttestationSignatureArrayOutput

type OccurenceAttestationSignatureArrayInput

type OccurenceAttestationSignatureArrayInput interface {
	pulumi.Input

	ToOccurenceAttestationSignatureArrayOutput() OccurenceAttestationSignatureArrayOutput
	ToOccurenceAttestationSignatureArrayOutputWithContext(context.Context) OccurenceAttestationSignatureArrayOutput
}

OccurenceAttestationSignatureArrayInput is an input type that accepts OccurenceAttestationSignatureArray and OccurenceAttestationSignatureArrayOutput values. You can construct a concrete instance of `OccurenceAttestationSignatureArrayInput` via:

OccurenceAttestationSignatureArray{ OccurenceAttestationSignatureArgs{...} }

type OccurenceAttestationSignatureArrayOutput

type OccurenceAttestationSignatureArrayOutput struct{ *pulumi.OutputState }

func (OccurenceAttestationSignatureArrayOutput) ElementType

func (OccurenceAttestationSignatureArrayOutput) Index

func (OccurenceAttestationSignatureArrayOutput) ToOccurenceAttestationSignatureArrayOutput

func (o OccurenceAttestationSignatureArrayOutput) ToOccurenceAttestationSignatureArrayOutput() OccurenceAttestationSignatureArrayOutput

func (OccurenceAttestationSignatureArrayOutput) ToOccurenceAttestationSignatureArrayOutputWithContext

func (o OccurenceAttestationSignatureArrayOutput) ToOccurenceAttestationSignatureArrayOutputWithContext(ctx context.Context) OccurenceAttestationSignatureArrayOutput

type OccurenceAttestationSignatureInput

type OccurenceAttestationSignatureInput interface {
	pulumi.Input

	ToOccurenceAttestationSignatureOutput() OccurenceAttestationSignatureOutput
	ToOccurenceAttestationSignatureOutputWithContext(context.Context) OccurenceAttestationSignatureOutput
}

OccurenceAttestationSignatureInput is an input type that accepts OccurenceAttestationSignatureArgs and OccurenceAttestationSignatureOutput values. You can construct a concrete instance of `OccurenceAttestationSignatureInput` via:

OccurenceAttestationSignatureArgs{...}

type OccurenceAttestationSignatureOutput

type OccurenceAttestationSignatureOutput struct{ *pulumi.OutputState }

func (OccurenceAttestationSignatureOutput) ElementType

func (OccurenceAttestationSignatureOutput) PublicKeyId

The identifier for the public key that verifies this signature. MUST be an RFC3986 conformant URI. * When possible, the key id should be an immutable reference, such as a cryptographic digest. Examples of valid values:

  • OpenPGP V4 public key fingerprint. See https://www.iana.org/assignments/uri-schemes/prov/openpgp4fpr for more details on this scheme.
  • `openpgp4fpr:74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA`
  • RFC6920 digest-named SubjectPublicKeyInfo (digest of the DER serialization):
  • "ni:///sha-256;cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU"

func (OccurenceAttestationSignatureOutput) Signature

The content of the signature, an opaque bytestring. The payload that this signature verifies MUST be unambiguously provided with the Signature during verification. A wrapper message might provide the payload explicitly. Alternatively, a message might have a canonical serialization that can always be unambiguously computed to derive the payload.

func (OccurenceAttestationSignatureOutput) ToOccurenceAttestationSignatureOutput

func (o OccurenceAttestationSignatureOutput) ToOccurenceAttestationSignatureOutput() OccurenceAttestationSignatureOutput

func (OccurenceAttestationSignatureOutput) ToOccurenceAttestationSignatureOutputWithContext

func (o OccurenceAttestationSignatureOutput) ToOccurenceAttestationSignatureOutputWithContext(ctx context.Context) OccurenceAttestationSignatureOutput

type OccurenceInput added in v4.4.0

type OccurenceInput interface {
	pulumi.Input

	ToOccurenceOutput() OccurenceOutput
	ToOccurenceOutputWithContext(ctx context.Context) OccurenceOutput
}

type OccurenceMap added in v4.11.1

type OccurenceMap map[string]OccurenceInput

func (OccurenceMap) ElementType added in v4.11.1

func (OccurenceMap) ElementType() reflect.Type

func (OccurenceMap) ToOccurenceMapOutput added in v4.11.1

func (i OccurenceMap) ToOccurenceMapOutput() OccurenceMapOutput

func (OccurenceMap) ToOccurenceMapOutputWithContext added in v4.11.1

func (i OccurenceMap) ToOccurenceMapOutputWithContext(ctx context.Context) OccurenceMapOutput

type OccurenceMapInput added in v4.11.1

type OccurenceMapInput interface {
	pulumi.Input

	ToOccurenceMapOutput() OccurenceMapOutput
	ToOccurenceMapOutputWithContext(context.Context) OccurenceMapOutput
}

OccurenceMapInput is an input type that accepts OccurenceMap and OccurenceMapOutput values. You can construct a concrete instance of `OccurenceMapInput` via:

OccurenceMap{ "key": OccurenceArgs{...} }

type OccurenceMapOutput added in v4.11.1

type OccurenceMapOutput struct{ *pulumi.OutputState }

func (OccurenceMapOutput) ElementType added in v4.11.1

func (OccurenceMapOutput) ElementType() reflect.Type

func (OccurenceMapOutput) MapIndex added in v4.11.1

func (OccurenceMapOutput) ToOccurenceMapOutput added in v4.11.1

func (o OccurenceMapOutput) ToOccurenceMapOutput() OccurenceMapOutput

func (OccurenceMapOutput) ToOccurenceMapOutputWithContext added in v4.11.1

func (o OccurenceMapOutput) ToOccurenceMapOutputWithContext(ctx context.Context) OccurenceMapOutput

type OccurenceOutput added in v4.4.0

type OccurenceOutput struct {
	*pulumi.OutputState
}

func (OccurenceOutput) ElementType added in v4.4.0

func (OccurenceOutput) ElementType() reflect.Type

func (OccurenceOutput) ToOccurenceOutput added in v4.4.0

func (o OccurenceOutput) ToOccurenceOutput() OccurenceOutput

func (OccurenceOutput) ToOccurenceOutputWithContext added in v4.4.0

func (o OccurenceOutput) ToOccurenceOutputWithContext(ctx context.Context) OccurenceOutput

func (OccurenceOutput) ToOccurencePtrOutput added in v4.11.1

func (o OccurenceOutput) ToOccurencePtrOutput() OccurencePtrOutput

func (OccurenceOutput) ToOccurencePtrOutputWithContext added in v4.11.1

func (o OccurenceOutput) ToOccurencePtrOutputWithContext(ctx context.Context) OccurencePtrOutput

type OccurencePtrInput added in v4.11.1

type OccurencePtrInput interface {
	pulumi.Input

	ToOccurencePtrOutput() OccurencePtrOutput
	ToOccurencePtrOutputWithContext(ctx context.Context) OccurencePtrOutput
}

type OccurencePtrOutput added in v4.11.1

type OccurencePtrOutput struct {
	*pulumi.OutputState
}

func (OccurencePtrOutput) ElementType added in v4.11.1

func (OccurencePtrOutput) ElementType() reflect.Type

func (OccurencePtrOutput) ToOccurencePtrOutput added in v4.11.1

func (o OccurencePtrOutput) ToOccurencePtrOutput() OccurencePtrOutput

func (OccurencePtrOutput) ToOccurencePtrOutputWithContext added in v4.11.1

func (o OccurencePtrOutput) ToOccurencePtrOutputWithContext(ctx context.Context) OccurencePtrOutput

type OccurenceState

type OccurenceState struct {
	// Occurrence that represents a single "attestation". The authenticity
	// of an attestation can be verified using the attached signature.
	// If the verifier trusts the public key of the signer, then verifying
	// the signature is sufficient to establish trust. In this circumstance,
	// the authority to which this attestation is attached is primarily
	// useful for lookup (how to find this attestation if you already
	// know the authority and artifact to be verified) and intent (for
	// which authority this attestation was intended to sign.
	// Structure is documented below.
	Attestation OccurenceAttestationPtrInput
	// The time when the repository was created.
	CreateTime pulumi.StringPtrInput
	// The note kind which explicitly denotes which of the occurrence details are specified. This field can be used as a filter
	// in list requests.
	Kind pulumi.StringPtrInput
	// The name of the occurrence.
	Name pulumi.StringPtrInput
	// The analysis note associated with this occurrence, in the form of
	// projects/[PROJECT]/notes/[NOTE_ID]. This field can be used as a
	// filter in list requests.
	NoteName pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// A description of actions that can be taken to remedy the note.
	Remediation pulumi.StringPtrInput
	// Required. Immutable. A URI that represents the resource for which
	// the occurrence applies. For example,
	// https://gcr.io/project/image@sha256:123abc for a Docker image.
	ResourceUri pulumi.StringPtrInput
	// The time when the repository was last updated.
	UpdateTime pulumi.StringPtrInput
}

func (OccurenceState) ElementType

func (OccurenceState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL