Class ActiveDirectory
Provides a Rancher v2 Auth Config ActiveDirectory resource. This can be used to configure and enable Auth Config ActiveDirectory for Rancher v2 RKE clusters and retrieve their information.
In addition to the built-in local auth, only one external auth config provider can be enabled at a time.
Inherited Members
Namespace: Pulumi.Rancher2
Assembly: Pulumi.Rancher2.dll
Syntax
public class ActiveDirectory : CustomResource
Constructors
View SourceActiveDirectory(String, ActiveDirectoryArgs, CustomResourceOptions)
Create a ActiveDirectory resource with the given unique name, arguments, and options.
Declaration
public ActiveDirectory(string name, ActiveDirectoryArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ActiveDirectoryArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAccessMode
Access mode for auth. required, restricted, unrestricted are supported. Default unrestricted (string)
Declaration
public Output<string> AccessMode { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
AllowedPrincipalIds
Allowed principal ids for auth. Required if access_mode is required or restricted. Ex: activedirectory_user://<DN> activedirectory_group://<DN> (list)
Declaration
public Output<ImmutableArray<string>> AllowedPrincipalIds { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
Annotations
Annotations of the resource (map)
Declaration
public Output<ImmutableDictionary<string, object>> Annotations { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>> |
Certificate
CA certificate for TLS if selfsigned (string)
Declaration
public Output<string> Certificate { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ConnectionTimeout
ActiveDirectory connection timeout. Default 5000 (int)
Declaration
public Output<int?> ConnectionTimeout { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
DefaultLoginDomain
ActiveDirectory defult lgoin domain (string)
Declaration
public Output<string> DefaultLoginDomain { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Enabled
Enable auth config provider. Default true (bool)
Declaration
public Output<bool?> Enabled { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
GroupDnAttribute
Group DN attribute. Default distinguishedName (string)
Declaration
public Output<string> GroupDnAttribute { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
GroupMemberMappingAttribute
Group member mapping attribute. Default member (string)
Declaration
public Output<string> GroupMemberMappingAttribute { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
GroupMemberUserAttribute
Group member user attribute. Default distinguishedName (string)
Declaration
public Output<string> GroupMemberUserAttribute { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
GroupNameAttribute
Group name attribute. Default name (string)
Declaration
public Output<string> GroupNameAttribute { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
GroupObjectClass
Group object class. Default group (string)
Declaration
public Output<string> GroupObjectClass { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
GroupSearchAttribute
Group search attribute. Default sAMAccountName (string)
Declaration
public Output<string> GroupSearchAttribute { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
GroupSearchBase
Group search base (string)
Declaration
public Output<string> GroupSearchBase { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
GroupSearchFilter
Group search filter (string)
Declaration
public Output<string> GroupSearchFilter { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Labels
Labels of the resource (map)
Declaration
public Output<ImmutableDictionary<string, object>> Labels { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>> |
Name
(Computed) The name of the resource (string)
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
NestedGroupMembershipEnabled
Nested group membership enable. Default false (bool)
Declaration
public Output<bool> NestedGroupMembershipEnabled { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Boolean> |
Port
ActiveDirectory port. Default 389 (int)
Declaration
public Output<int?> Port { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
Servers
ActiveDirectory servers list (list)
Declaration
public Output<ImmutableArray<string>> Servers { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
ServiceAccountPassword
Service account password for access ActiveDirectory service (string)
Declaration
public Output<string> ServiceAccountPassword { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ServiceAccountUsername
Service account DN for access ActiveDirectory service (string)
Declaration
public Output<string> ServiceAccountUsername { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Tls
Enable TLS connection (bool)
Declaration
public Output<bool> Tls { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Boolean> |
Type
(Computed) The type of the resource (string)
Declaration
public Output<string> Type { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
UserDisabledBitMask
User disabled bit mask. Default 2 (int)
Declaration
public Output<int?> UserDisabledBitMask { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
UserEnabledAttribute
User enable attribute (string)
Declaration
public Output<string> UserEnabledAttribute { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
UserLoginAttribute
User login attribute. Default sAMAccountName (string)
Declaration
public Output<string> UserLoginAttribute { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
UserNameAttribute
User name attribute. Default name (string)
Declaration
public Output<string> UserNameAttribute { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
UserObjectClass
User object class. Default person (string)
Declaration
public Output<string> UserObjectClass { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
UserSearchAttribute
User search attribute. Default sAMAccountName|sn|givenName (string)
Declaration
public Output<string> UserSearchAttribute { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
UserSearchBase
User search base DN (string)
Declaration
public Output<string> UserSearchBase { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
UserSearchFilter
User search filter (string)
Declaration
public Output<string> UserSearchFilter { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, ActiveDirectoryState, CustomResourceOptions)
Get an existing ActiveDirectory resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static ActiveDirectory Get(string name, Input<string> id, ActiveDirectoryState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| ActiveDirectoryState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| ActiveDirectory |