com.pulumi.azure.compute.inputs.WindowsVirtualMachineScaleSetPlanArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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.azure.compute.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 WindowsVirtualMachineScaleSetPlanArgs extends com.pulumi.resources.ResourceArgs {
public static final WindowsVirtualMachineScaleSetPlanArgs Empty = new WindowsVirtualMachineScaleSetPlanArgs();
/**
* Specifies the name of the image from the marketplace. Changing this forces a new resource to be created.
*
*/
@Import(name="name", required=true)
private Output name;
/**
* @return Specifies the name of the image from the marketplace. Changing this forces a new resource to be created.
*
*/
public Output name() {
return this.name;
}
/**
* Specifies the product of the image from the marketplace. Changing this forces a new resource to be created.
*
*/
@Import(name="product", required=true)
private Output product;
/**
* @return Specifies the product of the image from the marketplace. Changing this forces a new resource to be created.
*
*/
public Output product() {
return this.product;
}
/**
* Specifies the publisher of the image. Changing this forces a new resource to be created.
*
*/
@Import(name="publisher", required=true)
private Output publisher;
/**
* @return Specifies the publisher of the image. Changing this forces a new resource to be created.
*
*/
public Output publisher() {
return this.publisher;
}
private WindowsVirtualMachineScaleSetPlanArgs() {}
private WindowsVirtualMachineScaleSetPlanArgs(WindowsVirtualMachineScaleSetPlanArgs $) {
this.name = $.name;
this.product = $.product;
this.publisher = $.publisher;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(WindowsVirtualMachineScaleSetPlanArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private WindowsVirtualMachineScaleSetPlanArgs $;
public Builder() {
$ = new WindowsVirtualMachineScaleSetPlanArgs();
}
public Builder(WindowsVirtualMachineScaleSetPlanArgs defaults) {
$ = new WindowsVirtualMachineScaleSetPlanArgs(Objects.requireNonNull(defaults));
}
/**
* @param name Specifies the name of the image from the marketplace. Changing this forces a new resource to be created.
*
* @return builder
*
*/
public Builder name(Output name) {
$.name = name;
return this;
}
/**
* @param name Specifies the name of the image from the marketplace. Changing this forces a new resource to be created.
*
* @return builder
*
*/
public Builder name(String name) {
return name(Output.of(name));
}
/**
* @param product Specifies the product of the image from the marketplace. Changing this forces a new resource to be created.
*
* @return builder
*
*/
public Builder product(Output product) {
$.product = product;
return this;
}
/**
* @param product Specifies the product of the image from the marketplace. Changing this forces a new resource to be created.
*
* @return builder
*
*/
public Builder product(String product) {
return product(Output.of(product));
}
/**
* @param publisher Specifies the publisher of the image. Changing this forces a new resource to be created.
*
* @return builder
*
*/
public Builder publisher(Output publisher) {
$.publisher = publisher;
return this;
}
/**
* @param publisher Specifies the publisher of the image. Changing this forces a new resource to be created.
*
* @return builder
*
*/
public Builder publisher(String publisher) {
return publisher(Output.of(publisher));
}
public WindowsVirtualMachineScaleSetPlanArgs build() {
if ($.name == null) {
throw new MissingRequiredPropertyException("WindowsVirtualMachineScaleSetPlanArgs", "name");
}
if ($.product == null) {
throw new MissingRequiredPropertyException("WindowsVirtualMachineScaleSetPlanArgs", "product");
}
if ($.publisher == null) {
throw new MissingRequiredPropertyException("WindowsVirtualMachineScaleSetPlanArgs", "publisher");
}
return $;
}
}
}