flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
flexibleengine.getIdentityCustomRoleV3
Start a Neo task
Explain and create a flexibleengine.getIdentityCustomRoleV3 resource
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
Use this data source to get the ID of an IAM custom policy.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const role = flexibleengine.getIdentityCustomRoleV3({
name: "custom_role",
});
import pulumi
import pulumi_flexibleengine as flexibleengine
role = flexibleengine.get_identity_custom_role_v3(name="custom_role")
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.GetIdentityCustomRoleV3(ctx, &flexibleengine.GetIdentityCustomRoleV3Args{
Name: pulumi.StringRef("custom_role"),
}, 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 role = Flexibleengine.GetIdentityCustomRoleV3.Invoke(new()
{
Name = "custom_role",
});
});
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.GetIdentityCustomRoleV3Args;
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 role = FlexibleengineFunctions.getIdentityCustomRoleV3(GetIdentityCustomRoleV3Args.builder()
.name("custom_role")
.build());
}
}
variables:
role:
fn::invoke:
function: flexibleengine:getIdentityCustomRoleV3
arguments:
name: custom_role
Using getIdentityCustomRoleV3
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 getIdentityCustomRoleV3(args: GetIdentityCustomRoleV3Args, opts?: InvokeOptions): Promise<GetIdentityCustomRoleV3Result>
function getIdentityCustomRoleV3Output(args: GetIdentityCustomRoleV3OutputArgs, opts?: InvokeOptions): Output<GetIdentityCustomRoleV3Result>def get_identity_custom_role_v3(description: Optional[str] = None,
domain_id: Optional[str] = None,
id: Optional[str] = None,
name: Optional[str] = None,
references: Optional[float] = None,
type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIdentityCustomRoleV3Result
def get_identity_custom_role_v3_output(description: Optional[pulumi.Input[str]] = None,
domain_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
references: Optional[pulumi.Input[float]] = None,
type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIdentityCustomRoleV3Result]func GetIdentityCustomRoleV3(ctx *Context, args *GetIdentityCustomRoleV3Args, opts ...InvokeOption) (*GetIdentityCustomRoleV3Result, error)
func GetIdentityCustomRoleV3Output(ctx *Context, args *GetIdentityCustomRoleV3OutputArgs, opts ...InvokeOption) GetIdentityCustomRoleV3ResultOutput> Note: This function is named GetIdentityCustomRoleV3 in the Go SDK.
public static class GetIdentityCustomRoleV3
{
public static Task<GetIdentityCustomRoleV3Result> InvokeAsync(GetIdentityCustomRoleV3Args args, InvokeOptions? opts = null)
public static Output<GetIdentityCustomRoleV3Result> Invoke(GetIdentityCustomRoleV3InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetIdentityCustomRoleV3Result> getIdentityCustomRoleV3(GetIdentityCustomRoleV3Args args, InvokeOptions options)
public static Output<GetIdentityCustomRoleV3Result> getIdentityCustomRoleV3(GetIdentityCustomRoleV3Args args, InvokeOptions options)
fn::invoke:
function: flexibleengine:index/getIdentityCustomRoleV3:getIdentityCustomRoleV3
arguments:
# arguments dictionaryThe following arguments are supported:
- Description string
- Description of the custom policy.
- Domain
Id string - The domain the policy belongs to.
- Id string
- ID of the custom policy.
- Name string
- Name of the custom policy.
- References double
- The number of citations for the custom policy.
- Type string
- Display mode. Valid options are AX: Account level and XA: Project level.
- Description string
- Description of the custom policy.
- Domain
Id string - The domain the policy belongs to.
- Id string
- ID of the custom policy.
- Name string
- Name of the custom policy.
- References float64
- The number of citations for the custom policy.
- Type string
- Display mode. Valid options are AX: Account level and XA: Project level.
- description String
- Description of the custom policy.
- domain
Id String - The domain the policy belongs to.
- id String
- ID of the custom policy.
- name String
- Name of the custom policy.
- references Double
- The number of citations for the custom policy.
- type String
- Display mode. Valid options are AX: Account level and XA: Project level.
- description string
- Description of the custom policy.
- domain
Id string - The domain the policy belongs to.
- id string
- ID of the custom policy.
- name string
- Name of the custom policy.
- references number
- The number of citations for the custom policy.
- type string
- Display mode. Valid options are AX: Account level and XA: Project level.
- description str
- Description of the custom policy.
- domain_
id str - The domain the policy belongs to.
- id str
- ID of the custom policy.
- name str
- Name of the custom policy.
- references float
- The number of citations for the custom policy.
- type str
- Display mode. Valid options are AX: Account level and XA: Project level.
- description String
- Description of the custom policy.
- domain
Id String - The domain the policy belongs to.
- id String
- ID of the custom policy.
- name String
- Name of the custom policy.
- references Number
- The number of citations for the custom policy.
- type String
- Display mode. Valid options are AX: Account level and XA: Project level.
getIdentityCustomRoleV3 Result
The following output properties are available:
- Catalog string
- The catalog of the custom policy.
- Policy string
- Document of the custom policy.
- Description string
- Domain
Id string - Id string
- Name string
- References double
- Type string
- Catalog string
- The catalog of the custom policy.
- Policy string
- Document of the custom policy.
- Description string
- Domain
Id string - Id string
- Name string
- References float64
- Type string
- catalog String
- The catalog of the custom policy.
- policy String
- Document of the custom policy.
- description String
- domain
Id String - id String
- name String
- references Double
- type String
- catalog string
- The catalog of the custom policy.
- policy string
- Document of the custom policy.
- description string
- domain
Id string - id string
- name string
- references number
- type string
- catalog str
- The catalog of the custom policy.
- policy str
- Document of the custom policy.
- description str
- domain_
id str - id str
- name str
- references float
- type str
- catalog String
- The catalog of the custom policy.
- policy String
- Document of the custom policy.
- description String
- domain
Id String - id String
- name String
- references Number
- type String
Package Details
- Repository
- flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
- License
- Notes
- This Pulumi package is based on the
flexibleengineTerraform Provider.
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
