@@ -290,6 +290,22 @@ def __init__(self, **kwargs):
290
290
self .max_instance_count = kwargs .get ('max_instance_count' , None )
291
291
292
292
293
+ class AutoscaleConfigurationUpdateParameter (Model ):
294
+ """The autoscale configuration update parameter.
295
+
296
+ :param autoscale: The autoscale configuration.
297
+ :type autoscale: ~azure.mgmt.hdinsight.models.Autoscale
298
+ """
299
+
300
+ _attribute_map = {
301
+ 'autoscale' : {'key' : 'autoscale' , 'type' : 'Autoscale' },
302
+ }
303
+
304
+ def __init__ (self , ** kwargs ):
305
+ super (AutoscaleConfigurationUpdateParameter , self ).__init__ (** kwargs )
306
+ self .autoscale = kwargs .get ('autoscale' , None )
307
+
308
+
293
309
class AutoscaleRecurrence (Model ):
294
310
"""Schedule-based autoscale request parameters.
295
311
@@ -657,8 +673,14 @@ class ClusterCreateProperties(Model):
657
673
:param disk_encryption_properties: The disk encryption properties.
658
674
:type disk_encryption_properties:
659
675
~azure.mgmt.hdinsight.models.DiskEncryptionProperties
676
+ :param encryption_in_transit_properties: The encryption-in-transit
677
+ properties.
678
+ :type encryption_in_transit_properties:
679
+ ~azure.mgmt.hdinsight.models.EncryptionInTransitProperties
660
680
:param min_supported_tls_version: The minimal supported tls version.
661
681
:type min_supported_tls_version: str
682
+ :param network_settings: The network settings.
683
+ :type network_settings: ~azure.mgmt.hdinsight.models.NetworkSettings
662
684
"""
663
685
664
686
_attribute_map = {
@@ -671,7 +693,9 @@ class ClusterCreateProperties(Model):
671
693
'compute_profile' : {'key' : 'computeProfile' , 'type' : 'ComputeProfile' },
672
694
'storage_profile' : {'key' : 'storageProfile' , 'type' : 'StorageProfile' },
673
695
'disk_encryption_properties' : {'key' : 'diskEncryptionProperties' , 'type' : 'DiskEncryptionProperties' },
696
+ 'encryption_in_transit_properties' : {'key' : 'encryptionInTransitProperties' , 'type' : 'EncryptionInTransitProperties' },
674
697
'min_supported_tls_version' : {'key' : 'minSupportedTlsVersion' , 'type' : 'str' },
698
+ 'network_settings' : {'key' : 'networkSettings' , 'type' : 'NetworkSettings' },
675
699
}
676
700
677
701
def __init__ (self , ** kwargs ):
@@ -685,7 +709,9 @@ def __init__(self, **kwargs):
685
709
self .compute_profile = kwargs .get ('compute_profile' , None )
686
710
self .storage_profile = kwargs .get ('storage_profile' , None )
687
711
self .disk_encryption_properties = kwargs .get ('disk_encryption_properties' , None )
712
+ self .encryption_in_transit_properties = kwargs .get ('encryption_in_transit_properties' , None )
688
713
self .min_supported_tls_version = kwargs .get ('min_supported_tls_version' , None )
714
+ self .network_settings = kwargs .get ('network_settings' , None )
689
715
690
716
691
717
class ClusterDefinition (Model ):
@@ -784,8 +810,14 @@ class ClusterGetProperties(Model):
784
810
:param disk_encryption_properties: The disk encryption properties.
785
811
:type disk_encryption_properties:
786
812
~azure.mgmt.hdinsight.models.DiskEncryptionProperties
813
+ :param encryption_in_transit_properties: The encryption-in-transit
814
+ properties.
815
+ :type encryption_in_transit_properties:
816
+ ~azure.mgmt.hdinsight.models.EncryptionInTransitProperties
787
817
:param min_supported_tls_version: The minimal supported tls version.
788
818
:type min_supported_tls_version: str
819
+ :param network_settings: The network settings.
820
+ :type network_settings: ~azure.mgmt.hdinsight.models.NetworkSettings
789
821
"""
790
822
791
823
_validation = {
@@ -807,7 +839,9 @@ class ClusterGetProperties(Model):
807
839
'errors' : {'key' : 'errors' , 'type' : '[Errors]' },
808
840
'connectivity_endpoints' : {'key' : 'connectivityEndpoints' , 'type' : '[ConnectivityEndpoint]' },
809
841
'disk_encryption_properties' : {'key' : 'diskEncryptionProperties' , 'type' : 'DiskEncryptionProperties' },
842
+ 'encryption_in_transit_properties' : {'key' : 'encryptionInTransitProperties' , 'type' : 'EncryptionInTransitProperties' },
810
843
'min_supported_tls_version' : {'key' : 'minSupportedTlsVersion' , 'type' : 'str' },
844
+ 'network_settings' : {'key' : 'networkSettings' , 'type' : 'NetworkSettings' },
811
845
}
812
846
813
847
def __init__ (self , ** kwargs ):
@@ -826,7 +860,9 @@ def __init__(self, **kwargs):
826
860
self .errors = kwargs .get ('errors' , None )
827
861
self .connectivity_endpoints = kwargs .get ('connectivity_endpoints' , None )
828
862
self .disk_encryption_properties = kwargs .get ('disk_encryption_properties' , None )
863
+ self .encryption_in_transit_properties = kwargs .get ('encryption_in_transit_properties' , None )
829
864
self .min_supported_tls_version = kwargs .get ('min_supported_tls_version' , None )
865
+ self .network_settings = kwargs .get ('network_settings' , None )
830
866
831
867
832
868
class ClusterIdentity (Model ):
@@ -1171,6 +1207,23 @@ def __init__(self, **kwargs):
1171
1207
self .msi_resource_id = kwargs .get ('msi_resource_id' , None )
1172
1208
1173
1209
1210
+ class EncryptionInTransitProperties (Model ):
1211
+ """The encryption-in-transit properties.
1212
+
1213
+ :param is_encryption_in_transit_enabled: Indicates whether or not inter
1214
+ cluster node communication is encrypted in transit. Default value: False .
1215
+ :type is_encryption_in_transit_enabled: bool
1216
+ """
1217
+
1218
+ _attribute_map = {
1219
+ 'is_encryption_in_transit_enabled' : {'key' : 'isEncryptionInTransitEnabled' , 'type' : 'bool' },
1220
+ }
1221
+
1222
+ def __init__ (self , ** kwargs ):
1223
+ super (EncryptionInTransitProperties , self ).__init__ (** kwargs )
1224
+ self .is_encryption_in_transit_enabled = kwargs .get ('is_encryption_in_transit_enabled' , False )
1225
+
1226
+
1174
1227
class ErrorResponse (Model ):
1175
1228
"""Describes the format of Error response.
1176
1229
@@ -1399,6 +1452,32 @@ def __init__(self, **kwargs):
1399
1452
self .localized_value = kwargs .get ('localized_value' , None )
1400
1453
1401
1454
1455
+ class NetworkSettings (Model ):
1456
+ """The network settings.
1457
+
1458
+ :param public_network_access: Specifies whether public network access is
1459
+ enabled for inbound and outbound, or outbound only. Possible values
1460
+ include: 'InboundAndOutbound', 'OutboundOnly'
1461
+ :type public_network_access: str or
1462
+ ~azure.mgmt.hdinsight.models.PublicNetworkAccess
1463
+ :param outbound_only_public_network_access_type: The mechanism through
1464
+ which the cluster will have outbound access to the public network.
1465
+ Possible values include: 'PublicLoadBalancer', 'UDR'
1466
+ :type outbound_only_public_network_access_type: str or
1467
+ ~azure.mgmt.hdinsight.models.OutboundOnlyPublicNetworkAccessType
1468
+ """
1469
+
1470
+ _attribute_map = {
1471
+ 'public_network_access' : {'key' : 'publicNetworkAccess' , 'type' : 'str' },
1472
+ 'outbound_only_public_network_access_type' : {'key' : 'outboundOnlyPublicNetworkAccessType' , 'type' : 'str' },
1473
+ }
1474
+
1475
+ def __init__ (self , ** kwargs ):
1476
+ super (NetworkSettings , self ).__init__ (** kwargs )
1477
+ self .public_network_access = kwargs .get ('public_network_access' , None )
1478
+ self .outbound_only_public_network_access_type = kwargs .get ('outbound_only_public_network_access_type' , None )
1479
+
1480
+
1402
1481
class Operation (Model ):
1403
1482
"""The HDInsight REST API operation.
1404
1483
0 commit comments