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

com.pulumi.azurenative.scvmm.inputs.InfrastructureProfileArgs Maven / Gradle / Ivy

There is a newer version: 2.72.0
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.azurenative.scvmm.inputs;

import com.pulumi.azurenative.scvmm.inputs.CheckpointArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Specifies the vmmServer infrastructure specific settings for the virtual machine instance.
 * 
 */
public final class InfrastructureProfileArgs extends com.pulumi.resources.ResourceArgs {

    public static final InfrastructureProfileArgs Empty = new InfrastructureProfileArgs();

    /**
     * Gets or sets the bios guid for the vm.
     * 
     */
    @Import(name="biosGuid")
    private @Nullable Output biosGuid;

    /**
     * @return Gets or sets the bios guid for the vm.
     * 
     */
    public Optional> biosGuid() {
        return Optional.ofNullable(this.biosGuid);
    }

    /**
     * Type of checkpoint supported for the vm.
     * 
     */
    @Import(name="checkpointType")
    private @Nullable Output checkpointType;

    /**
     * @return Type of checkpoint supported for the vm.
     * 
     */
    public Optional> checkpointType() {
        return Optional.ofNullable(this.checkpointType);
    }

    /**
     * Checkpoints in the vm.
     * 
     */
    @Import(name="checkpoints")
    private @Nullable Output> checkpoints;

    /**
     * @return Checkpoints in the vm.
     * 
     */
    public Optional>> checkpoints() {
        return Optional.ofNullable(this.checkpoints);
    }

    /**
     * ARM Id of the cloud resource to use for deploying the vm.
     * 
     */
    @Import(name="cloudId")
    private @Nullable Output cloudId;

    /**
     * @return ARM Id of the cloud resource to use for deploying the vm.
     * 
     */
    public Optional> cloudId() {
        return Optional.ofNullable(this.cloudId);
    }

    /**
     * Gets or sets the generation for the vm.
     * 
     */
    @Import(name="generation")
    private @Nullable Output generation;

    /**
     * @return Gets or sets the generation for the vm.
     * 
     */
    public Optional> generation() {
        return Optional.ofNullable(this.generation);
    }

    /**
     * Gets or sets the inventory Item ID for the resource.
     * 
     */
    @Import(name="inventoryItemId")
    private @Nullable Output inventoryItemId;

    /**
     * @return Gets or sets the inventory Item ID for the resource.
     * 
     */
    public Optional> inventoryItemId() {
        return Optional.ofNullable(this.inventoryItemId);
    }

    /**
     * ARM Id of the template resource to use for deploying the vm.
     * 
     */
    @Import(name="templateId")
    private @Nullable Output templateId;

    /**
     * @return ARM Id of the template resource to use for deploying the vm.
     * 
     */
    public Optional> templateId() {
        return Optional.ofNullable(this.templateId);
    }

    /**
     * Unique ID of the virtual machine.
     * 
     */
    @Import(name="uuid")
    private @Nullable Output uuid;

    /**
     * @return Unique ID of the virtual machine.
     * 
     */
    public Optional> uuid() {
        return Optional.ofNullable(this.uuid);
    }

    /**
     * VMName is the name of VM on the SCVMM server.
     * 
     */
    @Import(name="vmName")
    private @Nullable Output vmName;

    /**
     * @return VMName is the name of VM on the SCVMM server.
     * 
     */
    public Optional> vmName() {
        return Optional.ofNullable(this.vmName);
    }

    /**
     * ARM Id of the vmmServer resource in which this resource resides.
     * 
     */
    @Import(name="vmmServerId")
    private @Nullable Output vmmServerId;

    /**
     * @return ARM Id of the vmmServer resource in which this resource resides.
     * 
     */
    public Optional> vmmServerId() {
        return Optional.ofNullable(this.vmmServerId);
    }

    private InfrastructureProfileArgs() {}

    private InfrastructureProfileArgs(InfrastructureProfileArgs $) {
        this.biosGuid = $.biosGuid;
        this.checkpointType = $.checkpointType;
        this.checkpoints = $.checkpoints;
        this.cloudId = $.cloudId;
        this.generation = $.generation;
        this.inventoryItemId = $.inventoryItemId;
        this.templateId = $.templateId;
        this.uuid = $.uuid;
        this.vmName = $.vmName;
        this.vmmServerId = $.vmmServerId;
    }

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

    public static final class Builder {
        private InfrastructureProfileArgs $;

        public Builder() {
            $ = new InfrastructureProfileArgs();
        }

        public Builder(InfrastructureProfileArgs defaults) {
            $ = new InfrastructureProfileArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param biosGuid Gets or sets the bios guid for the vm.
         * 
         * @return builder
         * 
         */
        public Builder biosGuid(@Nullable Output biosGuid) {
            $.biosGuid = biosGuid;
            return this;
        }

        /**
         * @param biosGuid Gets or sets the bios guid for the vm.
         * 
         * @return builder
         * 
         */
        public Builder biosGuid(String biosGuid) {
            return biosGuid(Output.of(biosGuid));
        }

        /**
         * @param checkpointType Type of checkpoint supported for the vm.
         * 
         * @return builder
         * 
         */
        public Builder checkpointType(@Nullable Output checkpointType) {
            $.checkpointType = checkpointType;
            return this;
        }

        /**
         * @param checkpointType Type of checkpoint supported for the vm.
         * 
         * @return builder
         * 
         */
        public Builder checkpointType(String checkpointType) {
            return checkpointType(Output.of(checkpointType));
        }

        /**
         * @param checkpoints Checkpoints in the vm.
         * 
         * @return builder
         * 
         */
        public Builder checkpoints(@Nullable Output> checkpoints) {
            $.checkpoints = checkpoints;
            return this;
        }

        /**
         * @param checkpoints Checkpoints in the vm.
         * 
         * @return builder
         * 
         */
        public Builder checkpoints(List checkpoints) {
            return checkpoints(Output.of(checkpoints));
        }

        /**
         * @param checkpoints Checkpoints in the vm.
         * 
         * @return builder
         * 
         */
        public Builder checkpoints(CheckpointArgs... checkpoints) {
            return checkpoints(List.of(checkpoints));
        }

        /**
         * @param cloudId ARM Id of the cloud resource to use for deploying the vm.
         * 
         * @return builder
         * 
         */
        public Builder cloudId(@Nullable Output cloudId) {
            $.cloudId = cloudId;
            return this;
        }

        /**
         * @param cloudId ARM Id of the cloud resource to use for deploying the vm.
         * 
         * @return builder
         * 
         */
        public Builder cloudId(String cloudId) {
            return cloudId(Output.of(cloudId));
        }

        /**
         * @param generation Gets or sets the generation for the vm.
         * 
         * @return builder
         * 
         */
        public Builder generation(@Nullable Output generation) {
            $.generation = generation;
            return this;
        }

        /**
         * @param generation Gets or sets the generation for the vm.
         * 
         * @return builder
         * 
         */
        public Builder generation(Integer generation) {
            return generation(Output.of(generation));
        }

        /**
         * @param inventoryItemId Gets or sets the inventory Item ID for the resource.
         * 
         * @return builder
         * 
         */
        public Builder inventoryItemId(@Nullable Output inventoryItemId) {
            $.inventoryItemId = inventoryItemId;
            return this;
        }

        /**
         * @param inventoryItemId Gets or sets the inventory Item ID for the resource.
         * 
         * @return builder
         * 
         */
        public Builder inventoryItemId(String inventoryItemId) {
            return inventoryItemId(Output.of(inventoryItemId));
        }

        /**
         * @param templateId ARM Id of the template resource to use for deploying the vm.
         * 
         * @return builder
         * 
         */
        public Builder templateId(@Nullable Output templateId) {
            $.templateId = templateId;
            return this;
        }

        /**
         * @param templateId ARM Id of the template resource to use for deploying the vm.
         * 
         * @return builder
         * 
         */
        public Builder templateId(String templateId) {
            return templateId(Output.of(templateId));
        }

        /**
         * @param uuid Unique ID of the virtual machine.
         * 
         * @return builder
         * 
         */
        public Builder uuid(@Nullable Output uuid) {
            $.uuid = uuid;
            return this;
        }

        /**
         * @param uuid Unique ID of the virtual machine.
         * 
         * @return builder
         * 
         */
        public Builder uuid(String uuid) {
            return uuid(Output.of(uuid));
        }

        /**
         * @param vmName VMName is the name of VM on the SCVMM server.
         * 
         * @return builder
         * 
         */
        public Builder vmName(@Nullable Output vmName) {
            $.vmName = vmName;
            return this;
        }

        /**
         * @param vmName VMName is the name of VM on the SCVMM server.
         * 
         * @return builder
         * 
         */
        public Builder vmName(String vmName) {
            return vmName(Output.of(vmName));
        }

        /**
         * @param vmmServerId ARM Id of the vmmServer resource in which this resource resides.
         * 
         * @return builder
         * 
         */
        public Builder vmmServerId(@Nullable Output vmmServerId) {
            $.vmmServerId = vmmServerId;
            return this;
        }

        /**
         * @param vmmServerId ARM Id of the vmmServer resource in which this resource resides.
         * 
         * @return builder
         * 
         */
        public Builder vmmServerId(String vmmServerId) {
            return vmmServerId(Output.of(vmmServerId));
        }

        public InfrastructureProfileArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy