1. Packages
  2. Vcd Provider
  3. API Docs
  4. getRdeTypeBehaviorAcl
vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware

vcd.getRdeTypeBehaviorAcl

Explore with Pulumi AI

vcd logo
vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware

    Provides the capability of fetching the RDE Type Behavior Access Levels from VMware Cloud Director.

    Supported in provider v3.10+. Requires System Administrator privileges.

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vcd.VcdFunctions;
    import com.pulumi.vcd.inputs.GetRdeInterfaceArgs;
    import com.pulumi.vcd.inputs.GetRdeInterfaceBehaviorArgs;
    import com.pulumi.vcd.inputs.GetRdeTypeArgs;
    import com.pulumi.vcd.inputs.GetRdeTypeBehaviorAclArgs;
    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 myInterface = VcdFunctions.getRdeInterface(GetRdeInterfaceArgs.builder()
                .vendor("vmware")
                .nss("k8s")
                .version("1.0.0")
                .build());
    
            final var myInterfaceBehavior = VcdFunctions.getRdeInterfaceBehavior(GetRdeInterfaceBehaviorArgs.builder()
                .interfaceId(myInterface.applyValue(getRdeInterfaceResult -> getRdeInterfaceResult.id()))
                .name("createKubeConfig")
                .build());
    
            final var myType = VcdFunctions.getRdeType(GetRdeTypeArgs.builder()
                .vendor("vmware")
                .nss("k8s")
                .version("1.2.0")
                .build());
    
            final var myBehaviorAcl = VcdFunctions.getRdeTypeBehaviorAcl(GetRdeTypeBehaviorAclArgs.builder()
                .rdeTypeId(myType.applyValue(getRdeTypeResult -> getRdeTypeResult.id()))
                .behaviorId(myInterfaceBehavior.applyValue(getRdeInterfaceBehaviorResult -> getRdeInterfaceBehaviorResult.id()))
                .build());
    
            ctx.export("accessLevels", myBehaviorAcl.applyValue(getRdeTypeBehaviorAclResult -> getRdeTypeBehaviorAclResult.accessLevelIds()));
        }
    }
    
    variables:
      myInterface:
        fn::invoke:
          function: vcd:getRdeInterface
          arguments:
            vendor: vmware
            nss: k8s
            version: 1.0.0
      myInterfaceBehavior:
        fn::invoke:
          function: vcd:getRdeInterfaceBehavior
          arguments:
            interfaceId: ${myInterface.id}
            name: createKubeConfig
      myType:
        fn::invoke:
          function: vcd:getRdeType
          arguments:
            vendor: vmware
            nss: k8s
            version: 1.2.0
      myBehaviorAcl:
        fn::invoke:
          function: vcd:getRdeTypeBehaviorAcl
          arguments:
            rdeTypeId: ${myType.id}
            behaviorId: ${myInterfaceBehavior.id}
    outputs:
      accessLevels: ${myBehaviorAcl.accessLevelIds}
    

    Using getRdeTypeBehaviorAcl

    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 getRdeTypeBehaviorAcl(args: GetRdeTypeBehaviorAclArgs, opts?: InvokeOptions): Promise<GetRdeTypeBehaviorAclResult>
    function getRdeTypeBehaviorAclOutput(args: GetRdeTypeBehaviorAclOutputArgs, opts?: InvokeOptions): Output<GetRdeTypeBehaviorAclResult>
    def get_rde_type_behavior_acl(behavior_id: Optional[str] = None,
                                  id: Optional[str] = None,
                                  rde_type_id: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetRdeTypeBehaviorAclResult
    def get_rde_type_behavior_acl_output(behavior_id: Optional[pulumi.Input[str]] = None,
                                  id: Optional[pulumi.Input[str]] = None,
                                  rde_type_id: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetRdeTypeBehaviorAclResult]
    func LookupRdeTypeBehaviorAcl(ctx *Context, args *LookupRdeTypeBehaviorAclArgs, opts ...InvokeOption) (*LookupRdeTypeBehaviorAclResult, error)
    func LookupRdeTypeBehaviorAclOutput(ctx *Context, args *LookupRdeTypeBehaviorAclOutputArgs, opts ...InvokeOption) LookupRdeTypeBehaviorAclResultOutput

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

    public static class GetRdeTypeBehaviorAcl 
    {
        public static Task<GetRdeTypeBehaviorAclResult> InvokeAsync(GetRdeTypeBehaviorAclArgs args, InvokeOptions? opts = null)
        public static Output<GetRdeTypeBehaviorAclResult> Invoke(GetRdeTypeBehaviorAclInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRdeTypeBehaviorAclResult> getRdeTypeBehaviorAcl(GetRdeTypeBehaviorAclArgs args, InvokeOptions options)
    public static Output<GetRdeTypeBehaviorAclResult> getRdeTypeBehaviorAcl(GetRdeTypeBehaviorAclArgs args, InvokeOptions options)
    
    fn::invoke:
      function: vcd:index/getRdeTypeBehaviorAcl:getRdeTypeBehaviorAcl
      arguments:
        # arguments dictionary

    The following arguments are supported:

    BehaviorId string
    The ID of either a RDE Type Behavior or a RDE Interface Behavior
    RdeTypeId string
    The ID of the RDE Type
    Id string
    BehaviorId string
    The ID of either a RDE Type Behavior or a RDE Interface Behavior
    RdeTypeId string
    The ID of the RDE Type
    Id string
    behaviorId String
    The ID of either a RDE Type Behavior or a RDE Interface Behavior
    rdeTypeId String
    The ID of the RDE Type
    id String
    behaviorId string
    The ID of either a RDE Type Behavior or a RDE Interface Behavior
    rdeTypeId string
    The ID of the RDE Type
    id string
    behavior_id str
    The ID of either a RDE Type Behavior or a RDE Interface Behavior
    rde_type_id str
    The ID of the RDE Type
    id str
    behaviorId String
    The ID of either a RDE Type Behavior or a RDE Interface Behavior
    rdeTypeId String
    The ID of the RDE Type
    id String

    getRdeTypeBehaviorAcl Result

    The following output properties are available:

    AccessLevelIds List<string>
    Set of Access Level IDs associated to the Behavior defined in behavior_id argument
    BehaviorId string
    Id string
    RdeTypeId string
    AccessLevelIds []string
    Set of Access Level IDs associated to the Behavior defined in behavior_id argument
    BehaviorId string
    Id string
    RdeTypeId string
    accessLevelIds List<String>
    Set of Access Level IDs associated to the Behavior defined in behavior_id argument
    behaviorId String
    id String
    rdeTypeId String
    accessLevelIds string[]
    Set of Access Level IDs associated to the Behavior defined in behavior_id argument
    behaviorId string
    id string
    rdeTypeId string
    access_level_ids Sequence[str]
    Set of Access Level IDs associated to the Behavior defined in behavior_id argument
    behavior_id str
    id str
    rde_type_id str
    accessLevelIds List<String>
    Set of Access Level IDs associated to the Behavior defined in behavior_id argument
    behaviorId String
    id String
    rdeTypeId String

    Package Details

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