Class VirtualMachineSchemaProperties
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.VirtualMachineSchemaProperties
-
public final class VirtualMachineSchemaProperties extends Object
The VirtualMachineSchemaProperties model.
-
-
Constructor Summary
Constructors Constructor Description VirtualMachineSchemaProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
address()
Get the address property: Public IP address of the virtual machine.VirtualMachineSshCredentials
administratorAccount()
Get the administratorAccount property: Admin credentials for virtual machine.Boolean
isNotebookInstanceCompute()
Get the isNotebookInstanceCompute property: Indicates whether this compute will be used for running notebooks.Integer
notebookServerPort()
Get the notebookServerPort property: Notebook server port open for ssh connections.Integer
sshPort()
Get the sshPort property: Port open for ssh connections.void
validate()
Validates the instance.String
virtualMachineSize()
Get the virtualMachineSize property: Virtual Machine size.VirtualMachineSchemaProperties
withAddress(String address)
Set the address property: Public IP address of the virtual machine.VirtualMachineSchemaProperties
withAdministratorAccount(VirtualMachineSshCredentials administratorAccount)
Set the administratorAccount property: Admin credentials for virtual machine.VirtualMachineSchemaProperties
withIsNotebookInstanceCompute(Boolean isNotebookInstanceCompute)
Set the isNotebookInstanceCompute property: Indicates whether this compute will be used for running notebooks.VirtualMachineSchemaProperties
withNotebookServerPort(Integer notebookServerPort)
Set the notebookServerPort property: Notebook server port open for ssh connections.VirtualMachineSchemaProperties
withSshPort(Integer sshPort)
Set the sshPort property: Port open for ssh connections.VirtualMachineSchemaProperties
withVirtualMachineSize(String virtualMachineSize)
Set the virtualMachineSize property: Virtual Machine size.
-
-
-
Method Detail
-
virtualMachineSize
public String virtualMachineSize()
Get the virtualMachineSize property: Virtual Machine size.- Returns:
- the virtualMachineSize value.
-
withVirtualMachineSize
public VirtualMachineSchemaProperties withVirtualMachineSize(String virtualMachineSize)
Set the virtualMachineSize property: Virtual Machine size.- Parameters:
virtualMachineSize
- the virtualMachineSize value to set.- Returns:
- the VirtualMachineSchemaProperties object itself.
-
sshPort
public Integer sshPort()
Get the sshPort property: Port open for ssh connections.- Returns:
- the sshPort value.
-
withSshPort
public VirtualMachineSchemaProperties withSshPort(Integer sshPort)
Set the sshPort property: Port open for ssh connections.- Parameters:
sshPort
- the sshPort value to set.- Returns:
- the VirtualMachineSchemaProperties object itself.
-
notebookServerPort
public Integer notebookServerPort()
Get the notebookServerPort property: Notebook server port open for ssh connections.- Returns:
- the notebookServerPort value.
-
withNotebookServerPort
public VirtualMachineSchemaProperties withNotebookServerPort(Integer notebookServerPort)
Set the notebookServerPort property: Notebook server port open for ssh connections.- Parameters:
notebookServerPort
- the notebookServerPort value to set.- Returns:
- the VirtualMachineSchemaProperties object itself.
-
address
public String address()
Get the address property: Public IP address of the virtual machine.- Returns:
- the address value.
-
withAddress
public VirtualMachineSchemaProperties withAddress(String address)
Set the address property: Public IP address of the virtual machine.- Parameters:
address
- the address value to set.- Returns:
- the VirtualMachineSchemaProperties object itself.
-
administratorAccount
public VirtualMachineSshCredentials administratorAccount()
Get the administratorAccount property: Admin credentials for virtual machine.- Returns:
- the administratorAccount value.
-
withAdministratorAccount
public VirtualMachineSchemaProperties withAdministratorAccount(VirtualMachineSshCredentials administratorAccount)
Set the administratorAccount property: Admin credentials for virtual machine.- Parameters:
administratorAccount
- the administratorAccount value to set.- Returns:
- the VirtualMachineSchemaProperties object itself.
-
isNotebookInstanceCompute
public Boolean isNotebookInstanceCompute()
Get the isNotebookInstanceCompute property: Indicates whether this compute will be used for running notebooks.- Returns:
- the isNotebookInstanceCompute value.
-
withIsNotebookInstanceCompute
public VirtualMachineSchemaProperties withIsNotebookInstanceCompute(Boolean isNotebookInstanceCompute)
Set the isNotebookInstanceCompute property: Indicates whether this compute will be used for running notebooks.- Parameters:
isNotebookInstanceCompute
- the isNotebookInstanceCompute value to set.- Returns:
- the VirtualMachineSchemaProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-