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

com.pulumi.azurenative.security.inputs.GetPricingArgs 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.security.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


public final class GetPricingArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetPricingArgs Empty = new GetPricingArgs();

    /**
     * name of the pricing configuration
     * 
     */
    @Import(name="pricingName", required=true)
    private Output pricingName;

    /**
     * @return name of the pricing configuration
     * 
     */
    public Output pricingName() {
        return this.pricingName;
    }

    /**
     * The scope id of the pricing. Valid scopes are: subscription (format: 'subscriptions/{subscriptionId}'), or a specific resource (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}) - Supported resources are (VirtualMachines)
     * 
     */
    @Import(name="scopeId", required=true)
    private Output scopeId;

    /**
     * @return The scope id of the pricing. Valid scopes are: subscription (format: 'subscriptions/{subscriptionId}'), or a specific resource (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}) - Supported resources are (VirtualMachines)
     * 
     */
    public Output scopeId() {
        return this.scopeId;
    }

    private GetPricingArgs() {}

    private GetPricingArgs(GetPricingArgs $) {
        this.pricingName = $.pricingName;
        this.scopeId = $.scopeId;
    }

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

    public static final class Builder {
        private GetPricingArgs $;

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

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

        /**
         * @param pricingName name of the pricing configuration
         * 
         * @return builder
         * 
         */
        public Builder pricingName(Output pricingName) {
            $.pricingName = pricingName;
            return this;
        }

        /**
         * @param pricingName name of the pricing configuration
         * 
         * @return builder
         * 
         */
        public Builder pricingName(String pricingName) {
            return pricingName(Output.of(pricingName));
        }

        /**
         * @param scopeId The scope id of the pricing. Valid scopes are: subscription (format: 'subscriptions/{subscriptionId}'), or a specific resource (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}) - Supported resources are (VirtualMachines)
         * 
         * @return builder
         * 
         */
        public Builder scopeId(Output scopeId) {
            $.scopeId = scopeId;
            return this;
        }

        /**
         * @param scopeId The scope id of the pricing. Valid scopes are: subscription (format: 'subscriptions/{subscriptionId}'), or a specific resource (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}) - Supported resources are (VirtualMachines)
         * 
         * @return builder
         * 
         */
        public Builder scopeId(String scopeId) {
            return scopeId(Output.of(scopeId));
        }

        public GetPricingArgs build() {
            if ($.pricingName == null) {
                throw new MissingRequiredPropertyException("GetPricingArgs", "pricingName");
            }
            if ($.scopeId == null) {
                throw new MissingRequiredPropertyException("GetPricingArgs", "scopeId");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy