com.pulumi.azure.stack.inputs.HciDeploymentSettingScaleUnitHostNetworkStorageNetworkArgs 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.stack.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 HciDeploymentSettingScaleUnitHostNetworkStorageNetworkArgs extends com.pulumi.resources.ResourceArgs {
public static final HciDeploymentSettingScaleUnitHostNetworkStorageNetworkArgs Empty = new HciDeploymentSettingScaleUnitHostNetworkStorageNetworkArgs();
/**
* The name of the storage network. Changing this forces a new Stack HCI Deployment Setting to be created.
*
*/
@Import(name="name", required=true)
private Output name;
/**
* @return The name of the storage network. Changing this forces a new Stack HCI Deployment Setting to be created.
*
*/
public Output name() {
return this.name;
}
/**
* The name of the network adapter. Changing this forces a new Stack HCI Deployment Setting to be created.
*
*/
@Import(name="networkAdapterName", required=true)
private Output networkAdapterName;
/**
* @return The name of the network adapter. Changing this forces a new Stack HCI Deployment Setting to be created.
*
*/
public Output networkAdapterName() {
return this.networkAdapterName;
}
/**
* Specifies the ID for the VLAN storage network. This setting is applied to the network interfaces that route the storage and VM migration traffic. Changing this forces a new Stack HCI Deployment Setting to be created.
*
*/
@Import(name="vlanId", required=true)
private Output vlanId;
/**
* @return Specifies the ID for the VLAN storage network. This setting is applied to the network interfaces that route the storage and VM migration traffic. Changing this forces a new Stack HCI Deployment Setting to be created.
*
*/
public Output vlanId() {
return this.vlanId;
}
private HciDeploymentSettingScaleUnitHostNetworkStorageNetworkArgs() {}
private HciDeploymentSettingScaleUnitHostNetworkStorageNetworkArgs(HciDeploymentSettingScaleUnitHostNetworkStorageNetworkArgs $) {
this.name = $.name;
this.networkAdapterName = $.networkAdapterName;
this.vlanId = $.vlanId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(HciDeploymentSettingScaleUnitHostNetworkStorageNetworkArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private HciDeploymentSettingScaleUnitHostNetworkStorageNetworkArgs $;
public Builder() {
$ = new HciDeploymentSettingScaleUnitHostNetworkStorageNetworkArgs();
}
public Builder(HciDeploymentSettingScaleUnitHostNetworkStorageNetworkArgs defaults) {
$ = new HciDeploymentSettingScaleUnitHostNetworkStorageNetworkArgs(Objects.requireNonNull(defaults));
}
/**
* @param name The name of the storage network. Changing this forces a new Stack HCI Deployment Setting to be created.
*
* @return builder
*
*/
public Builder name(Output name) {
$.name = name;
return this;
}
/**
* @param name The name of the storage network. Changing this forces a new Stack HCI Deployment Setting to be created.
*
* @return builder
*
*/
public Builder name(String name) {
return name(Output.of(name));
}
/**
* @param networkAdapterName The name of the network adapter. Changing this forces a new Stack HCI Deployment Setting to be created.
*
* @return builder
*
*/
public Builder networkAdapterName(Output networkAdapterName) {
$.networkAdapterName = networkAdapterName;
return this;
}
/**
* @param networkAdapterName The name of the network adapter. Changing this forces a new Stack HCI Deployment Setting to be created.
*
* @return builder
*
*/
public Builder networkAdapterName(String networkAdapterName) {
return networkAdapterName(Output.of(networkAdapterName));
}
/**
* @param vlanId Specifies the ID for the VLAN storage network. This setting is applied to the network interfaces that route the storage and VM migration traffic. Changing this forces a new Stack HCI Deployment Setting to be created.
*
* @return builder
*
*/
public Builder vlanId(Output vlanId) {
$.vlanId = vlanId;
return this;
}
/**
* @param vlanId Specifies the ID for the VLAN storage network. This setting is applied to the network interfaces that route the storage and VM migration traffic. Changing this forces a new Stack HCI Deployment Setting to be created.
*
* @return builder
*
*/
public Builder vlanId(String vlanId) {
return vlanId(Output.of(vlanId));
}
public HciDeploymentSettingScaleUnitHostNetworkStorageNetworkArgs build() {
if ($.name == null) {
throw new MissingRequiredPropertyException("HciDeploymentSettingScaleUnitHostNetworkStorageNetworkArgs", "name");
}
if ($.networkAdapterName == null) {
throw new MissingRequiredPropertyException("HciDeploymentSettingScaleUnitHostNetworkStorageNetworkArgs", "networkAdapterName");
}
if ($.vlanId == null) {
throw new MissingRequiredPropertyException("HciDeploymentSettingScaleUnitHostNetworkStorageNetworkArgs", "vlanId");
}
return $;
}
}
}