Viewing docs for Aquasec v0.8.29
published on Monday, Jul 22, 2024 by Pulumiverse
published on Monday, Jul 22, 2024 by Pulumiverse
Viewing docs for Aquasec v0.8.29
published on Monday, Jul 22, 2024 by Pulumiverse
published on Monday, Jul 22, 2024 by Pulumiverse
The data source aquasec.getAquaLabels provides a method to query all aqua labels within the Aqua account management.The fields returned from this query are detailed in the Schema section below.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aquasec from "@pulumi/aquasec";
const aquaLabels = aquasec.getAquaLabels({});
export const scopes = aquaLabels;
import pulumi
import pulumi_aquasec as aquasec
aqua_labels = aquasec.get_aqua_labels()
pulumi.export("scopes", aqua_labels)
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-aquasec/sdk/go/aquasec"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
aquaLabels, err := aquasec.GetAquaLabels(ctx, nil, nil)
if err != nil {
return err
}
ctx.Export("scopes", aquaLabels)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aquasec = Pulumi.Aquasec;
return await Deployment.RunAsync(() =>
{
var aquaLabels = Aquasec.GetAquaLabels.Invoke();
return new Dictionary<string, object?>
{
["scopes"] = aquaLabels,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aquasec.AquasecFunctions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var aquaLabels = AquasecFunctions.getAquaLabels();
ctx.export("scopes", aquaLabels.applyValue(getAquaLabelsResult -> getAquaLabelsResult));
}
}
variables:
aquaLabels:
fn::invoke:
Function: aquasec:getAquaLabels
Arguments: {}
outputs:
# Print all Aqua labels
scopes: ${aquaLabels}
Using getAquaLabels
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAquaLabels(opts?: InvokeOptions): Promise<GetAquaLabelsResult>
function getAquaLabelsOutput(opts?: InvokeOptions): Output<GetAquaLabelsResult>def get_aqua_labels(opts: Optional[InvokeOptions] = None) -> GetAquaLabelsResult
def get_aqua_labels_output(opts: Optional[InvokeOptions] = None) -> Output[GetAquaLabelsResult]func GetAquaLabels(ctx *Context, opts ...InvokeOption) (*GetAquaLabelsResult, error)
func GetAquaLabelsOutput(ctx *Context, opts ...InvokeOption) GetAquaLabelsResultOutput> Note: This function is named GetAquaLabels in the Go SDK.
public static class GetAquaLabels
{
public static Task<GetAquaLabelsResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetAquaLabelsResult> Invoke(InvokeOptions? opts = null)
}public static CompletableFuture<GetAquaLabelsResult> getAquaLabels(InvokeOptions options)
public static Output<GetAquaLabelsResult> getAquaLabels(InvokeOptions options)
fn::invoke:
function: aquasec:index/getAquaLabels:getAquaLabels
arguments:
# arguments dictionarygetAquaLabels Result
The following output properties are available:
- Aqua
Labels List<Pulumiverse.Aquasec. Outputs. Get Aqua Labels Aqua Label> - Id string
- The provider-assigned unique ID for this managed resource.
- Aqua
Labels []GetAqua Labels Aqua Label - Id string
- The provider-assigned unique ID for this managed resource.
- aqua
Labels List<GetAqua Labels Aqua Label> - id String
- The provider-assigned unique ID for this managed resource.
- aqua
Labels GetAqua Labels Aqua Label[] - id string
- The provider-assigned unique ID for this managed resource.
- aqua_
labels Sequence[GetAqua Labels Aqua Label] - id str
- The provider-assigned unique ID for this managed resource.
- aqua
Labels List<Property Map> - id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
GetAquaLabelsAquaLabel
- 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.
- 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.
- 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.
- 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.
- 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.
- 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
aquasecTerraform Provider.
Viewing docs for Aquasec v0.8.29
published on Monday, Jul 22, 2024 by Pulumiverse
published on Monday, Jul 22, 2024 by Pulumiverse
