Viewing docs for vcd 3.14.1
published on Monday, Apr 14, 2025 by vmware
published on Monday, Apr 14, 2025 by vmware
Viewing docs for vcd 3.14.1
published on Monday, Apr 14, 2025 by vmware
published on Monday, Apr 14, 2025 by vmware
Supported in provider v3.8+.
Provides a data source to read LDAP configuration for an organization.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vcd from "@pulumi/vcd";
const my_org = vcd.getOrg({
name: "my-org",
});
const first = my_org.then(my_org => vcd.getOrgLdap({
orgId: my_org.id,
}));
import pulumi
import pulumi_vcd as vcd
my_org = vcd.get_org(name="my-org")
first = vcd.get_org_ldap(org_id=my_org.id)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/vcd/v3/vcd"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
my_org, err := vcd.LookupOrg(ctx, &vcd.LookupOrgArgs{
Name: "my-org",
}, nil)
if err != nil {
return err
}
_, err = vcd.LookupOrgLdap(ctx, &vcd.LookupOrgLdapArgs{
OrgId: my_org.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vcd = Pulumi.Vcd;
return await Deployment.RunAsync(() =>
{
var my_org = Vcd.GetOrg.Invoke(new()
{
Name = "my-org",
});
var first = Vcd.GetOrgLdap.Invoke(new()
{
OrgId = my_org.Apply(getOrgResult => getOrgResult.Id),
});
});
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.GetOrgArgs;
import com.pulumi.vcd.inputs.GetOrgLdapArgs;
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 my-org = VcdFunctions.getOrg(GetOrgArgs.builder()
.name("my-org")
.build());
final var first = VcdFunctions.getOrgLdap(GetOrgLdapArgs.builder()
.orgId(my_org.id())
.build());
}
}
variables:
my-org:
fn::invoke:
function: vcd:getOrg
arguments:
name: my-org
first:
fn::invoke:
function: vcd:getOrgLdap
arguments:
orgId: ${["my-org"].id}
Using getOrgLdap
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 getOrgLdap(args: GetOrgLdapArgs, opts?: InvokeOptions): Promise<GetOrgLdapResult>
function getOrgLdapOutput(args: GetOrgLdapOutputArgs, opts?: InvokeOptions): Output<GetOrgLdapResult>def get_org_ldap(id: Optional[str] = None,
org_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOrgLdapResult
def get_org_ldap_output(id: Optional[pulumi.Input[str]] = None,
org_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOrgLdapResult]func LookupOrgLdap(ctx *Context, args *LookupOrgLdapArgs, opts ...InvokeOption) (*LookupOrgLdapResult, error)
func LookupOrgLdapOutput(ctx *Context, args *LookupOrgLdapOutputArgs, opts ...InvokeOption) LookupOrgLdapResultOutput> Note: This function is named LookupOrgLdap in the Go SDK.
public static class GetOrgLdap
{
public static Task<GetOrgLdapResult> InvokeAsync(GetOrgLdapArgs args, InvokeOptions? opts = null)
public static Output<GetOrgLdapResult> Invoke(GetOrgLdapInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOrgLdapResult> getOrgLdap(GetOrgLdapArgs args, InvokeOptions options)
public static Output<GetOrgLdapResult> getOrgLdap(GetOrgLdapArgs args, InvokeOptions options)
fn::invoke:
function: vcd:index/getOrgLdap:getOrgLdap
arguments:
# arguments dictionaryThe following arguments are supported:
getOrgLdap Result
The following output properties are available:
- Custom
Settings List<GetOrg Ldap Custom Setting> - Custom
User stringOu - Id string
- Ldap
Mode string - Org
Id string
- Custom
Settings []GetOrg Ldap Custom Setting - Custom
User stringOu - Id string
- Ldap
Mode string - Org
Id string
- custom
Settings List<GetOrg Ldap Custom Setting> - custom
User StringOu - id String
- ldap
Mode String - org
Id String
- custom
Settings GetOrg Ldap Custom Setting[] - custom
User stringOu - id string
- ldap
Mode string - org
Id string
- custom
Settings List<Property Map> - custom
User StringOu - id String
- ldap
Mode String - org
Id String
Supporting Types
GetOrgLdapCustomSetting
- Authentication
Method string - Base
Distinguished stringName - Connector
Type string - Group
Attributes List<GetOrg Ldap Custom Setting Group Attribute> - Is
Ssl bool - Password string
- Port double
- Server string
- User
Attributes List<GetOrg Ldap Custom Setting User Attribute> - Username string
- Authentication
Method string - Base
Distinguished stringName - Connector
Type string - Group
Attributes []GetOrg Ldap Custom Setting Group Attribute - Is
Ssl bool - Password string
- Port float64
- Server string
- User
Attributes []GetOrg Ldap Custom Setting User Attribute - Username string
- authentication
Method String - base
Distinguished StringName - connector
Type String - group
Attributes List<GetOrg Ldap Custom Setting Group Attribute> - is
Ssl Boolean - password String
- port Double
- server String
- user
Attributes List<GetOrg Ldap Custom Setting User Attribute> - username String
- authentication
Method string - base
Distinguished stringName - connector
Type string - group
Attributes GetOrg Ldap Custom Setting Group Attribute[] - is
Ssl boolean - password string
- port number
- server string
- user
Attributes GetOrg Ldap Custom Setting User Attribute[] - username string
- authentication
Method String - base
Distinguished StringName - connector
Type String - group
Attributes List<Property Map> - is
Ssl Boolean - password String
- port Number
- server String
- user
Attributes List<Property Map> - username String
GetOrgLdapCustomSettingGroupAttribute
- Group
Back stringLink Identifier - Group
Membership stringIdentifier - Membership string
- Name string
- Object
Class string - Unique
Identifier string
- Group
Back stringLink Identifier - Group
Membership stringIdentifier - Membership string
- Name string
- Object
Class string - Unique
Identifier string
- group
Back StringLink Identifier - group
Membership StringIdentifier - membership String
- name String
- object
Class String - unique
Identifier String
- group
Back stringLink Identifier - group
Membership stringIdentifier - membership string
- name string
- object
Class string - unique
Identifier string
- group_
back_ strlink_ identifier - group_
membership_ stridentifier - membership str
- name str
- object_
class str - unique_
identifier str
- group
Back StringLink Identifier - group
Membership StringIdentifier - membership String
- name String
- object
Class String - unique
Identifier String
GetOrgLdapCustomSettingUserAttribute
- Display
Name string - Email string
- Given
Name string - Group
Back stringLink Identifier - Group
Membership stringIdentifier - Object
Class string - Surname string
- Telephone string
- Unique
Identifier string - Username string
- Display
Name string - Email string
- Given
Name string - Group
Back stringLink Identifier - Group
Membership stringIdentifier - Object
Class string - Surname string
- Telephone string
- Unique
Identifier string - Username string
- display
Name String - email String
- given
Name String - group
Back StringLink Identifier - group
Membership StringIdentifier - object
Class String - surname String
- telephone String
- unique
Identifier String - username String
- display
Name string - email string
- given
Name string - group
Back stringLink Identifier - group
Membership stringIdentifier - object
Class string - surname string
- telephone string
- unique
Identifier string - username string
- display_
name str - email str
- given_
name str - group_
back_ strlink_ identifier - group_
membership_ stridentifier - object_
class str - surname str
- telephone str
- unique_
identifier str - username str
- display
Name String - email String
- given
Name String - group
Back StringLink Identifier - group
Membership StringIdentifier - object
Class String - surname String
- telephone String
- unique
Identifier String - username String
Package Details
- Repository
- vcd vmware/terraform-provider-vcd
- License
- Notes
- This Pulumi package is based on the
vcdTerraform Provider.
Viewing docs for vcd 3.14.1
published on Monday, Apr 14, 2025 by vmware
published on Monday, Apr 14, 2025 by vmware
