RoleInstanceStatus Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The current status of a role instance.
public static class RoleInstanceStatus
type RoleInstanceStatus = class
Public Class RoleInstanceStatus
- Inheritance
-
RoleInstanceStatus
Fields
BusyRole |
The role instance is unavailable for requests. This state is usually generated while the role is being created or stopped. |
CreatingRole |
Azure is creating resources for the role. |
CreatingVM |
The host agent is currently creating resources for the Virtual Machine. |
CyclingRole |
The role has continually crashed after being started by Azure. This status indicates that there is a problem with the role that prevents it from starting, and may be generated after the StartingRole and ReadyRole statuses are received. The problem in the role must be found and corrected before the role can be started. The InstanceStateDetails and InstanceErrorCode fields can hold information about the role error that caused this state, which may be useful for identifying and debugging the problem. |
DeletingVM |
The Virtual Machine is being deleted by the host agent. |
FailedStartingRole |
The role has continually failed to start. This status indicates that there is a problem with the role that prevents it from starting, and may be generated after the process returns StartingRole. The problem in the role must be found and corrected before the role can be started. The InstanceStateDetails and InstanceErrorCode fields can hold information about the role error that caused this state, which may be useful for identifying and debugging the problem. |
FailedStartingVM |
An Azure or container error is preventing the Virtual Machine from starting. This status is generated by Azure, and does not indicate an error with the role. It may be generated after the StartingRole state. |
Provisioning |
Azure is provisioning the role. |
ReadyRole |
The role instance has started and is ready to be used. |
RestartingRole |
The role has unexpectedly stopped or has failed to start. This status indicates that there is a problem with the role that is causing it to crash or is preventing it from starting, which must be corrected before the role can be started. The InstanceStateDetails and InstanceErrorCode fields can hold information about the role error that caused this state, which may be useful for identifying and debugging the problem. |
RoleStateUnknown |
The role state is currently unknown. The state should automatically be resolved once the role state is detected, so no action is required. |
StartingRole |
Azure is starting the role. |
StartingVM |
The host agent is starting the Virtual Machine. |
StoppedVM |
The Virtual Machine is not running. This is the final state of the shutdown process, and no other status messages should be received after StoppedVM. |
StoppingRole |
Azure is stopping the role. |
StoppingVM |
The host agent is stopping the Virtual Machine. This status also indicates that the role has already been stopped. |
UnresponsiveRole |
The role has timed out before receiving a status message and is not responding to requests. |