diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/CHANGELOG.md b/sdk/datafactory/azure-resourcemanager-datafactory/CHANGELOG.md index e9cfc0202abf..2c4e2b50e2c1 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/CHANGELOG.md +++ b/sdk/datafactory/azure-resourcemanager-datafactory/CHANGELOG.md @@ -1,5 +1,9 @@ # Release History +## 1.0.0-beta.1 (2022-06-20) + +- 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.16 (2022-06-08) - 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). 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 29933c680508..22ca53205881 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 @@ -286,7 +286,7 @@ public DataFactoryManager authenticate(TokenCredential credential, AzureProfile .append("-") .append("com.azure.resourcemanager.datafactory") .append("/") - .append("1.0.0-beta.16"); + .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/fluent/models/SapOdpLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SapOdpLinkedServiceTypeProperties.java new file mode 100644 index 000000000000..6c4bdc6a80b8 --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SapOdpLinkedServiceTypeProperties.java @@ -0,0 +1,545 @@ +// 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.fluent.models; + +import com.azure.core.annotation.Fluent; +import com.azure.resourcemanager.datafactory.models.SecretBase; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** Properties specific to this linked service type. */ +@Fluent +public final class SapOdpLinkedServiceTypeProperties { + /* + * Host name of the SAP instance where the table is located. Type: string + * (or Expression with resultType string). + */ + @JsonProperty(value = "server") + private Object server; + + /* + * System number of the SAP system where the table is located. (Usually a + * two-digit decimal number represented as a string.) Type: string (or + * Expression with resultType string). + */ + @JsonProperty(value = "systemNumber") + private Object systemNumber; + + /* + * Client ID of the client on the SAP system where the table is located. + * (Usually a three-digit decimal number represented as a string) Type: + * string (or Expression with resultType string). + */ + @JsonProperty(value = "clientId") + private Object clientId; + + /* + * Language of the SAP system where the table is located. The default value + * is EN. Type: string (or Expression with resultType string). + */ + @JsonProperty(value = "language") + private Object language; + + /* + * SystemID of the SAP system where the table is located. Type: string (or + * Expression with resultType string). + */ + @JsonProperty(value = "systemId") + private Object systemId; + + /* + * Username to access the SAP server where the table is located. Type: + * string (or Expression with resultType string). + */ + @JsonProperty(value = "userName") + private Object username; + + /* + * Password to access the SAP server where the table is located. + */ + @JsonProperty(value = "password") + private SecretBase password; + + /* + * The hostname of the SAP Message Server. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "messageServer") + private Object messageServer; + + /* + * The service name or port number of the Message Server. Type: string (or + * Expression with resultType string). + */ + @JsonProperty(value = "messageServerService") + private Object messageServerService; + + /* + * SNC activation indicator to access the SAP server where the table is + * located. Must be either 0 (off) or 1 (on). Type: string (or Expression + * with resultType string). + */ + @JsonProperty(value = "sncMode") + private Object sncMode; + + /* + * Initiator's SNC name to access the SAP server where the table is + * located. Type: string (or Expression with resultType string). + */ + @JsonProperty(value = "sncMyName") + private Object sncMyName; + + /* + * Communication partner's SNC name to access the SAP server where the + * table is located. Type: string (or Expression with resultType string). + */ + @JsonProperty(value = "sncPartnerName") + private Object sncPartnerName; + + /* + * External security product's library to access the SAP server where the + * table is located. Type: string (or Expression with resultType string). + */ + @JsonProperty(value = "sncLibraryPath") + private Object sncLibraryPath; + + /* + * SNC Quality of Protection. Allowed value include: 1, 2, 3, 8, 9. Type: + * string (or Expression with resultType string). + */ + @JsonProperty(value = "sncQop") + private Object sncQop; + + /* + * SNC X509 certificate file path. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "x509CertificatePath") + private Object x509CertificatePath; + + /* + * The Logon Group for the SAP System. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "logonGroup") + private Object logonGroup; + + /* + * The subscriber name. Type: string (or Expression with resultType + * string). + */ + @JsonProperty(value = "subscriberName") + private Object subscriberName; + + /* + * The encrypted credential used for authentication. Credentials are + * encrypted using the integration runtime credential manager. Type: string + * (or Expression with resultType string). + */ + @JsonProperty(value = "encryptedCredential") + private Object encryptedCredential; + + /** + * Get the server property: Host name of the SAP instance where the table is located. Type: string (or Expression + * with resultType string). + * + * @return the server value. + */ + public Object server() { + return this.server; + } + + /** + * Set the server property: Host name of the SAP instance where the table is located. Type: string (or Expression + * with resultType string). + * + * @param server the server value to set. + * @return the SapOdpLinkedServiceTypeProperties object itself. + */ + public SapOdpLinkedServiceTypeProperties withServer(Object server) { + this.server = server; + return this; + } + + /** + * Get the systemNumber property: System number of the SAP system where the table is located. (Usually a two-digit + * decimal number represented as a string.) Type: string (or Expression with resultType string). + * + * @return the systemNumber value. + */ + public Object systemNumber() { + return this.systemNumber; + } + + /** + * Set the systemNumber property: System number of the SAP system where the table is located. (Usually a two-digit + * decimal number represented as a string.) Type: string (or Expression with resultType string). + * + * @param systemNumber the systemNumber value to set. + * @return the SapOdpLinkedServiceTypeProperties object itself. + */ + public SapOdpLinkedServiceTypeProperties withSystemNumber(Object systemNumber) { + this.systemNumber = systemNumber; + return this; + } + + /** + * Get the clientId property: Client ID of the client on the SAP system where the table is located. (Usually a + * three-digit decimal number represented as a string) Type: string (or Expression with resultType string). + * + * @return the clientId value. + */ + public Object clientId() { + return this.clientId; + } + + /** + * Set the clientId property: Client ID of the client on the SAP system where the table is located. (Usually a + * three-digit decimal number represented as a string) Type: string (or Expression with resultType string). + * + * @param clientId the clientId value to set. + * @return the SapOdpLinkedServiceTypeProperties object itself. + */ + public SapOdpLinkedServiceTypeProperties withClientId(Object clientId) { + this.clientId = clientId; + return this; + } + + /** + * Get the language property: Language of the SAP system where the table is located. The default value is EN. Type: + * string (or Expression with resultType string). + * + * @return the language value. + */ + public Object language() { + return this.language; + } + + /** + * Set the language property: Language of the SAP system where the table is located. The default value is EN. Type: + * string (or Expression with resultType string). + * + * @param language the language value to set. + * @return the SapOdpLinkedServiceTypeProperties object itself. + */ + public SapOdpLinkedServiceTypeProperties withLanguage(Object language) { + this.language = language; + return this; + } + + /** + * Get the systemId property: SystemID of the SAP system where the table is located. Type: string (or Expression + * with resultType string). + * + * @return the systemId value. + */ + public Object systemId() { + return this.systemId; + } + + /** + * Set the systemId property: SystemID of the SAP system where the table is located. Type: string (or Expression + * with resultType string). + * + * @param systemId the systemId value to set. + * @return the SapOdpLinkedServiceTypeProperties object itself. + */ + public SapOdpLinkedServiceTypeProperties withSystemId(Object systemId) { + this.systemId = systemId; + return this; + } + + /** + * Get the username property: Username to access the SAP server where the table is located. Type: string (or + * Expression with resultType string). + * + * @return the username value. + */ + public Object username() { + return this.username; + } + + /** + * Set the username property: Username to access the SAP server where the table is located. Type: string (or + * Expression with resultType string). + * + * @param username the username value to set. + * @return the SapOdpLinkedServiceTypeProperties object itself. + */ + public SapOdpLinkedServiceTypeProperties withUsername(Object username) { + this.username = username; + return this; + } + + /** + * Get the password property: Password to access the SAP server where the table is located. + * + * @return the password value. + */ + public SecretBase password() { + return this.password; + } + + /** + * Set the password property: Password to access the SAP server where the table is located. + * + * @param password the password value to set. + * @return the SapOdpLinkedServiceTypeProperties object itself. + */ + public SapOdpLinkedServiceTypeProperties withPassword(SecretBase password) { + this.password = password; + return this; + } + + /** + * Get the messageServer property: The hostname of the SAP Message Server. Type: string (or Expression with + * resultType string). + * + * @return the messageServer value. + */ + public Object messageServer() { + return this.messageServer; + } + + /** + * Set the messageServer property: The hostname of the SAP Message Server. Type: string (or Expression with + * resultType string). + * + * @param messageServer the messageServer value to set. + * @return the SapOdpLinkedServiceTypeProperties object itself. + */ + public SapOdpLinkedServiceTypeProperties withMessageServer(Object messageServer) { + this.messageServer = messageServer; + return this; + } + + /** + * Get the messageServerService property: The service name or port number of the Message Server. Type: string (or + * Expression with resultType string). + * + * @return the messageServerService value. + */ + public Object messageServerService() { + return this.messageServerService; + } + + /** + * Set the messageServerService property: The service name or port number of the Message Server. Type: string (or + * Expression with resultType string). + * + * @param messageServerService the messageServerService value to set. + * @return the SapOdpLinkedServiceTypeProperties object itself. + */ + public SapOdpLinkedServiceTypeProperties withMessageServerService(Object messageServerService) { + this.messageServerService = messageServerService; + return this; + } + + /** + * Get the sncMode property: SNC activation indicator to access the SAP server where the table is located. Must be + * either 0 (off) or 1 (on). Type: string (or Expression with resultType string). + * + * @return the sncMode value. + */ + public Object sncMode() { + return this.sncMode; + } + + /** + * Set the sncMode property: SNC activation indicator to access the SAP server where the table is located. Must be + * either 0 (off) or 1 (on). Type: string (or Expression with resultType string). + * + * @param sncMode the sncMode value to set. + * @return the SapOdpLinkedServiceTypeProperties object itself. + */ + public SapOdpLinkedServiceTypeProperties withSncMode(Object sncMode) { + this.sncMode = sncMode; + return this; + } + + /** + * Get the sncMyName property: Initiator's SNC name to access the SAP server where the table is located. Type: + * string (or Expression with resultType string). + * + * @return the sncMyName value. + */ + public Object sncMyName() { + return this.sncMyName; + } + + /** + * Set the sncMyName property: Initiator's SNC name to access the SAP server where the table is located. Type: + * string (or Expression with resultType string). + * + * @param sncMyName the sncMyName value to set. + * @return the SapOdpLinkedServiceTypeProperties object itself. + */ + public SapOdpLinkedServiceTypeProperties withSncMyName(Object sncMyName) { + this.sncMyName = sncMyName; + return this; + } + + /** + * Get the sncPartnerName property: Communication partner's SNC name to access the SAP server where the table is + * located. Type: string (or Expression with resultType string). + * + * @return the sncPartnerName value. + */ + public Object sncPartnerName() { + return this.sncPartnerName; + } + + /** + * Set the sncPartnerName property: Communication partner's SNC name to access the SAP server where the table is + * located. Type: string (or Expression with resultType string). + * + * @param sncPartnerName the sncPartnerName value to set. + * @return the SapOdpLinkedServiceTypeProperties object itself. + */ + public SapOdpLinkedServiceTypeProperties withSncPartnerName(Object sncPartnerName) { + this.sncPartnerName = sncPartnerName; + return this; + } + + /** + * Get the sncLibraryPath property: External security product's library to access the SAP server where the table is + * located. Type: string (or Expression with resultType string). + * + * @return the sncLibraryPath value. + */ + public Object sncLibraryPath() { + return this.sncLibraryPath; + } + + /** + * Set the sncLibraryPath property: External security product's library to access the SAP server where the table is + * located. Type: string (or Expression with resultType string). + * + * @param sncLibraryPath the sncLibraryPath value to set. + * @return the SapOdpLinkedServiceTypeProperties object itself. + */ + public SapOdpLinkedServiceTypeProperties withSncLibraryPath(Object sncLibraryPath) { + this.sncLibraryPath = sncLibraryPath; + return this; + } + + /** + * Get the sncQop property: SNC Quality of Protection. Allowed value include: 1, 2, 3, 8, 9. Type: string (or + * Expression with resultType string). + * + * @return the sncQop value. + */ + public Object sncQop() { + return this.sncQop; + } + + /** + * Set the sncQop property: SNC Quality of Protection. Allowed value include: 1, 2, 3, 8, 9. Type: string (or + * Expression with resultType string). + * + * @param sncQop the sncQop value to set. + * @return the SapOdpLinkedServiceTypeProperties object itself. + */ + public SapOdpLinkedServiceTypeProperties withSncQop(Object sncQop) { + this.sncQop = sncQop; + return this; + } + + /** + * Get the x509CertificatePath property: SNC X509 certificate file path. Type: string (or Expression with resultType + * string). + * + * @return the x509CertificatePath value. + */ + public Object x509CertificatePath() { + return this.x509CertificatePath; + } + + /** + * Set the x509CertificatePath property: SNC X509 certificate file path. Type: string (or Expression with resultType + * string). + * + * @param x509CertificatePath the x509CertificatePath value to set. + * @return the SapOdpLinkedServiceTypeProperties object itself. + */ + public SapOdpLinkedServiceTypeProperties withX509CertificatePath(Object x509CertificatePath) { + this.x509CertificatePath = x509CertificatePath; + return this; + } + + /** + * Get the logonGroup property: The Logon Group for the SAP System. Type: string (or Expression with resultType + * string). + * + * @return the logonGroup value. + */ + public Object logonGroup() { + return this.logonGroup; + } + + /** + * Set the logonGroup property: The Logon Group for the SAP System. Type: string (or Expression with resultType + * string). + * + * @param logonGroup the logonGroup value to set. + * @return the SapOdpLinkedServiceTypeProperties object itself. + */ + public SapOdpLinkedServiceTypeProperties withLogonGroup(Object logonGroup) { + this.logonGroup = logonGroup; + return this; + } + + /** + * Get the subscriberName property: The subscriber name. Type: string (or Expression with resultType string). + * + * @return the subscriberName value. + */ + public Object subscriberName() { + return this.subscriberName; + } + + /** + * Set the subscriberName property: The subscriber name. Type: string (or Expression with resultType string). + * + * @param subscriberName the subscriberName value to set. + * @return the SapOdpLinkedServiceTypeProperties object itself. + */ + public SapOdpLinkedServiceTypeProperties withSubscriberName(Object subscriberName) { + this.subscriberName = subscriberName; + return this; + } + + /** + * Get the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted + * using the integration runtime credential manager. Type: string (or Expression with resultType string). + * + * @return the encryptedCredential value. + */ + public Object encryptedCredential() { + return this.encryptedCredential; + } + + /** + * Set the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted + * using the integration runtime credential manager. Type: string (or Expression with resultType string). + * + * @param encryptedCredential the encryptedCredential value to set. + * @return the SapOdpLinkedServiceTypeProperties object itself. + */ + public SapOdpLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + this.encryptedCredential = encryptedCredential; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (password() != null) { + password().validate(); + } + } +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SapOdpResourceDatasetTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SapOdpResourceDatasetTypeProperties.java new file mode 100644 index 000000000000..34afedf6462f --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SapOdpResourceDatasetTypeProperties.java @@ -0,0 +1,89 @@ +// 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.fluent.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.util.logging.ClientLogger; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** SAP ODP Resource properties. */ +@Fluent +public final class SapOdpResourceDatasetTypeProperties { + /* + * The context of the SAP ODP Object. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "context", required = true) + private Object context; + + /* + * The name of the SAP ODP Object. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "objectName", required = true) + private Object objectName; + + /** + * Get the context property: The context of the SAP ODP Object. Type: string (or Expression with resultType string). + * + * @return the context value. + */ + public Object context() { + return this.context; + } + + /** + * Set the context property: The context of the SAP ODP Object. Type: string (or Expression with resultType string). + * + * @param context the context value to set. + * @return the SapOdpResourceDatasetTypeProperties object itself. + */ + public SapOdpResourceDatasetTypeProperties withContext(Object context) { + this.context = context; + return this; + } + + /** + * Get the objectName property: The name of the SAP ODP Object. Type: string (or Expression with resultType string). + * + * @return the objectName value. + */ + public Object objectName() { + return this.objectName; + } + + /** + * Set the objectName property: The name of the SAP ODP Object. Type: string (or Expression with resultType string). + * + * @param objectName the objectName value to set. + * @return the SapOdpResourceDatasetTypeProperties object itself. + */ + public SapOdpResourceDatasetTypeProperties withObjectName(Object objectName) { + this.objectName = objectName; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (context() == null) { + throw LOGGER + .logExceptionAsError( + new IllegalArgumentException( + "Missing required property context in model SapOdpResourceDatasetTypeProperties")); + } + if (objectName() == null) { + throw LOGGER + .logExceptionAsError( + new IllegalArgumentException( + "Missing required property objectName in model SapOdpResourceDatasetTypeProperties")); + } + } + + private static final ClientLogger LOGGER = new ClientLogger(SapOdpResourceDatasetTypeProperties.class); +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/Dataset.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/Dataset.java index 382da887b5b8..1c0987344e64 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/Dataset.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/Dataset.java @@ -83,6 +83,7 @@ @JsonSubTypes.Type(name = "AmazonRdsForSqlServerTable", value = AmazonRdsForSqlServerTableDataset.class), @JsonSubTypes.Type(name = "RestResource", value = RestResourceDataset.class), @JsonSubTypes.Type(name = "SapTableResource", value = SapTableResourceDataset.class), + @JsonSubTypes.Type(name = "SapOdpResource", value = SapOdpResourceDataset.class), @JsonSubTypes.Type(name = "WebTable", value = WebTableDataset.class), @JsonSubTypes.Type(name = "AzureSearchIndex", value = AzureSearchIndexDataset.class), @JsonSubTypes.Type(name = "HttpFile", value = HttpDataset.class), diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/LinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/LinkedService.java index 20bd6e9752cb..1dd7660ee5a2 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/LinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/LinkedService.java @@ -18,8 +18,8 @@ import java.util.Map; /** - * The Azure Data Factory nested object which contains the information and credential which can be used to connect with - * related store or compute resource. + * The nested object which contains the information and credential which can be used to connect with related store or + * compute resource. */ @JsonTypeInfo( use = JsonTypeInfo.Id.NAME, @@ -77,8 +77,8 @@ @JsonSubTypes.Type(name = "SapCloudForCustomer", value = SapCloudForCustomerLinkedService.class), @JsonSubTypes.Type(name = "SapEcc", value = SapEccLinkedService.class), @JsonSubTypes.Type(name = "SapOpenHub", value = SapOpenHubLinkedService.class), + @JsonSubTypes.Type(name = "SapOdp", value = SapOdpLinkedService.class), @JsonSubTypes.Type(name = "RestService", value = RestServiceLinkedService.class), - @JsonSubTypes.Type(name = "AmazonS3", value = AmazonS3LinkedService.class), @JsonSubTypes.Type(name = "TeamDesk", value = TeamDeskLinkedService.class), @JsonSubTypes.Type(name = "Quickbase", value = QuickbaseLinkedService.class), @JsonSubTypes.Type(name = "Smartsheet", value = SmartsheetLinkedService.class), @@ -87,6 +87,7 @@ @JsonSubTypes.Type(name = "AppFigures", value = AppFiguresLinkedService.class), @JsonSubTypes.Type(name = "Asana", value = AsanaLinkedService.class), @JsonSubTypes.Type(name = "Twilio", value = TwilioLinkedService.class), + @JsonSubTypes.Type(name = "AmazonS3", value = AmazonS3LinkedService.class), @JsonSubTypes.Type(name = "AmazonRedshift", value = AmazonRedshiftLinkedService.class), @JsonSubTypes.Type(name = "CustomDataSource", value = CustomDataSourceLinkedService.class), @JsonSubTypes.Type(name = "AzureSearch", value = AzureSearchLinkedService.class), @@ -167,9 +168,8 @@ public class LinkedService { private List annotations; /* - * The Azure Data Factory nested object which contains the information and - * credential which can be used to connect with related store or compute - * resource. + * The nested object which contains the information and credential which + * can be used to connect with related store or compute resource. */ @JsonIgnore private Map additionalProperties; @@ -254,8 +254,8 @@ public LinkedService withAnnotations(List annotations) { } /** - * Get the additionalProperties property: The Azure Data Factory nested object which contains the information and - * credential which can be used to connect with related store or compute resource. + * Get the additionalProperties property: The nested object which contains the information and credential which can + * be used to connect with related store or compute resource. * * @return the additionalProperties value. */ @@ -265,8 +265,8 @@ public Map additionalProperties() { } /** - * Set the additionalProperties property: The Azure Data Factory nested object which contains the information and - * credential which can be used to connect with related store or compute resource. + * Set the additionalProperties property: The nested object which contains the information and credential which can + * be used to connect with related store or compute resource. * * @param additionalProperties the additionalProperties value to set. * @return the LinkedService object itself. diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SapOdpLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SapOdpLinkedService.java new file mode 100644 index 000000000000..c755630099c5 --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SapOdpLinkedService.java @@ -0,0 +1,529 @@ +// 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.annotation.Fluent; +import com.azure.core.util.logging.ClientLogger; +import com.azure.resourcemanager.datafactory.fluent.models.SapOdpLinkedServiceTypeProperties; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonTypeInfo; +import com.fasterxml.jackson.annotation.JsonTypeName; +import java.util.List; +import java.util.Map; + +/** SAP ODP Linked Service. */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") +@JsonTypeName("SapOdp") +@Fluent +public final class SapOdpLinkedService extends LinkedService { + /* + * Properties specific to SAP ODP linked service type. + */ + @JsonProperty(value = "typeProperties", required = true) + private SapOdpLinkedServiceTypeProperties innerTypeProperties = new SapOdpLinkedServiceTypeProperties(); + + /** + * Get the innerTypeProperties property: Properties specific to SAP ODP linked service type. + * + * @return the innerTypeProperties value. + */ + private SapOdpLinkedServiceTypeProperties innerTypeProperties() { + return this.innerTypeProperties; + } + + /** {@inheritDoc} */ + @Override + public SapOdpLinkedService withConnectVia(IntegrationRuntimeReference connectVia) { + super.withConnectVia(connectVia); + return this; + } + + /** {@inheritDoc} */ + @Override + public SapOdpLinkedService withDescription(String description) { + super.withDescription(description); + return this; + } + + /** {@inheritDoc} */ + @Override + public SapOdpLinkedService withParameters(Map parameters) { + super.withParameters(parameters); + return this; + } + + /** {@inheritDoc} */ + @Override + public SapOdpLinkedService withAnnotations(List annotations) { + super.withAnnotations(annotations); + return this; + } + + /** + * Get the server property: Host name of the SAP instance where the table is located. Type: string (or Expression + * with resultType string). + * + * @return the server value. + */ + public Object server() { + return this.innerTypeProperties() == null ? null : this.innerTypeProperties().server(); + } + + /** + * Set the server property: Host name of the SAP instance where the table is located. Type: string (or Expression + * with resultType string). + * + * @param server the server value to set. + * @return the SapOdpLinkedService object itself. + */ + public SapOdpLinkedService withServer(Object server) { + if (this.innerTypeProperties() == null) { + this.innerTypeProperties = new SapOdpLinkedServiceTypeProperties(); + } + this.innerTypeProperties().withServer(server); + return this; + } + + /** + * Get the systemNumber property: System number of the SAP system where the table is located. (Usually a two-digit + * decimal number represented as a string.) Type: string (or Expression with resultType string). + * + * @return the systemNumber value. + */ + public Object systemNumber() { + return this.innerTypeProperties() == null ? null : this.innerTypeProperties().systemNumber(); + } + + /** + * Set the systemNumber property: System number of the SAP system where the table is located. (Usually a two-digit + * decimal number represented as a string.) Type: string (or Expression with resultType string). + * + * @param systemNumber the systemNumber value to set. + * @return the SapOdpLinkedService object itself. + */ + public SapOdpLinkedService withSystemNumber(Object systemNumber) { + if (this.innerTypeProperties() == null) { + this.innerTypeProperties = new SapOdpLinkedServiceTypeProperties(); + } + this.innerTypeProperties().withSystemNumber(systemNumber); + return this; + } + + /** + * Get the clientId property: Client ID of the client on the SAP system where the table is located. (Usually a + * three-digit decimal number represented as a string) Type: string (or Expression with resultType string). + * + * @return the clientId value. + */ + public Object clientId() { + return this.innerTypeProperties() == null ? null : this.innerTypeProperties().clientId(); + } + + /** + * Set the clientId property: Client ID of the client on the SAP system where the table is located. (Usually a + * three-digit decimal number represented as a string) Type: string (or Expression with resultType string). + * + * @param clientId the clientId value to set. + * @return the SapOdpLinkedService object itself. + */ + public SapOdpLinkedService withClientId(Object clientId) { + if (this.innerTypeProperties() == null) { + this.innerTypeProperties = new SapOdpLinkedServiceTypeProperties(); + } + this.innerTypeProperties().withClientId(clientId); + return this; + } + + /** + * Get the language property: Language of the SAP system where the table is located. The default value is EN. Type: + * string (or Expression with resultType string). + * + * @return the language value. + */ + public Object language() { + return this.innerTypeProperties() == null ? null : this.innerTypeProperties().language(); + } + + /** + * Set the language property: Language of the SAP system where the table is located. The default value is EN. Type: + * string (or Expression with resultType string). + * + * @param language the language value to set. + * @return the SapOdpLinkedService object itself. + */ + public SapOdpLinkedService withLanguage(Object language) { + if (this.innerTypeProperties() == null) { + this.innerTypeProperties = new SapOdpLinkedServiceTypeProperties(); + } + this.innerTypeProperties().withLanguage(language); + return this; + } + + /** + * Get the systemId property: SystemID of the SAP system where the table is located. Type: string (or Expression + * with resultType string). + * + * @return the systemId value. + */ + public Object systemId() { + return this.innerTypeProperties() == null ? null : this.innerTypeProperties().systemId(); + } + + /** + * Set the systemId property: SystemID of the SAP system where the table is located. Type: string (or Expression + * with resultType string). + * + * @param systemId the systemId value to set. + * @return the SapOdpLinkedService object itself. + */ + public SapOdpLinkedService withSystemId(Object systemId) { + if (this.innerTypeProperties() == null) { + this.innerTypeProperties = new SapOdpLinkedServiceTypeProperties(); + } + this.innerTypeProperties().withSystemId(systemId); + return this; + } + + /** + * Get the username property: Username to access the SAP server where the table is located. Type: string (or + * Expression with resultType string). + * + * @return the username value. + */ + public Object username() { + return this.innerTypeProperties() == null ? null : this.innerTypeProperties().username(); + } + + /** + * Set the username property: Username to access the SAP server where the table is located. Type: string (or + * Expression with resultType string). + * + * @param username the username value to set. + * @return the SapOdpLinkedService object itself. + */ + public SapOdpLinkedService withUsername(Object username) { + if (this.innerTypeProperties() == null) { + this.innerTypeProperties = new SapOdpLinkedServiceTypeProperties(); + } + this.innerTypeProperties().withUsername(username); + return this; + } + + /** + * Get the password property: Password to access the SAP server where the table is located. + * + * @return the password value. + */ + public SecretBase password() { + return this.innerTypeProperties() == null ? null : this.innerTypeProperties().password(); + } + + /** + * Set the password property: Password to access the SAP server where the table is located. + * + * @param password the password value to set. + * @return the SapOdpLinkedService object itself. + */ + public SapOdpLinkedService withPassword(SecretBase password) { + if (this.innerTypeProperties() == null) { + this.innerTypeProperties = new SapOdpLinkedServiceTypeProperties(); + } + this.innerTypeProperties().withPassword(password); + return this; + } + + /** + * Get the messageServer property: The hostname of the SAP Message Server. Type: string (or Expression with + * resultType string). + * + * @return the messageServer value. + */ + public Object messageServer() { + return this.innerTypeProperties() == null ? null : this.innerTypeProperties().messageServer(); + } + + /** + * Set the messageServer property: The hostname of the SAP Message Server. Type: string (or Expression with + * resultType string). + * + * @param messageServer the messageServer value to set. + * @return the SapOdpLinkedService object itself. + */ + public SapOdpLinkedService withMessageServer(Object messageServer) { + if (this.innerTypeProperties() == null) { + this.innerTypeProperties = new SapOdpLinkedServiceTypeProperties(); + } + this.innerTypeProperties().withMessageServer(messageServer); + return this; + } + + /** + * Get the messageServerService property: The service name or port number of the Message Server. Type: string (or + * Expression with resultType string). + * + * @return the messageServerService value. + */ + public Object messageServerService() { + return this.innerTypeProperties() == null ? null : this.innerTypeProperties().messageServerService(); + } + + /** + * Set the messageServerService property: The service name or port number of the Message Server. Type: string (or + * Expression with resultType string). + * + * @param messageServerService the messageServerService value to set. + * @return the SapOdpLinkedService object itself. + */ + public SapOdpLinkedService withMessageServerService(Object messageServerService) { + if (this.innerTypeProperties() == null) { + this.innerTypeProperties = new SapOdpLinkedServiceTypeProperties(); + } + this.innerTypeProperties().withMessageServerService(messageServerService); + return this; + } + + /** + * Get the sncMode property: SNC activation indicator to access the SAP server where the table is located. Must be + * either 0 (off) or 1 (on). Type: string (or Expression with resultType string). + * + * @return the sncMode value. + */ + public Object sncMode() { + return this.innerTypeProperties() == null ? null : this.innerTypeProperties().sncMode(); + } + + /** + * Set the sncMode property: SNC activation indicator to access the SAP server where the table is located. Must be + * either 0 (off) or 1 (on). Type: string (or Expression with resultType string). + * + * @param sncMode the sncMode value to set. + * @return the SapOdpLinkedService object itself. + */ + public SapOdpLinkedService withSncMode(Object sncMode) { + if (this.innerTypeProperties() == null) { + this.innerTypeProperties = new SapOdpLinkedServiceTypeProperties(); + } + this.innerTypeProperties().withSncMode(sncMode); + return this; + } + + /** + * Get the sncMyName property: Initiator's SNC name to access the SAP server where the table is located. Type: + * string (or Expression with resultType string). + * + * @return the sncMyName value. + */ + public Object sncMyName() { + return this.innerTypeProperties() == null ? null : this.innerTypeProperties().sncMyName(); + } + + /** + * Set the sncMyName property: Initiator's SNC name to access the SAP server where the table is located. Type: + * string (or Expression with resultType string). + * + * @param sncMyName the sncMyName value to set. + * @return the SapOdpLinkedService object itself. + */ + public SapOdpLinkedService withSncMyName(Object sncMyName) { + if (this.innerTypeProperties() == null) { + this.innerTypeProperties = new SapOdpLinkedServiceTypeProperties(); + } + this.innerTypeProperties().withSncMyName(sncMyName); + return this; + } + + /** + * Get the sncPartnerName property: Communication partner's SNC name to access the SAP server where the table is + * located. Type: string (or Expression with resultType string). + * + * @return the sncPartnerName value. + */ + public Object sncPartnerName() { + return this.innerTypeProperties() == null ? null : this.innerTypeProperties().sncPartnerName(); + } + + /** + * Set the sncPartnerName property: Communication partner's SNC name to access the SAP server where the table is + * located. Type: string (or Expression with resultType string). + * + * @param sncPartnerName the sncPartnerName value to set. + * @return the SapOdpLinkedService object itself. + */ + public SapOdpLinkedService withSncPartnerName(Object sncPartnerName) { + if (this.innerTypeProperties() == null) { + this.innerTypeProperties = new SapOdpLinkedServiceTypeProperties(); + } + this.innerTypeProperties().withSncPartnerName(sncPartnerName); + return this; + } + + /** + * Get the sncLibraryPath property: External security product's library to access the SAP server where the table is + * located. Type: string (or Expression with resultType string). + * + * @return the sncLibraryPath value. + */ + public Object sncLibraryPath() { + return this.innerTypeProperties() == null ? null : this.innerTypeProperties().sncLibraryPath(); + } + + /** + * Set the sncLibraryPath property: External security product's library to access the SAP server where the table is + * located. Type: string (or Expression with resultType string). + * + * @param sncLibraryPath the sncLibraryPath value to set. + * @return the SapOdpLinkedService object itself. + */ + public SapOdpLinkedService withSncLibraryPath(Object sncLibraryPath) { + if (this.innerTypeProperties() == null) { + this.innerTypeProperties = new SapOdpLinkedServiceTypeProperties(); + } + this.innerTypeProperties().withSncLibraryPath(sncLibraryPath); + return this; + } + + /** + * Get the sncQop property: SNC Quality of Protection. Allowed value include: 1, 2, 3, 8, 9. Type: string (or + * Expression with resultType string). + * + * @return the sncQop value. + */ + public Object sncQop() { + return this.innerTypeProperties() == null ? null : this.innerTypeProperties().sncQop(); + } + + /** + * Set the sncQop property: SNC Quality of Protection. Allowed value include: 1, 2, 3, 8, 9. Type: string (or + * Expression with resultType string). + * + * @param sncQop the sncQop value to set. + * @return the SapOdpLinkedService object itself. + */ + public SapOdpLinkedService withSncQop(Object sncQop) { + if (this.innerTypeProperties() == null) { + this.innerTypeProperties = new SapOdpLinkedServiceTypeProperties(); + } + this.innerTypeProperties().withSncQop(sncQop); + return this; + } + + /** + * Get the x509CertificatePath property: SNC X509 certificate file path. Type: string (or Expression with resultType + * string). + * + * @return the x509CertificatePath value. + */ + public Object x509CertificatePath() { + return this.innerTypeProperties() == null ? null : this.innerTypeProperties().x509CertificatePath(); + } + + /** + * Set the x509CertificatePath property: SNC X509 certificate file path. Type: string (or Expression with resultType + * string). + * + * @param x509CertificatePath the x509CertificatePath value to set. + * @return the SapOdpLinkedService object itself. + */ + public SapOdpLinkedService withX509CertificatePath(Object x509CertificatePath) { + if (this.innerTypeProperties() == null) { + this.innerTypeProperties = new SapOdpLinkedServiceTypeProperties(); + } + this.innerTypeProperties().withX509CertificatePath(x509CertificatePath); + return this; + } + + /** + * Get the logonGroup property: The Logon Group for the SAP System. Type: string (or Expression with resultType + * string). + * + * @return the logonGroup value. + */ + public Object logonGroup() { + return this.innerTypeProperties() == null ? null : this.innerTypeProperties().logonGroup(); + } + + /** + * Set the logonGroup property: The Logon Group for the SAP System. Type: string (or Expression with resultType + * string). + * + * @param logonGroup the logonGroup value to set. + * @return the SapOdpLinkedService object itself. + */ + public SapOdpLinkedService withLogonGroup(Object logonGroup) { + if (this.innerTypeProperties() == null) { + this.innerTypeProperties = new SapOdpLinkedServiceTypeProperties(); + } + this.innerTypeProperties().withLogonGroup(logonGroup); + return this; + } + + /** + * Get the subscriberName property: The subscriber name. Type: string (or Expression with resultType string). + * + * @return the subscriberName value. + */ + public Object subscriberName() { + return this.innerTypeProperties() == null ? null : this.innerTypeProperties().subscriberName(); + } + + /** + * Set the subscriberName property: The subscriber name. Type: string (or Expression with resultType string). + * + * @param subscriberName the subscriberName value to set. + * @return the SapOdpLinkedService object itself. + */ + public SapOdpLinkedService withSubscriberName(Object subscriberName) { + if (this.innerTypeProperties() == null) { + this.innerTypeProperties = new SapOdpLinkedServiceTypeProperties(); + } + this.innerTypeProperties().withSubscriberName(subscriberName); + return this; + } + + /** + * Get the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted + * using the integration runtime credential manager. Type: string (or Expression with resultType string). + * + * @return the encryptedCredential value. + */ + public Object encryptedCredential() { + return this.innerTypeProperties() == null ? null : this.innerTypeProperties().encryptedCredential(); + } + + /** + * Set the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted + * using the integration runtime credential manager. Type: string (or Expression with resultType string). + * + * @param encryptedCredential the encryptedCredential value to set. + * @return the SapOdpLinkedService object itself. + */ + public SapOdpLinkedService withEncryptedCredential(Object encryptedCredential) { + if (this.innerTypeProperties() == null) { + this.innerTypeProperties = new SapOdpLinkedServiceTypeProperties(); + } + this.innerTypeProperties().withEncryptedCredential(encryptedCredential); + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + @Override + public void validate() { + super.validate(); + if (innerTypeProperties() == null) { + throw LOGGER + .logExceptionAsError( + new IllegalArgumentException( + "Missing required property innerTypeProperties in model SapOdpLinkedService")); + } else { + innerTypeProperties().validate(); + } + } + + private static final ClientLogger LOGGER = new ClientLogger(SapOdpLinkedService.class); +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SapOdpResourceDataset.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SapOdpResourceDataset.java new file mode 100644 index 000000000000..142ac0e30004 --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SapOdpResourceDataset.java @@ -0,0 +1,150 @@ +// 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.annotation.Fluent; +import com.azure.core.util.logging.ClientLogger; +import com.azure.resourcemanager.datafactory.fluent.models.SapOdpResourceDatasetTypeProperties; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonTypeInfo; +import com.fasterxml.jackson.annotation.JsonTypeName; +import java.util.List; +import java.util.Map; + +/** SAP ODP Resource properties. */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") +@JsonTypeName("SapOdpResource") +@Fluent +public final class SapOdpResourceDataset extends Dataset { + /* + * SAP ODP Resource properties. + */ + @JsonProperty(value = "typeProperties", required = true) + private SapOdpResourceDatasetTypeProperties innerTypeProperties = new SapOdpResourceDatasetTypeProperties(); + + /** + * Get the innerTypeProperties property: SAP ODP Resource properties. + * + * @return the innerTypeProperties value. + */ + private SapOdpResourceDatasetTypeProperties innerTypeProperties() { + return this.innerTypeProperties; + } + + /** {@inheritDoc} */ + @Override + public SapOdpResourceDataset withDescription(String description) { + super.withDescription(description); + return this; + } + + /** {@inheritDoc} */ + @Override + public SapOdpResourceDataset withStructure(Object structure) { + super.withStructure(structure); + return this; + } + + /** {@inheritDoc} */ + @Override + public SapOdpResourceDataset withSchema(Object schema) { + super.withSchema(schema); + return this; + } + + /** {@inheritDoc} */ + @Override + public SapOdpResourceDataset withLinkedServiceName(LinkedServiceReference linkedServiceName) { + super.withLinkedServiceName(linkedServiceName); + return this; + } + + /** {@inheritDoc} */ + @Override + public SapOdpResourceDataset withParameters(Map parameters) { + super.withParameters(parameters); + return this; + } + + /** {@inheritDoc} */ + @Override + public SapOdpResourceDataset withAnnotations(List annotations) { + super.withAnnotations(annotations); + return this; + } + + /** {@inheritDoc} */ + @Override + public SapOdpResourceDataset withFolder(DatasetFolder folder) { + super.withFolder(folder); + return this; + } + + /** + * Get the context property: The context of the SAP ODP Object. Type: string (or Expression with resultType string). + * + * @return the context value. + */ + public Object context() { + return this.innerTypeProperties() == null ? null : this.innerTypeProperties().context(); + } + + /** + * Set the context property: The context of the SAP ODP Object. Type: string (or Expression with resultType string). + * + * @param context the context value to set. + * @return the SapOdpResourceDataset object itself. + */ + public SapOdpResourceDataset withContext(Object context) { + if (this.innerTypeProperties() == null) { + this.innerTypeProperties = new SapOdpResourceDatasetTypeProperties(); + } + this.innerTypeProperties().withContext(context); + return this; + } + + /** + * Get the objectName property: The name of the SAP ODP Object. Type: string (or Expression with resultType string). + * + * @return the objectName value. + */ + public Object objectName() { + return this.innerTypeProperties() == null ? null : this.innerTypeProperties().objectName(); + } + + /** + * Set the objectName property: The name of the SAP ODP Object. Type: string (or Expression with resultType string). + * + * @param objectName the objectName value to set. + * @return the SapOdpResourceDataset object itself. + */ + public SapOdpResourceDataset withObjectName(Object objectName) { + if (this.innerTypeProperties() == null) { + this.innerTypeProperties = new SapOdpResourceDatasetTypeProperties(); + } + this.innerTypeProperties().withObjectName(objectName); + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + @Override + public void validate() { + super.validate(); + if (innerTypeProperties() == null) { + throw LOGGER + .logExceptionAsError( + new IllegalArgumentException( + "Missing required property innerTypeProperties in model SapOdpResourceDataset")); + } else { + innerTypeProperties().validate(); + } + } + + private static final ClientLogger LOGGER = new ClientLogger(SapOdpResourceDataset.class); +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SapOdpSource.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SapOdpSource.java new file mode 100644 index 000000000000..805fb5fd02dc --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SapOdpSource.java @@ -0,0 +1,185 @@ +// 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.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonTypeInfo; +import com.fasterxml.jackson.annotation.JsonTypeName; + +/** A copy activity source for SAP ODP source. */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") +@JsonTypeName("SapOdpSource") +@Fluent +public final class SapOdpSource extends TabularSource { + /* + * The extraction mode. Allowed value include: Full, Delta and Recovery. + * The default value is Full. Type: string (or Expression with resultType + * string). + */ + @JsonProperty(value = "extractionMode") + private Object extractionMode; + + /* + * The subscriber process to manage the delta process. Type: string (or + * Expression with resultType string). + */ + @JsonProperty(value = "subscriberProcess") + private Object subscriberProcess; + + /* + * Specifies the selection conditions from source data. Type: array of + * objects(selection) (or Expression with resultType array of objects). + */ + @JsonProperty(value = "selection") + private Object selection; + + /* + * Specifies the columns to be selected from source data. Type: array of + * objects(projection) (or Expression with resultType array of objects). + */ + @JsonProperty(value = "projection") + private Object projection; + + /** + * Get the extractionMode property: The extraction mode. Allowed value include: Full, Delta and Recovery. The + * default value is Full. Type: string (or Expression with resultType string). + * + * @return the extractionMode value. + */ + public Object extractionMode() { + return this.extractionMode; + } + + /** + * Set the extractionMode property: The extraction mode. Allowed value include: Full, Delta and Recovery. The + * default value is Full. Type: string (or Expression with resultType string). + * + * @param extractionMode the extractionMode value to set. + * @return the SapOdpSource object itself. + */ + public SapOdpSource withExtractionMode(Object extractionMode) { + this.extractionMode = extractionMode; + return this; + } + + /** + * Get the subscriberProcess property: The subscriber process to manage the delta process. Type: string (or + * Expression with resultType string). + * + * @return the subscriberProcess value. + */ + public Object subscriberProcess() { + return this.subscriberProcess; + } + + /** + * Set the subscriberProcess property: The subscriber process to manage the delta process. Type: string (or + * Expression with resultType string). + * + * @param subscriberProcess the subscriberProcess value to set. + * @return the SapOdpSource object itself. + */ + public SapOdpSource withSubscriberProcess(Object subscriberProcess) { + this.subscriberProcess = subscriberProcess; + return this; + } + + /** + * Get the selection property: Specifies the selection conditions from source data. Type: array of + * objects(selection) (or Expression with resultType array of objects). + * + * @return the selection value. + */ + public Object selection() { + return this.selection; + } + + /** + * Set the selection property: Specifies the selection conditions from source data. Type: array of + * objects(selection) (or Expression with resultType array of objects). + * + * @param selection the selection value to set. + * @return the SapOdpSource object itself. + */ + public SapOdpSource withSelection(Object selection) { + this.selection = selection; + return this; + } + + /** + * Get the projection property: Specifies the columns to be selected from source data. Type: array of + * objects(projection) (or Expression with resultType array of objects). + * + * @return the projection value. + */ + public Object projection() { + return this.projection; + } + + /** + * Set the projection property: Specifies the columns to be selected from source data. Type: array of + * objects(projection) (or Expression with resultType array of objects). + * + * @param projection the projection value to set. + * @return the SapOdpSource object itself. + */ + public SapOdpSource withProjection(Object projection) { + this.projection = projection; + return this; + } + + /** {@inheritDoc} */ + @Override + public SapOdpSource withQueryTimeout(Object queryTimeout) { + super.withQueryTimeout(queryTimeout); + return this; + } + + /** {@inheritDoc} */ + @Override + public SapOdpSource withAdditionalColumns(Object additionalColumns) { + super.withAdditionalColumns(additionalColumns); + return this; + } + + /** {@inheritDoc} */ + @Override + public SapOdpSource withSourceRetryCount(Object sourceRetryCount) { + super.withSourceRetryCount(sourceRetryCount); + return this; + } + + /** {@inheritDoc} */ + @Override + public SapOdpSource withSourceRetryWait(Object sourceRetryWait) { + super.withSourceRetryWait(sourceRetryWait); + return this; + } + + /** {@inheritDoc} */ + @Override + public SapOdpSource withMaxConcurrentConnections(Object maxConcurrentConnections) { + super.withMaxConcurrentConnections(maxConcurrentConnections); + return this; + } + + /** {@inheritDoc} */ + @Override + public SapOdpSource withDisableMetricsCollection(Object disableMetricsCollection) { + super.withDisableMetricsCollection(disableMetricsCollection); + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + @Override + public void validate() { + super.validate(); + } +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/TabularSource.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/TabularSource.java index 6e7073e5bdda..dd723f474835 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/TabularSource.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/TabularSource.java @@ -31,6 +31,7 @@ @JsonSubTypes.Type(name = "SapEccSource", value = SapEccSource.class), @JsonSubTypes.Type(name = "SapHanaSource", value = SapHanaSource.class), @JsonSubTypes.Type(name = "SapOpenHubSource", value = SapOpenHubSource.class), + @JsonSubTypes.Type(name = "SapOdpSource", value = SapOdpSource.class), @JsonSubTypes.Type(name = "SapTableSource", value = SapTableSource.class), @JsonSubTypes.Type(name = "SqlSource", value = SqlSource.class), @JsonSubTypes.Type(name = "SqlServerSource", value = SqlServerSource.class),