ApplicableScheduleInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. devtestlabs. fluent. models. ApplicableScheduleInner
- com.
- com.
- com.
public final class ApplicableScheduleInner
extends Resource
Schedules applicable to a virtual machine. The schedules may have been defined on a VM or on lab level.
Constructor Summary
Constructor | Description |
---|---|
ApplicableScheduleInner() |
Creates an instance of Applicable |
Method Summary
Modifier and Type | Method and Description |
---|---|
Schedule |
labVmsShutdown()
Get the lab |
Schedule |
labVmsStartup()
Get the lab |
void |
validate()
Validates the instance. |
Applicable |
withLabVmsShutdown(ScheduleInner labVmsShutdown)
Set the lab |
Applicable |
withLabVmsStartup(ScheduleInner labVmsStartup)
Set the lab |
Applicable |
withLocation(String location) |
Applicable |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
ApplicableScheduleInner
public ApplicableScheduleInner()
Creates an instance of ApplicableScheduleInner class.
Method Details
labVmsShutdown
public ScheduleInner labVmsShutdown()
Get the labVmsShutdown property: The auto-shutdown schedule, if one has been set at the lab or lab resource level.
Returns:
labVmsStartup
public ScheduleInner labVmsStartup()
Get the labVmsStartup property: The auto-startup schedule, if one has been set at the lab or lab resource level.
Returns:
validate
public void validate()
Validates the instance.
withLabVmsShutdown
public ApplicableScheduleInner withLabVmsShutdown(ScheduleInner labVmsShutdown)
Set the labVmsShutdown property: The auto-shutdown schedule, if one has been set at the lab or lab resource level.
Parameters:
Returns:
withLabVmsStartup
public ApplicableScheduleInner withLabVmsStartup(ScheduleInner labVmsStartup)
Set the labVmsStartup property: The auto-startup schedule, if one has been set at the lab or lab resource level.
Parameters:
Returns:
withLocation
public ApplicableScheduleInner withLocation(String location)
Overrides:
ApplicableScheduleInner.withLocation(String location)Parameters:
withTags
public ApplicableScheduleInner withTags(Map
Overrides:
ApplicableScheduleInner.withTags(Map<String,String> tags)Parameters:
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