Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sdk automation/azure mgmt hdinsight #12636

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion sdk/hdinsight/azure-mgmt-hdinsight/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
# Release History

## 1.6.0 (2020-07-17)

**Features**

- Added operation group VirtualMachinesOperations

## 1.5.1 (2020-06-11)

**Bugfixes**
- Fix the List Response

- Fix the List Response

## 1.5.0 (2020-05-29)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
from ._models_py3 import ApplicationProperties
from ._models_py3 import Autoscale
from ._models_py3 import AutoscaleCapacity
from ._models_py3 import AutoscaleConfigurationUpdateParameter
from ._models_py3 import AutoscaleRecurrence
from ._models_py3 import AutoscaleSchedule
from ._models_py3 import AutoscaleTimeAndCapacity
Expand Down Expand Up @@ -44,6 +45,7 @@
from ._models_py3 import DataDisksGroups
from ._models_py3 import DiskBillingMeters
from ._models_py3 import DiskEncryptionProperties
from ._models_py3 import EncryptionInTransitProperties
from ._models_py3 import ErrorResponse, ErrorResponseException
from ._models_py3 import Errors
from ._models_py3 import ExecuteScriptActionParameters
Expand All @@ -54,6 +56,7 @@
from ._models_py3 import KafkaRestProperties
from ._models_py3 import LinuxOperatingSystemProfile
from ._models_py3 import LocalizedName
from ._models_py3 import NetworkSettings
from ._models_py3 import Operation
from ._models_py3 import OperationDisplay
from ._models_py3 import OperationResource
Expand Down Expand Up @@ -92,6 +95,7 @@
from ._models import ApplicationProperties
from ._models import Autoscale
from ._models import AutoscaleCapacity
from ._models import AutoscaleConfigurationUpdateParameter
from ._models import AutoscaleRecurrence
from ._models import AutoscaleSchedule
from ._models import AutoscaleTimeAndCapacity
Expand Down Expand Up @@ -120,6 +124,7 @@
from ._models import DataDisksGroups
from ._models import DiskBillingMeters
from ._models import DiskEncryptionProperties
from ._models import EncryptionInTransitProperties
from ._models import ErrorResponse, ErrorResponseException
from ._models import Errors
from ._models import ExecuteScriptActionParameters
Expand All @@ -130,6 +135,7 @@
from ._models import KafkaRestProperties
from ._models import LinuxOperatingSystemProfile
from ._models import LocalizedName
from ._models import NetworkSettings
from ._models import Operation
from ._models import OperationDisplay
from ._models import OperationResource
Expand Down Expand Up @@ -168,6 +174,8 @@
from ._hd_insight_management_client_enums import (
DirectoryType,
DaysOfWeek,
PublicNetworkAccess,
OutboundOnlyPublicNetworkAccessType,
OSType,
Tier,
JsonWebKeyEncryptionAlgorithm,
Expand All @@ -184,6 +192,7 @@
'ApplicationProperties',
'Autoscale',
'AutoscaleCapacity',
'AutoscaleConfigurationUpdateParameter',
'AutoscaleRecurrence',
'AutoscaleSchedule',
'AutoscaleTimeAndCapacity',
Expand Down Expand Up @@ -212,6 +221,7 @@
'DataDisksGroups',
'DiskBillingMeters',
'DiskEncryptionProperties',
'EncryptionInTransitProperties',
'ErrorResponse', 'ErrorResponseException',
'Errors',
'ExecuteScriptActionParameters',
Expand All @@ -222,6 +232,7 @@
'KafkaRestProperties',
'LinuxOperatingSystemProfile',
'LocalizedName',
'NetworkSettings',
'Operation',
'OperationDisplay',
'OperationResource',
Expand Down Expand Up @@ -259,6 +270,8 @@
'OperationPaged',
'DirectoryType',
'DaysOfWeek',
'PublicNetworkAccess',
'OutboundOnlyPublicNetworkAccessType',
'OSType',
'Tier',
'JsonWebKeyEncryptionAlgorithm',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,18 @@ class DaysOfWeek(str, Enum):
sunday = "Sunday"


class PublicNetworkAccess(str, Enum):

inbound_and_outbound = "InboundAndOutbound"
outbound_only = "OutboundOnly"


class OutboundOnlyPublicNetworkAccessType(str, Enum):

public_load_balancer = "PublicLoadBalancer"
udr = "UDR"


class OSType(str, Enum):

windows = "Windows"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,22 @@ def __init__(self, **kwargs):
self.max_instance_count = kwargs.get('max_instance_count', None)


class AutoscaleConfigurationUpdateParameter(Model):
"""The autoscale configuration update parameter.

:param autoscale: The autoscale configuration.
:type autoscale: ~azure.mgmt.hdinsight.models.Autoscale
"""

_attribute_map = {
'autoscale': {'key': 'autoscale', 'type': 'Autoscale'},
}

def __init__(self, **kwargs):
super(AutoscaleConfigurationUpdateParameter, self).__init__(**kwargs)
self.autoscale = kwargs.get('autoscale', None)


class AutoscaleRecurrence(Model):
"""Schedule-based autoscale request parameters.

Expand Down Expand Up @@ -657,8 +673,14 @@ class ClusterCreateProperties(Model):
:param disk_encryption_properties: The disk encryption properties.
:type disk_encryption_properties:
~azure.mgmt.hdinsight.models.DiskEncryptionProperties
:param encryption_in_transit_properties: The encryption-in-transit
properties.
:type encryption_in_transit_properties:
~azure.mgmt.hdinsight.models.EncryptionInTransitProperties
:param min_supported_tls_version: The minimal supported tls version.
:type min_supported_tls_version: str
:param network_settings: The network settings.
:type network_settings: ~azure.mgmt.hdinsight.models.NetworkSettings
"""

_attribute_map = {
Expand All @@ -671,7 +693,9 @@ class ClusterCreateProperties(Model):
'compute_profile': {'key': 'computeProfile', 'type': 'ComputeProfile'},
'storage_profile': {'key': 'storageProfile', 'type': 'StorageProfile'},
'disk_encryption_properties': {'key': 'diskEncryptionProperties', 'type': 'DiskEncryptionProperties'},
'encryption_in_transit_properties': {'key': 'encryptionInTransitProperties', 'type': 'EncryptionInTransitProperties'},
'min_supported_tls_version': {'key': 'minSupportedTlsVersion', 'type': 'str'},
'network_settings': {'key': 'networkSettings', 'type': 'NetworkSettings'},
}

def __init__(self, **kwargs):
Expand All @@ -685,7 +709,9 @@ def __init__(self, **kwargs):
self.compute_profile = kwargs.get('compute_profile', None)
self.storage_profile = kwargs.get('storage_profile', None)
self.disk_encryption_properties = kwargs.get('disk_encryption_properties', None)
self.encryption_in_transit_properties = kwargs.get('encryption_in_transit_properties', None)
self.min_supported_tls_version = kwargs.get('min_supported_tls_version', None)
self.network_settings = kwargs.get('network_settings', None)


class ClusterDefinition(Model):
Expand Down Expand Up @@ -784,8 +810,14 @@ class ClusterGetProperties(Model):
:param disk_encryption_properties: The disk encryption properties.
:type disk_encryption_properties:
~azure.mgmt.hdinsight.models.DiskEncryptionProperties
:param encryption_in_transit_properties: The encryption-in-transit
properties.
:type encryption_in_transit_properties:
~azure.mgmt.hdinsight.models.EncryptionInTransitProperties
:param min_supported_tls_version: The minimal supported tls version.
:type min_supported_tls_version: str
:param network_settings: The network settings.
:type network_settings: ~azure.mgmt.hdinsight.models.NetworkSettings
"""

_validation = {
Expand All @@ -807,7 +839,9 @@ class ClusterGetProperties(Model):
'errors': {'key': 'errors', 'type': '[Errors]'},
'connectivity_endpoints': {'key': 'connectivityEndpoints', 'type': '[ConnectivityEndpoint]'},
'disk_encryption_properties': {'key': 'diskEncryptionProperties', 'type': 'DiskEncryptionProperties'},
'encryption_in_transit_properties': {'key': 'encryptionInTransitProperties', 'type': 'EncryptionInTransitProperties'},
'min_supported_tls_version': {'key': 'minSupportedTlsVersion', 'type': 'str'},
'network_settings': {'key': 'networkSettings', 'type': 'NetworkSettings'},
}

def __init__(self, **kwargs):
Expand All @@ -826,7 +860,9 @@ def __init__(self, **kwargs):
self.errors = kwargs.get('errors', None)
self.connectivity_endpoints = kwargs.get('connectivity_endpoints', None)
self.disk_encryption_properties = kwargs.get('disk_encryption_properties', None)
self.encryption_in_transit_properties = kwargs.get('encryption_in_transit_properties', None)
self.min_supported_tls_version = kwargs.get('min_supported_tls_version', None)
self.network_settings = kwargs.get('network_settings', None)


class ClusterIdentity(Model):
Expand Down Expand Up @@ -1171,6 +1207,23 @@ def __init__(self, **kwargs):
self.msi_resource_id = kwargs.get('msi_resource_id', None)


class EncryptionInTransitProperties(Model):
"""The encryption-in-transit properties.

:param is_encryption_in_transit_enabled: Indicates whether or not inter
cluster node communication is encrypted in transit. Default value: False .
:type is_encryption_in_transit_enabled: bool
"""

_attribute_map = {
'is_encryption_in_transit_enabled': {'key': 'isEncryptionInTransitEnabled', 'type': 'bool'},
}

def __init__(self, **kwargs):
super(EncryptionInTransitProperties, self).__init__(**kwargs)
self.is_encryption_in_transit_enabled = kwargs.get('is_encryption_in_transit_enabled', False)


class ErrorResponse(Model):
"""Describes the format of Error response.

Expand Down Expand Up @@ -1399,6 +1452,32 @@ def __init__(self, **kwargs):
self.localized_value = kwargs.get('localized_value', None)


class NetworkSettings(Model):
"""The network settings.

:param public_network_access: Specifies whether public network access is
enabled for inbound and outbound, or outbound only. Possible values
include: 'InboundAndOutbound', 'OutboundOnly'
:type public_network_access: str or
~azure.mgmt.hdinsight.models.PublicNetworkAccess
:param outbound_only_public_network_access_type: The mechanism through
which the cluster will have outbound access to the public network.
Possible values include: 'PublicLoadBalancer', 'UDR'
:type outbound_only_public_network_access_type: str or
~azure.mgmt.hdinsight.models.OutboundOnlyPublicNetworkAccessType
"""

_attribute_map = {
'public_network_access': {'key': 'publicNetworkAccess', 'type': 'str'},
'outbound_only_public_network_access_type': {'key': 'outboundOnlyPublicNetworkAccessType', 'type': 'str'},
}

def __init__(self, **kwargs):
super(NetworkSettings, self).__init__(**kwargs)
self.public_network_access = kwargs.get('public_network_access', None)
self.outbound_only_public_network_access_type = kwargs.get('outbound_only_public_network_access_type', None)


class Operation(Model):
"""The HDInsight REST API operation.

Expand Down
Loading