@@ -68,21 +68,17 @@ def test_monitor_log_analytics_workspace_update_sku(self, resource_group):
68
68
'name' : workspace_name
69
69
})
70
70
71
- self .cmd ("monitor log-analytics workspace create -g {rg} -n {name} --quota 1 --level 100 -- sku CapacityReservation " , checks = [
71
+ self .cmd ("monitor log-analytics workspace create -g {rg} -n {name} --quota 1 --sku PerGB2018 " , checks = [
72
72
self .check ('provisioningState' , 'Succeeded' ),
73
73
self .check ('retentionInDays' , 30 ),
74
- self .check ('sku.name' , 'CapacityReservation' ),
75
- self .check ('sku.capacityReservationLevel' , 100 ),
74
+ self .check ('sku.name' , 'PerGB2018' ),
76
75
self .check ('workspaceCapping.dailyQuotaGb' , 1.0 )
77
76
])
78
77
79
- import time
80
- time .sleep (60 )
81
-
82
- self .cmd ("monitor log-analytics workspace update -g {rg} -n {name} --quota 2 --level 200 --sku Standard" , checks = [
78
+ self .cmd ("monitor log-analytics workspace update -g {rg} -n {name} --quota 2 --level 100 --sku CapacityReservation" , checks = [
83
79
self .check ('provisioningState' , 'Succeeded' ),
84
- self .check ('sku.capacityReservationLevel ' , 200 ),
85
- self .check ('sku.name ' , 'Standard' ),
80
+ self .check ('sku.name ' , 'CapacityReservation' ),
81
+ self .check ('sku.capacityReservationLevel ' , 100 ),
86
82
self .check ('workspaceCapping.dailyQuotaGb' , 2.0 )
87
83
])
88
84
0 commit comments