Aquasec v0.8.29 published on Monday, Jul 22, 2024 by Pulumiverse
aquasec.getApplicationScope
Explore with Pulumi AI
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. Get Application Scope Category> - Artifacts (of applications) / Workloads (containers) / Infrastructure (elements).
- Name string
- Name of an application scope.
- Categories
[]Get
Application Scope Category - Artifacts (of applications) / Workloads (containers) / Infrastructure (elements).
- name String
- Name of an application scope.
- categories
List<Get
Application Scope Category> - Artifacts (of applications) / Workloads (containers) / Infrastructure (elements).
- name string
- Name of an application scope.
- categories
Get
Application Scope Category[] - Artifacts (of applications) / Workloads (containers) / Infrastructure (elements).
- name str
- Name of an application scope.
- categories
Sequence[Get
Application Scope Category] - 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:
- 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.
- Owner
Email string - Name of an application scope.
- Categories
List<Pulumiverse.
Aquasec. Outputs. Get Application Scope Category> - Artifacts (of applications) / Workloads (containers) / Infrastructure (elements).
- 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.
- Owner
Email string - Name of an application scope.
- Categories
[]Get
Application Scope Category - Artifacts (of applications) / Workloads (containers) / Infrastructure (elements).
- 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.
- owner
Email String - Name of an application scope.
- categories
List<Get
Application Scope Category> - Artifacts (of applications) / Workloads (containers) / Infrastructure (elements).
- 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.
- owner
Email string - Name of an application scope.
- categories
Get
Application Scope Category[] - Artifacts (of applications) / Workloads (containers) / Infrastructure (elements).
- 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[Get
Application Scope Category] - Artifacts (of applications) / Workloads (containers) / Infrastructure (elements).
- 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.
- owner
Email String - Name of an application scope.
- categories List<Property Map>
- Artifacts (of applications) / Workloads (containers) / Infrastructure (elements).
Supporting Types
GetApplicationScopeCategory
- Artifacts
List<Pulumiverse.
Aquasec. Inputs. Get Application Scope Category Artifact> - Entity
Scopes List<Pulumiverse.Aquasec. Inputs. Get Application Scope Category Entity Scope> - Infrastructures
List<Pulumiverse.
Aquasec. Inputs. Get Application Scope Category Infrastructure> - Workloads
List<Pulumiverse.
Aquasec. Inputs. Get Application Scope Category Workload>
GetApplicationScopeCategoryArtifact
GetApplicationScopeCategoryArtifactCf
GetApplicationScopeCategoryArtifactCfVariable
GetApplicationScopeCategoryArtifactFunction
GetApplicationScopeCategoryArtifactFunctionVariable
GetApplicationScopeCategoryArtifactImage
GetApplicationScopeCategoryArtifactImageVariable
GetApplicationScopeCategoryEntityScope
GetApplicationScopeCategoryEntityScopeVariable
GetApplicationScopeCategoryInfrastructure
GetApplicationScopeCategoryInfrastructureKubernete
GetApplicationScopeCategoryInfrastructureKuberneteVariable
GetApplicationScopeCategoryInfrastructureO
GetApplicationScopeCategoryInfrastructureOVariable
GetApplicationScopeCategoryWorkload
GetApplicationScopeCategoryWorkloadCf
GetApplicationScopeCategoryWorkloadCfVariable
GetApplicationScopeCategoryWorkloadKubernete
GetApplicationScopeCategoryWorkloadKuberneteVariable
GetApplicationScopeCategoryWorkloadO
GetApplicationScopeCategoryWorkloadOVariable
Package Details
- Repository
- aquasec pulumiverse/pulumi-aquasec
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aquasec
Terraform Provider.