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

com.pulumi.azurenative.connectedvmwarevsphere.outputs.GetVirtualMachineTemplateResult Maven / Gradle / Ivy

// *** 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.connectedvmwarevsphere.outputs;

import com.pulumi.azurenative.connectedvmwarevsphere.outputs.ExtendedLocationResponse;
import com.pulumi.azurenative.connectedvmwarevsphere.outputs.NetworkInterfaceResponse;
import com.pulumi.azurenative.connectedvmwarevsphere.outputs.ResourceStatusResponse;
import com.pulumi.azurenative.connectedvmwarevsphere.outputs.SystemDataResponse;
import com.pulumi.azurenative.connectedvmwarevsphere.outputs.VirtualDiskResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetVirtualMachineTemplateResult {
    /**
     * @return Gets the name of the corresponding resource in Kubernetes.
     * 
     */
    private String customResourceName;
    /**
     * @return Gets or sets the disks the template.
     * 
     */
    private List disks;
    /**
     * @return Gets or sets the extended location.
     * 
     */
    private @Nullable ExtendedLocationResponse extendedLocation;
    /**
     * @return Firmware type
     * 
     */
    private String firmwareType;
    /**
     * @return Gets or sets the folder path of the template.
     * 
     */
    private String folderPath;
    /**
     * @return Gets or sets the Id.
     * 
     */
    private String id;
    /**
     * @return Gets or sets the inventory Item ID for the virtual machine template.
     * 
     */
    private @Nullable String inventoryItemId;
    /**
     * @return Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type.  If supported, the resource provider must validate and persist this value.
     * 
     */
    private @Nullable String kind;
    /**
     * @return Gets or sets the location.
     * 
     */
    private String location;
    /**
     * @return Gets or sets memory size in MBs for the template.
     * 
     */
    private Integer memorySizeMB;
    /**
     * @return Gets or sets the vCenter Managed Object name for the virtual machine template.
     * 
     */
    private String moName;
    /**
     * @return Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine
     * template.
     * 
     */
    private @Nullable String moRefId;
    /**
     * @return Gets or sets the name.
     * 
     */
    private String name;
    /**
     * @return Gets or sets the network interfaces of the template.
     * 
     */
    private List networkInterfaces;
    /**
     * @return Gets or sets the number of vCPUs for the template.
     * 
     */
    private Integer numCPUs;
    /**
     * @return Gets or sets the number of cores per socket for the template.
     * Defaults to 1 if unspecified.
     * 
     */
    private Integer numCoresPerSocket;
    /**
     * @return Gets or sets os name.
     * 
     */
    private String osName;
    /**
     * @return Gets or sets the type of the os.
     * 
     */
    private String osType;
    /**
     * @return Gets or sets the provisioning state.
     * 
     */
    private String provisioningState;
    /**
     * @return The resource status information.
     * 
     */
    private List statuses;
    /**
     * @return The system data.
     * 
     */
    private SystemDataResponse systemData;
    /**
     * @return Gets or sets the Resource tags.
     * 
     */
    private @Nullable Map tags;
    /**
     * @return Gets or sets the current version of VMware Tools.
     * 
     */
    private String toolsVersion;
    /**
     * @return Gets or sets the current version status of VMware Tools installed in the guest operating system.
     * 
     */
    private String toolsVersionStatus;
    /**
     * @return Gets or sets the type of the resource.
     * 
     */
    private String type;
    /**
     * @return Gets or sets a unique identifier for this resource.
     * 
     */
    private String uuid;
    /**
     * @return Gets or sets the ARM Id of the vCenter resource in which this template resides.
     * 
     */
    private @Nullable String vCenterId;

    private GetVirtualMachineTemplateResult() {}
    /**
     * @return Gets the name of the corresponding resource in Kubernetes.
     * 
     */
    public String customResourceName() {
        return this.customResourceName;
    }
    /**
     * @return Gets or sets the disks the template.
     * 
     */
    public List disks() {
        return this.disks;
    }
    /**
     * @return Gets or sets the extended location.
     * 
     */
    public Optional extendedLocation() {
        return Optional.ofNullable(this.extendedLocation);
    }
    /**
     * @return Firmware type
     * 
     */
    public String firmwareType() {
        return this.firmwareType;
    }
    /**
     * @return Gets or sets the folder path of the template.
     * 
     */
    public String folderPath() {
        return this.folderPath;
    }
    /**
     * @return Gets or sets the Id.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Gets or sets the inventory Item ID for the virtual machine template.
     * 
     */
    public Optional inventoryItemId() {
        return Optional.ofNullable(this.inventoryItemId);
    }
    /**
     * @return Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type.  If supported, the resource provider must validate and persist this value.
     * 
     */
    public Optional kind() {
        return Optional.ofNullable(this.kind);
    }
    /**
     * @return Gets or sets the location.
     * 
     */
    public String location() {
        return this.location;
    }
    /**
     * @return Gets or sets memory size in MBs for the template.
     * 
     */
    public Integer memorySizeMB() {
        return this.memorySizeMB;
    }
    /**
     * @return Gets or sets the vCenter Managed Object name for the virtual machine template.
     * 
     */
    public String moName() {
        return this.moName;
    }
    /**
     * @return Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine
     * template.
     * 
     */
    public Optional moRefId() {
        return Optional.ofNullable(this.moRefId);
    }
    /**
     * @return Gets or sets the name.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Gets or sets the network interfaces of the template.
     * 
     */
    public List networkInterfaces() {
        return this.networkInterfaces;
    }
    /**
     * @return Gets or sets the number of vCPUs for the template.
     * 
     */
    public Integer numCPUs() {
        return this.numCPUs;
    }
    /**
     * @return Gets or sets the number of cores per socket for the template.
     * Defaults to 1 if unspecified.
     * 
     */
    public Integer numCoresPerSocket() {
        return this.numCoresPerSocket;
    }
    /**
     * @return Gets or sets os name.
     * 
     */
    public String osName() {
        return this.osName;
    }
    /**
     * @return Gets or sets the type of the os.
     * 
     */
    public String osType() {
        return this.osType;
    }
    /**
     * @return Gets or sets the provisioning state.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return The resource status information.
     * 
     */
    public List statuses() {
        return this.statuses;
    }
    /**
     * @return The system data.
     * 
     */
    public SystemDataResponse systemData() {
        return this.systemData;
    }
    /**
     * @return Gets or sets the Resource tags.
     * 
     */
    public Map tags() {
        return this.tags == null ? Map.of() : this.tags;
    }
    /**
     * @return Gets or sets the current version of VMware Tools.
     * 
     */
    public String toolsVersion() {
        return this.toolsVersion;
    }
    /**
     * @return Gets or sets the current version status of VMware Tools installed in the guest operating system.
     * 
     */
    public String toolsVersionStatus() {
        return this.toolsVersionStatus;
    }
    /**
     * @return Gets or sets the type of the resource.
     * 
     */
    public String type() {
        return this.type;
    }
    /**
     * @return Gets or sets a unique identifier for this resource.
     * 
     */
    public String uuid() {
        return this.uuid;
    }
    /**
     * @return Gets or sets the ARM Id of the vCenter resource in which this template resides.
     * 
     */
    public Optional vCenterId() {
        return Optional.ofNullable(this.vCenterId);
    }

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

    public static Builder builder(GetVirtualMachineTemplateResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String customResourceName;
        private List disks;
        private @Nullable ExtendedLocationResponse extendedLocation;
        private String firmwareType;
        private String folderPath;
        private String id;
        private @Nullable String inventoryItemId;
        private @Nullable String kind;
        private String location;
        private Integer memorySizeMB;
        private String moName;
        private @Nullable String moRefId;
        private String name;
        private List networkInterfaces;
        private Integer numCPUs;
        private Integer numCoresPerSocket;
        private String osName;
        private String osType;
        private String provisioningState;
        private List statuses;
        private SystemDataResponse systemData;
        private @Nullable Map tags;
        private String toolsVersion;
        private String toolsVersionStatus;
        private String type;
        private String uuid;
        private @Nullable String vCenterId;
        public Builder() {}
        public Builder(GetVirtualMachineTemplateResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.customResourceName = defaults.customResourceName;
    	      this.disks = defaults.disks;
    	      this.extendedLocation = defaults.extendedLocation;
    	      this.firmwareType = defaults.firmwareType;
    	      this.folderPath = defaults.folderPath;
    	      this.id = defaults.id;
    	      this.inventoryItemId = defaults.inventoryItemId;
    	      this.kind = defaults.kind;
    	      this.location = defaults.location;
    	      this.memorySizeMB = defaults.memorySizeMB;
    	      this.moName = defaults.moName;
    	      this.moRefId = defaults.moRefId;
    	      this.name = defaults.name;
    	      this.networkInterfaces = defaults.networkInterfaces;
    	      this.numCPUs = defaults.numCPUs;
    	      this.numCoresPerSocket = defaults.numCoresPerSocket;
    	      this.osName = defaults.osName;
    	      this.osType = defaults.osType;
    	      this.provisioningState = defaults.provisioningState;
    	      this.statuses = defaults.statuses;
    	      this.systemData = defaults.systemData;
    	      this.tags = defaults.tags;
    	      this.toolsVersion = defaults.toolsVersion;
    	      this.toolsVersionStatus = defaults.toolsVersionStatus;
    	      this.type = defaults.type;
    	      this.uuid = defaults.uuid;
    	      this.vCenterId = defaults.vCenterId;
        }

        @CustomType.Setter
        public Builder customResourceName(String customResourceName) {
            if (customResourceName == null) {
              throw new MissingRequiredPropertyException("GetVirtualMachineTemplateResult", "customResourceName");
            }
            this.customResourceName = customResourceName;
            return this;
        }
        @CustomType.Setter
        public Builder disks(List disks) {
            if (disks == null) {
              throw new MissingRequiredPropertyException("GetVirtualMachineTemplateResult", "disks");
            }
            this.disks = disks;
            return this;
        }
        public Builder disks(VirtualDiskResponse... disks) {
            return disks(List.of(disks));
        }
        @CustomType.Setter
        public Builder extendedLocation(@Nullable ExtendedLocationResponse extendedLocation) {

            this.extendedLocation = extendedLocation;
            return this;
        }
        @CustomType.Setter
        public Builder firmwareType(String firmwareType) {
            if (firmwareType == null) {
              throw new MissingRequiredPropertyException("GetVirtualMachineTemplateResult", "firmwareType");
            }
            this.firmwareType = firmwareType;
            return this;
        }
        @CustomType.Setter
        public Builder folderPath(String folderPath) {
            if (folderPath == null) {
              throw new MissingRequiredPropertyException("GetVirtualMachineTemplateResult", "folderPath");
            }
            this.folderPath = folderPath;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetVirtualMachineTemplateResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder inventoryItemId(@Nullable String inventoryItemId) {

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

            this.kind = kind;
            return this;
        }
        @CustomType.Setter
        public Builder location(String location) {
            if (location == null) {
              throw new MissingRequiredPropertyException("GetVirtualMachineTemplateResult", "location");
            }
            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder memorySizeMB(Integer memorySizeMB) {
            if (memorySizeMB == null) {
              throw new MissingRequiredPropertyException("GetVirtualMachineTemplateResult", "memorySizeMB");
            }
            this.memorySizeMB = memorySizeMB;
            return this;
        }
        @CustomType.Setter
        public Builder moName(String moName) {
            if (moName == null) {
              throw new MissingRequiredPropertyException("GetVirtualMachineTemplateResult", "moName");
            }
            this.moName = moName;
            return this;
        }
        @CustomType.Setter
        public Builder moRefId(@Nullable String moRefId) {

            this.moRefId = moRefId;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetVirtualMachineTemplateResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder networkInterfaces(List networkInterfaces) {
            if (networkInterfaces == null) {
              throw new MissingRequiredPropertyException("GetVirtualMachineTemplateResult", "networkInterfaces");
            }
            this.networkInterfaces = networkInterfaces;
            return this;
        }
        public Builder networkInterfaces(NetworkInterfaceResponse... networkInterfaces) {
            return networkInterfaces(List.of(networkInterfaces));
        }
        @CustomType.Setter
        public Builder numCPUs(Integer numCPUs) {
            if (numCPUs == null) {
              throw new MissingRequiredPropertyException("GetVirtualMachineTemplateResult", "numCPUs");
            }
            this.numCPUs = numCPUs;
            return this;
        }
        @CustomType.Setter
        public Builder numCoresPerSocket(Integer numCoresPerSocket) {
            if (numCoresPerSocket == null) {
              throw new MissingRequiredPropertyException("GetVirtualMachineTemplateResult", "numCoresPerSocket");
            }
            this.numCoresPerSocket = numCoresPerSocket;
            return this;
        }
        @CustomType.Setter
        public Builder osName(String osName) {
            if (osName == null) {
              throw new MissingRequiredPropertyException("GetVirtualMachineTemplateResult", "osName");
            }
            this.osName = osName;
            return this;
        }
        @CustomType.Setter
        public Builder osType(String osType) {
            if (osType == null) {
              throw new MissingRequiredPropertyException("GetVirtualMachineTemplateResult", "osType");
            }
            this.osType = osType;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("GetVirtualMachineTemplateResult", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder statuses(List statuses) {
            if (statuses == null) {
              throw new MissingRequiredPropertyException("GetVirtualMachineTemplateResult", "statuses");
            }
            this.statuses = statuses;
            return this;
        }
        public Builder statuses(ResourceStatusResponse... statuses) {
            return statuses(List.of(statuses));
        }
        @CustomType.Setter
        public Builder systemData(SystemDataResponse systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetVirtualMachineTemplateResult", "systemData");
            }
            this.systemData = systemData;
            return this;
        }
        @CustomType.Setter
        public Builder tags(@Nullable Map tags) {

            this.tags = tags;
            return this;
        }
        @CustomType.Setter
        public Builder toolsVersion(String toolsVersion) {
            if (toolsVersion == null) {
              throw new MissingRequiredPropertyException("GetVirtualMachineTemplateResult", "toolsVersion");
            }
            this.toolsVersion = toolsVersion;
            return this;
        }
        @CustomType.Setter
        public Builder toolsVersionStatus(String toolsVersionStatus) {
            if (toolsVersionStatus == null) {
              throw new MissingRequiredPropertyException("GetVirtualMachineTemplateResult", "toolsVersionStatus");
            }
            this.toolsVersionStatus = toolsVersionStatus;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetVirtualMachineTemplateResult", "type");
            }
            this.type = type;
            return this;
        }
        @CustomType.Setter
        public Builder uuid(String uuid) {
            if (uuid == null) {
              throw new MissingRequiredPropertyException("GetVirtualMachineTemplateResult", "uuid");
            }
            this.uuid = uuid;
            return this;
        }
        @CustomType.Setter
        public Builder vCenterId(@Nullable String vCenterId) {

            this.vCenterId = vCenterId;
            return this;
        }
        public GetVirtualMachineTemplateResult build() {
            final var _resultValue = new GetVirtualMachineTemplateResult();
            _resultValue.customResourceName = customResourceName;
            _resultValue.disks = disks;
            _resultValue.extendedLocation = extendedLocation;
            _resultValue.firmwareType = firmwareType;
            _resultValue.folderPath = folderPath;
            _resultValue.id = id;
            _resultValue.inventoryItemId = inventoryItemId;
            _resultValue.kind = kind;
            _resultValue.location = location;
            _resultValue.memorySizeMB = memorySizeMB;
            _resultValue.moName = moName;
            _resultValue.moRefId = moRefId;
            _resultValue.name = name;
            _resultValue.networkInterfaces = networkInterfaces;
            _resultValue.numCPUs = numCPUs;
            _resultValue.numCoresPerSocket = numCoresPerSocket;
            _resultValue.osName = osName;
            _resultValue.osType = osType;
            _resultValue.provisioningState = provisioningState;
            _resultValue.statuses = statuses;
            _resultValue.systemData = systemData;
            _resultValue.tags = tags;
            _resultValue.toolsVersion = toolsVersion;
            _resultValue.toolsVersionStatus = toolsVersionStatus;
            _resultValue.type = type;
            _resultValue.uuid = uuid;
            _resultValue.vCenterId = vCenterId;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy