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

com.pulumi.azurenative.sqlvirtualmachine.inputs.StorageConfigurationSettingsArgs Maven / Gradle / Ivy

There is a newer version: 2.72.0
Show newest version
// *** 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.azurenative.sqlvirtualmachine.inputs;

import com.pulumi.azurenative.sqlvirtualmachine.enums.DiskConfigurationType;
import com.pulumi.azurenative.sqlvirtualmachine.enums.StorageWorkloadType;
import com.pulumi.azurenative.sqlvirtualmachine.inputs.SQLStorageSettingsArgs;
import com.pulumi.azurenative.sqlvirtualmachine.inputs.SQLTempDbSettingsArgs;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Storage Configurations for SQL Data, Log and TempDb.
 * 
 */
public final class StorageConfigurationSettingsArgs extends com.pulumi.resources.ResourceArgs {

    public static final StorageConfigurationSettingsArgs Empty = new StorageConfigurationSettingsArgs();

    /**
     * Disk configuration to apply to SQL Server.
     * 
     */
    @Import(name="diskConfigurationType")
    private @Nullable Output> diskConfigurationType;

    /**
     * @return Disk configuration to apply to SQL Server.
     * 
     */
    public Optional>> diskConfigurationType() {
        return Optional.ofNullable(this.diskConfigurationType);
    }

    /**
     * SQL Server Data Storage Settings.
     * 
     */
    @Import(name="sqlDataSettings")
    private @Nullable Output sqlDataSettings;

    /**
     * @return SQL Server Data Storage Settings.
     * 
     */
    public Optional> sqlDataSettings() {
        return Optional.ofNullable(this.sqlDataSettings);
    }

    /**
     * SQL Server Log Storage Settings.
     * 
     */
    @Import(name="sqlLogSettings")
    private @Nullable Output sqlLogSettings;

    /**
     * @return SQL Server Log Storage Settings.
     * 
     */
    public Optional> sqlLogSettings() {
        return Optional.ofNullable(this.sqlLogSettings);
    }

    /**
     * SQL Server SystemDb Storage on DataPool if true.
     * 
     */
    @Import(name="sqlSystemDbOnDataDisk")
    private @Nullable Output sqlSystemDbOnDataDisk;

    /**
     * @return SQL Server SystemDb Storage on DataPool if true.
     * 
     */
    public Optional> sqlSystemDbOnDataDisk() {
        return Optional.ofNullable(this.sqlSystemDbOnDataDisk);
    }

    /**
     * SQL Server TempDb Storage Settings.
     * 
     */
    @Import(name="sqlTempDbSettings")
    private @Nullable Output sqlTempDbSettings;

    /**
     * @return SQL Server TempDb Storage Settings.
     * 
     */
    public Optional> sqlTempDbSettings() {
        return Optional.ofNullable(this.sqlTempDbSettings);
    }

    /**
     * Storage workload type.
     * 
     */
    @Import(name="storageWorkloadType")
    private @Nullable Output> storageWorkloadType;

    /**
     * @return Storage workload type.
     * 
     */
    public Optional>> storageWorkloadType() {
        return Optional.ofNullable(this.storageWorkloadType);
    }

    private StorageConfigurationSettingsArgs() {}

    private StorageConfigurationSettingsArgs(StorageConfigurationSettingsArgs $) {
        this.diskConfigurationType = $.diskConfigurationType;
        this.sqlDataSettings = $.sqlDataSettings;
        this.sqlLogSettings = $.sqlLogSettings;
        this.sqlSystemDbOnDataDisk = $.sqlSystemDbOnDataDisk;
        this.sqlTempDbSettings = $.sqlTempDbSettings;
        this.storageWorkloadType = $.storageWorkloadType;
    }

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

    public static final class Builder {
        private StorageConfigurationSettingsArgs $;

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

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

        /**
         * @param diskConfigurationType Disk configuration to apply to SQL Server.
         * 
         * @return builder
         * 
         */
        public Builder diskConfigurationType(@Nullable Output> diskConfigurationType) {
            $.diskConfigurationType = diskConfigurationType;
            return this;
        }

        /**
         * @param diskConfigurationType Disk configuration to apply to SQL Server.
         * 
         * @return builder
         * 
         */
        public Builder diskConfigurationType(Either diskConfigurationType) {
            return diskConfigurationType(Output.of(diskConfigurationType));
        }

        /**
         * @param diskConfigurationType Disk configuration to apply to SQL Server.
         * 
         * @return builder
         * 
         */
        public Builder diskConfigurationType(String diskConfigurationType) {
            return diskConfigurationType(Either.ofLeft(diskConfigurationType));
        }

        /**
         * @param diskConfigurationType Disk configuration to apply to SQL Server.
         * 
         * @return builder
         * 
         */
        public Builder diskConfigurationType(DiskConfigurationType diskConfigurationType) {
            return diskConfigurationType(Either.ofRight(diskConfigurationType));
        }

        /**
         * @param sqlDataSettings SQL Server Data Storage Settings.
         * 
         * @return builder
         * 
         */
        public Builder sqlDataSettings(@Nullable Output sqlDataSettings) {
            $.sqlDataSettings = sqlDataSettings;
            return this;
        }

        /**
         * @param sqlDataSettings SQL Server Data Storage Settings.
         * 
         * @return builder
         * 
         */
        public Builder sqlDataSettings(SQLStorageSettingsArgs sqlDataSettings) {
            return sqlDataSettings(Output.of(sqlDataSettings));
        }

        /**
         * @param sqlLogSettings SQL Server Log Storage Settings.
         * 
         * @return builder
         * 
         */
        public Builder sqlLogSettings(@Nullable Output sqlLogSettings) {
            $.sqlLogSettings = sqlLogSettings;
            return this;
        }

        /**
         * @param sqlLogSettings SQL Server Log Storage Settings.
         * 
         * @return builder
         * 
         */
        public Builder sqlLogSettings(SQLStorageSettingsArgs sqlLogSettings) {
            return sqlLogSettings(Output.of(sqlLogSettings));
        }

        /**
         * @param sqlSystemDbOnDataDisk SQL Server SystemDb Storage on DataPool if true.
         * 
         * @return builder
         * 
         */
        public Builder sqlSystemDbOnDataDisk(@Nullable Output sqlSystemDbOnDataDisk) {
            $.sqlSystemDbOnDataDisk = sqlSystemDbOnDataDisk;
            return this;
        }

        /**
         * @param sqlSystemDbOnDataDisk SQL Server SystemDb Storage on DataPool if true.
         * 
         * @return builder
         * 
         */
        public Builder sqlSystemDbOnDataDisk(Boolean sqlSystemDbOnDataDisk) {
            return sqlSystemDbOnDataDisk(Output.of(sqlSystemDbOnDataDisk));
        }

        /**
         * @param sqlTempDbSettings SQL Server TempDb Storage Settings.
         * 
         * @return builder
         * 
         */
        public Builder sqlTempDbSettings(@Nullable Output sqlTempDbSettings) {
            $.sqlTempDbSettings = sqlTempDbSettings;
            return this;
        }

        /**
         * @param sqlTempDbSettings SQL Server TempDb Storage Settings.
         * 
         * @return builder
         * 
         */
        public Builder sqlTempDbSettings(SQLTempDbSettingsArgs sqlTempDbSettings) {
            return sqlTempDbSettings(Output.of(sqlTempDbSettings));
        }

        /**
         * @param storageWorkloadType Storage workload type.
         * 
         * @return builder
         * 
         */
        public Builder storageWorkloadType(@Nullable Output> storageWorkloadType) {
            $.storageWorkloadType = storageWorkloadType;
            return this;
        }

        /**
         * @param storageWorkloadType Storage workload type.
         * 
         * @return builder
         * 
         */
        public Builder storageWorkloadType(Either storageWorkloadType) {
            return storageWorkloadType(Output.of(storageWorkloadType));
        }

        /**
         * @param storageWorkloadType Storage workload type.
         * 
         * @return builder
         * 
         */
        public Builder storageWorkloadType(String storageWorkloadType) {
            return storageWorkloadType(Either.ofLeft(storageWorkloadType));
        }

        /**
         * @param storageWorkloadType Storage workload type.
         * 
         * @return builder
         * 
         */
        public Builder storageWorkloadType(StorageWorkloadType storageWorkloadType) {
            return storageWorkloadType(Either.ofRight(storageWorkloadType));
        }

        public StorageConfigurationSettingsArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy