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

com.pulumi.azure.workloadssap.outputs.SingleNodeVirtualInstanceSingleServerConfigurationVirtualMachineResourceNames Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.workloadssap.outputs;

import com.pulumi.azure.workloadssap.outputs.SingleNodeVirtualInstanceSingleServerConfigurationVirtualMachineResourceNamesDataDisk;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class SingleNodeVirtualInstanceSingleServerConfigurationVirtualMachineResourceNames {
    /**
     * @return (Optional) One or more `data_disk` blocks as defined below. Changing this forces a new resource to be created.
     * 
     */
    private @Nullable List dataDisks;
    /**
     * @return The full name of the host of the Virtual Machine. Changing this forces a new resource to be created.
     * 
     */
    private @Nullable String hostName;
    /**
     * @return A list of full names for the Network Interface of the Virtual Machine. Changing this forces a new resource to be created.
     * 
     */
    private @Nullable List networkInterfaceNames;
    /**
     * @return The full name of the OS Disk attached to the Virtual Machine. Changing this forces a new resource to be created.
     * 
     */
    private @Nullable String osDiskName;
    /**
     * @return The full name of the Virtual Machine in a single server SAP system. Changing this forces a new resource to be created.
     * 
     */
    private @Nullable String virtualMachineName;

    private SingleNodeVirtualInstanceSingleServerConfigurationVirtualMachineResourceNames() {}
    /**
     * @return (Optional) One or more `data_disk` blocks as defined below. Changing this forces a new resource to be created.
     * 
     */
    public List dataDisks() {
        return this.dataDisks == null ? List.of() : this.dataDisks;
    }
    /**
     * @return The full name of the host of the Virtual Machine. Changing this forces a new resource to be created.
     * 
     */
    public Optional hostName() {
        return Optional.ofNullable(this.hostName);
    }
    /**
     * @return A list of full names for the Network Interface of the Virtual Machine. Changing this forces a new resource to be created.
     * 
     */
    public List networkInterfaceNames() {
        return this.networkInterfaceNames == null ? List.of() : this.networkInterfaceNames;
    }
    /**
     * @return The full name of the OS Disk attached to the Virtual Machine. Changing this forces a new resource to be created.
     * 
     */
    public Optional osDiskName() {
        return Optional.ofNullable(this.osDiskName);
    }
    /**
     * @return The full name of the Virtual Machine in a single server SAP system. Changing this forces a new resource to be created.
     * 
     */
    public Optional virtualMachineName() {
        return Optional.ofNullable(this.virtualMachineName);
    }

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

    public static Builder builder(SingleNodeVirtualInstanceSingleServerConfigurationVirtualMachineResourceNames defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List dataDisks;
        private @Nullable String hostName;
        private @Nullable List networkInterfaceNames;
        private @Nullable String osDiskName;
        private @Nullable String virtualMachineName;
        public Builder() {}
        public Builder(SingleNodeVirtualInstanceSingleServerConfigurationVirtualMachineResourceNames defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.dataDisks = defaults.dataDisks;
    	      this.hostName = defaults.hostName;
    	      this.networkInterfaceNames = defaults.networkInterfaceNames;
    	      this.osDiskName = defaults.osDiskName;
    	      this.virtualMachineName = defaults.virtualMachineName;
        }

        @CustomType.Setter
        public Builder dataDisks(@Nullable List dataDisks) {

            this.dataDisks = dataDisks;
            return this;
        }
        public Builder dataDisks(SingleNodeVirtualInstanceSingleServerConfigurationVirtualMachineResourceNamesDataDisk... dataDisks) {
            return dataDisks(List.of(dataDisks));
        }
        @CustomType.Setter
        public Builder hostName(@Nullable String hostName) {

            this.hostName = hostName;
            return this;
        }
        @CustomType.Setter
        public Builder networkInterfaceNames(@Nullable List networkInterfaceNames) {

            this.networkInterfaceNames = networkInterfaceNames;
            return this;
        }
        public Builder networkInterfaceNames(String... networkInterfaceNames) {
            return networkInterfaceNames(List.of(networkInterfaceNames));
        }
        @CustomType.Setter
        public Builder osDiskName(@Nullable String osDiskName) {

            this.osDiskName = osDiskName;
            return this;
        }
        @CustomType.Setter
        public Builder virtualMachineName(@Nullable String virtualMachineName) {

            this.virtualMachineName = virtualMachineName;
            return this;
        }
        public SingleNodeVirtualInstanceSingleServerConfigurationVirtualMachineResourceNames build() {
            final var _resultValue = new SingleNodeVirtualInstanceSingleServerConfigurationVirtualMachineResourceNames();
            _resultValue.dataDisks = dataDisks;
            _resultValue.hostName = hostName;
            _resultValue.networkInterfaceNames = networkInterfaceNames;
            _resultValue.osDiskName = osDiskName;
            _resultValue.virtualMachineName = virtualMachineName;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy