Skip to content

Commit 8184486

Browse files
chunyu3SDK AutomationAutorestCI
authored
Hdinsight release 2018 06 (Azure#13137)
* Generated from c536753fa63de317ac7cbfeffd88832ef889ee44 Add encryptionAtHost property * recording hdinsight test * Packaging update of azure-mgmt-hdinsight Co-authored-by: SDK Automation <[email protected]> Co-authored-by: Azure SDK Bot <[email protected]>
1 parent c1e7a5a commit 8184486

24 files changed

+6112
-6687
lines changed

sdk/hdinsight/azure-mgmt-hdinsight/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Release History
22

3+
## 1.7.0 (2020-08-13)
4+
5+
**Features**
6+
7+
- Model DiskEncryptionProperties has a new parameter encryption_at_host
8+
39
## 1.6.0 (2020-07-17)
410

511
**Features**

sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/models/_models.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1188,6 +1188,9 @@ class DiskEncryptionProperties(Model):
11881188
:param msi_resource_id: Resource ID of Managed Identity that is used to
11891189
access the key vault.
11901190
:type msi_resource_id: str
1191+
:param encryption_at_host: Indicates whether or not resource disk
1192+
encryption is enabled. Default value: False .
1193+
:type encryption_at_host: bool
11911194
"""
11921195

11931196
_attribute_map = {
@@ -1196,6 +1199,7 @@ class DiskEncryptionProperties(Model):
11961199
'key_version': {'key': 'keyVersion', 'type': 'str'},
11971200
'encryption_algorithm': {'key': 'encryptionAlgorithm', 'type': 'str'},
11981201
'msi_resource_id': {'key': 'msiResourceId', 'type': 'str'},
1202+
'encryption_at_host': {'key': 'encryptionAtHost', 'type': 'bool'},
11991203
}
12001204

12011205
def __init__(self, **kwargs):
@@ -1205,6 +1209,7 @@ def __init__(self, **kwargs):
12051209
self.key_version = kwargs.get('key_version', None)
12061210
self.encryption_algorithm = kwargs.get('encryption_algorithm', None)
12071211
self.msi_resource_id = kwargs.get('msi_resource_id', None)
1212+
self.encryption_at_host = kwargs.get('encryption_at_host', False)
12081213

12091214

12101215
class EncryptionInTransitProperties(Model):

sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/models/_models_py3.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1188,6 +1188,9 @@ class DiskEncryptionProperties(Model):
11881188
:param msi_resource_id: Resource ID of Managed Identity that is used to
11891189
access the key vault.
11901190
:type msi_resource_id: str
1191+
:param encryption_at_host: Indicates whether or not resource disk
1192+
encryption is enabled. Default value: False .
1193+
:type encryption_at_host: bool
11911194
"""
11921195

11931196
_attribute_map = {
@@ -1196,15 +1199,17 @@ class DiskEncryptionProperties(Model):
11961199
'key_version': {'key': 'keyVersion', 'type': 'str'},
11971200
'encryption_algorithm': {'key': 'encryptionAlgorithm', 'type': 'str'},
11981201
'msi_resource_id': {'key': 'msiResourceId', 'type': 'str'},
1202+
'encryption_at_host': {'key': 'encryptionAtHost', 'type': 'bool'},
11991203
}
12001204

1201-
def __init__(self, *, vault_uri: str=None, key_name: str=None, key_version: str=None, encryption_algorithm=None, msi_resource_id: str=None, **kwargs) -> None:
1205+
def __init__(self, *, vault_uri: str=None, key_name: str=None, key_version: str=None, encryption_algorithm=None, msi_resource_id: str=None, encryption_at_host: bool=False, **kwargs) -> None:
12021206
super(DiskEncryptionProperties, self).__init__(**kwargs)
12031207
self.vault_uri = vault_uri
12041208
self.key_name = key_name
12051209
self.key_version = key_version
12061210
self.encryption_algorithm = encryption_algorithm
12071211
self.msi_resource_id = msi_resource_id
1212+
self.encryption_at_host = encryption_at_host
12081213

12091214

12101215
class EncryptionInTransitProperties(Model):

sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
# regenerated.
1010
# --------------------------------------------------------------------------
1111

12-
VERSION = "1.6.0"
12+
VERSION = "1.7.0"
1313

sdk/hdinsight/azure-mgmt-hdinsight/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
pass
3737

3838
# Version extraction inspired from 'requests'
39-
with open(os.path.join(package_folder_path, 'version.py')
39+
with open(os.path.join(package_folder_path, 'version.py')
4040
if os.path.exists(os.path.join(package_folder_path, 'version.py'))
4141
else os.path.join(package_folder_path, '_version.py'), 'r') as fd:
4242
version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]',

sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_humboldt_cluster.yaml

Lines changed: 763 additions & 105 deletions
Large diffs are not rendered by default.

sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_humboldt_cluster_with_custom_vm_sizes.yaml

Lines changed: 109 additions & 156 deletions
Large diffs are not rendered by default.

sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_humboldt_cluster_with_premium_tier.yaml

Lines changed: 115 additions & 115 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)