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

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

There is a newer version: 2.82.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.Double;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Describes the cloud service role sku.
 * 
 */
public final class CloudServiceRoleSkuArgs extends com.pulumi.resources.ResourceArgs {

    public static final CloudServiceRoleSkuArgs Empty = new CloudServiceRoleSkuArgs();

    /**
     * Specifies the number of role instances in the cloud service.
     * 
     */
    @Import(name="capacity")
    private @Nullable Output capacity;

    /**
     * @return Specifies the number of role instances in the cloud service.
     * 
     */
    public Optional> capacity() {
        return Optional.ofNullable(this.capacity);
    }

    /**
     * The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Specifies the tier of the cloud service. Possible Values are <br /><br /> **Standard** <br /><br /> **Basic**
     * 
     */
    @Import(name="tier")
    private @Nullable Output tier;

    /**
     * @return Specifies the tier of the cloud service. Possible Values are <br /><br /> **Standard** <br /><br /> **Basic**
     * 
     */
    public Optional> tier() {
        return Optional.ofNullable(this.tier);
    }

    private CloudServiceRoleSkuArgs() {}

    private CloudServiceRoleSkuArgs(CloudServiceRoleSkuArgs $) {
        this.capacity = $.capacity;
        this.name = $.name;
        this.tier = $.tier;
    }

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

    public static final class Builder {
        private CloudServiceRoleSkuArgs $;

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

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

        /**
         * @param capacity Specifies the number of role instances in the cloud service.
         * 
         * @return builder
         * 
         */
        public Builder capacity(@Nullable Output capacity) {
            $.capacity = capacity;
            return this;
        }

        /**
         * @param capacity Specifies the number of role instances in the cloud service.
         * 
         * @return builder
         * 
         */
        public Builder capacity(Double capacity) {
            return capacity(Output.of(capacity));
        }

        /**
         * @param name The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param tier Specifies the tier of the cloud service. Possible Values are <br /><br /> **Standard** <br /><br /> **Basic**
         * 
         * @return builder
         * 
         */
        public Builder tier(@Nullable Output tier) {
            $.tier = tier;
            return this;
        }

        /**
         * @param tier Specifies the tier of the cloud service. Possible Values are <br /><br /> **Standard** <br /><br /> **Basic**
         * 
         * @return builder
         * 
         */
        public Builder tier(String tier) {
            return tier(Output.of(tier));
        }

        public CloudServiceRoleSkuArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy