@@ -7266,6 +7266,17 @@ class AzureDatabricksLinkedService(LinkedService): # pylint: disable=too-many-i
7266
7266
:ivar policy_id: The policy id for limiting the ability to configure clusters based on a user
7267
7267
defined set of rules. Type: string (or Expression with resultType string).
7268
7268
:vartype policy_id: JSON
7269
+ :ivar new_cluster_attributes: A set of optional, user-specified cluster attributes key-value
7270
+ pairs.
7271
+ :vartype new_cluster_attributes: dict[str, JSON]
7272
+ :ivar cluster_option: Cluster option (Fixed / Autoscaling / Single Node) to enables the cluster
7273
+ nodes to be fixed or automatically scale between the minimum and maximum number of nodes, based
7274
+ on load. Single node clusters consists of a driver but no workers. Type: string (or Expression
7275
+ with resultType string).
7276
+ :vartype cluster_option: JSON
7277
+ :ivar data_security_mode: Access mode for data secured in unity catalog. Type: string (or
7278
+ Expression with resultType string).
7279
+ :vartype data_security_mode: JSON
7269
7280
:ivar credential: The credential reference containing authentication information.
7270
7281
:vartype credential: ~azure.mgmt.datafactory.models.CredentialReference
7271
7282
"""
@@ -7300,6 +7311,9 @@ class AzureDatabricksLinkedService(LinkedService): # pylint: disable=too-many-i
7300
7311
"new_cluster_enable_elastic_disk": {"key": "typeProperties.newClusterEnableElasticDisk", "type": "object"},
7301
7312
"encrypted_credential": {"key": "typeProperties.encryptedCredential", "type": "str"},
7302
7313
"policy_id": {"key": "typeProperties.policyId", "type": "object"},
7314
+ "new_cluster_attributes": {"key": "typeProperties.newClusterAttributes", "type": "{object}"},
7315
+ "cluster_option": {"key": "typeProperties.clusterOption", "type": "object"},
7316
+ "data_security_mode": {"key": "typeProperties.dataSecurityMode", "type": "object"},
7303
7317
"credential": {"key": "typeProperties.credential", "type": "CredentialReference"},
7304
7318
}
7305
7319
@@ -7329,6 +7343,9 @@ def __init__( # pylint: disable=too-many-locals
7329
7343
new_cluster_enable_elastic_disk: Optional[JSON] = None,
7330
7344
encrypted_credential: Optional[str] = None,
7331
7345
policy_id: Optional[JSON] = None,
7346
+ new_cluster_attributes: Optional[Dict[str, JSON]] = None,
7347
+ cluster_option: Optional[JSON] = None,
7348
+ data_security_mode: Optional[JSON] = None,
7332
7349
credential: Optional["_models.CredentialReference"] = None,
7333
7350
**kwargs: Any
7334
7351
) -> None:
@@ -7408,6 +7425,17 @@ def __init__( # pylint: disable=too-many-locals
7408
7425
:keyword policy_id: The policy id for limiting the ability to configure clusters based on a
7409
7426
user defined set of rules. Type: string (or Expression with resultType string).
7410
7427
:paramtype policy_id: JSON
7428
+ :keyword new_cluster_attributes: A set of optional, user-specified cluster attributes key-value
7429
+ pairs.
7430
+ :paramtype new_cluster_attributes: dict[str, JSON]
7431
+ :keyword cluster_option: Cluster option (Fixed / Autoscaling / Single Node) to enables the
7432
+ cluster nodes to be fixed or automatically scale between the minimum and maximum number of
7433
+ nodes, based on load. Single node clusters consists of a driver but no workers. Type: string
7434
+ (or Expression with resultType string).
7435
+ :paramtype cluster_option: JSON
7436
+ :keyword data_security_mode: Access mode for data secured in unity catalog. Type: string (or
7437
+ Expression with resultType string).
7438
+ :paramtype data_security_mode: JSON
7411
7439
:keyword credential: The credential reference containing authentication information.
7412
7440
:paramtype credential: ~azure.mgmt.datafactory.models.CredentialReference
7413
7441
"""
@@ -7438,6 +7466,9 @@ def __init__( # pylint: disable=too-many-locals
7438
7466
self.new_cluster_enable_elastic_disk = new_cluster_enable_elastic_disk
7439
7467
self.encrypted_credential = encrypted_credential
7440
7468
self.policy_id = policy_id
7469
+ self.new_cluster_attributes = new_cluster_attributes
7470
+ self.cluster_option = cluster_option
7471
+ self.data_security_mode = data_security_mode
7441
7472
self.credential = credential
7442
7473
7443
7474
@@ -38765,6 +38796,8 @@ class ManagedIdentityCredential(Credential):
38765
38796
:vartype description: str
38766
38797
:ivar annotations: List of tags that can be used for describing the Credential.
38767
38798
:vartype annotations: list[JSON]
38799
+ :ivar resource_id: The resource id of user assigned managed identity.
38800
+ :vartype resource_id: str
38768
38801
"""
38769
38802
38770
38803
_validation = {
@@ -38776,6 +38809,7 @@ class ManagedIdentityCredential(Credential):
38776
38809
"type": {"key": "type", "type": "str"},
38777
38810
"description": {"key": "description", "type": "str"},
38778
38811
"annotations": {"key": "annotations", "type": "[object]"},
38812
+ "resource_id": {"key": "typeProperties.resourceId", "type": "str"},
38779
38813
}
38780
38814
38781
38815
def __init__(
@@ -38784,6 +38818,7 @@ def __init__(
38784
38818
additional_properties: Optional[Dict[str, JSON]] = None,
38785
38819
description: Optional[str] = None,
38786
38820
annotations: Optional[List[JSON]] = None,
38821
+ resource_id: Optional[str] = None,
38787
38822
**kwargs: Any
38788
38823
) -> None:
38789
38824
"""
@@ -38794,11 +38829,14 @@ def __init__(
38794
38829
:paramtype description: str
38795
38830
:keyword annotations: List of tags that can be used for describing the Credential.
38796
38831
:paramtype annotations: list[JSON]
38832
+ :keyword resource_id: The resource id of user assigned managed identity.
38833
+ :paramtype resource_id: str
38797
38834
"""
38798
38835
super().__init__(
38799
38836
additional_properties=additional_properties, description=description, annotations=annotations, **kwargs
38800
38837
)
38801
38838
self.type: str = "ManagedIdentity"
38839
+ self.resource_id = resource_id
38802
38840
38803
38841
38804
38842
class ManagedIdentityCredentialResource(CredentialResource):
@@ -57548,9 +57586,9 @@ class ScriptActivityScriptBlock(_serialization.Model):
57548
57586
57549
57587
:ivar text: The query text. Type: string (or Expression with resultType string). Required.
57550
57588
:vartype text: JSON
57551
- :ivar type: The type of the query. Type: string. Required. Known values are: "Query" and
57552
- "NonQuery" .
57553
- :vartype type: str or ~azure.mgmt.datafactory.models.ScriptType
57589
+ :ivar type: The type of the query. Please refer to the ScriptType for valid options. Type:
57590
+ string (or Expression with resultType string). Required .
57591
+ :vartype type: JSON
57554
57592
:ivar parameters: Array of script parameters. Type: array.
57555
57593
:vartype parameters: list[~azure.mgmt.datafactory.models.ScriptActivityParameter]
57556
57594
"""
@@ -57562,24 +57600,24 @@ class ScriptActivityScriptBlock(_serialization.Model):
57562
57600
57563
57601
_attribute_map = {
57564
57602
"text": {"key": "text", "type": "object"},
57565
- "type": {"key": "type", "type": "str "},
57603
+ "type": {"key": "type", "type": "object "},
57566
57604
"parameters": {"key": "parameters", "type": "[ScriptActivityParameter]"},
57567
57605
}
57568
57606
57569
57607
def __init__(
57570
57608
self,
57571
57609
*,
57572
57610
text: JSON,
57573
- type: Union[str, "_models.ScriptType"] ,
57611
+ type: JSON ,
57574
57612
parameters: Optional[List["_models.ScriptActivityParameter"]] = None,
57575
57613
**kwargs: Any
57576
57614
) -> None:
57577
57615
"""
57578
57616
:keyword text: The query text. Type: string (or Expression with resultType string). Required.
57579
57617
:paramtype text: JSON
57580
- :keyword type: The type of the query. Type: string. Required. Known values are: "Query" and
57581
- "NonQuery" .
57582
- :paramtype type: str or ~azure.mgmt.datafactory.models.ScriptType
57618
+ :keyword type: The type of the query. Please refer to the ScriptType for valid options. Type:
57619
+ string (or Expression with resultType string). Required .
57620
+ :paramtype type: JSON
57583
57621
:keyword parameters: Array of script parameters. Type: array.
57584
57622
:paramtype parameters: list[~azure.mgmt.datafactory.models.ScriptActivityParameter]
57585
57623
"""
0 commit comments