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

vcd.getRdeTypeBehavior

Explore with Pulumi AI

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

    Provides the capability of reading RDE Type Behaviors in VMware Cloud Director, which override an existing RDE Interface Behavior.

    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.GetRdeTypeBehaviorArgs;
    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 myBehavior = VcdFunctions.getRdeTypeBehavior(GetRdeTypeBehaviorArgs.builder()
                .rdeTypeId(myType.applyValue(getRdeTypeResult -> getRdeTypeResult.id()))
                .rdeInterfaceBehaviorId(myInterfaceBehavior.applyValue(getRdeInterfaceBehaviorResult -> getRdeInterfaceBehaviorResult.id()))
                .build());
    
            ctx.export("executionId", myBehavior.applyValue(getRdeTypeBehaviorResult -> getRdeTypeBehaviorResult.execution().id()));
        }
    }
    
    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
      myBehavior:
        fn::invoke:
          function: vcd:getRdeTypeBehavior
          arguments:
            rdeTypeId: ${myType.id}
            rdeInterfaceBehaviorId: ${myInterfaceBehavior.id}
    outputs:
      executionId: ${myBehavior.execution.id}
    

    Using getRdeTypeBehavior

    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 getRdeTypeBehavior(args: GetRdeTypeBehaviorArgs, opts?: InvokeOptions): Promise<GetRdeTypeBehaviorResult>
    function getRdeTypeBehaviorOutput(args: GetRdeTypeBehaviorOutputArgs, opts?: InvokeOptions): Output<GetRdeTypeBehaviorResult>
    def get_rde_type_behavior(behavior_id: Optional[str] = None,
                              id: Optional[str] = None,
                              rde_type_id: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetRdeTypeBehaviorResult
    def get_rde_type_behavior_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[GetRdeTypeBehaviorResult]
    func LookupRdeTypeBehavior(ctx *Context, args *LookupRdeTypeBehaviorArgs, opts ...InvokeOption) (*LookupRdeTypeBehaviorResult, error)
    func LookupRdeTypeBehaviorOutput(ctx *Context, args *LookupRdeTypeBehaviorOutputArgs, opts ...InvokeOption) LookupRdeTypeBehaviorResultOutput

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

    public static class GetRdeTypeBehavior 
    {
        public static Task<GetRdeTypeBehaviorResult> InvokeAsync(GetRdeTypeBehaviorArgs args, InvokeOptions? opts = null)
        public static Output<GetRdeTypeBehaviorResult> Invoke(GetRdeTypeBehaviorInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRdeTypeBehaviorResult> getRdeTypeBehavior(GetRdeTypeBehaviorArgs args, InvokeOptions options)
    public static Output<GetRdeTypeBehaviorResult> getRdeTypeBehavior(GetRdeTypeBehaviorArgs args, InvokeOptions options)
    
    fn::invoke:
      function: vcd:index/getRdeTypeBehavior:getRdeTypeBehavior
      arguments:
        # arguments dictionary

    The following arguments are supported:

    BehaviorId string
    RdeTypeId string
    The ID of the RDE Type that owns the Behavior override
    Id string
    BehaviorId string
    RdeTypeId string
    The ID of the RDE Type that owns the Behavior override
    Id string
    behaviorId String
    rdeTypeId String
    The ID of the RDE Type that owns the Behavior override
    id String
    behaviorId string
    rdeTypeId string
    The ID of the RDE Type that owns the Behavior override
    id string
    behavior_id str
    rde_type_id str
    The ID of the RDE Type that owns the Behavior override
    id str
    behaviorId String
    rdeTypeId String
    The ID of the RDE Type that owns the Behavior override
    id String

    getRdeTypeBehavior Result

    The following output properties are available:

    BehaviorId string
    Description string
    Execution Dictionary<string, string>

    Deprecated: Deprecated

    ExecutionJson string
    Id string
    Name string
    RdeTypeId string
    Ref string
    BehaviorId string
    Description string
    Execution map[string]string

    Deprecated: Deprecated

    ExecutionJson string
    Id string
    Name string
    RdeTypeId string
    Ref string
    behaviorId String
    description String
    execution Map<String,String>

    Deprecated: Deprecated

    executionJson String
    id String
    name String
    rdeTypeId String
    ref String
    behaviorId string
    description string
    execution {[key: string]: string}

    Deprecated: Deprecated

    executionJson string
    id string
    name string
    rdeTypeId string
    ref string
    behavior_id str
    description str
    execution Mapping[str, str]

    Deprecated: Deprecated

    execution_json str
    id str
    name str
    rde_type_id str
    ref str
    behaviorId String
    description String
    execution Map<String>

    Deprecated: Deprecated

    executionJson String
    id String
    name String
    rdeTypeId String
    ref 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