Note
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:
Create a Note Resource
new Note(name: string, args: NoteArgs, opts?: CustomResourceOptions);def Note(resource_name, opts=None, attestation_authority=None, expiration_time=None, long_description=None, name=None, project=None, related_note_names=None, related_urls=None, short_description=None, __props__=None);public Note(string name, NoteArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args NoteArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args NoteArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NoteArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
Note Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Note resource accepts the following input properties:
-
Note
Attestation Authority Args 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.
- Expiration
Time string Time of expiration for this note. Leave empty if note does not expire.
- Long
Description string A detailed description of the note
- Name string
The name of the note.
- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- List<string>
Names of other notes related to this note.
-
List<Note
Related Url Args> URLs associated with this note and related metadata. Structure is documented below.
- Short
Description string A one sentence description of the note.
-
Note
Attestation Authority 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.
- Expiration
Time string Time of expiration for this note. Leave empty if note does not expire.
- Long
Description string A detailed description of the note
- Name string
The name of the note.
- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- []string
Names of other notes related to this note.
-
[]Note
Related Url URLs associated with this note and related metadata. Structure is documented below.
- Short
Description string A one sentence description of the note.
-
Note
Attestation Authority 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.
- expiration
Time string Time of expiration for this note. Leave empty if note does not expire.
- long
Description string A detailed description of the note
- name string
The name of the note.
- project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- string[]
Names of other notes related to this note.
-
Note
Related Url[] URLs associated with this note and related metadata. Structure is documented below.
- short
Description string A one sentence description of the note.
-
Dict[Note
Attestation Authority] 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.
- expiration_
time str Time of expiration for this note. Leave empty if note does not expire.
- long_
description str A detailed description of the note
- name str
The name of the note.
- project str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- List[str]
Names of other notes related to this note.
-
List[Note
Related Url] URLs associated with this note and related metadata. Structure is documented below.
- short_
description str A one sentence description of the note.
Outputs
All input properties are implicitly available as output properties. Additionally, the Note resource produces the following output properties:
- Create
Time string The time this note was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kind string
The type of analysis this note describes
- Update
Time string The time this note was last updated.
- Create
Time string The time this note was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kind string
The type of analysis this note describes
- Update
Time string The time this note was last updated.
- create
Time string The time this note was created.
- id string
- The provider-assigned unique ID for this managed resource.
- kind string
The type of analysis this note describes
- update
Time string The time this note was last updated.
- create_
time str The time this note was created.
- id str
- The provider-assigned unique ID for this managed resource.
- kind str
The type of analysis this note describes
- update_
time str The time this note was last updated.
Look up an Existing Note Resource
Get an existing Note 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?: NoteState, opts?: CustomResourceOptions): Notestatic get(resource_name, id, opts=None, attestation_authority=None, create_time=None, expiration_time=None, kind=None, long_description=None, name=None, project=None, related_note_names=None, related_urls=None, short_description=None, update_time=None, __props__=None);public static Note Get(string name, Input<string> id, NoteState? state, CustomResourceOptions? opts = null)- 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.
The following state arguments are supported:
-
Note
Attestation Authority Args 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.
- Create
Time string The time this note was created.
- Expiration
Time string Time of expiration for this note. Leave empty if note does not expire.
- Kind string
The type of analysis this note describes
- Long
Description string A detailed description of the note
- Name string
The name of the note.
- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- List<string>
Names of other notes related to this note.
-
List<Note
Related Url Args> URLs associated with this note and related metadata. Structure is documented below.
- Short
Description string A one sentence description of the note.
- Update
Time string The time this note was last updated.
-
Note
Attestation Authority 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.
- Create
Time string The time this note was created.
- Expiration
Time string Time of expiration for this note. Leave empty if note does not expire.
- Kind string
The type of analysis this note describes
- Long
Description string A detailed description of the note
- Name string
The name of the note.
- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- []string
Names of other notes related to this note.
-
[]Note
Related Url URLs associated with this note and related metadata. Structure is documented below.
- Short
Description string A one sentence description of the note.
- Update
Time string The time this note was last updated.
-
Note
Attestation Authority 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.
- create
Time string The time this note was created.
- expiration
Time string Time of expiration for this note. Leave empty if note does not expire.
- kind string
The type of analysis this note describes
- long
Description string A detailed description of the note
- name string
The name of the note.
- project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- string[]
Names of other notes related to this note.
-
Note
Related Url[] URLs associated with this note and related metadata. Structure is documented below.
- short
Description string A one sentence description of the note.
- update
Time string The time this note was last updated.
-
Dict[Note
Attestation Authority] 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.
- create_
time str The time this note was created.
- expiration_
time str Time of expiration for this note. Leave empty if note does not expire.
- kind str
The type of analysis this note describes
- long_
description str A detailed description of the note
- name str
The name of the note.
- project str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- List[str]
Names of other notes related to this note.
-
List[Note
Related Url] URLs associated with this note and related metadata. Structure is documented below.
- short_
description str A one sentence description of the note.
- update_
time str The time this note was last updated.
Supporting Types
NoteAttestationAuthority
- Hint
Note
Attestation Authority Hint Args 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
Note
Attestation Authority 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.
- hint
Note
Attestation Authority 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.
- hint
Dict[Note
Attestation Authority 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.
NoteAttestationAuthorityHint
- Human
Readable stringName The human readable name of this Attestation Authority, for example “qa”.
- Human
Readable stringName The human readable name of this Attestation Authority, for example “qa”.
- human
Readable stringName The human readable name of this Attestation Authority, for example “qa”.
- human
Readable strName The human readable name of this Attestation Authority, for example “qa”.
NoteRelatedUrl
Package Details
- Repository
- https://github.com/pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.