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

aquasec.getApplicationScope

Explore with Pulumi AI

aquasec logo
Aquasec v0.8.29 published on Monday, Jul 22, 2024 by Pulumiverse

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aquasec from "@pulumi/aquasec";
    
    const default = aquasec.getApplicationScope({
        name: "Global",
    });
    export const scopes = _default;
    
    import pulumi
    import pulumi_aquasec as aquasec
    
    default = aquasec.get_application_scope(name="Global")
    pulumi.export("scopes", default)
    
    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 {
    		_default, err := aquasec.LookupApplicationScope(ctx, &aquasec.LookupApplicationScopeArgs{
    			Name: "Global",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("scopes", _default)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aquasec = Pulumi.Aquasec;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = Aquasec.GetApplicationScope.Invoke(new()
        {
            Name = "Global",
        });
    
        return new Dictionary<string, object?>
        {
            ["scopes"] = @default,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aquasec.AquasecFunctions;
    import com.pulumi.aquasec.inputs.GetApplicationScopeArgs;
    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 default = AquasecFunctions.getApplicationScope(GetApplicationScopeArgs.builder()
                .name("Global")
                .build());
    
            ctx.export("scopes", default_);
        }
    }
    
    variables:
      default:
        fn::invoke:
          Function: aquasec:getApplicationScope
          Arguments:
            name: Global
    outputs:
      scopes: ${default}
    

    Using getApplicationScope

    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 getApplicationScope(args: GetApplicationScopeArgs, opts?: InvokeOptions): Promise<GetApplicationScopeResult>
    function getApplicationScopeOutput(args: GetApplicationScopeOutputArgs, opts?: InvokeOptions): Output<GetApplicationScopeResult>
    def get_application_scope(categories: Optional[Sequence[GetApplicationScopeCategory]] = None,
                              name: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetApplicationScopeResult
    def get_application_scope_output(categories: Optional[pulumi.Input[Sequence[pulumi.Input[GetApplicationScopeCategoryArgs]]]] = None,
                              name: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetApplicationScopeResult]
    func LookupApplicationScope(ctx *Context, args *LookupApplicationScopeArgs, opts ...InvokeOption) (*LookupApplicationScopeResult, error)
    func LookupApplicationScopeOutput(ctx *Context, args *LookupApplicationScopeOutputArgs, opts ...InvokeOption) LookupApplicationScopeResultOutput

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

    public static class GetApplicationScope 
    {
        public static Task<GetApplicationScopeResult> InvokeAsync(GetApplicationScopeArgs args, InvokeOptions? opts = null)
        public static Output<GetApplicationScopeResult> Invoke(GetApplicationScopeInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetApplicationScopeResult> getApplicationScope(GetApplicationScopeArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aquasec:index/getApplicationScope:getApplicationScope
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Name of an application scope.
    Categories List<Pulumiverse.Aquasec.Inputs.GetApplicationScopeCategory>
    Artifacts (of applications) / Workloads (containers) / Infrastructure (elements).
    Name string
    Name of an application scope.
    Categories []GetApplicationScopeCategory
    Artifacts (of applications) / Workloads (containers) / Infrastructure (elements).
    name String
    Name of an application scope.
    categories List<GetApplicationScopeCategory>
    Artifacts (of applications) / Workloads (containers) / Infrastructure (elements).
    name string
    Name of an application scope.
    categories GetApplicationScopeCategory[]
    Artifacts (of applications) / Workloads (containers) / Infrastructure (elements).
    name str
    Name of an application scope.
    categories Sequence[GetApplicationScopeCategory]
    Artifacts (of applications) / Workloads (containers) / Infrastructure (elements).
    name String
    Name of an application scope.
    categories List<Property Map>
    Artifacts (of applications) / Workloads (containers) / Infrastructure (elements).

    getApplicationScope Result

    The following output properties are available:

    Author string
    Username of the account that created the service.
    Description string
    Description of the application scope.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Name of an application scope.
    OwnerEmail string
    Name of an application scope.
    Categories List<Pulumiverse.Aquasec.Outputs.GetApplicationScopeCategory>
    Artifacts (of applications) / Workloads (containers) / Infrastructure (elements).
    Author string
    Username of the account that created the service.
    Description string
    Description of the application scope.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Name of an application scope.
    OwnerEmail string
    Name of an application scope.
    Categories []GetApplicationScopeCategory
    Artifacts (of applications) / Workloads (containers) / Infrastructure (elements).
    author String
    Username of the account that created the service.
    description String
    Description of the application scope.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Name of an application scope.
    ownerEmail String
    Name of an application scope.
    categories List<GetApplicationScopeCategory>
    Artifacts (of applications) / Workloads (containers) / Infrastructure (elements).
    author string
    Username of the account that created the service.
    description string
    Description of the application scope.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Name of an application scope.
    ownerEmail string
    Name of an application scope.
    categories GetApplicationScopeCategory[]
    Artifacts (of applications) / Workloads (containers) / Infrastructure (elements).
    author str
    Username of the account that created the service.
    description str
    Description of the application scope.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Name of an application scope.
    owner_email str
    Name of an application scope.
    categories Sequence[GetApplicationScopeCategory]
    Artifacts (of applications) / Workloads (containers) / Infrastructure (elements).
    author String
    Username of the account that created the service.
    description String
    Description of the application scope.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Name of an application scope.
    ownerEmail String
    Name of an application scope.
    categories List<Property Map>
    Artifacts (of applications) / Workloads (containers) / Infrastructure (elements).

    Supporting Types

    GetApplicationScopeCategory

    GetApplicationScopeCategoryArtifact

    GetApplicationScopeCategoryArtifactCf

    GetApplicationScopeCategoryArtifactCfVariable

    Attribute string
    Value string
    Attribute string
    Value string
    attribute String
    value String
    attribute string
    value string
    attribute String
    value String

    GetApplicationScopeCategoryArtifactFunction

    GetApplicationScopeCategoryArtifactFunctionVariable

    Attribute string
    Value string
    Attribute string
    Value string
    attribute String
    value String
    attribute string
    value string
    attribute String
    value String

    GetApplicationScopeCategoryArtifactImage

    GetApplicationScopeCategoryArtifactImageVariable

    Attribute string
    Value string
    Attribute string
    Value string
    attribute String
    value String
    attribute string
    value string
    attribute String
    value String

    GetApplicationScopeCategoryEntityScope

    GetApplicationScopeCategoryEntityScopeVariable

    Attribute string
    Value string
    Attribute string
    Value string
    attribute String
    value String
    attribute string
    value string
    attribute String
    value String

    GetApplicationScopeCategoryInfrastructure

    GetApplicationScopeCategoryInfrastructureKubernete

    GetApplicationScopeCategoryInfrastructureKuberneteVariable

    Attribute string
    Value string
    Attribute string
    Value string
    attribute String
    value String
    attribute string
    value string
    attribute String
    value String

    GetApplicationScopeCategoryInfrastructureO

    GetApplicationScopeCategoryInfrastructureOVariable

    Attribute string
    Value string
    Attribute string
    Value string
    attribute String
    value String
    attribute string
    value string
    attribute String
    value String

    GetApplicationScopeCategoryWorkload

    GetApplicationScopeCategoryWorkloadCf

    GetApplicationScopeCategoryWorkloadCfVariable

    Attribute string
    Value string
    Attribute string
    Value string
    attribute String
    value String
    attribute string
    value string
    attribute String
    value String

    GetApplicationScopeCategoryWorkloadKubernete

    GetApplicationScopeCategoryWorkloadKuberneteVariable

    Attribute string
    Value string
    Attribute string
    Value string
    attribute String
    value String
    attribute string
    value string
    attribute String
    value String

    GetApplicationScopeCategoryWorkloadO

    GetApplicationScopeCategoryWorkloadOVariable

    Attribute string
    Value string
    Attribute string
    Value string
    attribute String
    value String
    attribute string
    value string
    attribute String
    value String

    Package Details

    Repository
    aquasec pulumiverse/pulumi-aquasec
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aquasec Terraform Provider.
    aquasec logo
    Aquasec v0.8.29 published on Monday, Jul 22, 2024 by Pulumiverse