1717 from .. import models as _models
1818
1919
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+
2040class Resource (_serialization .Model ):
2141 """Common fields that are returned in the response for all Azure Resource Manager resources.
2242
@@ -242,6 +262,8 @@ class ElasticSanProperties(_serialization.Model): # pylint: disable=too-many-in
242262 optional but if passed in, must be 'Enabled' or 'Disabled'. Known values are: "Enabled" and
243263 "Disabled".
244264 :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
245267 """
246268
247269 _validation = {
@@ -270,6 +292,7 @@ class ElasticSanProperties(_serialization.Model): # pylint: disable=too-many-in
270292 "total_size_ti_b" : {"key" : "totalSizeTiB" , "type" : "int" },
271293 "private_endpoint_connections" : {"key" : "privateEndpointConnections" , "type" : "[PrivateEndpointConnection]" },
272294 "public_network_access" : {"key" : "publicNetworkAccess" , "type" : "str" },
295+ "auto_scale_properties" : {"key" : "autoScaleProperties" , "type" : "AutoScaleProperties" },
273296 }
274297
275298 def __init__ (
@@ -280,6 +303,7 @@ def __init__(
280303 extended_capacity_size_ti_b : int ,
281304 availability_zones : Optional [List [str ]] = None ,
282305 public_network_access : Optional [Union [str , "_models.PublicNetworkAccess" ]] = None ,
306+ auto_scale_properties : Optional ["_models.AutoScaleProperties" ] = None ,
283307 ** kwargs : Any
284308 ) -> None :
285309 """
@@ -296,6 +320,8 @@ def __init__(
296320 optional but if passed in, must be 'Enabled' or 'Disabled'. Known values are: "Enabled" and
297321 "Disabled".
298322 :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
299325 """
300326 super ().__init__ (** kwargs )
301327 self .sku = sku
@@ -310,6 +336,7 @@ def __init__(
310336 self .total_size_ti_b = None
311337 self .private_endpoint_connections = None
312338 self .public_network_access = public_network_access
339+ self .auto_scale_properties = auto_scale_properties
313340
314341
315342class ElasticSanUpdate (_serialization .Model ):
@@ -355,12 +382,15 @@ class ElasticSanUpdateProperties(_serialization.Model):
355382 Value is optional but if passed in, must be 'Enabled' or 'Disabled'. Known values are:
356383 "Enabled" and "Disabled".
357384 :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
358387 """
359388
360389 _attribute_map = {
361390 "base_size_ti_b" : {"key" : "baseSizeTiB" , "type" : "int" },
362391 "extended_capacity_size_ti_b" : {"key" : "extendedCapacitySizeTiB" , "type" : "int" },
363392 "public_network_access" : {"key" : "publicNetworkAccess" , "type" : "str" },
393+ "auto_scale_properties" : {"key" : "autoScaleProperties" , "type" : "AutoScaleProperties" },
364394 }
365395
366396 def __init__ (
@@ -369,6 +399,7 @@ def __init__(
369399 base_size_ti_b : Optional [int ] = None ,
370400 extended_capacity_size_ti_b : Optional [int ] = None ,
371401 public_network_access : Optional [Union [str , "_models.PublicNetworkAccess" ]] = None ,
402+ auto_scale_properties : Optional ["_models.AutoScaleProperties" ] = None ,
372403 ** kwargs : Any
373404 ) -> None :
374405 """
@@ -380,11 +411,14 @@ def __init__(
380411 Value is optional but if passed in, must be 'Enabled' or 'Disabled'. Known values are:
381412 "Enabled" and "Disabled".
382413 :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
383416 """
384417 super ().__init__ (** kwargs )
385418 self .base_size_ti_b = base_size_ti_b
386419 self .extended_capacity_size_ti_b = extended_capacity_size_ti_b
387420 self .public_network_access = public_network_access
421+ self .auto_scale_properties = auto_scale_properties
388422
389423
390424class EncryptionIdentity (_serialization .Model ):
@@ -1202,6 +1236,59 @@ class ProxyResource(Resource):
12021236 """
12031237
12041238
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+
12051292class Sku (_serialization .Model ):
12061293 """The SKU name. Required for account creation; optional for update.
12071294
0 commit comments