diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/CHANGELOG.md b/sdk/datafactory/azure-resourcemanager-datafactory/CHANGELOG.md index 10e8c167fc697..a489ed430258a 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/CHANGELOG.md +++ b/sdk/datafactory/azure-resourcemanager-datafactory/CHANGELOG.md @@ -1,7 +1,8 @@ # Release History -## 1.0.0-beta.3 (Unreleased) +## 1.0.0-beta.1 (2021-06-18) +- 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). ## 1.0.0-beta.2 (2021-06-16) diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/README.md b/sdk/datafactory/azure-resourcemanager-datafactory/README.md index 52eb7a7baa310..06bed5fd19895 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/README.md +++ b/sdk/datafactory/azure-resourcemanager-datafactory/README.md @@ -32,7 +32,7 @@ Various documentation is available to help you get started com.azure.resourcemanager azure-resourcemanager-datafactory - 1.0.0-beta.2 + 1.0.0-beta.3 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/DataFactoryManager.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/DataFactoryManager.java index e04fe9eb8643a..99fccd16ee3f0 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/DataFactoryManager.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/DataFactoryManager.java @@ -249,7 +249,7 @@ public DataFactoryManager authenticate(TokenCredential credential, AzureProfile .append("-") .append("com.azure.resourcemanager.datafactory") .append("/") - .append("1.0.0-beta.2"); + .append("1.0.0-beta.1"); if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) { userAgentBuilder .append(" (") diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AvroCompressionCodec.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AvroCompressionCodec.java deleted file mode 100644 index 27bae592c68e5..0000000000000 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AvroCompressionCodec.java +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. - -package com.azure.resourcemanager.datafactory.models; - -import com.azure.core.util.ExpandableStringEnum; -import com.fasterxml.jackson.annotation.JsonCreator; -import java.util.Collection; - -/** Defines values for AvroCompressionCodec. */ -public final class AvroCompressionCodec extends ExpandableStringEnum { - /** Static value none for AvroCompressionCodec. */ - public static final AvroCompressionCodec NONE = fromString("none"); - - /** Static value deflate for AvroCompressionCodec. */ - public static final AvroCompressionCodec DEFLATE = fromString("deflate"); - - /** Static value snappy for AvroCompressionCodec. */ - public static final AvroCompressionCodec SNAPPY = fromString("snappy"); - - /** Static value xz for AvroCompressionCodec. */ - public static final AvroCompressionCodec XZ = fromString("xz"); - - /** Static value bzip2 for AvroCompressionCodec. */ - public static final AvroCompressionCodec BZIP2 = fromString("bzip2"); - - /** - * Creates or finds a AvroCompressionCodec from its string representation. - * - * @param name a name to look for. - * @return the corresponding AvroCompressionCodec. - */ - @JsonCreator - public static AvroCompressionCodec fromString(String name) { - return fromString(name, AvroCompressionCodec.class); - } - - /** @return known AvroCompressionCodec values. */ - public static Collection values() { - return values(AvroCompressionCodec.class); - } -} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AvroDataset.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AvroDataset.java index 7d1c7549c3312..3895aedcd3326 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AvroDataset.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AvroDataset.java @@ -29,10 +29,11 @@ public class AvroDataset extends Dataset { private DatasetLocation location; /* - * The avroCompressionCodec property. + * The data avroCompressionCodec. Type: string (or Expression with + * resultType string). */ @JsonProperty(value = "typeProperties.avroCompressionCodec") - private AvroCompressionCodec avroCompressionCodec; + private Object avroCompressionCodec; /* * The avroCompressionLevel property. @@ -61,21 +62,23 @@ public AvroDataset withLocation(DatasetLocation location) { } /** - * Get the avroCompressionCodec property: The avroCompressionCodec property. + * Get the avroCompressionCodec property: The data avroCompressionCodec. Type: string (or Expression with resultType + * string). * * @return the avroCompressionCodec value. */ - public AvroCompressionCodec avroCompressionCodec() { + public Object avroCompressionCodec() { return this.avroCompressionCodec; } /** - * Set the avroCompressionCodec property: The avroCompressionCodec property. + * Set the avroCompressionCodec property: The data avroCompressionCodec. Type: string (or Expression with resultType + * string). * * @param avroCompressionCodec the avroCompressionCodec value to set. * @return the AvroDataset object itself. */ - public AvroDataset withAvroCompressionCodec(AvroCompressionCodec avroCompressionCodec) { + public AvroDataset withAvroCompressionCodec(Object avroCompressionCodec) { this.avroCompressionCodec = avroCompressionCodec; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/OrcCompressionCodec.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/OrcCompressionCodec.java deleted file mode 100644 index 4e43912861430..0000000000000 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/OrcCompressionCodec.java +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. - -package com.azure.resourcemanager.datafactory.models; - -import com.azure.core.util.ExpandableStringEnum; -import com.fasterxml.jackson.annotation.JsonCreator; -import java.util.Collection; - -/** Defines values for OrcCompressionCodec. */ -public final class OrcCompressionCodec extends ExpandableStringEnum { - /** Static value none for OrcCompressionCodec. */ - public static final OrcCompressionCodec NONE = fromString("none"); - - /** Static value zlib for OrcCompressionCodec. */ - public static final OrcCompressionCodec ZLIB = fromString("zlib"); - - /** Static value snappy for OrcCompressionCodec. */ - public static final OrcCompressionCodec SNAPPY = fromString("snappy"); - - /** Static value lzo for OrcCompressionCodec. */ - public static final OrcCompressionCodec LZO = fromString("lzo"); - - /** - * Creates or finds a OrcCompressionCodec from its string representation. - * - * @param name a name to look for. - * @return the corresponding OrcCompressionCodec. - */ - @JsonCreator - public static OrcCompressionCodec fromString(String name) { - return fromString(name, OrcCompressionCodec.class); - } - - /** @return known OrcCompressionCodec values. */ - public static Collection values() { - return values(OrcCompressionCodec.class); - } -} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/OrcDataset.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/OrcDataset.java index d884027666c0e..39dc80ac5600f 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/OrcDataset.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/OrcDataset.java @@ -29,10 +29,11 @@ public class OrcDataset extends Dataset { private DatasetLocation location; /* - * The orcCompressionCodec property. + * The data orcCompressionCodec. Type: string (or Expression with + * resultType string). */ @JsonProperty(value = "typeProperties.orcCompressionCodec") - private OrcCompressionCodec orcCompressionCodec; + private Object orcCompressionCodec; /** * Get the location property: The location of the ORC data storage. @@ -55,21 +56,23 @@ public OrcDataset withLocation(DatasetLocation location) { } /** - * Get the orcCompressionCodec property: The orcCompressionCodec property. + * Get the orcCompressionCodec property: The data orcCompressionCodec. Type: string (or Expression with resultType + * string). * * @return the orcCompressionCodec value. */ - public OrcCompressionCodec orcCompressionCodec() { + public Object orcCompressionCodec() { return this.orcCompressionCodec; } /** - * Set the orcCompressionCodec property: The orcCompressionCodec property. + * Set the orcCompressionCodec property: The data orcCompressionCodec. Type: string (or Expression with resultType + * string). * * @param orcCompressionCodec the orcCompressionCodec value to set. * @return the OrcDataset object itself. */ - public OrcDataset withOrcCompressionCodec(OrcCompressionCodec orcCompressionCodec) { + public OrcDataset withOrcCompressionCodec(Object orcCompressionCodec) { this.orcCompressionCodec = orcCompressionCodec; return this; }