Skip to content

Commit a864004

Browse files
author
SDKAuto
committed
CodeGen from PR 14770 in Azure/azure-rest-api-specs
[DataFacory]Update avroCompressionCodec and orcCompressionCodec from string to object (Azure#14770) * [DataFacory]Update avroCompressionCodec and orcCompressionCodec from string to object * update json
1 parent ce1b147 commit a864004

File tree

7 files changed

+22
-98
lines changed

7 files changed

+22
-98
lines changed

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

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

3-
## 1.0.0-beta.3 (Unreleased)
3+
## 1.0.0-beta.1 (2021-06-21)
44

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).
56

67
## 1.0.0-beta.2 (2021-06-16)
78

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.2</version>
35+
<version>1.0.0-beta.3</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
@@ -249,7 +249,7 @@ public DataFactoryManager authenticate(TokenCredential credential, AzureProfile
249249
.append("-")
250250
.append("com.azure.resourcemanager.datafactory")
251251
.append("/")
252-
.append("1.0.0-beta.2");
252+
.append("1.0.0-beta.1");
253253
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
254254
userAgentBuilder
255255
.append(" (")

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

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

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

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,11 @@ public class AvroDataset extends Dataset {
2929
private DatasetLocation location;
3030

3131
/*
32-
* The avroCompressionCodec property.
32+
* The data avroCompressionCodec. Type: string (or Expression with
33+
* resultType string).
3334
*/
3435
@JsonProperty(value = "typeProperties.avroCompressionCodec")
35-
private AvroCompressionCodec avroCompressionCodec;
36+
private Object avroCompressionCodec;
3637

3738
/*
3839
* The avroCompressionLevel property.
@@ -61,21 +62,23 @@ public AvroDataset withLocation(DatasetLocation location) {
6162
}
6263

6364
/**
64-
* Get the avroCompressionCodec property: The avroCompressionCodec property.
65+
* Get the avroCompressionCodec property: The data avroCompressionCodec. Type: string (or Expression with resultType
66+
* string).
6567
*
6668
* @return the avroCompressionCodec value.
6769
*/
68-
public AvroCompressionCodec avroCompressionCodec() {
70+
public Object avroCompressionCodec() {
6971
return this.avroCompressionCodec;
7072
}
7173

7274
/**
73-
* Set the avroCompressionCodec property: The avroCompressionCodec property.
75+
* Set the avroCompressionCodec property: The data avroCompressionCodec. Type: string (or Expression with resultType
76+
* string).
7477
*
7578
* @param avroCompressionCodec the avroCompressionCodec value to set.
7679
* @return the AvroDataset object itself.
7780
*/
78-
public AvroDataset withAvroCompressionCodec(AvroCompressionCodec avroCompressionCodec) {
81+
public AvroDataset withAvroCompressionCodec(Object avroCompressionCodec) {
7982
this.avroCompressionCodec = avroCompressionCodec;
8083
return this;
8184
}

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

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

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

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,11 @@ public class OrcDataset extends Dataset {
2929
private DatasetLocation location;
3030

3131
/*
32-
* The orcCompressionCodec property.
32+
* The data orcCompressionCodec. Type: string (or Expression with
33+
* resultType string).
3334
*/
3435
@JsonProperty(value = "typeProperties.orcCompressionCodec")
35-
private OrcCompressionCodec orcCompressionCodec;
36+
private Object orcCompressionCodec;
3637

3738
/**
3839
* Get the location property: The location of the ORC data storage.
@@ -55,21 +56,23 @@ public OrcDataset withLocation(DatasetLocation location) {
5556
}
5657

5758
/**
58-
* Get the orcCompressionCodec property: The orcCompressionCodec property.
59+
* Get the orcCompressionCodec property: The data orcCompressionCodec. Type: string (or Expression with resultType
60+
* string).
5961
*
6062
* @return the orcCompressionCodec value.
6163
*/
62-
public OrcCompressionCodec orcCompressionCodec() {
64+
public Object orcCompressionCodec() {
6365
return this.orcCompressionCodec;
6466
}
6567

6668
/**
67-
* Set the orcCompressionCodec property: The orcCompressionCodec property.
69+
* Set the orcCompressionCodec property: The data orcCompressionCodec. Type: string (or Expression with resultType
70+
* string).
6871
*
6972
* @param orcCompressionCodec the orcCompressionCodec value to set.
7073
* @return the OrcDataset object itself.
7174
*/
72-
public OrcDataset withOrcCompressionCodec(OrcCompressionCodec orcCompressionCodec) {
75+
public OrcDataset withOrcCompressionCodec(Object orcCompressionCodec) {
7376
this.orcCompressionCodec = orcCompressionCodec;
7477
return this;
7578
}

0 commit comments

Comments
 (0)