All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.fsx.OntapStorageVirtualMachineArgs Maven / Gradle / Ivy

// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.aws.fsx;

import com.pulumi.aws.fsx.inputs.OntapStorageVirtualMachineActiveDirectoryConfigurationArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class OntapStorageVirtualMachineArgs extends com.pulumi.resources.ResourceArgs {

    public static final OntapStorageVirtualMachineArgs Empty = new OntapStorageVirtualMachineArgs();

    /**
     * Configuration block that Amazon FSx uses to join the FSx ONTAP Storage Virtual Machine(SVM) to your Microsoft Active Directory (AD) directory. Detailed below.
     * 
     */
    @Import(name="activeDirectoryConfiguration")
    private @Nullable Output activeDirectoryConfiguration;

    /**
     * @return Configuration block that Amazon FSx uses to join the FSx ONTAP Storage Virtual Machine(SVM) to your Microsoft Active Directory (AD) directory. Detailed below.
     * 
     */
    public Optional> activeDirectoryConfiguration() {
        return Optional.ofNullable(this.activeDirectoryConfiguration);
    }

    /**
     * The ID of the Amazon FSx ONTAP File System that this SVM will be created on.
     * 
     */
    @Import(name="fileSystemId", required=true)
    private Output fileSystemId;

    /**
     * @return The ID of the Amazon FSx ONTAP File System that this SVM will be created on.
     * 
     */
    public Output fileSystemId() {
        return this.fileSystemId;
    }

    /**
     * The name of the SVM. You can use a maximum of 47 alphanumeric characters, plus the underscore (_) special character.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name of the SVM. You can use a maximum of 47 alphanumeric characters, plus the underscore (_) special character.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Specifies the root volume security style, Valid values are `UNIX`, `NTFS`, and `MIXED`. All volumes created under this SVM will inherit the root security style unless the security style is specified on the volume. Default value is `UNIX`.
     * 
     */
    @Import(name="rootVolumeSecurityStyle")
    private @Nullable Output rootVolumeSecurityStyle;

    /**
     * @return Specifies the root volume security style, Valid values are `UNIX`, `NTFS`, and `MIXED`. All volumes created under this SVM will inherit the root security style unless the security style is specified on the volume. Default value is `UNIX`.
     * 
     */
    public Optional> rootVolumeSecurityStyle() {
        return Optional.ofNullable(this.rootVolumeSecurityStyle);
    }

    /**
     * Specifies the password to use when logging on to the SVM using a secure shell (SSH) connection to the SVM's management endpoint. Doing so enables you to manage the SVM using the NetApp ONTAP CLI or REST API. If you do not specify a password, you can still use the file system's fsxadmin user to manage the SVM.
     * 
     */
    @Import(name="svmAdminPassword")
    private @Nullable Output svmAdminPassword;

    /**
     * @return Specifies the password to use when logging on to the SVM using a secure shell (SSH) connection to the SVM's management endpoint. Doing so enables you to manage the SVM using the NetApp ONTAP CLI or REST API. If you do not specify a password, you can still use the file system's fsxadmin user to manage the SVM.
     * 
     */
    public Optional> svmAdminPassword() {
        return Optional.ofNullable(this.svmAdminPassword);
    }

    /**
     * A map of tags to assign to the storage virtual machine. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return A map of tags to assign to the storage virtual machine. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private OntapStorageVirtualMachineArgs() {}

    private OntapStorageVirtualMachineArgs(OntapStorageVirtualMachineArgs $) {
        this.activeDirectoryConfiguration = $.activeDirectoryConfiguration;
        this.fileSystemId = $.fileSystemId;
        this.name = $.name;
        this.rootVolumeSecurityStyle = $.rootVolumeSecurityStyle;
        this.svmAdminPassword = $.svmAdminPassword;
        this.tags = $.tags;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(OntapStorageVirtualMachineArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private OntapStorageVirtualMachineArgs $;

        public Builder() {
            $ = new OntapStorageVirtualMachineArgs();
        }

        public Builder(OntapStorageVirtualMachineArgs defaults) {
            $ = new OntapStorageVirtualMachineArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param activeDirectoryConfiguration Configuration block that Amazon FSx uses to join the FSx ONTAP Storage Virtual Machine(SVM) to your Microsoft Active Directory (AD) directory. Detailed below.
         * 
         * @return builder
         * 
         */
        public Builder activeDirectoryConfiguration(@Nullable Output activeDirectoryConfiguration) {
            $.activeDirectoryConfiguration = activeDirectoryConfiguration;
            return this;
        }

        /**
         * @param activeDirectoryConfiguration Configuration block that Amazon FSx uses to join the FSx ONTAP Storage Virtual Machine(SVM) to your Microsoft Active Directory (AD) directory. Detailed below.
         * 
         * @return builder
         * 
         */
        public Builder activeDirectoryConfiguration(OntapStorageVirtualMachineActiveDirectoryConfigurationArgs activeDirectoryConfiguration) {
            return activeDirectoryConfiguration(Output.of(activeDirectoryConfiguration));
        }

        /**
         * @param fileSystemId The ID of the Amazon FSx ONTAP File System that this SVM will be created on.
         * 
         * @return builder
         * 
         */
        public Builder fileSystemId(Output fileSystemId) {
            $.fileSystemId = fileSystemId;
            return this;
        }

        /**
         * @param fileSystemId The ID of the Amazon FSx ONTAP File System that this SVM will be created on.
         * 
         * @return builder
         * 
         */
        public Builder fileSystemId(String fileSystemId) {
            return fileSystemId(Output.of(fileSystemId));
        }

        /**
         * @param name The name of the SVM. You can use a maximum of 47 alphanumeric characters, plus the underscore (_) special character.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the SVM. You can use a maximum of 47 alphanumeric characters, plus the underscore (_) special character.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param rootVolumeSecurityStyle Specifies the root volume security style, Valid values are `UNIX`, `NTFS`, and `MIXED`. All volumes created under this SVM will inherit the root security style unless the security style is specified on the volume. Default value is `UNIX`.
         * 
         * @return builder
         * 
         */
        public Builder rootVolumeSecurityStyle(@Nullable Output rootVolumeSecurityStyle) {
            $.rootVolumeSecurityStyle = rootVolumeSecurityStyle;
            return this;
        }

        /**
         * @param rootVolumeSecurityStyle Specifies the root volume security style, Valid values are `UNIX`, `NTFS`, and `MIXED`. All volumes created under this SVM will inherit the root security style unless the security style is specified on the volume. Default value is `UNIX`.
         * 
         * @return builder
         * 
         */
        public Builder rootVolumeSecurityStyle(String rootVolumeSecurityStyle) {
            return rootVolumeSecurityStyle(Output.of(rootVolumeSecurityStyle));
        }

        /**
         * @param svmAdminPassword Specifies the password to use when logging on to the SVM using a secure shell (SSH) connection to the SVM's management endpoint. Doing so enables you to manage the SVM using the NetApp ONTAP CLI or REST API. If you do not specify a password, you can still use the file system's fsxadmin user to manage the SVM.
         * 
         * @return builder
         * 
         */
        public Builder svmAdminPassword(@Nullable Output svmAdminPassword) {
            $.svmAdminPassword = svmAdminPassword;
            return this;
        }

        /**
         * @param svmAdminPassword Specifies the password to use when logging on to the SVM using a secure shell (SSH) connection to the SVM's management endpoint. Doing so enables you to manage the SVM using the NetApp ONTAP CLI or REST API. If you do not specify a password, you can still use the file system's fsxadmin user to manage the SVM.
         * 
         * @return builder
         * 
         */
        public Builder svmAdminPassword(String svmAdminPassword) {
            return svmAdminPassword(Output.of(svmAdminPassword));
        }

        /**
         * @param tags A map of tags to assign to the storage virtual machine. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags A map of tags to assign to the storage virtual machine. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        public OntapStorageVirtualMachineArgs build() {
            if ($.fileSystemId == null) {
                throw new MissingRequiredPropertyException("OntapStorageVirtualMachineArgs", "fileSystemId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy