File tree Expand file tree Collapse file tree 2 files changed +5
-16
lines changed
Elastacloud.AzureManagement.Fluent Expand file tree Collapse file tree 2 files changed +5
-16
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ private void CheckVmDeploymentIsRunning(List<LinuxVirtualMachineProperties> prop
95
95
{
96
96
// 1. Get the number of vms in the role and create a binary list
97
97
var linuxProperties = new Dictionary < string , RoleInstanceStatus > ( ) ;
98
- properties . ForEach ( property => linuxProperties . Add ( property . HostName , RoleInstanceStatus . RoleStateUnknown ) ) ;
98
+ properties . ForEach ( property => linuxProperties . Add ( property . HostName , RoleInstanceStatus . Unknown ) ) ;
99
99
var vmProperties = new LinuxVirtualMachineProperties ( ) { CloudServiceName = properties [ 0 ] . CloudServiceName } ;
100
100
// 2. Set the value to if the vm is running or not
101
101
int index = 0 ;
Original file line number Diff line number Diff line change @@ -10,36 +10,25 @@ namespace Elastacloud.AzureManagement.Fluent.Types
10
10
{
11
11
public enum RoleInstanceStatus
12
12
{
13
- RoleStateUnknown ,
14
- // ReSharper disable InconsistentNaming
13
+ Unknown ,
15
14
CreatingVM ,
16
- // ReSharper restore InconsistentNaming
17
- // ReSharper disable InconsistentNaming
18
15
StartingVM ,
19
- // ReSharper restore InconsistentNaming
20
16
CreatingRole ,
21
17
StartingRole ,
22
18
ReadyRole ,
23
19
BusyRole ,
24
20
StoppingRole ,
25
- // ReSharper disable InconsistentNaming
26
21
StoppingVM ,
27
- // ReSharper restore InconsistentNaming
28
- // ReSharper disable InconsistentNaming
29
22
DeletingVM ,
30
- // ReSharper restore InconsistentNaming
31
- // ReSharper disable InconsistentNaming
32
23
StoppedVM ,
33
- // ReSharper restore InconsistentNaming
34
24
RestartingRole ,
35
25
CyclingRole ,
36
26
FailedStartingRole ,
37
- // ReSharper disable InconsistentNaming
38
27
FailedStartingVM ,
39
- // ReSharper restore InconsistentNaming
40
- UnresponsiveRole ,
28
+ UnresponsiveRole ,
41
29
StoppedDeallocated ,
42
30
Preparing ,
43
- Unknown
44
31
}
32
+
33
+
45
34
}
You can’t perform that action at this time.
0 commit comments