Skip to content

Commit ff6bbc1

Browse files
author
SDKAuto
committed
CodeGen from PR 28572 in Azure/azure-rest-api-specs
Merge 6e54f92b83f66e11b0fa5c22c85eae9ee1a3294f into 1710ec7f391adbf27ec7071d63553f0f476637bc
1 parent 1042628 commit ff6bbc1

File tree

807 files changed

+166
-39948
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

807 files changed

+166
-39948
lines changed

sdk/datafactory/azure-resourcemanager-datafactory/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Release History
22

3-
## 1.0.0-beta.29 (Unreleased)
3+
## 1.0.0-beta.1 (2024-04-25)
4+
5+
- Azure Resource Manager DataFactory client library for Java. This package contains Microsoft Azure SDK for DataFactory Management SDK. The Azure Data Factory V2 management API provides a RESTful set of web services that interact with Azure Data Factory V2 services. Package tag package-2018-06. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
46

57
### Features Added
68

sdk/datafactory/azure-resourcemanager-datafactory/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Various documentation is available to help you get started
3232
<dependency>
3333
<groupId>com.azure.resourcemanager</groupId>
3434
<artifactId>azure-resourcemanager-datafactory</artifactId>
35-
<version>1.0.0-beta.28</version>
35+
<version>1.0.0-beta.29</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})

sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/DataFactoryManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ public DataFactoryManager authenticate(TokenCredential credential, AzureProfile
294294
.append("-")
295295
.append("com.azure.resourcemanager.datafactory")
296296
.append("/")
297-
.append("1.0.0-beta.28");
297+
.append("1.0.0-beta.1");
298298
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
299299
userAgentBuilder.append(" (")
300300
.append(Configuration.getGlobalConfiguration().get("java.version"))

sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDatabricksLinkedServiceTypeProperties.java

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,25 @@ public final class AzureDatabricksLinkedServiceTypeProperties {
128128
@JsonProperty(value = "policyId")
129129
private Object policyId;
130130

131+
/*
132+
* A set of optional, user-specified cluster attributes key-value pairs.
133+
*/
134+
@JsonProperty(value = "newClusterAttributes")
135+
@JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
136+
private Map<String, Object> newClusterAttributes;
137+
138+
/*
139+
* Cluster option (Fixed / Autoscaling / Single Node) to enables the cluster nodes to be fixed or automatically scale between the minimum and maximum number of nodes, based on load. Single node clusters consists of a driver but no workers. Type: string (or Expression with resultType string).
140+
*/
141+
@JsonProperty(value = "clusterOption")
142+
private Object clusterOption;
143+
144+
/*
145+
* Access mode for data secured in unity catalog. Type: string (or Expression with resultType string).
146+
*/
147+
@JsonProperty(value = "dataSecurityMode")
148+
private Object dataSecurityMode;
149+
131150
/*
132151
* The credential reference containing authentication information.
133152
*/
@@ -551,6 +570,73 @@ public AzureDatabricksLinkedServiceTypeProperties withPolicyId(Object policyId)
551570
return this;
552571
}
553572

573+
/**
574+
* Get the newClusterAttributes property: A set of optional, user-specified cluster attributes key-value pairs.
575+
*
576+
* @return the newClusterAttributes value.
577+
*/
578+
public Map<String, Object> newClusterAttributes() {
579+
return this.newClusterAttributes;
580+
}
581+
582+
/**
583+
* Set the newClusterAttributes property: A set of optional, user-specified cluster attributes key-value pairs.
584+
*
585+
* @param newClusterAttributes the newClusterAttributes value to set.
586+
* @return the AzureDatabricksLinkedServiceTypeProperties object itself.
587+
*/
588+
public AzureDatabricksLinkedServiceTypeProperties
589+
withNewClusterAttributes(Map<String, Object> newClusterAttributes) {
590+
this.newClusterAttributes = newClusterAttributes;
591+
return this;
592+
}
593+
594+
/**
595+
* Get the clusterOption property: Cluster option (Fixed / Autoscaling / Single Node) to enables the cluster nodes
596+
* to be fixed or automatically scale between the minimum and maximum number of nodes, based on load. Single node
597+
* clusters consists of a driver but no workers. Type: string (or Expression with resultType string).
598+
*
599+
* @return the clusterOption value.
600+
*/
601+
public Object clusterOption() {
602+
return this.clusterOption;
603+
}
604+
605+
/**
606+
* Set the clusterOption property: Cluster option (Fixed / Autoscaling / Single Node) to enables the cluster nodes
607+
* to be fixed or automatically scale between the minimum and maximum number of nodes, based on load. Single node
608+
* clusters consists of a driver but no workers. Type: string (or Expression with resultType string).
609+
*
610+
* @param clusterOption the clusterOption value to set.
611+
* @return the AzureDatabricksLinkedServiceTypeProperties object itself.
612+
*/
613+
public AzureDatabricksLinkedServiceTypeProperties withClusterOption(Object clusterOption) {
614+
this.clusterOption = clusterOption;
615+
return this;
616+
}
617+
618+
/**
619+
* Get the dataSecurityMode property: Access mode for data secured in unity catalog. Type: string (or Expression
620+
* with resultType string).
621+
*
622+
* @return the dataSecurityMode value.
623+
*/
624+
public Object dataSecurityMode() {
625+
return this.dataSecurityMode;
626+
}
627+
628+
/**
629+
* Set the dataSecurityMode property: Access mode for data secured in unity catalog. Type: string (or Expression
630+
* with resultType string).
631+
*
632+
* @param dataSecurityMode the dataSecurityMode value to set.
633+
* @return the AzureDatabricksLinkedServiceTypeProperties object itself.
634+
*/
635+
public AzureDatabricksLinkedServiceTypeProperties withDataSecurityMode(Object dataSecurityMode) {
636+
this.dataSecurityMode = dataSecurityMode;
637+
return this;
638+
}
639+
554640
/**
555641
* Get the credential property: The credential reference containing authentication information.
556642
*

sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDatabricksLinkedService.java

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,81 @@ public AzureDatabricksLinkedService withPolicyId(Object policyId) {
562562
return this;
563563
}
564564

565+
/**
566+
* Get the newClusterAttributes property: A set of optional, user-specified cluster attributes key-value pairs.
567+
*
568+
* @return the newClusterAttributes value.
569+
*/
570+
public Map<String, Object> newClusterAttributes() {
571+
return this.innerTypeProperties() == null ? null : this.innerTypeProperties().newClusterAttributes();
572+
}
573+
574+
/**
575+
* Set the newClusterAttributes property: A set of optional, user-specified cluster attributes key-value pairs.
576+
*
577+
* @param newClusterAttributes the newClusterAttributes value to set.
578+
* @return the AzureDatabricksLinkedService object itself.
579+
*/
580+
public AzureDatabricksLinkedService withNewClusterAttributes(Map<String, Object> newClusterAttributes) {
581+
if (this.innerTypeProperties() == null) {
582+
this.innerTypeProperties = new AzureDatabricksLinkedServiceTypeProperties();
583+
}
584+
this.innerTypeProperties().withNewClusterAttributes(newClusterAttributes);
585+
return this;
586+
}
587+
588+
/**
589+
* Get the clusterOption property: Cluster option (Fixed / Autoscaling / Single Node) to enables the cluster nodes
590+
* to be fixed or automatically scale between the minimum and maximum number of nodes, based on load. Single node
591+
* clusters consists of a driver but no workers. Type: string (or Expression with resultType string).
592+
*
593+
* @return the clusterOption value.
594+
*/
595+
public Object clusterOption() {
596+
return this.innerTypeProperties() == null ? null : this.innerTypeProperties().clusterOption();
597+
}
598+
599+
/**
600+
* Set the clusterOption property: Cluster option (Fixed / Autoscaling / Single Node) to enables the cluster nodes
601+
* to be fixed or automatically scale between the minimum and maximum number of nodes, based on load. Single node
602+
* clusters consists of a driver but no workers. Type: string (or Expression with resultType string).
603+
*
604+
* @param clusterOption the clusterOption value to set.
605+
* @return the AzureDatabricksLinkedService object itself.
606+
*/
607+
public AzureDatabricksLinkedService withClusterOption(Object clusterOption) {
608+
if (this.innerTypeProperties() == null) {
609+
this.innerTypeProperties = new AzureDatabricksLinkedServiceTypeProperties();
610+
}
611+
this.innerTypeProperties().withClusterOption(clusterOption);
612+
return this;
613+
}
614+
615+
/**
616+
* Get the dataSecurityMode property: Access mode for data secured in unity catalog. Type: string (or Expression
617+
* with resultType string).
618+
*
619+
* @return the dataSecurityMode value.
620+
*/
621+
public Object dataSecurityMode() {
622+
return this.innerTypeProperties() == null ? null : this.innerTypeProperties().dataSecurityMode();
623+
}
624+
625+
/**
626+
* Set the dataSecurityMode property: Access mode for data secured in unity catalog. Type: string (or Expression
627+
* with resultType string).
628+
*
629+
* @param dataSecurityMode the dataSecurityMode value to set.
630+
* @return the AzureDatabricksLinkedService object itself.
631+
*/
632+
public AzureDatabricksLinkedService withDataSecurityMode(Object dataSecurityMode) {
633+
if (this.innerTypeProperties() == null) {
634+
this.innerTypeProperties = new AzureDatabricksLinkedServiceTypeProperties();
635+
}
636+
this.innerTypeProperties().withDataSecurityMode(dataSecurityMode);
637+
return this;
638+
}
639+
565640
/**
566641
* Get the credential property: The credential reference containing authentication information.
567642
*

sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ActivityDependencyTests.java

Lines changed: 0 additions & 47 deletions
This file was deleted.

sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ActivityPolicyTests.java

Lines changed: 0 additions & 49 deletions
This file was deleted.

sdk/datafactory/azure-resourcemanager-datafactory/src/test/java/com/azure/resourcemanager/datafactory/generated/ActivityRunTests.java

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)