PowerState Class
- java.
lang. Object - com.
microsoft. azure. management. containerservice. PowerState
- com.
public class PowerState
Describes the Power State of the cluster.
Method Summary
Modifier and Type | Method and Description |
---|---|
Code |
code()
Get tells whether the cluster is Running or Stopped. Possible values include: 'Running', 'Stopped'. |
Power |
withCode(Code code)
Set tells whether the cluster is Running or Stopped. Possible values include: 'Running', 'Stopped'. |
Method Details
code
public Code code()
Get tells whether the cluster is Running or Stopped. Possible values include: 'Running', 'Stopped'.
Returns:
withCode
public PowerState withCode(Code code)
Set tells whether the cluster is Running or Stopped. Possible values include: 'Running', 'Stopped'.
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