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

com.pulumi.azurenative.azurestackhci.VirtualMachineInstanceArgs Maven / Gradle / Ivy

There is a newer version: 2.89.2
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.azurestackhci;

import com.pulumi.azurenative.azurestackhci.inputs.ExtendedLocationArgs;
import com.pulumi.azurenative.azurestackhci.inputs.IdentityArgs;
import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesHardwareProfileArgs;
import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesNetworkProfileArgs;
import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesOsProfileArgs;
import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesSecurityProfileArgs;
import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesStorageProfileArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class VirtualMachineInstanceArgs extends com.pulumi.resources.ResourceArgs {

    public static final VirtualMachineInstanceArgs Empty = new VirtualMachineInstanceArgs();

    /**
     * The extendedLocation of the resource.
     * 
     */
    @Import(name="extendedLocation")
    private @Nullable Output extendedLocation;

    /**
     * @return The extendedLocation of the resource.
     * 
     */
    public Optional> extendedLocation() {
        return Optional.ofNullable(this.extendedLocation);
    }

    /**
     * HardwareProfile - Specifies the hardware settings for the virtual machine instance.
     * 
     */
    @Import(name="hardwareProfile")
    private @Nullable Output hardwareProfile;

    /**
     * @return HardwareProfile - Specifies the hardware settings for the virtual machine instance.
     * 
     */
    public Optional> hardwareProfile() {
        return Optional.ofNullable(this.hardwareProfile);
    }

    /**
     * Identity for the resource.
     * 
     */
    @Import(name="identity")
    private @Nullable Output identity;

    /**
     * @return Identity for the resource.
     * 
     */
    public Optional> identity() {
        return Optional.ofNullable(this.identity);
    }

    /**
     * NetworkProfile - describes the network configuration the virtual machine instance
     * 
     */
    @Import(name="networkProfile")
    private @Nullable Output networkProfile;

    /**
     * @return NetworkProfile - describes the network configuration the virtual machine instance
     * 
     */
    public Optional> networkProfile() {
        return Optional.ofNullable(this.networkProfile);
    }

    /**
     * OsProfile - describes the configuration of the operating system and sets login data
     * 
     */
    @Import(name="osProfile")
    private @Nullable Output osProfile;

    /**
     * @return OsProfile - describes the configuration of the operating system and sets login data
     * 
     */
    public Optional> osProfile() {
        return Optional.ofNullable(this.osProfile);
    }

    /**
     * Unique identifier defined by ARC to identify the guest of the VM.
     * 
     */
    @Import(name="resourceUid")
    private @Nullable Output resourceUid;

    /**
     * @return Unique identifier defined by ARC to identify the guest of the VM.
     * 
     */
    public Optional> resourceUid() {
        return Optional.ofNullable(this.resourceUid);
    }

    /**
     * The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.
     * 
     */
    @Import(name="resourceUri", required=true)
    private Output resourceUri;

    /**
     * @return The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.
     * 
     */
    public Output resourceUri() {
        return this.resourceUri;
    }

    /**
     * SecurityProfile - Specifies the security settings for the virtual machine instance.
     * 
     */
    @Import(name="securityProfile")
    private @Nullable Output securityProfile;

    /**
     * @return SecurityProfile - Specifies the security settings for the virtual machine instance.
     * 
     */
    public Optional> securityProfile() {
        return Optional.ofNullable(this.securityProfile);
    }

    /**
     * StorageProfile - contains information about the disks and storage information for the virtual machine instance
     * 
     */
    @Import(name="storageProfile")
    private @Nullable Output storageProfile;

    /**
     * @return StorageProfile - contains information about the disks and storage information for the virtual machine instance
     * 
     */
    public Optional> storageProfile() {
        return Optional.ofNullable(this.storageProfile);
    }

    private VirtualMachineInstanceArgs() {}

    private VirtualMachineInstanceArgs(VirtualMachineInstanceArgs $) {
        this.extendedLocation = $.extendedLocation;
        this.hardwareProfile = $.hardwareProfile;
        this.identity = $.identity;
        this.networkProfile = $.networkProfile;
        this.osProfile = $.osProfile;
        this.resourceUid = $.resourceUid;
        this.resourceUri = $.resourceUri;
        this.securityProfile = $.securityProfile;
        this.storageProfile = $.storageProfile;
    }

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

    public static final class Builder {
        private VirtualMachineInstanceArgs $;

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

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

        /**
         * @param extendedLocation The extendedLocation of the resource.
         * 
         * @return builder
         * 
         */
        public Builder extendedLocation(@Nullable Output extendedLocation) {
            $.extendedLocation = extendedLocation;
            return this;
        }

        /**
         * @param extendedLocation The extendedLocation of the resource.
         * 
         * @return builder
         * 
         */
        public Builder extendedLocation(ExtendedLocationArgs extendedLocation) {
            return extendedLocation(Output.of(extendedLocation));
        }

        /**
         * @param hardwareProfile HardwareProfile - Specifies the hardware settings for the virtual machine instance.
         * 
         * @return builder
         * 
         */
        public Builder hardwareProfile(@Nullable Output hardwareProfile) {
            $.hardwareProfile = hardwareProfile;
            return this;
        }

        /**
         * @param hardwareProfile HardwareProfile - Specifies the hardware settings for the virtual machine instance.
         * 
         * @return builder
         * 
         */
        public Builder hardwareProfile(VirtualMachineInstancePropertiesHardwareProfileArgs hardwareProfile) {
            return hardwareProfile(Output.of(hardwareProfile));
        }

        /**
         * @param identity Identity for the resource.
         * 
         * @return builder
         * 
         */
        public Builder identity(@Nullable Output identity) {
            $.identity = identity;
            return this;
        }

        /**
         * @param identity Identity for the resource.
         * 
         * @return builder
         * 
         */
        public Builder identity(IdentityArgs identity) {
            return identity(Output.of(identity));
        }

        /**
         * @param networkProfile NetworkProfile - describes the network configuration the virtual machine instance
         * 
         * @return builder
         * 
         */
        public Builder networkProfile(@Nullable Output networkProfile) {
            $.networkProfile = networkProfile;
            return this;
        }

        /**
         * @param networkProfile NetworkProfile - describes the network configuration the virtual machine instance
         * 
         * @return builder
         * 
         */
        public Builder networkProfile(VirtualMachineInstancePropertiesNetworkProfileArgs networkProfile) {
            return networkProfile(Output.of(networkProfile));
        }

        /**
         * @param osProfile OsProfile - describes the configuration of the operating system and sets login data
         * 
         * @return builder
         * 
         */
        public Builder osProfile(@Nullable Output osProfile) {
            $.osProfile = osProfile;
            return this;
        }

        /**
         * @param osProfile OsProfile - describes the configuration of the operating system and sets login data
         * 
         * @return builder
         * 
         */
        public Builder osProfile(VirtualMachineInstancePropertiesOsProfileArgs osProfile) {
            return osProfile(Output.of(osProfile));
        }

        /**
         * @param resourceUid Unique identifier defined by ARC to identify the guest of the VM.
         * 
         * @return builder
         * 
         */
        public Builder resourceUid(@Nullable Output resourceUid) {
            $.resourceUid = resourceUid;
            return this;
        }

        /**
         * @param resourceUid Unique identifier defined by ARC to identify the guest of the VM.
         * 
         * @return builder
         * 
         */
        public Builder resourceUid(String resourceUid) {
            return resourceUid(Output.of(resourceUid));
        }

        /**
         * @param resourceUri The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.
         * 
         * @return builder
         * 
         */
        public Builder resourceUri(Output resourceUri) {
            $.resourceUri = resourceUri;
            return this;
        }

        /**
         * @param resourceUri The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.
         * 
         * @return builder
         * 
         */
        public Builder resourceUri(String resourceUri) {
            return resourceUri(Output.of(resourceUri));
        }

        /**
         * @param securityProfile SecurityProfile - Specifies the security settings for the virtual machine instance.
         * 
         * @return builder
         * 
         */
        public Builder securityProfile(@Nullable Output securityProfile) {
            $.securityProfile = securityProfile;
            return this;
        }

        /**
         * @param securityProfile SecurityProfile - Specifies the security settings for the virtual machine instance.
         * 
         * @return builder
         * 
         */
        public Builder securityProfile(VirtualMachineInstancePropertiesSecurityProfileArgs securityProfile) {
            return securityProfile(Output.of(securityProfile));
        }

        /**
         * @param storageProfile StorageProfile - contains information about the disks and storage information for the virtual machine instance
         * 
         * @return builder
         * 
         */
        public Builder storageProfile(@Nullable Output storageProfile) {
            $.storageProfile = storageProfile;
            return this;
        }

        /**
         * @param storageProfile StorageProfile - contains information about the disks and storage information for the virtual machine instance
         * 
         * @return builder
         * 
         */
        public Builder storageProfile(VirtualMachineInstancePropertiesStorageProfileArgs storageProfile) {
            return storageProfile(Output.of(storageProfile));
        }

        public VirtualMachineInstanceArgs build() {
            if ($.resourceUri == null) {
                throw new MissingRequiredPropertyException("VirtualMachineInstanceArgs", "resourceUri");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy