-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathautoscale_befor.html
133 lines (127 loc) · 5.76 KB
/
autoscale_befor.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
TASK [dump auto scale facts before delete check mode] **************************
ok: [localhost]
TASK [debug] *******************************************************************
ok: [localhost] => {
"output3": {
"autoscales": [
{
"enabled": true,
"id": "/subscriptions/2085065b-00f8-4cba-9675-ba15f4d4ab66/resourceGroups/myRG06/providers/microsoft.insights/autoscalesettings/fretscale",
"location": "eastus",
"name": "fretscale",
"notifications": [],
"profiles": [
{
"count": "1",
"max_count": "1",
"min_count": "1",
"name": "Auto created scale condition 0",
"recurrence_days": [
"Monday"
],
"recurrence_frequency": "Week",
"recurrence_hours": [
"6"
],
"recurrence_mins": [
"0"
],
"recurrence_timezone": "China Standard Time",
"rules": [
{
"cooldown": 5.0,
"direction": "Increase",
"metric_name": "Percentage CPU",
"metric_resource_uri": "/subscriptions/2085065b-00f8-4cba-9675-ba15f4d4ab66/resourceGroups/myRG06/providers/Microsoft.Compute/virtualMachineScaleSets/testVMSSfredtest",
"operator": "GreaterThan",
"statistic": "Average",
"threshold": 70.0,
"time_aggregation": "Average",
"time_grain": 1.0,
"time_window": 10.0,
"type": "ChangeCount",
"value": "1"
}
]
}
],
"tags": {
"$type": "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage"
},
"target": "/subscriptions/2085065b-00f8-4cba-9675-ba15f4d4ab66/resourceGroups/myRG06/providers/Microsoft.Compute/virtualMachineScaleSets/testVMSSfredtest"
}
],
"changed": false,
"failed": false,
"warnings": [
"Azure API profile latest does not define an entry for MonitorManagementClient"
]
}
}
TASK [delete auto scaling (check mode)] ****************************************
changed: [localhost]
TASK [assert] ******************************************************************
ok: [localhost] => {
"changed": false,
"msg": "All assertions passed"
}
TASK [dump auto scale facts after delete check mode] ***************************
ok: [localhost]
TASK [debug] *******************************************************************
ok: [localhost] => {
"output4": {
"autoscales": [
{
"enabled": true,
"id": "/subscriptions/2085065b-00f8-4cba-9675-ba15f4d4ab66/resourceGroups/myRG06/providers/microsoft.insights/autoscalesettings/fretscale",
"location": "eastus",
"name": "fretscale",
"notifications": [],
"profiles": [
{
"count": "1",
"max_count": "1",
"min_count": "1",
"name": "Auto created scale condition 0",
"recurrence_days": [
"Monday"
],
"recurrence_frequency": "Week",
"recurrence_hours": [
"6"
],
"recurrence_mins": [
"0"
],
"recurrence_timezone": "China Standard Time",
"rules": [
{
"cooldown": 5.0,
"direction": "Increase",
"metric_name": "Percentage CPU",
"metric_resource_uri": "/subscriptions/2085065b-00f8-4cba-9675-ba15f4d4ab66/resourceGroups/myRG06/providers/Microsoft.Compute/virtualMachineScaleSets/testVMSSfredtest",
"operator": "GreaterThan",
"statistic": "Average",
"threshold": 70.0,
"time_aggregation": "Average",
"time_grain": 1.0,
"time_window": 10.0,
"type": "ChangeCount",
"value": "1"
}
]
}
],
"tags": {
"$type": "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage"
},
"target": "/subscriptions/2085065b-00f8-4cba-9675-ba15f4d4ab66/resourceGroups/myRG06/providers/Microsoft.Compute/virtualMachineScaleSets/testVMSSfredtest"
}
],
"changed": false,
"failed": false,
"warnings": [
"Azure API profile latest does not define an entry for MonitorManagementClient"
]
}
}