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

com.pulumi.azure.workloadssap.inputs.SingleNodeVirtualInstanceSingleServerConfigurationArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.workloadssap.inputs;

import com.pulumi.azure.workloadssap.inputs.SingleNodeVirtualInstanceSingleServerConfigurationDiskVolumeConfigurationArgs;
import com.pulumi.azure.workloadssap.inputs.SingleNodeVirtualInstanceSingleServerConfigurationVirtualMachineConfigurationArgs;
import com.pulumi.azure.workloadssap.inputs.SingleNodeVirtualInstanceSingleServerConfigurationVirtualMachineResourceNamesArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final SingleNodeVirtualInstanceSingleServerConfigurationArgs Empty = new SingleNodeVirtualInstanceSingleServerConfigurationArgs();

    @Import(name="appResourceGroupName", required=true)
    private Output appResourceGroupName;

    public Output appResourceGroupName() {
        return this.appResourceGroupName;
    }

    /**
     * The supported SAP database type. Possible values are `DB2` and `HANA`. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="databaseType")
    private @Nullable Output databaseType;

    /**
     * @return The supported SAP database type. Possible values are `DB2` and `HANA`. Changing this forces a new resource to be created.
     * 
     */
    public Optional> databaseType() {
        return Optional.ofNullable(this.databaseType);
    }

    /**
     * One or more `disk_volume_configuration` blocks as defined below. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="diskVolumeConfigurations")
    private @Nullable Output> diskVolumeConfigurations;

    /**
     * @return One or more `disk_volume_configuration` blocks as defined below. Changing this forces a new resource to be created.
     * 
     */
    public Optional>> diskVolumeConfigurations() {
        return Optional.ofNullable(this.diskVolumeConfigurations);
    }

    /**
     * Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed. Defaults to `false`. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="secondaryIpEnabled")
    private @Nullable Output secondaryIpEnabled;

    /**
     * @return Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed. Defaults to `false`. Changing this forces a new resource to be created.
     * 
     */
    public Optional> secondaryIpEnabled() {
        return Optional.ofNullable(this.secondaryIpEnabled);
    }

    /**
     * The resource ID of the Subnet for the SAP Single Node Virtual Instance. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="subnetId", required=true)
    private Output subnetId;

    /**
     * @return The resource ID of the Subnet for the SAP Single Node Virtual Instance. Changing this forces a new resource to be created.
     * 
     */
    public Output subnetId() {
        return this.subnetId;
    }

    /**
     * A `virtual_machine_configuration` block as defined below. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="virtualMachineConfiguration", required=true)
    private Output virtualMachineConfiguration;

    /**
     * @return A `virtual_machine_configuration` block as defined below. Changing this forces a new resource to be created.
     * 
     */
    public Output virtualMachineConfiguration() {
        return this.virtualMachineConfiguration;
    }

    /**
     * A `virtual_machine_resource_names` block as defined below. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="virtualMachineResourceNames")
    private @Nullable Output virtualMachineResourceNames;

    /**
     * @return A `virtual_machine_resource_names` block as defined below. Changing this forces a new resource to be created.
     * 
     */
    public Optional> virtualMachineResourceNames() {
        return Optional.ofNullable(this.virtualMachineResourceNames);
    }

    private SingleNodeVirtualInstanceSingleServerConfigurationArgs() {}

    private SingleNodeVirtualInstanceSingleServerConfigurationArgs(SingleNodeVirtualInstanceSingleServerConfigurationArgs $) {
        this.appResourceGroupName = $.appResourceGroupName;
        this.databaseType = $.databaseType;
        this.diskVolumeConfigurations = $.diskVolumeConfigurations;
        this.secondaryIpEnabled = $.secondaryIpEnabled;
        this.subnetId = $.subnetId;
        this.virtualMachineConfiguration = $.virtualMachineConfiguration;
        this.virtualMachineResourceNames = $.virtualMachineResourceNames;
    }

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

    public static final class Builder {
        private SingleNodeVirtualInstanceSingleServerConfigurationArgs $;

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

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

        public Builder appResourceGroupName(Output appResourceGroupName) {
            $.appResourceGroupName = appResourceGroupName;
            return this;
        }

        public Builder appResourceGroupName(String appResourceGroupName) {
            return appResourceGroupName(Output.of(appResourceGroupName));
        }

        /**
         * @param databaseType The supported SAP database type. Possible values are `DB2` and `HANA`. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder databaseType(@Nullable Output databaseType) {
            $.databaseType = databaseType;
            return this;
        }

        /**
         * @param databaseType The supported SAP database type. Possible values are `DB2` and `HANA`. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder databaseType(String databaseType) {
            return databaseType(Output.of(databaseType));
        }

        /**
         * @param diskVolumeConfigurations One or more `disk_volume_configuration` blocks as defined below. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder diskVolumeConfigurations(@Nullable Output> diskVolumeConfigurations) {
            $.diskVolumeConfigurations = diskVolumeConfigurations;
            return this;
        }

        /**
         * @param diskVolumeConfigurations One or more `disk_volume_configuration` blocks as defined below. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder diskVolumeConfigurations(List diskVolumeConfigurations) {
            return diskVolumeConfigurations(Output.of(diskVolumeConfigurations));
        }

        /**
         * @param diskVolumeConfigurations One or more `disk_volume_configuration` blocks as defined below. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder diskVolumeConfigurations(SingleNodeVirtualInstanceSingleServerConfigurationDiskVolumeConfigurationArgs... diskVolumeConfigurations) {
            return diskVolumeConfigurations(List.of(diskVolumeConfigurations));
        }

        /**
         * @param secondaryIpEnabled Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed. Defaults to `false`. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder secondaryIpEnabled(@Nullable Output secondaryIpEnabled) {
            $.secondaryIpEnabled = secondaryIpEnabled;
            return this;
        }

        /**
         * @param secondaryIpEnabled Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed. Defaults to `false`. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder secondaryIpEnabled(Boolean secondaryIpEnabled) {
            return secondaryIpEnabled(Output.of(secondaryIpEnabled));
        }

        /**
         * @param subnetId The resource ID of the Subnet for the SAP Single Node Virtual Instance. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder subnetId(Output subnetId) {
            $.subnetId = subnetId;
            return this;
        }

        /**
         * @param subnetId The resource ID of the Subnet for the SAP Single Node Virtual Instance. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder subnetId(String subnetId) {
            return subnetId(Output.of(subnetId));
        }

        /**
         * @param virtualMachineConfiguration A `virtual_machine_configuration` block as defined below. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder virtualMachineConfiguration(Output virtualMachineConfiguration) {
            $.virtualMachineConfiguration = virtualMachineConfiguration;
            return this;
        }

        /**
         * @param virtualMachineConfiguration A `virtual_machine_configuration` block as defined below. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder virtualMachineConfiguration(SingleNodeVirtualInstanceSingleServerConfigurationVirtualMachineConfigurationArgs virtualMachineConfiguration) {
            return virtualMachineConfiguration(Output.of(virtualMachineConfiguration));
        }

        /**
         * @param virtualMachineResourceNames A `virtual_machine_resource_names` block as defined below. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder virtualMachineResourceNames(@Nullable Output virtualMachineResourceNames) {
            $.virtualMachineResourceNames = virtualMachineResourceNames;
            return this;
        }

        /**
         * @param virtualMachineResourceNames A `virtual_machine_resource_names` block as defined below. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder virtualMachineResourceNames(SingleNodeVirtualInstanceSingleServerConfigurationVirtualMachineResourceNamesArgs virtualMachineResourceNames) {
            return virtualMachineResourceNames(Output.of(virtualMachineResourceNames));
        }

        public SingleNodeVirtualInstanceSingleServerConfigurationArgs build() {
            if ($.appResourceGroupName == null) {
                throw new MissingRequiredPropertyException("SingleNodeVirtualInstanceSingleServerConfigurationArgs", "appResourceGroupName");
            }
            if ($.subnetId == null) {
                throw new MissingRequiredPropertyException("SingleNodeVirtualInstanceSingleServerConfigurationArgs", "subnetId");
            }
            if ($.virtualMachineConfiguration == null) {
                throw new MissingRequiredPropertyException("SingleNodeVirtualInstanceSingleServerConfigurationArgs", "virtualMachineConfiguration");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy