vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware
vcd.getRdeTypeBehaviorAcl
Explore with Pulumi AI
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:
- Behavior
Id string - The ID of either a RDE Type Behavior or a RDE Interface Behavior
- Rde
Type stringId - The ID of the RDE Type
- Id string
- Behavior
Id string - The ID of either a RDE Type Behavior or a RDE Interface Behavior
- Rde
Type stringId - The ID of the RDE Type
- Id string
- behavior
Id String - The ID of either a RDE Type Behavior or a RDE Interface Behavior
- rde
Type StringId - The ID of the RDE Type
- id String
- behavior
Id string - The ID of either a RDE Type Behavior or a RDE Interface Behavior
- rde
Type stringId - 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_ strid - The ID of the RDE Type
- id str
- behavior
Id String - The ID of either a RDE Type Behavior or a RDE Interface Behavior
- rde
Type StringId - The ID of the RDE Type
- id String
getRdeTypeBehaviorAcl Result
The following output properties are available:
- Access
Level List<string>Ids - Set of Access Level IDs associated to the Behavior defined in
behavior_id
argument - Behavior
Id string - Id string
- Rde
Type stringId
- Access
Level []stringIds - Set of Access Level IDs associated to the Behavior defined in
behavior_id
argument - Behavior
Id string - Id string
- Rde
Type stringId
- access
Level List<String>Ids - Set of Access Level IDs associated to the Behavior defined in
behavior_id
argument - behavior
Id String - id String
- rde
Type StringId
- access
Level string[]Ids - Set of Access Level IDs associated to the Behavior defined in
behavior_id
argument - behavior
Id string - id string
- rde
Type stringId
- access_
level_ Sequence[str]ids - Set of Access Level IDs associated to the Behavior defined in
behavior_id
argument - behavior_
id str - id str
- rde_
type_ strid
- access
Level List<String>Ids - Set of Access Level IDs associated to the Behavior defined in
behavior_id
argument - behavior
Id String - id String
- rde
Type StringId
Package Details
- Repository
- vcd vmware/terraform-provider-vcd
- License
- Notes
- This Pulumi package is based on the
vcd
Terraform Provider.