Class NetappActiveDirectory.Builder

    • Method Detail

      • create

        @Stability(Stable)
        public static NetappActiveDirectory.Builder create​(software.constructs.Construct scope,
                                                           String id)
        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        id - The scoped construct ID. This parameter is required.
        Returns:
        a new instance of NetappActiveDirectory.Builder.
      • connection

        @Stability(Experimental)
        public NetappActiveDirectory.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public NetappActiveDirectory.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • count

        @Stability(Experimental)
        public NetappActiveDirectory.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Parameters:
        count - This parameter is required.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public NetappActiveDirectory.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Parameters:
        dependsOn - This parameter is required.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public NetappActiveDirectory.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Parameters:
        forEach - This parameter is required.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public NetappActiveDirectory.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Parameters:
        lifecycle - This parameter is required.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public NetappActiveDirectory.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Parameters:
        provider - This parameter is required.
        Returns:
        this
      • provisioners

        @Stability(Experimental)
        public NetappActiveDirectory.Builder provisioners​(List<? extends Object> provisioners)
        Parameters:
        provisioners - This parameter is required.
        Returns:
        this
      • dns

        @Stability(Stable)
        public NetappActiveDirectory.Builder dns​(String dns)
        Comma separated list of DNS server IP addresses for the Active Directory domain.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#dns NetappActiveDirectory#dns}

        Parameters:
        dns - Comma separated list of DNS server IP addresses for the Active Directory domain. This parameter is required.
        Returns:
        this
      • domain

        @Stability(Stable)
        public NetappActiveDirectory.Builder domain​(String domain)
        Fully qualified domain name for the Active Directory domain.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#domain NetappActiveDirectory#domain}

        Parameters:
        domain - Fully qualified domain name for the Active Directory domain. This parameter is required.
        Returns:
        this
      • location

        @Stability(Stable)
        public NetappActiveDirectory.Builder location​(String location)
        Name of the region for the policy to apply to.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#location NetappActiveDirectory#location}

        Parameters:
        location - Name of the region for the policy to apply to. This parameter is required.
        Returns:
        this
      • name

        @Stability(Stable)
        public NetappActiveDirectory.Builder name​(String name)
        The resource name of the Active Directory pool. Needs to be unique per location.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#name NetappActiveDirectory#name}

        Parameters:
        name - The resource name of the Active Directory pool. Needs to be unique per location. This parameter is required.
        Returns:
        this
      • netBiosPrefix

        @Stability(Stable)
        public NetappActiveDirectory.Builder netBiosPrefix​(String netBiosPrefix)
        NetBIOS name prefix of the server to be created.

        A five-character random ID is generated automatically, for example, -6f9a, and appended to the prefix. The full UNC share path will have the following format: '\NetBIOS_PREFIX-ABCD.DOMAIN_NAME\SHARE_NAME' Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#net_bios_prefix NetappActiveDirectory#net_bios_prefix}

        Parameters:
        netBiosPrefix - NetBIOS name prefix of the server to be created. This parameter is required.
        Returns:
        this
      • password

        @Stability(Stable)
        public NetappActiveDirectory.Builder password​(String password)
        Password for specified username.

        Note - Manual changes done to the password will not be detected. Terraform will not re-apply the password, unless you use a new password in Terraform. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#password NetappActiveDirectory#password}

        Parameters:
        password - Password for specified username. This parameter is required.
        Returns:
        this
      • username

        @Stability(Stable)
        public NetappActiveDirectory.Builder username​(String username)
        Username for the Active Directory account with permissions to create the compute account within the specified organizational unit.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#username NetappActiveDirectory#username}

        Parameters:
        username - Username for the Active Directory account with permissions to create the compute account within the specified organizational unit. This parameter is required.
        Returns:
        this
      • administrators

        @Stability(Stable)
        public NetappActiveDirectory.Builder administrators​(List<String> administrators)
        Domain user accounts to be added to the local Administrators group of the SMB service.

        Comma-separated list of domain users or groups. The Domain Admin group is automatically added when the service joins your domain as a hidden group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#administrators NetappActiveDirectory#administrators}

        Parameters:
        administrators - Domain user accounts to be added to the local Administrators group of the SMB service. This parameter is required.
        Returns:
        this
      • aesEncryption

        @Stability(Stable)
        public NetappActiveDirectory.Builder aesEncryption​(Boolean aesEncryption)
        Enables AES-128 and AES-256 encryption for Kerberos-based communication with Active Directory.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#aes_encryption NetappActiveDirectory#aes_encryption}

        Parameters:
        aesEncryption - Enables AES-128 and AES-256 encryption for Kerberos-based communication with Active Directory. This parameter is required.
        Returns:
        this
      • aesEncryption

        @Stability(Stable)
        public NetappActiveDirectory.Builder aesEncryption​(com.hashicorp.cdktf.IResolvable aesEncryption)
        Enables AES-128 and AES-256 encryption for Kerberos-based communication with Active Directory.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#aes_encryption NetappActiveDirectory#aes_encryption}

        Parameters:
        aesEncryption - Enables AES-128 and AES-256 encryption for Kerberos-based communication with Active Directory. This parameter is required.
        Returns:
        this
      • backupOperators

        @Stability(Stable)
        public NetappActiveDirectory.Builder backupOperators​(List<String> backupOperators)
        Domain user/group accounts to be added to the Backup Operators group of the SMB service.

        The Backup Operators group allows members to backup and restore files regardless of whether they have read or write access to the files. Comma-separated list. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#backup_operators NetappActiveDirectory#backup_operators}

        Parameters:
        backupOperators - Domain user/group accounts to be added to the Backup Operators group of the SMB service. This parameter is required.
        Returns:
        this
      • description

        @Stability(Stable)
        public NetappActiveDirectory.Builder description​(String description)
        An optional description of this resource.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#description NetappActiveDirectory#description}

        Parameters:
        description - An optional description of this resource. This parameter is required.
        Returns:
        this
      • encryptDcConnections

        @Stability(Stable)
        public NetappActiveDirectory.Builder encryptDcConnections​(Boolean encryptDcConnections)
        If enabled, traffic between the SMB server to Domain Controller (DC) will be encrypted.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#encrypt_dc_connections NetappActiveDirectory#encrypt_dc_connections}

        Parameters:
        encryptDcConnections - If enabled, traffic between the SMB server to Domain Controller (DC) will be encrypted. This parameter is required.
        Returns:
        this
      • encryptDcConnections

        @Stability(Stable)
        public NetappActiveDirectory.Builder encryptDcConnections​(com.hashicorp.cdktf.IResolvable encryptDcConnections)
        If enabled, traffic between the SMB server to Domain Controller (DC) will be encrypted.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#encrypt_dc_connections NetappActiveDirectory#encrypt_dc_connections}

        Parameters:
        encryptDcConnections - If enabled, traffic between the SMB server to Domain Controller (DC) will be encrypted. This parameter is required.
        Returns:
        this
      • id

        @Stability(Stable)
        public NetappActiveDirectory.Builder id​(String id)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#id NetappActiveDirectory#id}.

        Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.

        Parameters:
        id - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#id NetappActiveDirectory#id}. This parameter is required.
        Returns:
        this
      • kdcHostname

        @Stability(Stable)
        public NetappActiveDirectory.Builder kdcHostname​(String kdcHostname)
        Hostname of the Active Directory server used as Kerberos Key Distribution Center. Only requried for volumes using kerberized NFSv4.1.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#kdc_hostname NetappActiveDirectory#kdc_hostname}

        Parameters:
        kdcHostname - Hostname of the Active Directory server used as Kerberos Key Distribution Center. Only requried for volumes using kerberized NFSv4.1. This parameter is required.
        Returns:
        this
      • kdcIp

        @Stability(Stable)
        public NetappActiveDirectory.Builder kdcIp​(String kdcIp)
        IP address of the Active Directory server used as Kerberos Key Distribution Center.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#kdc_ip NetappActiveDirectory#kdc_ip}

        Parameters:
        kdcIp - IP address of the Active Directory server used as Kerberos Key Distribution Center. This parameter is required.
        Returns:
        this
      • labels

        @Stability(Stable)
        public NetappActiveDirectory.Builder labels​(Map<String,​String> labels)
        Labels as key value pairs. Example: '{ "owner": "Bob", "department": "finance", "purpose": "testing" }'.

        **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#labels NetappActiveDirectory#labels}

        Parameters:
        labels - Labels as key value pairs. Example: '{ "owner": "Bob", "department": "finance", "purpose": "testing" }'. This parameter is required.
        Returns:
        this
      • ldapSigning

        @Stability(Stable)
        public NetappActiveDirectory.Builder ldapSigning​(Boolean ldapSigning)
        Specifies whether or not the LDAP traffic needs to be signed.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#ldap_signing NetappActiveDirectory#ldap_signing}

        Parameters:
        ldapSigning - Specifies whether or not the LDAP traffic needs to be signed. This parameter is required.
        Returns:
        this
      • ldapSigning

        @Stability(Stable)
        public NetappActiveDirectory.Builder ldapSigning​(com.hashicorp.cdktf.IResolvable ldapSigning)
        Specifies whether or not the LDAP traffic needs to be signed.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#ldap_signing NetappActiveDirectory#ldap_signing}

        Parameters:
        ldapSigning - Specifies whether or not the LDAP traffic needs to be signed. This parameter is required.
        Returns:
        this
      • nfsUsersWithLdap

        @Stability(Stable)
        public NetappActiveDirectory.Builder nfsUsersWithLdap​(Boolean nfsUsersWithLdap)
        Local UNIX users on clients without valid user information in Active Directory are blocked from access to LDAP enabled volumes.

        This option can be used to temporarily switch such volumes to AUTH_SYS authentication (user ID + 1-16 groups). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#nfs_users_with_ldap NetappActiveDirectory#nfs_users_with_ldap}

        Parameters:
        nfsUsersWithLdap - Local UNIX users on clients without valid user information in Active Directory are blocked from access to LDAP enabled volumes. This parameter is required.
        Returns:
        this
      • nfsUsersWithLdap

        @Stability(Stable)
        public NetappActiveDirectory.Builder nfsUsersWithLdap​(com.hashicorp.cdktf.IResolvable nfsUsersWithLdap)
        Local UNIX users on clients without valid user information in Active Directory are blocked from access to LDAP enabled volumes.

        This option can be used to temporarily switch such volumes to AUTH_SYS authentication (user ID + 1-16 groups). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#nfs_users_with_ldap NetappActiveDirectory#nfs_users_with_ldap}

        Parameters:
        nfsUsersWithLdap - Local UNIX users on clients without valid user information in Active Directory are blocked from access to LDAP enabled volumes. This parameter is required.
        Returns:
        this
      • organizationalUnit

        @Stability(Stable)
        public NetappActiveDirectory.Builder organizationalUnit​(String organizationalUnit)
        Name of the Organizational Unit where you intend to create the computer account for NetApp Volumes.

        Defaults to 'CN=Computers' if left empty. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#organizational_unit NetappActiveDirectory#organizational_unit}

        Parameters:
        organizationalUnit - Name of the Organizational Unit where you intend to create the computer account for NetApp Volumes. This parameter is required.
        Returns:
        this
      • project

        @Stability(Stable)
        public NetappActiveDirectory.Builder project​(String project)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#project NetappActiveDirectory#project}.

        Parameters:
        project - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#project NetappActiveDirectory#project}. This parameter is required.
        Returns:
        this
      • securityOperators

        @Stability(Stable)
        public NetappActiveDirectory.Builder securityOperators​(List<String> securityOperators)
        Domain accounts that require elevated privileges such as 'SeSecurityPrivilege' to manage security logs. Comma-separated list.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#security_operators NetappActiveDirectory#security_operators}

        Parameters:
        securityOperators - Domain accounts that require elevated privileges such as 'SeSecurityPrivilege' to manage security logs. Comma-separated list. This parameter is required.
        Returns:
        this
      • site

        @Stability(Stable)
        public NetappActiveDirectory.Builder site​(String site)
        Specifies an Active Directory site to manage domain controller selection.

        Use when Active Directory domain controllers in multiple regions are configured. Defaults to 'Default-First-Site-Name' if left empty. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#site NetappActiveDirectory#site}

        Parameters:
        site - Specifies an Active Directory site to manage domain controller selection. This parameter is required.
        Returns:
        this
      • timeouts

        @Stability(Stable)
        public NetappActiveDirectory.Builder timeouts​(NetappActiveDirectoryTimeouts timeouts)
        timeouts block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#timeouts NetappActiveDirectory#timeouts}

        Parameters:
        timeouts - timeouts block. This parameter is required.
        Returns:
        this