Class Note
Provides a detailed description of a Note.
To get more information about Note, see:
- API documentation
- How-to Guides
- Official Documentation
Example Usage - Container Analysis Note Basic
using Pulumi;
using Gcp = Pulumi.Gcp;
class MyStack : Stack
{
public MyStack()
{
var note = new Gcp.ContainerAnalysis.Note("note", new Gcp.ContainerAnalysis.NoteArgs
{
AttestationAuthority = new Gcp.ContainerAnalysis.Inputs.NoteAttestationAuthorityArgs
{
Hint = new Gcp.ContainerAnalysis.Inputs.NoteAttestationAuthorityHintArgs
{
HumanReadableName = "Attestor Note",
},
},
});
}
}
Inherited Members
Namespace: Pulumi.Gcp.ContainerAnalysis
Assembly: Pulumi.Gcp.dll
Syntax
public class Note : CustomResource
Constructors
View SourceNote(String, NoteArgs, CustomResourceOptions)
Create a Note resource with the given unique name, arguments, and options.
Declaration
public Note(string name, NoteArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| NoteArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAttestationAuthority
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.
Declaration
public Output<NoteAttestationAuthority> AttestationAuthority { get; }
Property Value
| Type | Description |
|---|---|
| Output<NoteAttestationAuthority> |
Name
The name of the note.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Project
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Declaration
public Output<string> Project { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, NoteState, CustomResourceOptions)
Get an existing Note resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Note Get(string name, Input<string> id, NoteState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| NoteState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Note |