Skip to content

Commit 5903a71

Browse files
msyycSDK Automation
andauthored
[T1]kusto (Azure#14626)
* Generated from 1020cd1c67b69b44820adccb4903242870c30556 * version,CHANGELOG,test Co-authored-by: SDK Automation <sdkautomation@microsoft.com>
1 parent d7e64e1 commit 5903a71

15 files changed

+475
-423
lines changed

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

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

3+
## 0.10.0 (2020-10-23)
4+
5+
**Features**
6+
7+
- Model EventHubDataConnection has a new parameter provisioning_state
8+
- Model KeyVaultProperties has a new parameter user_identity
9+
- Model EventGridDataConnection has a new parameter provisioning_state
10+
- Model IotHubDataConnection has a new parameter provisioning_state
11+
- Model Cluster has a new parameter engine_type
12+
- Model ClusterUpdate has a new parameter engine_type
13+
314
## 0.9.0 (2020-07-13)
415

516
**Features**

sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/_kusto_management_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def __init__(
6161
super(KustoManagementClient, self).__init__(self.config.credentials, self.config)
6262

6363
client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
64-
self.api_version = '2020-06-14'
64+
self.api_version = '2020-09-18'
6565
self._serialize = Serializer(client_models)
6666
self._deserialize = Deserializer(client_models)
6767

sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/models/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@
119119
State,
120120
ProvisioningState,
121121
LanguageExtensionName,
122+
EngineType,
122123
AzureSkuName,
123124
AzureSkuTier,
124125
AzureScaleType,
@@ -200,6 +201,7 @@
200201
'State',
201202
'ProvisioningState',
202203
'LanguageExtensionName',
204+
'EngineType',
203205
'AzureSkuName',
204206
'AzureSkuTier',
205207
'AzureScaleType',

sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/models/_kusto_management_client_enums.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ class LanguageExtensionName(str, Enum):
4141
r = "R"
4242

4343

44+
class EngineType(str, Enum):
45+
46+
v2 = "V2"
47+
v3 = "V3"
48+
49+
4450
class AzureSkuName(str, Enum):
4551

4652
standard_ds13_v21_tb_ps = "Standard_DS13_v2+1TB_PS"
@@ -55,6 +61,7 @@ class AzureSkuName(str, Enum):
5561
standard_d12_v2 = "Standard_D12_v2"
5662
standard_l4s = "Standard_L4s"
5763
dev_no_sla_standard_d11_v2 = "Dev(No SLA)_Standard_D11_v2"
64+
standard_e64i_v3 = "Standard_E64i_v3"
5865
standard_e2a_v4 = "Standard_E2a_v4"
5966
standard_e4a_v4 = "Standard_E4a_v4"
6067
standard_e8a_v4 = "Standard_E8a_v4"
@@ -169,6 +176,8 @@ class IdentityType(str, Enum):
169176

170177
none = "None"
171178
system_assigned = "SystemAssigned"
179+
user_assigned = "UserAssigned"
180+
system_assigned_user_assigned = "SystemAssigned, UserAssigned"
172181

173182

174183
class DatabasePrincipalRole(str, Enum):

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

Lines changed: 48 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -264,10 +264,10 @@ class AzureSku(Model):
264264
'Standard_DS14_v2+3TB_PS', 'Standard_DS14_v2+4TB_PS', 'Standard_D13_v2',
265265
'Standard_D14_v2', 'Standard_L8s', 'Standard_L16s', 'Standard_D11_v2',
266266
'Standard_D12_v2', 'Standard_L4s', 'Dev(No SLA)_Standard_D11_v2',
267-
'Standard_E2a_v4', 'Standard_E4a_v4', 'Standard_E8a_v4',
268-
'Standard_E16a_v4', 'Standard_E8as_v4+1TB_PS', 'Standard_E8as_v4+2TB_PS',
269-
'Standard_E16as_v4+3TB_PS', 'Standard_E16as_v4+4TB_PS', 'Dev(No
270-
SLA)_Standard_E2a_v4'
267+
'Standard_E64i_v3', 'Standard_E2a_v4', 'Standard_E4a_v4',
268+
'Standard_E8a_v4', 'Standard_E16a_v4', 'Standard_E8as_v4+1TB_PS',
269+
'Standard_E8as_v4+2TB_PS', 'Standard_E16as_v4+3TB_PS',
270+
'Standard_E16as_v4+4TB_PS', 'Dev(No SLA)_Standard_E2a_v4'
271271
:type name: str or ~azure.mgmt.kusto.models.AzureSkuName
272272
:param capacity: The number of instances of the cluster.
273273
:type capacity: int
@@ -524,6 +524,8 @@ class Cluster(TrackedResource):
524524
:param enable_double_encryption: A boolean value that indicates if double
525525
encryption is enabled. Default value: False .
526526
:type enable_double_encryption: bool
527+
:param engine_type: The engine type. Possible values include: 'V2', 'V3'
528+
:type engine_type: str or ~azure.mgmt.kusto.models.EngineType
527529
"""
528530

529531
_validation = {
@@ -563,6 +565,7 @@ class Cluster(TrackedResource):
563565
'enable_purge': {'key': 'properties.enablePurge', 'type': 'bool'},
564566
'language_extensions': {'key': 'properties.languageExtensions', 'type': 'LanguageExtensionsList'},
565567
'enable_double_encryption': {'key': 'properties.enableDoubleEncryption', 'type': 'bool'},
568+
'engine_type': {'key': 'properties.engineType', 'type': 'str'},
566569
}
567570

568571
def __init__(self, **kwargs):
@@ -584,6 +587,7 @@ def __init__(self, **kwargs):
584587
self.enable_purge = kwargs.get('enable_purge', False)
585588
self.language_extensions = None
586589
self.enable_double_encryption = kwargs.get('enable_double_encryption', False)
590+
self.engine_type = kwargs.get('engine_type', None)
587591

588592

589593
class ClusterCheckNameRequest(Model):
@@ -788,6 +792,8 @@ class ClusterUpdate(Resource):
788792
:param enable_double_encryption: A boolean value that indicates if double
789793
encryption is enabled. Default value: False .
790794
:type enable_double_encryption: bool
795+
:param engine_type: The engine type. Possible values include: 'V2', 'V3'
796+
:type engine_type: str or ~azure.mgmt.kusto.models.EngineType
791797
"""
792798

793799
_validation = {
@@ -824,6 +830,7 @@ class ClusterUpdate(Resource):
824830
'enable_purge': {'key': 'properties.enablePurge', 'type': 'bool'},
825831
'language_extensions': {'key': 'properties.languageExtensions', 'type': 'LanguageExtensionsList'},
826832
'enable_double_encryption': {'key': 'properties.enableDoubleEncryption', 'type': 'bool'},
833+
'engine_type': {'key': 'properties.engineType', 'type': 'str'},
827834
}
828835

829836
def __init__(self, **kwargs):
@@ -846,6 +853,7 @@ def __init__(self, **kwargs):
846853
self.enable_purge = kwargs.get('enable_purge', False)
847854
self.language_extensions = None
848855
self.enable_double_encryption = kwargs.get('enable_double_encryption', False)
856+
self.engine_type = kwargs.get('engine_type', None)
849857

850858

851859
class Database(ProxyResource):
@@ -1311,6 +1319,11 @@ class EventGridDataConnection(DataConnection):
13111319
'Microsoft.Storage.BlobRenamed'
13121320
:type blob_storage_event_type: str or
13131321
~azure.mgmt.kusto.models.BlobStorageEventType
1322+
:ivar provisioning_state: The provisioned state of the resource. Possible
1323+
values include: 'Running', 'Creating', 'Deleting', 'Succeeded', 'Failed',
1324+
'Moving'
1325+
:vartype provisioning_state: str or
1326+
~azure.mgmt.kusto.models.ProvisioningState
13141327
"""
13151328

13161329
_validation = {
@@ -1321,6 +1334,7 @@ class EventGridDataConnection(DataConnection):
13211334
'storage_account_resource_id': {'required': True},
13221335
'event_hub_resource_id': {'required': True},
13231336
'consumer_group': {'required': True},
1337+
'provisioning_state': {'readonly': True},
13241338
}
13251339

13261340
_attribute_map = {
@@ -1337,6 +1351,7 @@ class EventGridDataConnection(DataConnection):
13371351
'data_format': {'key': 'properties.dataFormat', 'type': 'str'},
13381352
'ignore_first_record': {'key': 'properties.ignoreFirstRecord', 'type': 'bool'},
13391353
'blob_storage_event_type': {'key': 'properties.blobStorageEventType', 'type': 'str'},
1354+
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
13401355
}
13411356

13421357
def __init__(self, **kwargs):
@@ -1349,6 +1364,7 @@ def __init__(self, **kwargs):
13491364
self.data_format = kwargs.get('data_format', None)
13501365
self.ignore_first_record = kwargs.get('ignore_first_record', None)
13511366
self.blob_storage_event_type = kwargs.get('blob_storage_event_type', None)
1367+
self.provisioning_state = None
13521368
self.kind = 'EventGrid'
13531369

13541370

@@ -1393,6 +1409,11 @@ class EventHubDataConnection(DataConnection):
13931409
:param compression: The event hub messages compression type. Possible
13941410
values include: 'None', 'GZip'
13951411
:type compression: str or ~azure.mgmt.kusto.models.Compression
1412+
:ivar provisioning_state: The provisioned state of the resource. Possible
1413+
values include: 'Running', 'Creating', 'Deleting', 'Succeeded', 'Failed',
1414+
'Moving'
1415+
:vartype provisioning_state: str or
1416+
~azure.mgmt.kusto.models.ProvisioningState
13961417
"""
13971418

13981419
_validation = {
@@ -1402,6 +1423,7 @@ class EventHubDataConnection(DataConnection):
14021423
'kind': {'required': True},
14031424
'event_hub_resource_id': {'required': True},
14041425
'consumer_group': {'required': True},
1426+
'provisioning_state': {'readonly': True},
14051427
}
14061428

14071429
_attribute_map = {
@@ -1417,6 +1439,7 @@ class EventHubDataConnection(DataConnection):
14171439
'data_format': {'key': 'properties.dataFormat', 'type': 'str'},
14181440
'event_system_properties': {'key': 'properties.eventSystemProperties', 'type': '[str]'},
14191441
'compression': {'key': 'properties.compression', 'type': 'str'},
1442+
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
14201443
}
14211444

14221445
def __init__(self, **kwargs):
@@ -1428,6 +1451,7 @@ def __init__(self, **kwargs):
14281451
self.data_format = kwargs.get('data_format', None)
14291452
self.event_system_properties = kwargs.get('event_system_properties', None)
14301453
self.compression = kwargs.get('compression', None)
1454+
self.provisioning_state = None
14311455
self.kind = 'EventHub'
14321456

14331457

@@ -1481,8 +1505,11 @@ class Identity(Model):
14811505
:vartype principal_id: str
14821506
:ivar tenant_id: The tenant ID of resource.
14831507
:vartype tenant_id: str
1484-
:param type: Required. The identity type. Possible values include: 'None',
1485-
'SystemAssigned'
1508+
:param type: Required. The type of managed identity used. The type
1509+
'SystemAssigned, UserAssigned' includes both an implicitly created
1510+
identity and a set of user-assigned identities. The type 'None' will
1511+
remove all identities. Possible values include: 'None', 'SystemAssigned',
1512+
'UserAssigned', 'SystemAssigned, UserAssigned'
14861513
:type type: str or ~azure.mgmt.kusto.models.IdentityType
14871514
:param user_assigned_identities: The list of user identities associated
14881515
with the Kusto cluster. The user identity dictionary key references will
@@ -1501,7 +1528,7 @@ class Identity(Model):
15011528
_attribute_map = {
15021529
'principal_id': {'key': 'principalId', 'type': 'str'},
15031530
'tenant_id': {'key': 'tenantId', 'type': 'str'},
1504-
'type': {'key': 'type', 'type': 'IdentityType'},
1531+
'type': {'key': 'type', 'type': 'str'},
15051532
'user_assigned_identities': {'key': 'userAssignedIdentities', 'type': '{IdentityUserAssignedIdentitiesValue}'},
15061533
}
15071534

@@ -1582,6 +1609,11 @@ class IotHubDataConnection(DataConnection):
15821609
:param shared_access_policy_name: Required. The name of the share access
15831610
policy
15841611
:type shared_access_policy_name: str
1612+
:ivar provisioning_state: The provisioned state of the resource. Possible
1613+
values include: 'Running', 'Creating', 'Deleting', 'Succeeded', 'Failed',
1614+
'Moving'
1615+
:vartype provisioning_state: str or
1616+
~azure.mgmt.kusto.models.ProvisioningState
15851617
"""
15861618

15871619
_validation = {
@@ -1592,6 +1624,7 @@ class IotHubDataConnection(DataConnection):
15921624
'iot_hub_resource_id': {'required': True},
15931625
'consumer_group': {'required': True},
15941626
'shared_access_policy_name': {'required': True},
1627+
'provisioning_state': {'readonly': True},
15951628
}
15961629

15971630
_attribute_map = {
@@ -1607,6 +1640,7 @@ class IotHubDataConnection(DataConnection):
16071640
'data_format': {'key': 'properties.dataFormat', 'type': 'str'},
16081641
'event_system_properties': {'key': 'properties.eventSystemProperties', 'type': '[str]'},
16091642
'shared_access_policy_name': {'key': 'properties.sharedAccessPolicyName', 'type': 'str'},
1643+
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
16101644
}
16111645

16121646
def __init__(self, **kwargs):
@@ -1618,6 +1652,7 @@ def __init__(self, **kwargs):
16181652
self.data_format = kwargs.get('data_format', None)
16191653
self.event_system_properties = kwargs.get('event_system_properties', None)
16201654
self.shared_access_policy_name = kwargs.get('shared_access_policy_name', None)
1655+
self.provisioning_state = None
16211656
self.kind = 'IotHub'
16221657

16231658

@@ -1628,29 +1663,33 @@ class KeyVaultProperties(Model):
16281663
16291664
:param key_name: Required. The name of the key vault key.
16301665
:type key_name: str
1631-
:param key_version: Required. The version of the key vault key.
1666+
:param key_version: The version of the key vault key.
16321667
:type key_version: str
16331668
:param key_vault_uri: Required. The Uri of the key vault.
16341669
:type key_vault_uri: str
1670+
:param user_identity: The user assigned identity (ARM resource id) that
1671+
has access to the key.
1672+
:type user_identity: str
16351673
"""
16361674

16371675
_validation = {
16381676
'key_name': {'required': True},
1639-
'key_version': {'required': True},
16401677
'key_vault_uri': {'required': True},
16411678
}
16421679

16431680
_attribute_map = {
16441681
'key_name': {'key': 'keyName', 'type': 'str'},
16451682
'key_version': {'key': 'keyVersion', 'type': 'str'},
16461683
'key_vault_uri': {'key': 'keyVaultUri', 'type': 'str'},
1684+
'user_identity': {'key': 'userIdentity', 'type': 'str'},
16471685
}
16481686

16491687
def __init__(self, **kwargs):
16501688
super(KeyVaultProperties, self).__init__(**kwargs)
16511689
self.key_name = kwargs.get('key_name', None)
16521690
self.key_version = kwargs.get('key_version', None)
16531691
self.key_vault_uri = kwargs.get('key_vault_uri', None)
1692+
self.user_identity = kwargs.get('user_identity', None)
16541693

16551694

16561695
class LanguageExtension(Model):

0 commit comments

Comments
 (0)