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

com.pulumi.azurenative.compute.inputs.AdditionalCapabilitiesArgs Maven / Gradle / Ivy

// *** 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.compute.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Enables or disables a capability on the virtual machine or virtual machine scale set.
 * 
 */
public final class AdditionalCapabilitiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final AdditionalCapabilitiesArgs Empty = new AdditionalCapabilitiesArgs();

    /**
     * The flag that enables or disables hibernation capability on the VM.
     * 
     */
    @Import(name="hibernationEnabled")
    private @Nullable Output hibernationEnabled;

    /**
     * @return The flag that enables or disables hibernation capability on the VM.
     * 
     */
    public Optional> hibernationEnabled() {
        return Optional.ofNullable(this.hibernationEnabled);
    }

    /**
     * The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.
     * 
     */
    @Import(name="ultraSSDEnabled")
    private @Nullable Output ultraSSDEnabled;

    /**
     * @return The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.
     * 
     */
    public Optional> ultraSSDEnabled() {
        return Optional.ofNullable(this.ultraSSDEnabled);
    }

    private AdditionalCapabilitiesArgs() {}

    private AdditionalCapabilitiesArgs(AdditionalCapabilitiesArgs $) {
        this.hibernationEnabled = $.hibernationEnabled;
        this.ultraSSDEnabled = $.ultraSSDEnabled;
    }

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

    public static final class Builder {
        private AdditionalCapabilitiesArgs $;

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

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

        /**
         * @param hibernationEnabled The flag that enables or disables hibernation capability on the VM.
         * 
         * @return builder
         * 
         */
        public Builder hibernationEnabled(@Nullable Output hibernationEnabled) {
            $.hibernationEnabled = hibernationEnabled;
            return this;
        }

        /**
         * @param hibernationEnabled The flag that enables or disables hibernation capability on the VM.
         * 
         * @return builder
         * 
         */
        public Builder hibernationEnabled(Boolean hibernationEnabled) {
            return hibernationEnabled(Output.of(hibernationEnabled));
        }

        /**
         * @param ultraSSDEnabled The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.
         * 
         * @return builder
         * 
         */
        public Builder ultraSSDEnabled(@Nullable Output ultraSSDEnabled) {
            $.ultraSSDEnabled = ultraSSDEnabled;
            return this;
        }

        /**
         * @param ultraSSDEnabled The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.
         * 
         * @return builder
         * 
         */
        public Builder ultraSSDEnabled(Boolean ultraSSDEnabled) {
            return ultraSSDEnabled(Output.of(ultraSSDEnabled));
        }

        public AdditionalCapabilitiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy