1. Packages
  2. Aquasec
  3. API Docs
  4. AquaLabel
Aquasec v0.8.29 published on Monday, Jul 22, 2024 by Pulumiverse

aquasec.AquaLabel

Explore with Pulumi AI

Create AquaLabel Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new AquaLabel(name: string, args?: AquaLabelArgs, opts?: CustomResourceOptions);
@overload
def AquaLabel(resource_name: str,
              args: Optional[AquaLabelArgs] = None,
              opts: Optional[ResourceOptions] = None)

@overload
def AquaLabel(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              description: Optional[str] = None,
              name: Optional[str] = None)
func NewAquaLabel(ctx *Context, name string, args *AquaLabelArgs, opts ...ResourceOption) (*AquaLabel, error)
public AquaLabel(string name, AquaLabelArgs? args = null, CustomResourceOptions? opts = null)
public AquaLabel(String name, AquaLabelArgs args)
public AquaLabel(String name, AquaLabelArgs args, CustomResourceOptions options)
type: aquasec:AquaLabel
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args AquaLabelArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args AquaLabelArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args AquaLabelArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args AquaLabelArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. AquaLabelArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var aquaLabelResource = new Aquasec.AquaLabel("aquaLabelResource", new()
{
    Description = "string",
    Name = "string",
});
Copy
example, err := aquasec.NewAquaLabel(ctx, "aquaLabelResource", &aquasec.AquaLabelArgs{
	Description: pulumi.String("string"),
	Name:        pulumi.String("string"),
})
Copy
var aquaLabelResource = new AquaLabel("aquaLabelResource", AquaLabelArgs.builder()
    .description("string")
    .name("string")
    .build());
Copy
aqua_label_resource = aquasec.AquaLabel("aquaLabelResource",
    description="string",
    name="string")
Copy
const aquaLabelResource = new aquasec.AquaLabel("aquaLabelResource", {
    description: "string",
    name: "string",
});
Copy
type: aquasec:AquaLabel
properties:
    description: string
    name: string
Copy

AquaLabel Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The AquaLabel resource accepts the following input properties:

Description string
Aqua label description.
Name string
Aqua label name.
Description string
Aqua label description.
Name string
Aqua label name.
description String
Aqua label description.
name String
Aqua label name.
description string
Aqua label description.
name string
Aqua label name.
description str
Aqua label description.
name str
Aqua label name.
description String
Aqua label description.
name String
Aqua label name.

Outputs

All input properties are implicitly available as output properties. Additionally, the AquaLabel resource produces the following output properties:

Author string
The name of the user who created the Aqua label.
Created string
The creation date of the Aqua label.
Id string
The provider-assigned unique ID for this managed resource.
Author string
The name of the user who created the Aqua label.
Created string
The creation date of the Aqua label.
Id string
The provider-assigned unique ID for this managed resource.
author String
The name of the user who created the Aqua label.
created String
The creation date of the Aqua label.
id String
The provider-assigned unique ID for this managed resource.
author string
The name of the user who created the Aqua label.
created string
The creation date of the Aqua label.
id string
The provider-assigned unique ID for this managed resource.
author str
The name of the user who created the Aqua label.
created str
The creation date of the Aqua label.
id str
The provider-assigned unique ID for this managed resource.
author String
The name of the user who created the Aqua label.
created String
The creation date of the Aqua label.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing AquaLabel Resource

Get an existing AquaLabel 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?: AquaLabelState, opts?: CustomResourceOptions): AquaLabel
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        author: Optional[str] = None,
        created: Optional[str] = None,
        description: Optional[str] = None,
        name: Optional[str] = None) -> AquaLabel
func GetAquaLabel(ctx *Context, name string, id IDInput, state *AquaLabelState, opts ...ResourceOption) (*AquaLabel, error)
public static AquaLabel Get(string name, Input<string> id, AquaLabelState? state, CustomResourceOptions? opts = null)
public static AquaLabel get(String name, Output<String> id, AquaLabelState state, CustomResourceOptions options)
resources:  _:    type: aquasec:AquaLabel    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Author string
The name of the user who created the Aqua label.
Created string
The creation date of the Aqua label.
Description string
Aqua label description.
Name string
Aqua label name.
Author string
The name of the user who created the Aqua label.
Created string
The creation date of the Aqua label.
Description string
Aqua label description.
Name string
Aqua label name.
author String
The name of the user who created the Aqua label.
created String
The creation date of the Aqua label.
description String
Aqua label description.
name String
Aqua label name.
author string
The name of the user who created the Aqua label.
created string
The creation date of the Aqua label.
description string
Aqua label description.
name string
Aqua label name.
author str
The name of the user who created the Aqua label.
created str
The creation date of the Aqua label.
description str
Aqua label description.
name str
Aqua label name.
author String
The name of the user who created the Aqua label.
created String
The creation date of the Aqua label.
description String
Aqua label description.
name String
Aqua label name.

Package Details

Repository
aquasec pulumiverse/pulumi-aquasec
License
Apache-2.0
Notes
This Pulumi package is based on the aquasec Terraform Provider.