17
17
from .. import models as _models
18
18
19
19
20
+ class AutoScaleProperties (_serialization .Model ):
21
+ """The auto scale settings on Elastic San Appliance.
22
+
23
+ :ivar scale_up_properties: Scale up settings on Elastic San Appliance.
24
+ :vartype scale_up_properties: ~azure.mgmt.elasticsan.models.ScaleUpProperties
25
+ """
26
+
27
+ _attribute_map = {
28
+ "scale_up_properties" : {"key" : "scaleUpProperties" , "type" : "ScaleUpProperties" },
29
+ }
30
+
31
+ def __init__ (self , * , scale_up_properties : Optional ["_models.ScaleUpProperties" ] = None , ** kwargs : Any ) -> None :
32
+ """
33
+ :keyword scale_up_properties: Scale up settings on Elastic San Appliance.
34
+ :paramtype scale_up_properties: ~azure.mgmt.elasticsan.models.ScaleUpProperties
35
+ """
36
+ super ().__init__ (** kwargs )
37
+ self .scale_up_properties = scale_up_properties
38
+
39
+
20
40
class Resource (_serialization .Model ):
21
41
"""Common fields that are returned in the response for all Azure Resource Manager resources.
22
42
@@ -242,6 +262,8 @@ class ElasticSanProperties(_serialization.Model): # pylint: disable=too-many-in
242
262
optional but if passed in, must be 'Enabled' or 'Disabled'. Known values are: "Enabled" and
243
263
"Disabled".
244
264
:vartype public_network_access: str or ~azure.mgmt.elasticsan.models.PublicNetworkAccess
265
+ :ivar auto_scale_properties: Auto Scale Properties for Elastic San Appliance.
266
+ :vartype auto_scale_properties: ~azure.mgmt.elasticsan.models.AutoScaleProperties
245
267
"""
246
268
247
269
_validation = {
@@ -270,6 +292,7 @@ class ElasticSanProperties(_serialization.Model): # pylint: disable=too-many-in
270
292
"total_size_ti_b" : {"key" : "totalSizeTiB" , "type" : "int" },
271
293
"private_endpoint_connections" : {"key" : "privateEndpointConnections" , "type" : "[PrivateEndpointConnection]" },
272
294
"public_network_access" : {"key" : "publicNetworkAccess" , "type" : "str" },
295
+ "auto_scale_properties" : {"key" : "autoScaleProperties" , "type" : "AutoScaleProperties" },
273
296
}
274
297
275
298
def __init__ (
@@ -280,6 +303,7 @@ def __init__(
280
303
extended_capacity_size_ti_b : int ,
281
304
availability_zones : Optional [List [str ]] = None ,
282
305
public_network_access : Optional [Union [str , "_models.PublicNetworkAccess" ]] = None ,
306
+ auto_scale_properties : Optional ["_models.AutoScaleProperties" ] = None ,
283
307
** kwargs : Any
284
308
) -> None :
285
309
"""
@@ -296,6 +320,8 @@ def __init__(
296
320
optional but if passed in, must be 'Enabled' or 'Disabled'. Known values are: "Enabled" and
297
321
"Disabled".
298
322
:paramtype public_network_access: str or ~azure.mgmt.elasticsan.models.PublicNetworkAccess
323
+ :keyword auto_scale_properties: Auto Scale Properties for Elastic San Appliance.
324
+ :paramtype auto_scale_properties: ~azure.mgmt.elasticsan.models.AutoScaleProperties
299
325
"""
300
326
super ().__init__ (** kwargs )
301
327
self .sku = sku
@@ -310,6 +336,7 @@ def __init__(
310
336
self .total_size_ti_b = None
311
337
self .private_endpoint_connections = None
312
338
self .public_network_access = public_network_access
339
+ self .auto_scale_properties = auto_scale_properties
313
340
314
341
315
342
class ElasticSanUpdate (_serialization .Model ):
@@ -355,12 +382,15 @@ class ElasticSanUpdateProperties(_serialization.Model):
355
382
Value is optional but if passed in, must be 'Enabled' or 'Disabled'. Known values are:
356
383
"Enabled" and "Disabled".
357
384
:vartype public_network_access: str or ~azure.mgmt.elasticsan.models.PublicNetworkAccess
385
+ :ivar auto_scale_properties: Auto Scale Properties for Elastic San Appliance.
386
+ :vartype auto_scale_properties: ~azure.mgmt.elasticsan.models.AutoScaleProperties
358
387
"""
359
388
360
389
_attribute_map = {
361
390
"base_size_ti_b" : {"key" : "baseSizeTiB" , "type" : "int" },
362
391
"extended_capacity_size_ti_b" : {"key" : "extendedCapacitySizeTiB" , "type" : "int" },
363
392
"public_network_access" : {"key" : "publicNetworkAccess" , "type" : "str" },
393
+ "auto_scale_properties" : {"key" : "autoScaleProperties" , "type" : "AutoScaleProperties" },
364
394
}
365
395
366
396
def __init__ (
@@ -369,6 +399,7 @@ def __init__(
369
399
base_size_ti_b : Optional [int ] = None ,
370
400
extended_capacity_size_ti_b : Optional [int ] = None ,
371
401
public_network_access : Optional [Union [str , "_models.PublicNetworkAccess" ]] = None ,
402
+ auto_scale_properties : Optional ["_models.AutoScaleProperties" ] = None ,
372
403
** kwargs : Any
373
404
) -> None :
374
405
"""
@@ -380,11 +411,14 @@ def __init__(
380
411
Value is optional but if passed in, must be 'Enabled' or 'Disabled'. Known values are:
381
412
"Enabled" and "Disabled".
382
413
:paramtype public_network_access: str or ~azure.mgmt.elasticsan.models.PublicNetworkAccess
414
+ :keyword auto_scale_properties: Auto Scale Properties for Elastic San Appliance.
415
+ :paramtype auto_scale_properties: ~azure.mgmt.elasticsan.models.AutoScaleProperties
383
416
"""
384
417
super ().__init__ (** kwargs )
385
418
self .base_size_ti_b = base_size_ti_b
386
419
self .extended_capacity_size_ti_b = extended_capacity_size_ti_b
387
420
self .public_network_access = public_network_access
421
+ self .auto_scale_properties = auto_scale_properties
388
422
389
423
390
424
class EncryptionIdentity (_serialization .Model ):
@@ -1202,6 +1236,59 @@ class ProxyResource(Resource):
1202
1236
"""
1203
1237
1204
1238
1239
+ class ScaleUpProperties (_serialization .Model ):
1240
+ """Scale up properties on Elastic San Appliance.
1241
+
1242
+ :ivar unused_size_ti_b: Unused size on Elastic San appliance in TiB.
1243
+ :vartype unused_size_ti_b: int
1244
+ :ivar increase_capacity_unit_by_ti_b: Unit to increase Capacity Unit on Elastic San appliance
1245
+ in TiB.
1246
+ :vartype increase_capacity_unit_by_ti_b: int
1247
+ :ivar capacity_unit_scale_up_limit_ti_b: Maximum scale up size on Elastic San appliance in TiB.
1248
+ :vartype capacity_unit_scale_up_limit_ti_b: int
1249
+ :ivar auto_scale_policy_enforcement: Enable or Disable scale up setting on Elastic San
1250
+ Appliance. Known values are: "None", "Enabled", and "Disabled".
1251
+ :vartype auto_scale_policy_enforcement: str or
1252
+ ~azure.mgmt.elasticsan.models.AutoScalePolicyEnforcement
1253
+ """
1254
+
1255
+ _attribute_map = {
1256
+ "unused_size_ti_b" : {"key" : "unusedSizeTiB" , "type" : "int" },
1257
+ "increase_capacity_unit_by_ti_b" : {"key" : "increaseCapacityUnitByTiB" , "type" : "int" },
1258
+ "capacity_unit_scale_up_limit_ti_b" : {"key" : "capacityUnitScaleUpLimitTiB" , "type" : "int" },
1259
+ "auto_scale_policy_enforcement" : {"key" : "autoScalePolicyEnforcement" , "type" : "str" },
1260
+ }
1261
+
1262
+ def __init__ (
1263
+ self ,
1264
+ * ,
1265
+ unused_size_ti_b : Optional [int ] = None ,
1266
+ increase_capacity_unit_by_ti_b : Optional [int ] = None ,
1267
+ capacity_unit_scale_up_limit_ti_b : Optional [int ] = None ,
1268
+ auto_scale_policy_enforcement : Optional [Union [str , "_models.AutoScalePolicyEnforcement" ]] = None ,
1269
+ ** kwargs : Any
1270
+ ) -> None :
1271
+ """
1272
+ :keyword unused_size_ti_b: Unused size on Elastic San appliance in TiB.
1273
+ :paramtype unused_size_ti_b: int
1274
+ :keyword increase_capacity_unit_by_ti_b: Unit to increase Capacity Unit on Elastic San
1275
+ appliance in TiB.
1276
+ :paramtype increase_capacity_unit_by_ti_b: int
1277
+ :keyword capacity_unit_scale_up_limit_ti_b: Maximum scale up size on Elastic San appliance in
1278
+ TiB.
1279
+ :paramtype capacity_unit_scale_up_limit_ti_b: int
1280
+ :keyword auto_scale_policy_enforcement: Enable or Disable scale up setting on Elastic San
1281
+ Appliance. Known values are: "None", "Enabled", and "Disabled".
1282
+ :paramtype auto_scale_policy_enforcement: str or
1283
+ ~azure.mgmt.elasticsan.models.AutoScalePolicyEnforcement
1284
+ """
1285
+ super ().__init__ (** kwargs )
1286
+ self .unused_size_ti_b = unused_size_ti_b
1287
+ self .increase_capacity_unit_by_ti_b = increase_capacity_unit_by_ti_b
1288
+ self .capacity_unit_scale_up_limit_ti_b = capacity_unit_scale_up_limit_ti_b
1289
+ self .auto_scale_policy_enforcement = auto_scale_policy_enforcement
1290
+
1291
+
1205
1292
class Sku (_serialization .Model ):
1206
1293
"""The SKU name. Required for account creation; optional for update.
1207
1294
0 commit comments