ResourceSettings Class
- java.
lang. Object - com.
microsoft. azure. management. labservices. v2018_10_15.ResourceSettings
- com.
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. |
Reference |
referenceVm()
Get details specific to Reference Vm. |
Managed |
size()
Get the size of the virtual machine. |
Resource |
withGalleryImageResourceId(String galleryImageResourceId)
Set the resource id of the gallery image used for creating the virtual machine. |
Resource |
withReferenceVm(ReferenceVm referenceVm)
Set details specific to Reference Vm. |
Resource |
withSize(ManagedLabVmSize size)
Set the size of the virtual machine. |
Methods inherited from java.lang.Object
Constructor Details
ResourceSettings
public ResourceSettings()
Method Details
cores
public Integer cores()
Get the translated compute cores of the virtual machine.
Returns:
galleryImageResourceId
public String galleryImageResourceId()
Get the resource id of the gallery image used for creating the virtual machine.
Returns:
id
public String id()
Get the unique id of the resource setting.
Returns:
imageName
public String imageName()
Get the name of the image used to created the environment setting.
Returns:
referenceVm
public ReferenceVm referenceVm()
Get details specific to Reference Vm.
Returns:
size
public ManagedLabVmSize size()
Get the size of the virtual machine. Possible values include: 'Basic', 'Standard', 'Performance'.
Returns:
withGalleryImageResourceId
public ResourceSettings withGalleryImageResourceId(String galleryImageResourceId)
Set the resource id of the gallery image used for creating the virtual machine.
Parameters:
Returns:
withReferenceVm
public ResourceSettings withReferenceVm(ReferenceVm referenceVm)
Set details specific to Reference Vm.
Parameters:
Returns:
withSize
public ResourceSettings withSize(ManagedLabVmSize size)
Set the size of the virtual machine. Possible values include: 'Basic', 'Standard', 'Performance'.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for