aquasec logo
Aquasec v0.8.19, Jan 8 23

aquasec.getAcknowledges

The data source aquasec.getAcknowledges provides a method to query all acknowledges within the Aqua

Example Usage

using System.Collections.Generic;
using Pulumi;
using Aquasec = Pulumi.Aquasec;

return await Deployment.RunAsync(() => 
{
    var acknowledgesAcknowledges = Aquasec.GetAcknowledges.Invoke();

    return new Dictionary<string, object?>
    {
        ["acknowledges"] = acknowledgesAcknowledges.Apply(getAcknowledgesResult => getAcknowledgesResult),
    };
});
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 {
		acknowledgesAcknowledges, err := aquasec.GetAcknowledges(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("acknowledges", acknowledgesAcknowledges)
		return nil
	})
}
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 acknowledgesAcknowledges = AquasecFunctions.getAcknowledges();

        ctx.export("acknowledges", acknowledgesAcknowledges.applyValue(getAcknowledgesResult -> getAcknowledgesResult));
    }
}
import pulumi
import pulumi_aquasec as aquasec

acknowledges_acknowledges = aquasec.get_acknowledges()
pulumi.export("acknowledges", acknowledges_acknowledges)
import * as pulumi from "@pulumi/pulumi";
import * as aquasec from "@pulumi/aquasec";

const acknowledgesAcknowledges = aquasec.getAcknowledges({});
export const acknowledges = acknowledgesAcknowledges;
variables:
  acknowledgesAcknowledges:
    fn::invoke:
      Function: aquasec:getAcknowledges
      Arguments: {}
outputs:
  acknowledges: ${acknowledgesAcknowledges}

Using getAcknowledges

function getAcknowledges(opts?: InvokeOptions): Promise<GetAcknowledgesResult>
def get_acknowledges(opts: Optional[InvokeOptions] = None) -> GetAcknowledgesResult
func GetAcknowledges(ctx *Context, opts ...InvokeOption) (*GetAcknowledgesResult, error)

> Note: This function is named GetAcknowledges in the Go SDK.

public static class GetAcknowledges 
{
    public static Task<GetAcknowledgesResult> InvokeAsync(InvokeOptions? opts = null)
}
public static CompletableFuture<GetAcknowledgesResult> getAcknowledges(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: aquasec:index/getAcknowledges:getAcknowledges
  arguments:
    # arguments dictionary

getAcknowledges Result

The following output properties are available:

Acknowledges List<Pulumiverse.Aquasec.Outputs.GetAcknowledgesAcknowledge>

A list of existing security acknowledges.

Id string

The provider-assigned unique ID for this managed resource.

Acknowledges []GetAcknowledgesAcknowledge

A list of existing security acknowledges.

Id string

The provider-assigned unique ID for this managed resource.

acknowledges List<GetAcknowledgesAcknowledge>

A list of existing security acknowledges.

id String

The provider-assigned unique ID for this managed resource.

acknowledges GetAcknowledgesAcknowledge[]

A list of existing security acknowledges.

id string

The provider-assigned unique ID for this managed resource.

acknowledges Sequence[GetAcknowledgesAcknowledge]

A list of existing security acknowledges.

id str

The provider-assigned unique ID for this managed resource.

acknowledges List<Property Map>

A list of existing security acknowledges.

id String

The provider-assigned unique ID for this managed resource.

Supporting Types

GetAcknowledgesAcknowledge

Package Details

Repository
aquasec pulumiverse/pulumi-aquasec
License
Apache-2.0
Notes

This Pulumi package is based on the aquasec Terraform Provider.