ResourceSettings Class

  • java.lang.Object
    • com.microsoft.azure.management.labservices.v2018_10_15.ResourceSettings

public class ResourceSettings

Represents resource specific settings.

Constructor Summary

Constructor Description
ResourceSettings()

Method Summary

Modifier and Type Method and Description
java.lang.Integer cores()

Get the translated compute cores of the virtual machine.

java.lang.String galleryImageResourceId()

Get the resource id of the gallery image used for creating the virtual machine.

java.lang.String id()

Get the unique id of the resource setting.

java.lang.String imageName()

Get the name of the image used to created the environment setting.

ReferenceVm referenceVm()

Get details specific to Reference Vm.

ManagedLabVmSize size()

Get the size of the virtual machine.

ResourceSettings withGalleryImageResourceId(String galleryImageResourceId)

Set the resource id of the gallery image used for creating the virtual machine.

ResourceSettings withReferenceVm(ReferenceVm referenceVm)

Set details specific to Reference Vm.

ResourceSettings withSize(ManagedLabVmSize size)

Set the size of the virtual machine.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

ResourceSettings

public ResourceSettings()

Method Details

cores

public Integer cores()

Get the translated compute cores of the virtual machine.

Returns:

the cores value

galleryImageResourceId

public String galleryImageResourceId()

Get the resource id of the gallery image used for creating the virtual machine.

Returns:

the galleryImageResourceId value

id

public String id()

Get the unique id of the resource setting.

Returns:

the id value

imageName

public String imageName()

Get the name of the image used to created the environment setting.

Returns:

the imageName value

referenceVm

public ReferenceVm referenceVm()

Get details specific to Reference Vm.

Returns:

the referenceVm value

size

public ManagedLabVmSize size()

Get the size of the virtual machine. Possible values include: 'Basic', 'Standard', 'Performance'.

Returns:

the size value

withGalleryImageResourceId

public ResourceSettings withGalleryImageResourceId(String galleryImageResourceId)

Set the resource id of the gallery image used for creating the virtual machine.

Parameters:

galleryImageResourceId - the galleryImageResourceId value to set

Returns:

the ResourceSettings object itself.

withReferenceVm

public ResourceSettings withReferenceVm(ReferenceVm referenceVm)

Set details specific to Reference Vm.

Parameters:

referenceVm - the referenceVm value to set

Returns:

the ResourceSettings object itself.

withSize

public ResourceSettings withSize(ManagedLabVmSize size)

Set the size of the virtual machine. Possible values include: 'Basic', 'Standard', 'Performance'.

Parameters:

size - the size value to set

Returns:

the ResourceSettings object itself.

Applies to