vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware
vcd.getRdeTypeBehavior
Start a Neo task
Explain and create a vcd.getRdeTypeBehavior resource
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
Example coming soon!
Example coming soon!
Example coming soon!
Example 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 dictionaryThe following arguments are supported:
- Behavior
Id string - Rde
Type stringId - The ID of the RDE Type that owns the Behavior override
- Id string
- Behavior
Id string - Rde
Type stringId - The ID of the RDE Type that owns the Behavior override
- Id string
- behavior
Id String - rde
Type StringId - The ID of the RDE Type that owns the Behavior override
- id String
- behavior
Id string - rde
Type stringId - The ID of the RDE Type that owns the Behavior override
- id string
- behavior_
id str - rde_
type_ strid - The ID of the RDE Type that owns the Behavior override
- id str
- behavior
Id String - rde
Type StringId - The ID of the RDE Type that owns the Behavior override
- id String
getRdeTypeBehavior Result
The following output properties are available:
- Behavior
Id string - Description string
- Execution Dictionary<string, string>
- Execution
Json string - Id string
- Name string
- Rde
Type stringId - Ref string
- Behavior
Id string - Description string
- Execution map[string]string
- Execution
Json string - Id string
- Name string
- Rde
Type stringId - Ref string
- behavior
Id String - description String
- execution Map<String,String>
- execution
Json String - id String
- name String
- rde
Type StringId - ref String
- behavior
Id string - description string
- execution {[key: string]: string}
- execution
Json string - id string
- name string
- rde
Type stringId - ref string
- behavior_
id str - description str
- execution Mapping[str, str]
- execution_
json str - id str
- name str
- rde_
type_ strid - ref str
- behavior
Id String - description String
- execution Map<String>
- execution
Json String - id String
- name String
- rde
Type StringId - ref String
Package Details
- Repository
- vcd vmware/terraform-provider-vcd
- License
- Notes
- This Pulumi package is based on the
vcdTerraform Provider.
