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

com.pulumi.azure.workloadssap.inputs.SingleNodeVirtualInstanceSingleServerConfigurationVirtualMachineConfigurationArgs 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.SingleNodeVirtualInstanceSingleServerConfigurationVirtualMachineConfigurationImageArgs;
import com.pulumi.azure.workloadssap.inputs.SingleNodeVirtualInstanceSingleServerConfigurationVirtualMachineConfigurationOsProfileArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final SingleNodeVirtualInstanceSingleServerConfigurationVirtualMachineConfigurationArgs Empty = new SingleNodeVirtualInstanceSingleServerConfigurationVirtualMachineConfigurationArgs();

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

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

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

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

    /**
     * The size of the Virtual Machine. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="virtualMachineSize", required=true)
    private Output virtualMachineSize;

    /**
     * @return The size of the Virtual Machine. Changing this forces a new resource to be created.
     * 
     */
    public Output virtualMachineSize() {
        return this.virtualMachineSize;
    }

    private SingleNodeVirtualInstanceSingleServerConfigurationVirtualMachineConfigurationArgs() {}

    private SingleNodeVirtualInstanceSingleServerConfigurationVirtualMachineConfigurationArgs(SingleNodeVirtualInstanceSingleServerConfigurationVirtualMachineConfigurationArgs $) {
        this.image = $.image;
        this.osProfile = $.osProfile;
        this.virtualMachineSize = $.virtualMachineSize;
    }

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

    public static final class Builder {
        private SingleNodeVirtualInstanceSingleServerConfigurationVirtualMachineConfigurationArgs $;

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

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

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

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

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

        /**
         * @param osProfile An `os_profile` block as defined below. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder osProfile(SingleNodeVirtualInstanceSingleServerConfigurationVirtualMachineConfigurationOsProfileArgs osProfile) {
            return osProfile(Output.of(osProfile));
        }

        /**
         * @param virtualMachineSize The size of the Virtual Machine. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder virtualMachineSize(Output virtualMachineSize) {
            $.virtualMachineSize = virtualMachineSize;
            return this;
        }

        /**
         * @param virtualMachineSize The size of the Virtual Machine. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder virtualMachineSize(String virtualMachineSize) {
            return virtualMachineSize(Output.of(virtualMachineSize));
        }

        public SingleNodeVirtualInstanceSingleServerConfigurationVirtualMachineConfigurationArgs build() {
            if ($.image == null) {
                throw new MissingRequiredPropertyException("SingleNodeVirtualInstanceSingleServerConfigurationVirtualMachineConfigurationArgs", "image");
            }
            if ($.osProfile == null) {
                throw new MissingRequiredPropertyException("SingleNodeVirtualInstanceSingleServerConfigurationVirtualMachineConfigurationArgs", "osProfile");
            }
            if ($.virtualMachineSize == null) {
                throw new MissingRequiredPropertyException("SingleNodeVirtualInstanceSingleServerConfigurationVirtualMachineConfigurationArgs", "virtualMachineSize");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy