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

com.pulumi.azurenative.powerbidedicated.AutoScaleVCoreArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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.powerbidedicated;

import com.pulumi.azurenative.powerbidedicated.inputs.AutoScaleVCoreSkuArgs;
import com.pulumi.azurenative.powerbidedicated.inputs.SystemDataArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final AutoScaleVCoreArgs Empty = new AutoScaleVCoreArgs();

    /**
     * The maximum capacity of an auto scale v-core resource.
     * 
     */
    @Import(name="capacityLimit")
    private @Nullable Output capacityLimit;

    /**
     * @return The maximum capacity of an auto scale v-core resource.
     * 
     */
    public Optional> capacityLimit() {
        return Optional.ofNullable(this.capacityLimit);
    }

    /**
     * The object ID of the capacity resource associated with the auto scale v-core resource.
     * 
     */
    @Import(name="capacityObjectId")
    private @Nullable Output capacityObjectId;

    /**
     * @return The object ID of the capacity resource associated with the auto scale v-core resource.
     * 
     */
    public Optional> capacityObjectId() {
        return Optional.ofNullable(this.capacityObjectId);
    }

    /**
     * Location of the PowerBI Dedicated resource.
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return Location of the PowerBI Dedicated resource.
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * The name of the Azure Resource group of which a given PowerBIDedicated capacity is part. This name must be at least 1 character in length, and no more than 90.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the Azure Resource group of which a given PowerBIDedicated capacity is part. This name must be at least 1 character in length, and no more than 90.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * The SKU of the auto scale v-core resource.
     * 
     */
    @Import(name="sku", required=true)
    private Output sku;

    /**
     * @return The SKU of the auto scale v-core resource.
     * 
     */
    public Output sku() {
        return this.sku;
    }

    /**
     * Metadata pertaining to creation and last modification of the resource.
     * 
     */
    @Import(name="systemData")
    private @Nullable Output systemData;

    /**
     * @return Metadata pertaining to creation and last modification of the resource.
     * 
     */
    public Optional> systemData() {
        return Optional.ofNullable(this.systemData);
    }

    /**
     * Key-value pairs of additional resource provisioning properties.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Key-value pairs of additional resource provisioning properties.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * The name of the auto scale v-core. It must be a minimum of 3 characters, and a maximum of 63.
     * 
     */
    @Import(name="vcoreName")
    private @Nullable Output vcoreName;

    /**
     * @return The name of the auto scale v-core. It must be a minimum of 3 characters, and a maximum of 63.
     * 
     */
    public Optional> vcoreName() {
        return Optional.ofNullable(this.vcoreName);
    }

    private AutoScaleVCoreArgs() {}

    private AutoScaleVCoreArgs(AutoScaleVCoreArgs $) {
        this.capacityLimit = $.capacityLimit;
        this.capacityObjectId = $.capacityObjectId;
        this.location = $.location;
        this.resourceGroupName = $.resourceGroupName;
        this.sku = $.sku;
        this.systemData = $.systemData;
        this.tags = $.tags;
        this.vcoreName = $.vcoreName;
    }

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

    public static final class Builder {
        private AutoScaleVCoreArgs $;

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

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

        /**
         * @param capacityLimit The maximum capacity of an auto scale v-core resource.
         * 
         * @return builder
         * 
         */
        public Builder capacityLimit(@Nullable Output capacityLimit) {
            $.capacityLimit = capacityLimit;
            return this;
        }

        /**
         * @param capacityLimit The maximum capacity of an auto scale v-core resource.
         * 
         * @return builder
         * 
         */
        public Builder capacityLimit(Integer capacityLimit) {
            return capacityLimit(Output.of(capacityLimit));
        }

        /**
         * @param capacityObjectId The object ID of the capacity resource associated with the auto scale v-core resource.
         * 
         * @return builder
         * 
         */
        public Builder capacityObjectId(@Nullable Output capacityObjectId) {
            $.capacityObjectId = capacityObjectId;
            return this;
        }

        /**
         * @param capacityObjectId The object ID of the capacity resource associated with the auto scale v-core resource.
         * 
         * @return builder
         * 
         */
        public Builder capacityObjectId(String capacityObjectId) {
            return capacityObjectId(Output.of(capacityObjectId));
        }

        /**
         * @param location Location of the PowerBI Dedicated resource.
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location Location of the PowerBI Dedicated resource.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated capacity is part. This name must be at least 1 character in length, and no more than 90.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated capacity is part. This name must be at least 1 character in length, and no more than 90.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param sku The SKU of the auto scale v-core resource.
         * 
         * @return builder
         * 
         */
        public Builder sku(Output sku) {
            $.sku = sku;
            return this;
        }

        /**
         * @param sku The SKU of the auto scale v-core resource.
         * 
         * @return builder
         * 
         */
        public Builder sku(AutoScaleVCoreSkuArgs sku) {
            return sku(Output.of(sku));
        }

        /**
         * @param systemData Metadata pertaining to creation and last modification of the resource.
         * 
         * @return builder
         * 
         */
        public Builder systemData(@Nullable Output systemData) {
            $.systemData = systemData;
            return this;
        }

        /**
         * @param systemData Metadata pertaining to creation and last modification of the resource.
         * 
         * @return builder
         * 
         */
        public Builder systemData(SystemDataArgs systemData) {
            return systemData(Output.of(systemData));
        }

        /**
         * @param tags Key-value pairs of additional resource provisioning properties.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Key-value pairs of additional resource provisioning properties.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param vcoreName The name of the auto scale v-core. It must be a minimum of 3 characters, and a maximum of 63.
         * 
         * @return builder
         * 
         */
        public Builder vcoreName(@Nullable Output vcoreName) {
            $.vcoreName = vcoreName;
            return this;
        }

        /**
         * @param vcoreName The name of the auto scale v-core. It must be a minimum of 3 characters, and a maximum of 63.
         * 
         * @return builder
         * 
         */
        public Builder vcoreName(String vcoreName) {
            return vcoreName(Output.of(vcoreName));
        }

        public AutoScaleVCoreArgs build() {
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("AutoScaleVCoreArgs", "resourceGroupName");
            }
            if ($.sku == null) {
                throw new MissingRequiredPropertyException("AutoScaleVCoreArgs", "sku");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy