1. Packages
  2. Flexibleengine Provider
  3. API Docs
  4. getIdentityRoleV3
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

flexibleengine.getIdentityRoleV3

Explore with Pulumi AI

flexibleengine logo
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as flexibleengine from "@pulumi/flexibleengine";
    
    const securityAdmin = flexibleengine.getIdentityRoleV3({
        name: "secu_admin",
    });
    
    import pulumi
    import pulumi_flexibleengine as flexibleengine
    
    security_admin = flexibleengine.get_identity_role_v3(name="secu_admin")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := flexibleengine.LookupIdentityRoleV3(ctx, &flexibleengine.LookupIdentityRoleV3Args{
    			Name: "secu_admin",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Flexibleengine = Pulumi.Flexibleengine;
    
    return await Deployment.RunAsync(() => 
    {
        var securityAdmin = Flexibleengine.GetIdentityRoleV3.Invoke(new()
        {
            Name = "secu_admin",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.flexibleengine.FlexibleengineFunctions;
    import com.pulumi.flexibleengine.inputs.GetIdentityRoleV3Args;
    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 securityAdmin = FlexibleengineFunctions.getIdentityRoleV3(GetIdentityRoleV3Args.builder()
                .name("secu_admin")
                .build());
    
        }
    }
    
    variables:
      securityAdmin:
        fn::invoke:
          function: flexibleengine:getIdentityRoleV3
          arguments:
            name: secu_admin
    

    Using getIdentityRoleV3

    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 getIdentityRoleV3(args: GetIdentityRoleV3Args, opts?: InvokeOptions): Promise<GetIdentityRoleV3Result>
    function getIdentityRoleV3Output(args: GetIdentityRoleV3OutputArgs, opts?: InvokeOptions): Output<GetIdentityRoleV3Result>
    def get_identity_role_v3(domain_id: Optional[str] = None,
                             id: Optional[str] = None,
                             name: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetIdentityRoleV3Result
    def get_identity_role_v3_output(domain_id: Optional[pulumi.Input[str]] = None,
                             id: Optional[pulumi.Input[str]] = None,
                             name: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetIdentityRoleV3Result]
    func LookupIdentityRoleV3(ctx *Context, args *LookupIdentityRoleV3Args, opts ...InvokeOption) (*LookupIdentityRoleV3Result, error)
    func LookupIdentityRoleV3Output(ctx *Context, args *LookupIdentityRoleV3OutputArgs, opts ...InvokeOption) LookupIdentityRoleV3ResultOutput

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

    public static class GetIdentityRoleV3 
    {
        public static Task<GetIdentityRoleV3Result> InvokeAsync(GetIdentityRoleV3Args args, InvokeOptions? opts = null)
        public static Output<GetIdentityRoleV3Result> Invoke(GetIdentityRoleV3InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIdentityRoleV3Result> getIdentityRoleV3(GetIdentityRoleV3Args args, InvokeOptions options)
    public static Output<GetIdentityRoleV3Result> getIdentityRoleV3(GetIdentityRoleV3Args args, InvokeOptions options)
    
    fn::invoke:
      function: flexibleengine:index/getIdentityRoleV3:getIdentityRoleV3
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The name of the role.
    DomainId string
    The domain the role belongs to.
    Id string
    The data source ID in UUID format.
    Name string
    The name of the role.
    DomainId string
    The domain the role belongs to.
    Id string
    The data source ID in UUID format.
    name String
    The name of the role.
    domainId String
    The domain the role belongs to.
    id String
    The data source ID in UUID format.
    name string
    The name of the role.
    domainId string
    The domain the role belongs to.
    id string
    The data source ID in UUID format.
    name str
    The name of the role.
    domain_id str
    The domain the role belongs to.
    id str
    The data source ID in UUID format.
    name String
    The name of the role.
    domainId String
    The domain the role belongs to.
    id String
    The data source ID in UUID format.

    getIdentityRoleV3 Result

    The following output properties are available:

    Catalog string
    The service catalog of the policy.
    Description string
    The description of the policy.
    DisplayName string
    The display name of the role displayed on the console.
    DomainId string
    Id string
    The data source ID in UUID format.
    Name string
    Policy string
    The content of the policy.
    Type string
    The display mode of the policy.
    Catalog string
    The service catalog of the policy.
    Description string
    The description of the policy.
    DisplayName string
    The display name of the role displayed on the console.
    DomainId string
    Id string
    The data source ID in UUID format.
    Name string
    Policy string
    The content of the policy.
    Type string
    The display mode of the policy.
    catalog String
    The service catalog of the policy.
    description String
    The description of the policy.
    displayName String
    The display name of the role displayed on the console.
    domainId String
    id String
    The data source ID in UUID format.
    name String
    policy String
    The content of the policy.
    type String
    The display mode of the policy.
    catalog string
    The service catalog of the policy.
    description string
    The description of the policy.
    displayName string
    The display name of the role displayed on the console.
    domainId string
    id string
    The data source ID in UUID format.
    name string
    policy string
    The content of the policy.
    type string
    The display mode of the policy.
    catalog str
    The service catalog of the policy.
    description str
    The description of the policy.
    display_name str
    The display name of the role displayed on the console.
    domain_id str
    id str
    The data source ID in UUID format.
    name str
    policy str
    The content of the policy.
    type str
    The display mode of the policy.
    catalog String
    The service catalog of the policy.
    description String
    The description of the policy.
    displayName String
    The display name of the role displayed on the console.
    domainId String
    id String
    The data source ID in UUID format.
    name String
    policy String
    The content of the policy.
    type String
    The display mode of the policy.

    Package Details

    Repository
    flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
    License
    Notes
    This Pulumi package is based on the flexibleengine Terraform Provider.
    flexibleengine logo
    flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud