
com.pulumi.azurenative.security.inputs.GetPricingPlainArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetPricingPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetPricingPlainArgs Empty = new GetPricingPlainArgs();
/**
* name of the pricing configuration
*
*/
@Import(name="pricingName", required=true)
private String pricingName;
/**
* @return name of the pricing configuration
*
*/
public String 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 String 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 String scopeId() {
return this.scopeId;
}
private GetPricingPlainArgs() {}
private GetPricingPlainArgs(GetPricingPlainArgs $) {
this.pricingName = $.pricingName;
this.scopeId = $.scopeId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetPricingPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetPricingPlainArgs $;
public Builder() {
$ = new GetPricingPlainArgs();
}
public Builder(GetPricingPlainArgs defaults) {
$ = new GetPricingPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param pricingName name of the pricing configuration
*
* @return builder
*
*/
public Builder pricingName(String pricingName) {
$.pricingName = pricingName;
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) {
$.scopeId = scopeId;
return this;
}
public GetPricingPlainArgs build() {
if ($.pricingName == null) {
throw new MissingRequiredPropertyException("GetPricingPlainArgs", "pricingName");
}
if ($.scopeId == null) {
throw new MissingRequiredPropertyException("GetPricingPlainArgs", "scopeId");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy