import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a resource to Create a Directory Service. * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * // Add Directory Service . * const active_directory = new nutanix.DirectoryServicesV2("active-directory", { * name: "example_active_directory", * url: "ldap://10.xx.xx.xx:xxxx", * directoryType: "ACTIVE_DIRECTORY", * domainName: "nutanix.com", * serviceAccounts: [{ * username: "username", * password: "password", * }], * whiteListedGroups: ["example"], * }); * ``` * */ export declare class DirectoryServicesV2 extends pulumi.CustomResource { /** * Get an existing DirectoryServicesV2 resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: DirectoryServicesV2State, opts?: pulumi.CustomResourceOptions): DirectoryServicesV2; /** * Returns true if the given object is an instance of DirectoryServicesV2. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is DirectoryServicesV2; /** * - User or Service who created the Directory Service. */ readonly createdBy: pulumi.Output; /** * - Creation time of the Directory Service. */ readonly createdTime: pulumi.Output; /** * -(Required) Type of Directory Service, Supported values are: "ACTIVE_DIRECTORY" (Directory Service type is Active Directory.) and "OPEN_LDAP" (Directory Service type is Open LDAP.) */ readonly directoryType: pulumi.Output; /** * -(Required) Domain name for the Directory Service. */ readonly domainName: pulumi.Output; /** * -(Optional) A globally unique identifier of an instance that is suitable for external consumption. */ readonly extId: pulumi.Output; /** * -(Optional) Group membership search type for the Directory Service. Supported values are: "NON_RECURSIVE" (Doesn't search recursively within groups.) and "RECURSIVE" (Searches recursively within groups.) */ readonly groupSearchType: pulumi.Output; /** * - Last updated time of the Directory Service. */ readonly lastUpdatedTime: pulumi.Output; /** * -(Required) Name for the Directory Service. */ readonly name: pulumi.Output; /** * -(Optional) Configuration for OpenLDAP Directory Service. */ readonly openLdapConfigurations: pulumi.Output; /** * -(Optional) Secondary URL for the Directory Service. */ readonly secondaryUrls: pulumi.Output; /** * -(Required) Information of Service account to connect to the Directory Service. */ readonly serviceAccounts: pulumi.Output; /** * -(Required) URL for the Directory Service. */ readonly url: pulumi.Output; /** * -(Optional) List of allowed User Groups for the Directory Service. */ readonly whiteListedGroups: pulumi.Output; /** * Create a DirectoryServicesV2 resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: DirectoryServicesV2Args, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DirectoryServicesV2 resources. */ export interface DirectoryServicesV2State { /** * - User or Service who created the Directory Service. */ createdBy?: pulumi.Input; /** * - Creation time of the Directory Service. */ createdTime?: pulumi.Input; /** * -(Required) Type of Directory Service, Supported values are: "ACTIVE_DIRECTORY" (Directory Service type is Active Directory.) and "OPEN_LDAP" (Directory Service type is Open LDAP.) */ directoryType?: pulumi.Input; /** * -(Required) Domain name for the Directory Service. */ domainName?: pulumi.Input; /** * -(Optional) A globally unique identifier of an instance that is suitable for external consumption. */ extId?: pulumi.Input; /** * -(Optional) Group membership search type for the Directory Service. Supported values are: "NON_RECURSIVE" (Doesn't search recursively within groups.) and "RECURSIVE" (Searches recursively within groups.) */ groupSearchType?: pulumi.Input; /** * - Last updated time of the Directory Service. */ lastUpdatedTime?: pulumi.Input; /** * -(Required) Name for the Directory Service. */ name?: pulumi.Input; /** * -(Optional) Configuration for OpenLDAP Directory Service. */ openLdapConfigurations?: pulumi.Input[] | undefined>; /** * -(Optional) Secondary URL for the Directory Service. */ secondaryUrls?: pulumi.Input[] | undefined>; /** * -(Required) Information of Service account to connect to the Directory Service. */ serviceAccounts?: pulumi.Input[] | undefined>; /** * -(Required) URL for the Directory Service. */ url?: pulumi.Input; /** * -(Optional) List of allowed User Groups for the Directory Service. */ whiteListedGroups?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a DirectoryServicesV2 resource. */ export interface DirectoryServicesV2Args { /** * -(Required) Type of Directory Service, Supported values are: "ACTIVE_DIRECTORY" (Directory Service type is Active Directory.) and "OPEN_LDAP" (Directory Service type is Open LDAP.) */ directoryType: pulumi.Input; /** * -(Required) Domain name for the Directory Service. */ domainName: pulumi.Input; /** * -(Optional) A globally unique identifier of an instance that is suitable for external consumption. */ extId?: pulumi.Input; /** * -(Optional) Group membership search type for the Directory Service. Supported values are: "NON_RECURSIVE" (Doesn't search recursively within groups.) and "RECURSIVE" (Searches recursively within groups.) */ groupSearchType?: pulumi.Input; /** * -(Required) Name for the Directory Service. */ name?: pulumi.Input; /** * -(Optional) Configuration for OpenLDAP Directory Service. */ openLdapConfigurations?: pulumi.Input[] | undefined>; /** * -(Optional) Secondary URL for the Directory Service. */ secondaryUrls?: pulumi.Input[] | undefined>; /** * -(Required) Information of Service account to connect to the Directory Service. */ serviceAccounts: pulumi.Input[]>; /** * -(Required) URL for the Directory Service. */ url: pulumi.Input; /** * -(Optional) List of allowed User Groups for the Directory Service. */ whiteListedGroups?: pulumi.Input[] | undefined>; } //# sourceMappingURL=directoryServicesV2.d.ts.map