Class VirtualMachineArgs.Builder
- java.lang.Object
-
- com.pulumi.azurenative.networkcloud.VirtualMachineArgs.Builder
-
- Enclosing class:
- VirtualMachineArgs
public static final class VirtualMachineArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(VirtualMachineArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(VirtualMachineArgs defaults)
-
-
Method Detail
-
adminUsername
public VirtualMachineArgs.Builder adminUsername(com.pulumi.core.Output<java.lang.String> adminUsername)
- Parameters:
adminUsername
- The name of the administrator to which the ssh public keys will be added into the authorized keys.- Returns:
- builder
-
adminUsername
public VirtualMachineArgs.Builder adminUsername(java.lang.String adminUsername)
- Parameters:
adminUsername
- The name of the administrator to which the ssh public keys will be added into the authorized keys.- Returns:
- builder
-
bootMethod
public VirtualMachineArgs.Builder bootMethod(@Nullable com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,VirtualMachineBootMethod>> bootMethod)
- Parameters:
bootMethod
- Selects the boot method for the virtual machine.- Returns:
- builder
-
bootMethod
public VirtualMachineArgs.Builder bootMethod(com.pulumi.core.Either<java.lang.String,VirtualMachineBootMethod> bootMethod)
- Parameters:
bootMethod
- Selects the boot method for the virtual machine.- Returns:
- builder
-
bootMethod
public VirtualMachineArgs.Builder bootMethod(java.lang.String bootMethod)
- Parameters:
bootMethod
- Selects the boot method for the virtual machine.- Returns:
- builder
-
bootMethod
public VirtualMachineArgs.Builder bootMethod(VirtualMachineBootMethod bootMethod)
- Parameters:
bootMethod
- Selects the boot method for the virtual machine.- Returns:
- builder
-
cloudServicesNetworkAttachment
public VirtualMachineArgs.Builder cloudServicesNetworkAttachment(com.pulumi.core.Output<NetworkAttachmentArgs> cloudServicesNetworkAttachment)
- Parameters:
cloudServicesNetworkAttachment
- The cloud service network that provides platform-level services for the virtual machine.- Returns:
- builder
-
cloudServicesNetworkAttachment
public VirtualMachineArgs.Builder cloudServicesNetworkAttachment(NetworkAttachmentArgs cloudServicesNetworkAttachment)
- Parameters:
cloudServicesNetworkAttachment
- The cloud service network that provides platform-level services for the virtual machine.- Returns:
- builder
-
cpuCores
public VirtualMachineArgs.Builder cpuCores(com.pulumi.core.Output<java.lang.Double> cpuCores)
- Parameters:
cpuCores
- The number of CPU cores in the virtual machine.- Returns:
- builder
-
cpuCores
public VirtualMachineArgs.Builder cpuCores(java.lang.Double cpuCores)
- Parameters:
cpuCores
- The number of CPU cores in the virtual machine.- Returns:
- builder
-
extendedLocation
public VirtualMachineArgs.Builder extendedLocation(com.pulumi.core.Output<ExtendedLocationArgs> extendedLocation)
- Parameters:
extendedLocation
- The extended location of the cluster associated with the resource.- Returns:
- builder
-
extendedLocation
public VirtualMachineArgs.Builder extendedLocation(ExtendedLocationArgs extendedLocation)
- Parameters:
extendedLocation
- The extended location of the cluster associated with the resource.- Returns:
- builder
-
isolateEmulatorThread
public VirtualMachineArgs.Builder isolateEmulatorThread(@Nullable com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,VirtualMachineIsolateEmulatorThread>> isolateEmulatorThread)
- Parameters:
isolateEmulatorThread
- Field Deprecated, the value will be ignored if provided. The indicator of whether one of the specified CPU cores is isolated to run the emulator thread for this virtual machine.- Returns:
- builder
-
isolateEmulatorThread
public VirtualMachineArgs.Builder isolateEmulatorThread(com.pulumi.core.Either<java.lang.String,VirtualMachineIsolateEmulatorThread> isolateEmulatorThread)
- Parameters:
isolateEmulatorThread
- Field Deprecated, the value will be ignored if provided. The indicator of whether one of the specified CPU cores is isolated to run the emulator thread for this virtual machine.- Returns:
- builder
-
isolateEmulatorThread
public VirtualMachineArgs.Builder isolateEmulatorThread(java.lang.String isolateEmulatorThread)
- Parameters:
isolateEmulatorThread
- Field Deprecated, the value will be ignored if provided. The indicator of whether one of the specified CPU cores is isolated to run the emulator thread for this virtual machine.- Returns:
- builder
-
isolateEmulatorThread
public VirtualMachineArgs.Builder isolateEmulatorThread(VirtualMachineIsolateEmulatorThread isolateEmulatorThread)
- Parameters:
isolateEmulatorThread
- Field Deprecated, the value will be ignored if provided. The indicator of whether one of the specified CPU cores is isolated to run the emulator thread for this virtual machine.- Returns:
- builder
-
location
public VirtualMachineArgs.Builder location(@Nullable com.pulumi.core.Output<java.lang.String> location)
- Parameters:
location
- The geo-location where the resource lives- Returns:
- builder
-
location
public VirtualMachineArgs.Builder location(java.lang.String location)
- Parameters:
location
- The geo-location where the resource lives- Returns:
- builder
-
memorySizeGB
public VirtualMachineArgs.Builder memorySizeGB(com.pulumi.core.Output<java.lang.Double> memorySizeGB)
- Parameters:
memorySizeGB
- The memory size of the virtual machine in GB.- Returns:
- builder
-
memorySizeGB
public VirtualMachineArgs.Builder memorySizeGB(java.lang.Double memorySizeGB)
- Parameters:
memorySizeGB
- The memory size of the virtual machine in GB.- Returns:
- builder
-
networkAttachments
public VirtualMachineArgs.Builder networkAttachments(@Nullable com.pulumi.core.Output<java.util.List<NetworkAttachmentArgs>> networkAttachments)
- Parameters:
networkAttachments
- The list of network attachments to the virtual machine.- Returns:
- builder
-
networkAttachments
public VirtualMachineArgs.Builder networkAttachments(java.util.List<NetworkAttachmentArgs> networkAttachments)
- Parameters:
networkAttachments
- The list of network attachments to the virtual machine.- Returns:
- builder
-
networkAttachments
public VirtualMachineArgs.Builder networkAttachments(NetworkAttachmentArgs... networkAttachments)
- Parameters:
networkAttachments
- The list of network attachments to the virtual machine.- Returns:
- builder
-
networkData
public VirtualMachineArgs.Builder networkData(@Nullable com.pulumi.core.Output<java.lang.String> networkData)
- Parameters:
networkData
- The Base64 encoded cloud-init network data.- Returns:
- builder
-
networkData
public VirtualMachineArgs.Builder networkData(java.lang.String networkData)
- Parameters:
networkData
- The Base64 encoded cloud-init network data.- Returns:
- builder
-
placementHints
public VirtualMachineArgs.Builder placementHints(@Nullable com.pulumi.core.Output<java.util.List<VirtualMachinePlacementHintArgs>> placementHints)
- Parameters:
placementHints
- The scheduling hints for the virtual machine.- Returns:
- builder
-
placementHints
public VirtualMachineArgs.Builder placementHints(java.util.List<VirtualMachinePlacementHintArgs> placementHints)
- Parameters:
placementHints
- The scheduling hints for the virtual machine.- Returns:
- builder
-
placementHints
public VirtualMachineArgs.Builder placementHints(VirtualMachinePlacementHintArgs... placementHints)
- Parameters:
placementHints
- The scheduling hints for the virtual machine.- Returns:
- builder
-
resourceGroupName
public VirtualMachineArgs.Builder resourceGroupName(com.pulumi.core.Output<java.lang.String> resourceGroupName)
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- builder
-
resourceGroupName
public VirtualMachineArgs.Builder resourceGroupName(java.lang.String resourceGroupName)
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- builder
-
sshPublicKeys
public VirtualMachineArgs.Builder sshPublicKeys(@Nullable com.pulumi.core.Output<java.util.List<SshPublicKeyArgs>> sshPublicKeys)
- Parameters:
sshPublicKeys
- The list of ssh public keys. Each key will be added to the virtual machine using the cloud-init ssh_authorized_keys mechanism for the adminUsername.- Returns:
- builder
-
sshPublicKeys
public VirtualMachineArgs.Builder sshPublicKeys(java.util.List<SshPublicKeyArgs> sshPublicKeys)
- Parameters:
sshPublicKeys
- The list of ssh public keys. Each key will be added to the virtual machine using the cloud-init ssh_authorized_keys mechanism for the adminUsername.- Returns:
- builder
-
sshPublicKeys
public VirtualMachineArgs.Builder sshPublicKeys(SshPublicKeyArgs... sshPublicKeys)
- Parameters:
sshPublicKeys
- The list of ssh public keys. Each key will be added to the virtual machine using the cloud-init ssh_authorized_keys mechanism for the adminUsername.- Returns:
- builder
-
storageProfile
public VirtualMachineArgs.Builder storageProfile(com.pulumi.core.Output<StorageProfileArgs> storageProfile)
- Parameters:
storageProfile
- The storage profile that specifies size and other parameters about the disks related to the virtual machine.- Returns:
- builder
-
storageProfile
public VirtualMachineArgs.Builder storageProfile(StorageProfileArgs storageProfile)
- Parameters:
storageProfile
- The storage profile that specifies size and other parameters about the disks related to the virtual machine.- Returns:
- builder
-
tags
public VirtualMachineArgs.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags
- Resource tags.- Returns:
- builder
-
tags
public VirtualMachineArgs.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags
- Resource tags.- Returns:
- builder
-
userData
public VirtualMachineArgs.Builder userData(@Nullable com.pulumi.core.Output<java.lang.String> userData)
- Parameters:
userData
- The Base64 encoded cloud-init user data.- Returns:
- builder
-
userData
public VirtualMachineArgs.Builder userData(java.lang.String userData)
- Parameters:
userData
- The Base64 encoded cloud-init user data.- Returns:
- builder
-
virtioInterface
public VirtualMachineArgs.Builder virtioInterface(@Nullable com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,VirtualMachineVirtioInterfaceType>> virtioInterface)
- Parameters:
virtioInterface
- Field Deprecated, use virtualizationModel instead. The type of the virtio interface.- Returns:
- builder
-
virtioInterface
public VirtualMachineArgs.Builder virtioInterface(com.pulumi.core.Either<java.lang.String,VirtualMachineVirtioInterfaceType> virtioInterface)
- Parameters:
virtioInterface
- Field Deprecated, use virtualizationModel instead. The type of the virtio interface.- Returns:
- builder
-
virtioInterface
public VirtualMachineArgs.Builder virtioInterface(java.lang.String virtioInterface)
- Parameters:
virtioInterface
- Field Deprecated, use virtualizationModel instead. The type of the virtio interface.- Returns:
- builder
-
virtioInterface
public VirtualMachineArgs.Builder virtioInterface(VirtualMachineVirtioInterfaceType virtioInterface)
- Parameters:
virtioInterface
- Field Deprecated, use virtualizationModel instead. The type of the virtio interface.- Returns:
- builder
-
virtualMachineName
public VirtualMachineArgs.Builder virtualMachineName(@Nullable com.pulumi.core.Output<java.lang.String> virtualMachineName)
- Parameters:
virtualMachineName
- The name of the virtual machine.- Returns:
- builder
-
virtualMachineName
public VirtualMachineArgs.Builder virtualMachineName(java.lang.String virtualMachineName)
- Parameters:
virtualMachineName
- The name of the virtual machine.- Returns:
- builder
-
vmDeviceModel
public VirtualMachineArgs.Builder vmDeviceModel(@Nullable com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,VirtualMachineDeviceModelType>> vmDeviceModel)
- Parameters:
vmDeviceModel
- The type of the device model to use.- Returns:
- builder
-
vmDeviceModel
public VirtualMachineArgs.Builder vmDeviceModel(com.pulumi.core.Either<java.lang.String,VirtualMachineDeviceModelType> vmDeviceModel)
- Parameters:
vmDeviceModel
- The type of the device model to use.- Returns:
- builder
-
vmDeviceModel
public VirtualMachineArgs.Builder vmDeviceModel(java.lang.String vmDeviceModel)
- Parameters:
vmDeviceModel
- The type of the device model to use.- Returns:
- builder
-
vmDeviceModel
public VirtualMachineArgs.Builder vmDeviceModel(VirtualMachineDeviceModelType vmDeviceModel)
- Parameters:
vmDeviceModel
- The type of the device model to use.- Returns:
- builder
-
vmImage
public VirtualMachineArgs.Builder vmImage(com.pulumi.core.Output<java.lang.String> vmImage)
- Parameters:
vmImage
- The virtual machine image that is currently provisioned to the OS disk, using the full url and tag notation used to pull the image.- Returns:
- builder
-
vmImage
public VirtualMachineArgs.Builder vmImage(java.lang.String vmImage)
- Parameters:
vmImage
- The virtual machine image that is currently provisioned to the OS disk, using the full url and tag notation used to pull the image.- Returns:
- builder
-
vmImageRepositoryCredentials
public VirtualMachineArgs.Builder vmImageRepositoryCredentials(@Nullable com.pulumi.core.Output<ImageRepositoryCredentialsArgs> vmImageRepositoryCredentials)
- Parameters:
vmImageRepositoryCredentials
- The credentials used to login to the image repository that has access to the specified image.- Returns:
- builder
-
vmImageRepositoryCredentials
public VirtualMachineArgs.Builder vmImageRepositoryCredentials(ImageRepositoryCredentialsArgs vmImageRepositoryCredentials)
- Parameters:
vmImageRepositoryCredentials
- The credentials used to login to the image repository that has access to the specified image.- Returns:
- builder
-
build
public VirtualMachineArgs build()
-
-