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

com.pulumi.azure.compute.inputs.OrchestratedVirtualMachineScaleSetOsProfileArgs 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.compute.inputs;

import com.pulumi.azure.compute.inputs.OrchestratedVirtualMachineScaleSetOsProfileLinuxConfigurationArgs;
import com.pulumi.azure.compute.inputs.OrchestratedVirtualMachineScaleSetOsProfileWindowsConfigurationArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final OrchestratedVirtualMachineScaleSetOsProfileArgs Empty = new OrchestratedVirtualMachineScaleSetOsProfileArgs();

    /**
     * The Base64-Encoded Custom Data which should be used for this Virtual Machine Scale Set.
     * 
     * > **Note:** When Custom Data has been configured, it's not possible to remove it without tainting the Virtual Machine Scale Set, due to a limitation of the Azure API.
     * 
     */
    @Import(name="customData")
    private @Nullable Output customData;

    /**
     * @return The Base64-Encoded Custom Data which should be used for this Virtual Machine Scale Set.
     * 
     * > **Note:** When Custom Data has been configured, it's not possible to remove it without tainting the Virtual Machine Scale Set, due to a limitation of the Azure API.
     * 
     */
    public Optional> customData() {
        return Optional.ofNullable(this.customData);
    }

    /**
     * A `linux_configuration` block as documented below.
     * 
     */
    @Import(name="linuxConfiguration")
    private @Nullable Output linuxConfiguration;

    /**
     * @return A `linux_configuration` block as documented below.
     * 
     */
    public Optional> linuxConfiguration() {
        return Optional.ofNullable(this.linuxConfiguration);
    }

    /**
     * A `windows_configuration` block as documented below.
     * 
     */
    @Import(name="windowsConfiguration")
    private @Nullable Output windowsConfiguration;

    /**
     * @return A `windows_configuration` block as documented below.
     * 
     */
    public Optional> windowsConfiguration() {
        return Optional.ofNullable(this.windowsConfiguration);
    }

    private OrchestratedVirtualMachineScaleSetOsProfileArgs() {}

    private OrchestratedVirtualMachineScaleSetOsProfileArgs(OrchestratedVirtualMachineScaleSetOsProfileArgs $) {
        this.customData = $.customData;
        this.linuxConfiguration = $.linuxConfiguration;
        this.windowsConfiguration = $.windowsConfiguration;
    }

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

    public static final class Builder {
        private OrchestratedVirtualMachineScaleSetOsProfileArgs $;

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

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

        /**
         * @param customData The Base64-Encoded Custom Data which should be used for this Virtual Machine Scale Set.
         * 
         * > **Note:** When Custom Data has been configured, it's not possible to remove it without tainting the Virtual Machine Scale Set, due to a limitation of the Azure API.
         * 
         * @return builder
         * 
         */
        public Builder customData(@Nullable Output customData) {
            $.customData = customData;
            return this;
        }

        /**
         * @param customData The Base64-Encoded Custom Data which should be used for this Virtual Machine Scale Set.
         * 
         * > **Note:** When Custom Data has been configured, it's not possible to remove it without tainting the Virtual Machine Scale Set, due to a limitation of the Azure API.
         * 
         * @return builder
         * 
         */
        public Builder customData(String customData) {
            return customData(Output.of(customData));
        }

        /**
         * @param linuxConfiguration A `linux_configuration` block as documented below.
         * 
         * @return builder
         * 
         */
        public Builder linuxConfiguration(@Nullable Output linuxConfiguration) {
            $.linuxConfiguration = linuxConfiguration;
            return this;
        }

        /**
         * @param linuxConfiguration A `linux_configuration` block as documented below.
         * 
         * @return builder
         * 
         */
        public Builder linuxConfiguration(OrchestratedVirtualMachineScaleSetOsProfileLinuxConfigurationArgs linuxConfiguration) {
            return linuxConfiguration(Output.of(linuxConfiguration));
        }

        /**
         * @param windowsConfiguration A `windows_configuration` block as documented below.
         * 
         * @return builder
         * 
         */
        public Builder windowsConfiguration(@Nullable Output windowsConfiguration) {
            $.windowsConfiguration = windowsConfiguration;
            return this;
        }

        /**
         * @param windowsConfiguration A `windows_configuration` block as documented below.
         * 
         * @return builder
         * 
         */
        public Builder windowsConfiguration(OrchestratedVirtualMachineScaleSetOsProfileWindowsConfigurationArgs windowsConfiguration) {
            return windowsConfiguration(Output.of(windowsConfiguration));
        }

        public OrchestratedVirtualMachineScaleSetOsProfileArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy