Aquasec v0.8.29 published on Monday, Jul 22, 2024 by Pulumiverse
aquasec.getRolesMappingSaas
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aquasec from "@pulumi/aquasec";
const rolesMappingSaas = aquasec.getRolesMappingSaas({});
export const roleMapping = rolesMappingSaas.then(rolesMappingSaas => rolesMappingSaas.rolesMappings);
import pulumi
import pulumi_aquasec as aquasec
roles_mapping_saas = aquasec.get_roles_mapping_saas()
pulumi.export("roleMapping", roles_mapping_saas.roles_mappings)
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 {
rolesMappingSaas, err := aquasec.GetRolesMappingSaas(ctx, nil, nil)
if err != nil {
return err
}
ctx.Export("roleMapping", rolesMappingSaas.RolesMappings)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aquasec = Pulumi.Aquasec;
return await Deployment.RunAsync(() =>
{
var rolesMappingSaas = Aquasec.GetRolesMappingSaas.Invoke();
return new Dictionary<string, object?>
{
["roleMapping"] = rolesMappingSaas.Apply(getRolesMappingSaasResult => getRolesMappingSaasResult.RolesMappings),
};
});
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 rolesMappingSaas = AquasecFunctions.getRolesMappingSaas();
ctx.export("roleMapping", rolesMappingSaas.applyValue(getRolesMappingSaasResult -> getRolesMappingSaasResult.rolesMappings()));
}
}
variables:
rolesMappingSaas:
fn::invoke:
Function: aquasec:getRolesMappingSaas
Arguments: {}
outputs:
roleMapping: ${rolesMappingSaas.rolesMappings}
Using getRolesMappingSaas
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 getRolesMappingSaas(opts?: InvokeOptions): Promise<GetRolesMappingSaasResult>
function getRolesMappingSaasOutput(opts?: InvokeOptions): Output<GetRolesMappingSaasResult>
def get_roles_mapping_saas(opts: Optional[InvokeOptions] = None) -> GetRolesMappingSaasResult
def get_roles_mapping_saas_output(opts: Optional[InvokeOptions] = None) -> Output[GetRolesMappingSaasResult]
func GetRolesMappingSaas(ctx *Context, opts ...InvokeOption) (*GetRolesMappingSaasResult, error)
func GetRolesMappingSaasOutput(ctx *Context, opts ...InvokeOption) GetRolesMappingSaasResultOutput
> Note: This function is named GetRolesMappingSaas
in the Go SDK.
public static class GetRolesMappingSaas
{
public static Task<GetRolesMappingSaasResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetRolesMappingSaasResult> Invoke(InvokeOptions? opts = null)
}
public static CompletableFuture<GetRolesMappingSaasResult> getRolesMappingSaas(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aquasec:index/getRolesMappingSaas:getRolesMappingSaas
arguments:
# arguments dictionary
getRolesMappingSaas Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Roles
Mappings List<Pulumiverse.Aquasec. Outputs. Get Roles Mapping Saas Roles Mapping>
- Id string
- The provider-assigned unique ID for this managed resource.
- Roles
Mappings []GetRoles Mapping Saas Roles Mapping
- id String
- The provider-assigned unique ID for this managed resource.
- roles
Mappings List<GetRoles Mapping Saas Roles Mapping>
- id string
- The provider-assigned unique ID for this managed resource.
- roles
Mappings GetRoles Mapping Saas Roles Mapping[]
- id str
- The provider-assigned unique ID for this managed resource.
- roles_
mappings Sequence[GetRoles Mapping Saas Roles Mapping]
- id String
- The provider-assigned unique ID for this managed resource.
- roles
Mappings List<Property Map>
Supporting Types
GetRolesMappingSaasRolesMapping
- Account
Id int - Created string
- Csp
Role string - Id int
- Saml
Groups List<string>
- Account
Id int - Created string
- Csp
Role string - Id int
- Saml
Groups []string
- account
Id Integer - created String
- csp
Role String - id Integer
- saml
Groups List<String>
- account
Id number - created string
- csp
Role string - id number
- saml
Groups string[]
- account_
id int - created str
- csp_
role str - id int
- saml_
groups Sequence[str]
- account
Id Number - created String
- csp
Role String - id Number
- saml
Groups List<String>
Package Details
- Repository
- aquasec pulumiverse/pulumi-aquasec
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aquasec
Terraform Provider.