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

com.pulumi.azurenative.azurefleet.inputs.CapacityReservationProfileArgs 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.azurefleet.inputs;

import com.pulumi.azurenative.azurefleet.inputs.SubResourceArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * The parameters of a capacity reservation Profile.
 * 
 */
public final class CapacityReservationProfileArgs extends com.pulumi.resources.ResourceArgs {

    public static final CapacityReservationProfileArgs Empty = new CapacityReservationProfileArgs();

    /**
     * Specifies the capacity reservation group resource id that should be used for
     * allocating the virtual machine or scaleset vm instances provided enough
     * capacity has been reserved. Please refer to https://aka.ms/CapacityReservation
     * for more details.
     * 
     */
    @Import(name="capacityReservationGroup")
    private @Nullable Output capacityReservationGroup;

    /**
     * @return Specifies the capacity reservation group resource id that should be used for
     * allocating the virtual machine or scaleset vm instances provided enough
     * capacity has been reserved. Please refer to https://aka.ms/CapacityReservation
     * for more details.
     * 
     */
    public Optional> capacityReservationGroup() {
        return Optional.ofNullable(this.capacityReservationGroup);
    }

    private CapacityReservationProfileArgs() {}

    private CapacityReservationProfileArgs(CapacityReservationProfileArgs $) {
        this.capacityReservationGroup = $.capacityReservationGroup;
    }

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

    public static final class Builder {
        private CapacityReservationProfileArgs $;

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

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

        /**
         * @param capacityReservationGroup Specifies the capacity reservation group resource id that should be used for
         * allocating the virtual machine or scaleset vm instances provided enough
         * capacity has been reserved. Please refer to https://aka.ms/CapacityReservation
         * for more details.
         * 
         * @return builder
         * 
         */
        public Builder capacityReservationGroup(@Nullable Output capacityReservationGroup) {
            $.capacityReservationGroup = capacityReservationGroup;
            return this;
        }

        /**
         * @param capacityReservationGroup Specifies the capacity reservation group resource id that should be used for
         * allocating the virtual machine or scaleset vm instances provided enough
         * capacity has been reserved. Please refer to https://aka.ms/CapacityReservation
         * for more details.
         * 
         * @return builder
         * 
         */
        public Builder capacityReservationGroup(SubResourceArgs capacityReservationGroup) {
            return capacityReservationGroup(Output.of(capacityReservationGroup));
        }

        public CapacityReservationProfileArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy