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

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


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

    public static final WindowsVirtualMachineAdditionalUnattendContentArgs Empty = new WindowsVirtualMachineAdditionalUnattendContentArgs();

    /**
     * The XML formatted content that is added to the unattend.xml file for the specified path and component. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="content", required=true)
    private Output content;

    /**
     * @return The XML formatted content that is added to the unattend.xml file for the specified path and component. Changing this forces a new resource to be created.
     * 
     */
    public Output content() {
        return this.content;
    }

    /**
     * The name of the setting to which the content applies. Possible values are `AutoLogon` and `FirstLogonCommands`. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="setting", required=true)
    private Output setting;

    /**
     * @return The name of the setting to which the content applies. Possible values are `AutoLogon` and `FirstLogonCommands`. Changing this forces a new resource to be created.
     * 
     */
    public Output setting() {
        return this.setting;
    }

    private WindowsVirtualMachineAdditionalUnattendContentArgs() {}

    private WindowsVirtualMachineAdditionalUnattendContentArgs(WindowsVirtualMachineAdditionalUnattendContentArgs $) {
        this.content = $.content;
        this.setting = $.setting;
    }

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

    public static final class Builder {
        private WindowsVirtualMachineAdditionalUnattendContentArgs $;

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

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

        /**
         * @param content The XML formatted content that is added to the unattend.xml file for the specified path and component. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder content(Output content) {
            $.content = content;
            return this;
        }

        /**
         * @param content The XML formatted content that is added to the unattend.xml file for the specified path and component. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder content(String content) {
            return content(Output.of(content));
        }

        /**
         * @param setting The name of the setting to which the content applies. Possible values are `AutoLogon` and `FirstLogonCommands`. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder setting(Output setting) {
            $.setting = setting;
            return this;
        }

        /**
         * @param setting The name of the setting to which the content applies. Possible values are `AutoLogon` and `FirstLogonCommands`. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder setting(String setting) {
            return setting(Output.of(setting));
        }

        public WindowsVirtualMachineAdditionalUnattendContentArgs build() {
            if ($.content == null) {
                throw new MissingRequiredPropertyException("WindowsVirtualMachineAdditionalUnattendContentArgs", "content");
            }
            if ($.setting == null) {
                throw new MissingRequiredPropertyException("WindowsVirtualMachineAdditionalUnattendContentArgs", "setting");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy