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

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

There is a newer version: 2.72.0
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.azurenative.compute.inputs;

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


/**
 * Specifies the user intent of the proximity placement group.
 * 
 */
public final class ProximityPlacementGroupPropertiesIntentArgs extends com.pulumi.resources.ResourceArgs {

    public static final ProximityPlacementGroupPropertiesIntentArgs Empty = new ProximityPlacementGroupPropertiesIntentArgs();

    /**
     * Specifies possible sizes of virtual machines that can be created in the proximity placement group.
     * 
     */
    @Import(name="vmSizes")
    private @Nullable Output> vmSizes;

    /**
     * @return Specifies possible sizes of virtual machines that can be created in the proximity placement group.
     * 
     */
    public Optional>> vmSizes() {
        return Optional.ofNullable(this.vmSizes);
    }

    private ProximityPlacementGroupPropertiesIntentArgs() {}

    private ProximityPlacementGroupPropertiesIntentArgs(ProximityPlacementGroupPropertiesIntentArgs $) {
        this.vmSizes = $.vmSizes;
    }

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

    public static final class Builder {
        private ProximityPlacementGroupPropertiesIntentArgs $;

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

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

        /**
         * @param vmSizes Specifies possible sizes of virtual machines that can be created in the proximity placement group.
         * 
         * @return builder
         * 
         */
        public Builder vmSizes(@Nullable Output> vmSizes) {
            $.vmSizes = vmSizes;
            return this;
        }

        /**
         * @param vmSizes Specifies possible sizes of virtual machines that can be created in the proximity placement group.
         * 
         * @return builder
         * 
         */
        public Builder vmSizes(List vmSizes) {
            return vmSizes(Output.of(vmSizes));
        }

        /**
         * @param vmSizes Specifies possible sizes of virtual machines that can be created in the proximity placement group.
         * 
         * @return builder
         * 
         */
        public Builder vmSizes(String... vmSizes) {
            return vmSizes(List.of(vmSizes));
        }

        public ProximityPlacementGroupPropertiesIntentArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy