ResourceSettingsFragment Class

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

public class ResourceSettingsFragment

Represents resource specific settings.

Constructor Summary

Constructor Description
ResourceSettingsFragment()

Method Summary

Modifier and Type Method and Description
java.lang.String galleryImageResourceId()

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

ReferenceVmFragment referenceVm()

Get details specific to Reference Vm.

ManagedLabVmSize size()

Get the size of the virtual machine.

ResourceSettingsFragment withGalleryImageResourceId(String galleryImageResourceId)

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

ResourceSettingsFragment withReferenceVm(ReferenceVmFragment referenceVm)

Set details specific to Reference Vm.

ResourceSettingsFragment 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

ResourceSettingsFragment

public ResourceSettingsFragment()

Method Details

galleryImageResourceId

public String galleryImageResourceId()

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

Returns:

the galleryImageResourceId value

referenceVm

public ReferenceVmFragment 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 ResourceSettingsFragment 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 ResourceSettingsFragment object itself.

withReferenceVm

public ResourceSettingsFragment withReferenceVm(ReferenceVmFragment referenceVm)

Set details specific to Reference Vm.

Parameters:

referenceVm - the referenceVm value to set

Returns:

the ResourceSettingsFragment object itself.

withSize

public ResourceSettingsFragment 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 ResourceSettingsFragment object itself.

Applies to