com.pulumi.azurenative.compute.outputs.DiffDiskSettingsResponse 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.compute.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class DiffDiskSettingsResponse {
/**
* @return Specifies the ephemeral disk settings for operating system disk.
*
*/
private @Nullable String option;
/**
* @return Specifies the ephemeral disk placement for operating system disk. Possible values are: **CacheDisk,** **ResourceDisk.** The defaulting behavior is: **CacheDisk** if one is configured for the VM size otherwise **ResourceDisk** is used. Refer to the VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk.
*
*/
private @Nullable String placement;
private DiffDiskSettingsResponse() {}
/**
* @return Specifies the ephemeral disk settings for operating system disk.
*
*/
public Optional option() {
return Optional.ofNullable(this.option);
}
/**
* @return Specifies the ephemeral disk placement for operating system disk. Possible values are: **CacheDisk,** **ResourceDisk.** The defaulting behavior is: **CacheDisk** if one is configured for the VM size otherwise **ResourceDisk** is used. Refer to the VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk.
*
*/
public Optional placement() {
return Optional.ofNullable(this.placement);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DiffDiskSettingsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String option;
private @Nullable String placement;
public Builder() {}
public Builder(DiffDiskSettingsResponse defaults) {
Objects.requireNonNull(defaults);
this.option = defaults.option;
this.placement = defaults.placement;
}
@CustomType.Setter
public Builder option(@Nullable String option) {
this.option = option;
return this;
}
@CustomType.Setter
public Builder placement(@Nullable String placement) {
this.placement = placement;
return this;
}
public DiffDiskSettingsResponse build() {
final var _resultValue = new DiffDiskSettingsResponse();
_resultValue.option = option;
_resultValue.placement = placement;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy