From 6915d4d524f28dc89849a704afff755d2cf18493 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 31 May 2023 06:04:24 +0000 Subject: [PATCH] CodeGen from PR 24226 in Azure/azure-rest-api-specs Merge be64441d7c4397453c4e7dd1fff4f3bf82243a91 into 73d8ea03558929411b9f2e6be533e63409a2252c --- .../CHANGELOG.md | 4 +- .../README.md | 2 +- .../SAMPLE.md | 1372 ++++++++++++++++ .../datafactory/DataFactoryManager.java | 18 +- .../fluent/ChangeDataCapturesClient.java | 239 +++ .../fluent/DataFactoryManagementClient.java | 7 + .../AmazonMwsLinkedServiceTypeProperties.java | 12 +- ...azonRdsForLinkedServiceTypeProperties.java | 12 +- ...rSqlServerLinkedServiceTypeProperties.java | 12 +- ...onRedshiftLinkedServiceTypeProperties.java | 12 +- ...CompatibleLinkedServiceTypeProperties.java | 12 +- .../AmazonS3LinkedServiceTypeProperties.java | 12 +- ...AppFiguresLinkedServiceTypeProperties.java | 8 +- .../AppendVariableActivityTypeProperties.java | 9 +- .../AsanaLinkedServiceTypeProperties.java | 12 +- ...AzureBatchLinkedServiceTypeProperties.java | 12 +- ...zureBlobFSLinkedServiceTypeProperties.java | 12 +- ...lobStorageLinkedServiceTypeProperties.java | 18 +- ...eAnalyticsLinkedServiceTypeProperties.java | 12 +- ...aLakeStoreLinkedServiceTypeProperties.java | 12 +- ...DetltaLakeLinkedServiceTypeProperties.java | 12 +- ...DatabricksLinkedServiceTypeProperties.java | 12 +- ...ileStorageLinkedServiceTypeProperties.java | 12 +- ...reFunctionLinkedServiceTypeProperties.java | 12 +- .../AzureMLLinkedServiceTypeProperties.java | 12 +- ...eMLServiceLinkedServiceTypeProperties.java | 41 +- ...ureMariaDBLinkedServiceTypeProperties.java | 12 +- ...AzureMySqlLinkedServiceTypeProperties.java | 12 +- ...PostgreSqlLinkedServiceTypeProperties.java | 12 +- ...zureSearchLinkedServiceTypeProperties.java | 12 +- ...AzureSqlDWLinkedServiceTypeProperties.java | 12 +- ...qlDatabaseLinkedServiceTypeProperties.java | 12 +- ...AzureSqlMILinkedServiceTypeProperties.java | 12 +- ...ureStorageLinkedServiceTypeProperties.java | 6 +- .../CassandraLinkedServiceTypeProperties.java | 12 +- .../fluent/models/ChangeDataCapture.java | 243 +++ .../ChangeDataCaptureResourceInner.java | 310 ++++ ...iceForAppsLinkedServiceTypeProperties.java | 12 +- .../ConcurLinkedServiceTypeProperties.java | 12 +- .../CosmosDbLinkedServiceTypeProperties.java | 35 +- .../CouchbaseLinkedServiceTypeProperties.java | 12 +- .../DataworldLinkedServiceTypeProperties.java | 12 +- .../Db2LinkedServiceTypeProperties.java | 13 +- .../DrillLinkedServiceTypeProperties.java | 12 +- ...DynamicsAXLinkedServiceTypeProperties.java | 12 +- ...ynamicsCrmLinkedServiceTypeProperties.java | 12 +- .../DynamicsLinkedServiceTypeProperties.java | 12 +- .../EloquaLinkedServiceTypeProperties.java | 12 +- ...FileServerLinkedServiceTypeProperties.java | 12 +- .../FtpServerLinkedServiceTypeProperties.java | 12 +- ...gleAdWordsLinkedServiceTypeProperties.java | 42 +- ...leBigQueryLinkedServiceTypeProperties.java | 59 +- ...oudStorageLinkedServiceTypeProperties.java | 12 +- ...ogleSheetsLinkedServiceTypeProperties.java | 12 +- .../GreenplumLinkedServiceTypeProperties.java | 12 +- .../HBaseLinkedServiceTypeProperties.java | 12 +- .../HDInsightHiveActivityTypeProperties.java | 7 +- .../HDInsightLinkedServiceTypeProperties.java | 12 +- ...htOnDemandLinkedServiceTypeProperties.java | 12 +- .../HdfsLinkedServiceTypeProperties.java | 12 +- .../HiveLinkedServiceTypeProperties.java | 12 +- .../HttpLinkedServiceTypeProperties.java | 12 +- .../HubspotLinkedServiceTypeProperties.java | 12 +- .../ImpalaLinkedServiceTypeProperties.java | 12 +- .../InformixLinkedServiceTypeProperties.java | 20 +- .../JiraLinkedServiceTypeProperties.java | 12 +- .../MagentoLinkedServiceTypeProperties.java | 12 +- .../fluent/models/MapperTableProperties.java | 85 + .../MariaDBLinkedServiceTypeProperties.java | 12 +- .../MarketoLinkedServiceTypeProperties.java | 12 +- ...softAccessLinkedServiceTypeProperties.java | 20 +- ...ngoDbAtlasLinkedServiceTypeProperties.java | 29 + .../MongoDbLinkedServiceTypeProperties.java | 12 +- .../MySqlLinkedServiceTypeProperties.java | 20 +- .../NetezzaLinkedServiceTypeProperties.java | 12 +- .../ODataLinkedServiceTypeProperties.java | 12 +- .../OdbcLinkedServiceTypeProperties.java | 20 +- .../Office365LinkedServiceTypeProperties.java | 12 +- ...oudStorageLinkedServiceTypeProperties.java | 12 +- .../OracleLinkedServiceTypeProperties.java | 12 +- ...rviceCloudLinkedServiceTypeProperties.java | 12 +- .../PaypalLinkedServiceTypeProperties.java | 18 +- .../PhoenixLinkedServiceTypeProperties.java | 12 +- ...PostgreSqlLinkedServiceTypeProperties.java | 20 +- .../PrestoLinkedServiceTypeProperties.java | 12 +- ...QuickBooksLinkedServiceTypeProperties.java | 12 +- .../QuickbaseLinkedServiceTypeProperties.java | 12 +- .../ResponsysLinkedServiceTypeProperties.java | 12 +- .../RestResourceDatasetTypeProperties.java | 33 +- ...estServiceLinkedServiceTypeProperties.java | 45 +- ...SalesforceLinkedServiceTypeProperties.java | 12 +- ...etingCloudLinkedServiceTypeProperties.java | 12 +- ...rviceCloudLinkedServiceTypeProperties.java | 12 +- .../SapBWLinkedServiceTypeProperties.java | 12 +- ...orCustomerLinkedServiceTypeProperties.java | 13 +- .../SapEccLinkedServiceTypeProperties.java | 19 +- .../SapHanaLinkedServiceProperties.java | 12 +- .../SapOdpLinkedServiceTypeProperties.java | 12 +- ...SapOpenHubLinkedServiceTypeProperties.java | 12 +- .../SapTableLinkedServiceTypeProperties.java | 12 +- ...ServiceNowLinkedServiceTypeProperties.java | 12 +- .../SetVariableActivityTypeProperties.java | 28 +- ...SftpServerLinkedServiceTypeProperties.java | 12 +- ...OnlineListLinkedServiceTypeProperties.java | 12 +- .../ShopifyLinkedServiceTypeProperties.java | 12 +- ...SmartsheetLinkedServiceTypeProperties.java | 12 +- .../SnowflakeLinkedServiceTypeProperties.java | 12 +- .../SparkLinkedServiceTypeProperties.java | 12 +- .../SqlServerLinkedServiceTypeProperties.java | 12 +- .../SquareLinkedServiceTypeProperties.java | 18 +- .../SybaseLinkedServiceTypeProperties.java | 12 +- ...SynapseNotebookActivityTypeProperties.java | 97 +- .../TeamDeskLinkedServiceTypeProperties.java | 12 +- .../TeradataLinkedServiceTypeProperties.java | 12 +- .../TwilioLinkedServiceTypeProperties.java | 8 +- .../models/UntilActivityTypeProperties.java | 9 +- .../VerticaLinkedServiceTypeProperties.java | 12 +- .../models/WaitActivityTypeProperties.java | 6 +- .../XeroLinkedServiceTypeProperties.java | 12 +- .../ZendeskLinkedServiceTypeProperties.java | 12 +- .../ZohoLinkedServiceTypeProperties.java | 12 +- .../ActivityRunsClientImpl.java | 3 +- .../ChangeDataCaptureResourceImpl.java | 290 ++++ .../ChangeDataCapturesClientImpl.java | 1457 +++++++++++++++++ .../ChangeDataCapturesImpl.java | 228 +++ .../CredentialOperationsClientImpl.java | 12 +- .../DataFactoryManagementClientImpl.java | 14 + .../DataFlowDebugSessionsClientImpl.java | 15 +- .../implementation/DataFlowsClientImpl.java | 12 +- .../implementation/DatasetsClientImpl.java | 12 +- .../ExposureControlsClientImpl.java | 6 +- .../implementation/FactoriesClientImpl.java | 24 +- .../GlobalParametersClientImpl.java | 12 +- .../IntegrationRuntimeNodesClientImpl.java | 12 +- ...ationRuntimeObjectMetadatasClientImpl.java | 6 +- .../IntegrationRuntimesClientImpl.java | 52 +- .../LinkedServicesClientImpl.java | 12 +- .../ManagedPrivateEndpointsClientImpl.java | 15 +- .../ManagedVirtualNetworksClientImpl.java | 9 +- .../PipelineRunsClientImpl.java | 9 +- .../implementation/PipelinesClientImpl.java | 15 +- .../PrivateEndPointConnectionsClientImpl.java | 3 +- ...ndpointConnectionOperationsClientImpl.java | 9 +- .../PrivateLinkResourcesClientImpl.java | 3 +- .../implementation/TriggerRunsClientImpl.java | 9 +- .../implementation/TriggersClientImpl.java | 30 +- .../datafactory/models/Activity.java | 57 + .../models/ActivityOnInactiveMarkAs.java | 53 + .../datafactory/models/ActivityState.java | 47 + .../models/AmazonMwsLinkedService.java | 8 +- .../AmazonRdsForOracleLinkedService.java | 8 +- .../AmazonRdsForSqlServerLinkedService.java | 8 +- .../models/AmazonRdsForSqlServerSource.java | 32 + .../models/AmazonRedshiftLinkedService.java | 8 +- .../AmazonS3CompatibleLinkedService.java | 8 +- .../AmazonS3CompatibleReadSettings.java | 14 +- .../models/AmazonS3LinkedService.java | 8 +- .../models/AmazonS3ReadSettings.java | 14 +- .../models/AppFiguresLinkedService.java | 6 +- .../models/AppendVariableActivity.java | 20 +- .../models/AsanaLinkedService.java | 8 +- .../models/AzureBatchLinkedService.java | 8 +- .../models/AzureBlobFSLinkedService.java | 8 +- .../models/AzureBlobFSReadSettings.java | 14 +- .../datafactory/models/AzureBlobFSSink.java | 8 +- .../models/AzureBlobStorageLinkedService.java | 12 +- .../models/AzureBlobStorageReadSettings.java | 14 +- .../AzureDataExplorerCommandActivity.java | 14 + .../AzureDataLakeAnalyticsLinkedService.java | 8 +- .../AzureDataLakeStoreLinkedService.java | 8 +- .../AzureDataLakeStoreReadSettings.java | 14 +- .../models/AzureDataLakeStoreSink.java | 8 +- .../AzureDataLakeStoreWriteSettings.java | 10 +- ...AzureDatabricksDeltaLakeLinkedService.java | 8 +- .../models/AzureDatabricksLinkedService.java | 8 +- .../models/AzureFileStorageLinkedService.java | 8 +- .../models/AzureFileStorageReadSettings.java | 14 +- .../models/AzureFunctionActivity.java | 14 + .../models/AzureFunctionLinkedService.java | 8 +- .../models/AzureMLBatchExecutionActivity.java | 14 + .../AzureMLExecutePipelineActivity.java | 14 + .../models/AzureMLLinkedService.java | 8 +- .../models/AzureMLServiceLinkedService.java | 33 +- .../models/AzureMLUpdateResourceActivity.java | 14 + .../models/AzureMariaDBLinkedService.java | 8 +- .../models/AzureMySqlLinkedService.java | 8 +- .../models/AzurePostgreSqlLinkedService.java | 8 +- .../models/AzureSearchLinkedService.java | 8 +- .../models/AzureSqlDWLinkedService.java | 8 +- .../models/AzureSqlDatabaseLinkedService.java | 8 +- .../models/AzureSqlMILinkedService.java | 8 +- .../datafactory/models/AzureSqlSource.java | 32 + .../models/AzureStorageLinkedService.java | 4 +- .../AzureTableStorageLinkedService.java | 4 +- .../models/CassandraLinkedService.java | 8 +- .../models/ChangeDataCaptureFolder.java | 50 + .../models/ChangeDataCaptureListResponse.java | 89 + .../models/ChangeDataCaptureResource.java | 446 +++++ .../models/ChangeDataCaptures.java | 236 +++ ...CommonDataServiceForAppsLinkedService.java | 8 +- .../models/ConcurLinkedService.java | 8 +- .../datafactory/models/ConnectionType.java | 44 + .../datafactory/models/ControlActivity.java | 14 + .../datafactory/models/CopyActivity.java | 14 + .../models/CosmosDbConnectionMode.java | 2 +- .../models/CosmosDbLinkedService.java | 25 +- ...osmosDbServicePrincipalCredentialType.java | 53 - .../models/CouchbaseLinkedService.java | 8 +- .../datafactory/models/CustomActivity.java | 14 + .../models/DataLakeAnalyticsUsqlActivity.java | 14 + .../datafactory/models/DataMapperMapping.java | 162 ++ .../models/DatabricksNotebookActivity.java | 14 + .../models/DatabricksSparkJarActivity.java | 14 + .../models/DatabricksSparkPythonActivity.java | 14 + .../models/DataworldLinkedService.java | 8 +- .../datafactory/models/Db2LinkedService.java | 8 +- .../datafactory/models/DeleteActivity.java | 14 + .../models/DrillLinkedService.java | 8 +- .../models/DynamicsAXLinkedService.java | 8 +- .../models/DynamicsCrmLinkedService.java | 8 +- .../models/DynamicsLinkedService.java | 8 +- .../models/EloquaLinkedService.java | 8 +- .../models/ExecuteDataFlowActivity.java | 14 + .../models/ExecutePipelineActivity.java | 14 + .../models/ExecuteSsisPackageActivity.java | 14 + .../ExecuteWranglingDataflowActivity.java | 14 + .../datafactory/models/ExecutionActivity.java | 14 + .../datafactory/models/FactoryIdentity.java | 2 +- .../datafactory/models/FailActivity.java | 14 + .../models/FileServerLinkedService.java | 8 +- .../models/FileServerReadSettings.java | 14 +- .../datafactory/models/FilterActivity.java | 14 + .../datafactory/models/ForEachActivity.java | 14 + .../datafactory/models/FrequencyType.java | 50 + .../datafactory/models/FtpReadSettings.java | 29 +- .../models/FtpServerLinkedService.java | 8 +- .../models/GetMetadataActivity.java | 14 + .../models/GoogleAdWordsLinkedService.java | 28 +- .../models/GoogleBigQueryLinkedService.java | 40 +- .../GoogleCloudStorageLinkedService.java | 8 +- .../GoogleCloudStorageReadSettings.java | 14 +- .../models/GoogleSheetsLinkedService.java | 8 +- .../models/GreenplumLinkedService.java | 8 +- .../models/HBaseLinkedService.java | 8 +- .../models/HDInsightHiveActivity.java | 18 +- .../models/HDInsightLinkedService.java | 8 +- .../models/HDInsightMapReduceActivity.java | 14 + .../HDInsightOnDemandLinkedService.java | 8 +- .../models/HDInsightPigActivity.java | 14 + .../models/HDInsightSparkActivity.java | 14 + .../models/HDInsightStreamingActivity.java | 14 + .../datafactory/models/HdfsLinkedService.java | 8 +- .../datafactory/models/HdfsReadSettings.java | 14 +- .../datafactory/models/HiveLinkedService.java | 8 +- .../datafactory/models/HttpLinkedService.java | 8 +- .../datafactory/models/HttpReadSettings.java | 61 +- .../models/HubspotLinkedService.java | 8 +- .../models/IfConditionActivity.java | 14 + .../models/ImpalaLinkedService.java | 8 +- .../models/InformixLinkedService.java | 14 +- .../IntegrationRuntimeDataFlowProperties.java | 31 + ...ataFlowPropertiesCustomPropertiesItem.java | 76 + .../datafactory/models/JiraLinkedService.java | 8 +- .../datafactory/models/LookupActivity.java | 14 + .../models/MagentoLinkedService.java | 8 +- .../models/MapperAttributeMapping.java | 195 +++ .../models/MapperAttributeMappings.java | 54 + .../models/MapperAttributeReference.java | 105 ++ .../datafactory/models/MapperConnection.java | 173 ++ .../models/MapperConnectionReference.java | 76 + .../models/MapperDslConnectorProperties.java | 76 + .../datafactory/models/MapperPolicy.java | 79 + .../models/MapperPolicyRecurrence.java | 76 + .../models/MapperSourceConnectionsInfo.java | 83 + .../datafactory/models/MapperTable.java | 116 ++ .../datafactory/models/MapperTableSchema.java | 76 + .../models/MapperTargetConnectionsInfo.java | 138 ++ .../datafactory/models/MappingType.java | 50 + .../models/MariaDBLinkedService.java | 8 +- .../models/MarketoLinkedService.java | 8 +- .../models/MicrosoftAccessLinkedService.java | 14 +- .../models/MongoDbAtlasLinkedService.java | 25 + .../models/MongoDbLinkedService.java | 8 +- .../models/MySqlLinkedService.java | 14 +- .../models/NetezzaLinkedService.java | 8 +- .../models/ODataLinkedService.java | 8 +- .../datafactory/models/OdbcLinkedService.java | 14 +- .../models/Office365LinkedService.java | 8 +- .../datafactory/models/Office365Source.java | 8 +- .../OracleCloudStorageLinkedService.java | 8 +- .../OracleCloudStorageReadSettings.java | 14 +- .../models/OracleLinkedService.java | 8 +- .../OracleServiceCloudLinkedService.java | 8 +- .../models/PaypalLinkedService.java | 12 +- .../models/PhoenixLinkedService.java | 8 +- .../models/PostgreSqlLinkedService.java | 14 +- .../models/PrestoLinkedService.java | 8 +- .../models/QuickBooksLinkedService.java | 8 +- .../models/QuickbaseLinkedService.java | 8 +- .../models/ResponsysLinkedService.java | 8 +- .../models/RestResourceDataset.java | 20 +- .../models/RestServiceLinkedService.java | 30 +- .../models/SalesforceLinkedService.java | 8 +- ...SalesforceMarketingCloudLinkedService.java | 8 +- .../SalesforceServiceCloudLinkedService.java | 8 +- .../models/SalesforceServiceCloudSource.java | 15 +- .../datafactory/models/SalesforceSource.java | 15 +- .../models/SalesforceSourceReadBehavior.java | 47 - .../models/SapBWLinkedService.java | 8 +- .../SapCloudForCustomerLinkedService.java | 8 +- .../models/SapEccLinkedService.java | 12 +- .../models/SapHanaLinkedService.java | 8 +- .../models/SapOdpLinkedService.java | 8 +- .../models/SapOpenHubLinkedService.java | 8 +- .../models/SapTableLinkedService.java | 8 +- .../datafactory/models/ScriptActivity.java | 14 + .../models/ScriptActivityParameter.java | 6 +- .../models/ServiceNowLinkedService.java | 8 +- .../models/SetVariableActivity.java | 37 + .../datafactory/models/SftpReadSettings.java | 14 +- .../models/SftpServerLinkedService.java | 8 +- .../SharePointOnlineListLinkedService.java | 8 +- .../models/ShopifyLinkedService.java | 8 +- .../models/SmartsheetLinkedService.java | 8 +- .../models/SnowflakeLinkedService.java | 8 +- .../models/SparkLinkedService.java | 8 +- .../models/SqlAlwaysEncryptedAkvAuthType.java | 2 +- .../models/SqlAlwaysEncryptedProperties.java | 8 +- .../datafactory/models/SqlDWSource.java | 32 + .../datafactory/models/SqlMISource.java | 32 + .../models/SqlServerLinkedService.java | 8 +- .../datafactory/models/SqlServerSource.java | 32 + .../SqlServerStoredProcedureActivity.java | 14 + .../models/SquareLinkedService.java | 12 +- .../models/SsisAccessCredential.java | 14 +- .../models/SsisExecutionCredential.java | 14 +- .../datafactory/models/SwitchActivity.java | 14 + .../models/SybaseLinkedService.java | 8 +- .../models/SynapseNotebookActivity.java | 92 +- .../SynapseSparkJobDefinitionActivity.java | 14 + .../datafactory/models/TabularTranslator.java | 21 +- .../models/TeamDeskLinkedService.java | 8 +- .../models/TeradataLinkedService.java | 8 +- .../models/TwilioLinkedService.java | 6 +- .../datafactory/models/UntilActivity.java | 20 +- .../models/ValidationActivity.java | 14 + .../models/VerticaLinkedService.java | 8 +- .../datafactory/models/WaitActivity.java | 18 +- .../datafactory/models/WebActivity.java | 14 + .../datafactory/models/WebhookActivity.java | 14 + .../datafactory/models/XeroLinkedService.java | 8 +- .../models/ZendeskLinkedService.java | 8 +- .../datafactory/models/ZohoLinkedService.java | 8 +- ...hangeDataCaptureCreateOrUpdateSamples.java | 1215 ++++++++++++++ .../ChangeDataCaptureDeleteSamples.java | 26 + .../ChangeDataCaptureGetSamples.java | 27 + ...ChangeDataCaptureListByFactorySamples.java | 23 + .../ChangeDataCaptureStartSamples.java | 26 + .../ChangeDataCaptureStatusSamples.java | 26 + .../ChangeDataCaptureStopSamples.java | 26 + 360 files changed, 10885 insertions(+), 1719 deletions(-) create mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/ChangeDataCapturesClient.java create mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ChangeDataCapture.java create mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ChangeDataCaptureResourceInner.java create mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/MapperTableProperties.java create mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/ChangeDataCaptureResourceImpl.java create mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/ChangeDataCapturesClientImpl.java create mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/ChangeDataCapturesImpl.java create mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ActivityOnInactiveMarkAs.java create mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ActivityState.java create mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ChangeDataCaptureFolder.java create mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ChangeDataCaptureListResponse.java create mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ChangeDataCaptureResource.java create mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ChangeDataCaptures.java create mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ConnectionType.java delete mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/CosmosDbServicePrincipalCredentialType.java create mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DataMapperMapping.java create mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/FrequencyType.java create mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/IntegrationRuntimeDataFlowPropertiesCustomPropertiesItem.java create mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperAttributeMapping.java create mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperAttributeMappings.java create mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperAttributeReference.java create mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperConnection.java create mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperConnectionReference.java create mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperDslConnectorProperties.java create mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperPolicy.java create mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperPolicyRecurrence.java create mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperSourceConnectionsInfo.java create mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperTable.java create mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperTableSchema.java create mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperTargetConnectionsInfo.java create mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MappingType.java delete mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SalesforceSourceReadBehavior.java create mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/samples/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureCreateOrUpdateSamples.java create mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/samples/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureDeleteSamples.java create mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/samples/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureGetSamples.java create mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/samples/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureListByFactorySamples.java create mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/samples/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureStartSamples.java create mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/samples/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureStatusSamples.java create mode 100644 sdk/datafactory/azure-resourcemanager-datafactory/src/samples/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureStopSamples.java diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/CHANGELOG.md b/sdk/datafactory/azure-resourcemanager-datafactory/CHANGELOG.md index 09bf4dbf24705..26eb260e03e4f 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/CHANGELOG.md +++ b/sdk/datafactory/azure-resourcemanager-datafactory/CHANGELOG.md @@ -1,6 +1,8 @@ # Release History -## 1.0.0-beta.23 (Unreleased) +## 1.0.0-beta.1 (2023-05-31) + +- 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). ### Features Added diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/README.md b/sdk/datafactory/azure-resourcemanager-datafactory/README.md index aa491db959fff..63c7374a5c1a3 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.22 + 1.0.0-beta.23 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/SAMPLE.md b/sdk/datafactory/azure-resourcemanager-datafactory/SAMPLE.md index 9cdc7b270cf2d..48b6a22f5a982 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/SAMPLE.md +++ b/sdk/datafactory/azure-resourcemanager-datafactory/SAMPLE.md @@ -5,6 +5,16 @@ - [QueryByPipelineRun](#activityruns_querybypipelinerun) +## ChangeDataCapture + +- [CreateOrUpdate](#changedatacapture_createorupdate) +- [Delete](#changedatacapture_delete) +- [Get](#changedatacapture_get) +- [ListByFactory](#changedatacapture_listbyfactory) +- [Start](#changedatacapture_start) +- [Status](#changedatacapture_status) +- [Stop](#changedatacapture_stop) + ## CredentialOperations - [CreateOrUpdate](#credentialoperations_createorupdate) @@ -193,6 +203,1368 @@ public final class ActivityRunsQueryByPipelineRunSamples { } ``` +### ChangeDataCapture_CreateOrUpdate + +```java +import com.azure.core.management.serializer.SerializerFactory; +import com.azure.core.util.serializer.SerializerEncoding; +import com.azure.resourcemanager.datafactory.models.ChangeDataCaptureResource; +import com.azure.resourcemanager.datafactory.models.ConnectionType; +import com.azure.resourcemanager.datafactory.models.DataMapperMapping; +import com.azure.resourcemanager.datafactory.models.FrequencyType; +import com.azure.resourcemanager.datafactory.models.LinkedServiceReference; +import com.azure.resourcemanager.datafactory.models.MapperAttributeMapping; +import com.azure.resourcemanager.datafactory.models.MapperAttributeMappings; +import com.azure.resourcemanager.datafactory.models.MapperAttributeReference; +import com.azure.resourcemanager.datafactory.models.MapperConnection; +import com.azure.resourcemanager.datafactory.models.MapperConnectionReference; +import com.azure.resourcemanager.datafactory.models.MapperDslConnectorProperties; +import com.azure.resourcemanager.datafactory.models.MapperPolicy; +import com.azure.resourcemanager.datafactory.models.MapperPolicyRecurrence; +import com.azure.resourcemanager.datafactory.models.MapperSourceConnectionsInfo; +import com.azure.resourcemanager.datafactory.models.MapperTable; +import com.azure.resourcemanager.datafactory.models.MapperTableSchema; +import com.azure.resourcemanager.datafactory.models.MapperTargetConnectionsInfo; +import com.azure.resourcemanager.datafactory.models.MappingType; +import java.io.IOException; +import java.util.Arrays; + +/** Samples for ChangeDataCapture CreateOrUpdate. */ +public final class ChangeDataCaptureCreateOrUpdateSamples { + /* + * x-ms-original-file: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Create.json + */ + /** + * Sample code: ChangeDataCapture_Create. + * + * @param manager Entry point to DataFactoryManager. + */ + public static void changeDataCaptureCreate(com.azure.resourcemanager.datafactory.DataFactoryManager manager) + throws IOException { + manager + .changeDataCaptures() + .define("exampleChangeDataCapture") + .withExistingFactory("exampleResourceGroup", "exampleFactoryName") + .withSourceConnectionsInfo( + Arrays + .asList( + new MapperSourceConnectionsInfo() + .withSourceEntities( + Arrays + .asList( + new MapperTable() + .withName("source/customer") + .withSchema( + Arrays + .asList( + new MapperTableSchema() + .withName("CustId") + .withDataType("short"), + new MapperTableSchema() + .withName("CustName") + .withDataType("string"), + new MapperTableSchema() + .withName("CustAddres") + .withDataType("string"), + new MapperTableSchema() + .withName("CustDepName") + .withDataType("string"), + new MapperTableSchema() + .withName("CustDepLoc") + .withDataType("string"))) + .withDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("container") + .withValue("source"), + new MapperDslConnectorProperties() + .withName("fileSystem") + .withValue("source"), + new MapperDslConnectorProperties() + .withName("folderPath") + .withValue("customer"), + new MapperDslConnectorProperties() + .withName("allowSchemaDrift") + .withValue(false), + new MapperDslConnectorProperties() + .withName("inferDriftedColumnTypes") + .withValue(false))), + new MapperTable() + .withName("source/employee") + .withSchema(Arrays.asList()) + .withDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("container") + .withValue("source"), + new MapperDslConnectorProperties() + .withName("fileSystem") + .withValue("source"), + new MapperDslConnectorProperties() + .withName("folderPath") + .withValue("employee"))), + new MapperTable() + .withName("lookup") + .withSchema( + Arrays + .asList( + new MapperTableSchema().withName("EmpId").withDataType("short"), + new MapperTableSchema() + .withName("EmpName") + .withDataType("string"), + new MapperTableSchema() + .withName("HomeAddress") + .withDataType("string"), + new MapperTableSchema() + .withName("OfficeAddress") + .withDataType("string"), + new MapperTableSchema() + .withName("EmpPhoneNumber") + .withDataType("integer"), + new MapperTableSchema() + .withName("DepName") + .withDataType("string"), + new MapperTableSchema() + .withName("DepLoc") + .withDataType("string"), + new MapperTableSchema() + .withName("DecimalCol") + .withDataType("double"))) + .withDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("container") + .withValue("lookup"), + new MapperDslConnectorProperties() + .withName("fileSystem") + .withValue("lookup"), + new MapperDslConnectorProperties() + .withName("allowSchemaDrift") + .withValue(false), + new MapperDslConnectorProperties() + .withName("inferDriftedColumnTypes") + .withValue(false))), + new MapperTable() + .withName("source/justSchema") + .withSchema( + Arrays + .asList( + new MapperTableSchema() + .withName("CustId") + .withDataType("string"), + new MapperTableSchema() + .withName("CustName") + .withDataType("string"), + new MapperTableSchema() + .withName("CustAddres") + .withDataType("string"), + new MapperTableSchema() + .withName("CustDepName") + .withDataType("string"), + new MapperTableSchema() + .withName("CustDepLoc") + .withDataType("string"))) + .withDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("container") + .withValue("source"), + new MapperDslConnectorProperties() + .withName("fileSystem") + .withValue("source"), + new MapperDslConnectorProperties() + .withName("folderPath") + .withValue("justSchema"), + new MapperDslConnectorProperties() + .withName("allowSchemaDrift") + .withValue(false), + new MapperDslConnectorProperties() + .withName("inferDriftedColumnTypes") + .withValue(false))))) + .withConnection( + new MapperConnection() + .withLinkedService(new LinkedServiceReference().withReferenceName("amjaAdls03")) + .withLinkedServiceType("AzureBlobFS") + .withType(ConnectionType.LINKEDSERVICETYPE) + .withIsInlineDataset(true) + .withCommonDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("allowSchemaDrift") + .withValue(true), + new MapperDslConnectorProperties() + .withName("inferDriftedColumnTypes") + .withValue(true), + new MapperDslConnectorProperties() + .withName("format") + .withValue("delimited"), + new MapperDslConnectorProperties() + .withName("dateFormats") + .withValue( + SerializerFactory + .createDefaultManagementSerializerAdapter() + .deserialize( + "[\"MM/dd/yyyy\",\"dd/MM/yyyy\",\"yyyy/MM/dd\",\"MM-dd-yyyy\",\"dd-MM-yyyy\",\"yyyy-MM-dd\",\"dd.MM.yyyy\",\"MM.dd.yyyy\",\"yyyy.MM.dd\"]", + Object.class, + SerializerEncoding.JSON)), + new MapperDslConnectorProperties() + .withName("timestampFormats") + .withValue( + SerializerFactory + .createDefaultManagementSerializerAdapter() + .deserialize( + "[\"yyyyMMddHHmm\",\"yyyyMMdd" + + " HHmm\",\"yyyyMMddHHmmss\",\"yyyyMMdd" + + " HHmmss\",\"dd-MM-yyyy HH:mm:ss\",\"dd-MM-yyyy" + + " HH:mm\",\"yyyy-M-d" + + " H:m:s\",\"yyyy-MM-dd\\\\'T\\\\'HH:mm:ss\\\\'Z\\\\'\",\"yyyy-M-d\\\\'T\\\\'H:m:s\\\\'Z\\\\'\",\"yyyy-M-d\\\\'T\\\\'H:m:s\",\"yyyy-MM-dd\\\\'T\\\\'HH:mm:ss\",\"yyyy-MM-dd" + + " HH:mm:ss\",\"yyyy-MM-dd HH:mm\",\"yyyy.MM.dd" + + " HH:mm:ss\",\"MM/dd/yyyy HH:mm:ss\",\"M/d/yyyy" + + " H:m:s\",\"yyyy/MM/dd HH:mm:ss\",\"yyyy/M/d" + + " H:m:s\",\"dd MMM yyyy HH:mm:ss\",\"dd MMMM yyyy" + + " HH:mm:ss\",\"d MMM yyyy H:m:s\",\"d MMMM yyyy" + + " H:m:s\",\"d-M-yyyy H:m:s\",\"d-M-yyyy" + + " H:m\",\"yyyy-M-d H:m\",\"MM/dd/yyyy" + + " HH:mm\",\"M/d/yyyy H:m\",\"yyyy/MM/dd" + + " HH:mm\",\"yyyy/M/d H:m\",\"dd MMMM yyyy" + + " HH:mm\",\"dd MMM yyyy HH:mm\",\"d MMMM yyyy" + + " H:m\",\"d MMM yyyy H:m\",\"MM-dd-yyyy hh:mm:ss" + + " a\",\"MM-dd-yyyy HH:mm:ss\",\"MM/dd/yyyy" + + " hh:mm:ss a\",\"yyyy.MM.dd hh:mm:ss" + + " a\",\"MM/dd/yyyy\",\"dd/MM/yyyy\",\"yyyy/MM/dd\",\"MM-dd-yyyy\",\"dd-MM-yyyy\",\"yyyy-MM-dd\",\"dd.MM.yyyy\",\"MM.dd.yyyy\",\"yyyy.MM.dd\"]", + Object.class, + SerializerEncoding.JSON)), + new MapperDslConnectorProperties() + .withName("enableCdc") + .withValue(true), + new MapperDslConnectorProperties() + .withName("skipInitialLoad") + .withValue(true), + new MapperDslConnectorProperties() + .withName("columnNamesAsHeader") + .withValue(true), + new MapperDslConnectorProperties() + .withName("columnDelimiter") + .withValue(","), + new MapperDslConnectorProperties() + .withName("escapeChar") + .withValue("\\\\"), + new MapperDslConnectorProperties() + .withName("quoteChar") + .withValue("\\\"")))))) + .withTargetConnectionsInfo( + Arrays + .asList( + new MapperTargetConnectionsInfo() + .withTargetEntities( + Arrays + .asList( + new MapperTable() + .withName("dbo.employee") + .withSchema(Arrays.asList()) + .withDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("schemaName") + .withValue("dbo"), + new MapperDslConnectorProperties() + .withName("tableName") + .withValue("employee"))), + new MapperTable() + .withName("dbo.justSchema") + .withSchema(Arrays.asList()) + .withDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("schemaName") + .withValue("dbo"), + new MapperDslConnectorProperties() + .withName("tableName") + .withValue("justSchema"), + new MapperDslConnectorProperties() + .withName("allowSchemaDrift") + .withValue(true), + new MapperDslConnectorProperties() + .withName("inferDriftedColumnTypes") + .withValue(true))), + new MapperTable() + .withName("dbo.customer") + .withSchema( + Arrays + .asList( + new MapperTableSchema() + .withName("CustId") + .withDataType("integer"), + new MapperTableSchema() + .withName("CustName") + .withDataType("string"), + new MapperTableSchema() + .withName("CustAddres") + .withDataType("string"), + new MapperTableSchema() + .withName("CustDeptName") + .withDataType("string"), + new MapperTableSchema() + .withName("CustEmail") + .withDataType("string"))) + .withDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("schemaName") + .withValue("dbo"), + new MapperDslConnectorProperties() + .withName("tableName") + .withValue("customer"), + new MapperDslConnectorProperties() + .withName("allowSchemaDrift") + .withValue(false), + new MapperDslConnectorProperties() + .withName("inferDriftedColumnTypes") + .withValue(false))), + new MapperTable() + .withName("dbo.data_source_table") + .withSchema( + Arrays + .asList( + new MapperTableSchema() + .withName("PersonID") + .withDataType("integer"), + new MapperTableSchema().withName("Name").withDataType("string"), + new MapperTableSchema() + .withName("LastModifytime") + .withDataType("timestamp"))) + .withDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("schemaName") + .withValue("dbo"), + new MapperDslConnectorProperties() + .withName("tableName") + .withValue("data_source_table"), + new MapperDslConnectorProperties() + .withName("allowSchemaDrift") + .withValue(false), + new MapperDslConnectorProperties() + .withName("inferDriftedColumnTypes") + .withValue(false), + new MapperDslConnectorProperties() + .withName("defaultToUpsert") + .withValue(false))))) + .withConnection( + new MapperConnection() + .withLinkedService(new LinkedServiceReference().withReferenceName("amjaSql")) + .withLinkedServiceType("AzureSqlDatabase") + .withType(ConnectionType.LINKEDSERVICETYPE) + .withIsInlineDataset(true) + .withCommonDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("allowSchemaDrift") + .withValue(true), + new MapperDslConnectorProperties() + .withName("inferDriftedColumnTypes") + .withValue(true), + new MapperDslConnectorProperties() + .withName("format") + .withValue("table"), + new MapperDslConnectorProperties() + .withName("store") + .withValue("sqlserver"), + new MapperDslConnectorProperties() + .withName("databaseType") + .withValue("databaseType"), + new MapperDslConnectorProperties() + .withName("database") + .withValue("database"), + new MapperDslConnectorProperties() + .withName("deletable") + .withValue(false), + new MapperDslConnectorProperties() + .withName("insertable") + .withValue(true), + new MapperDslConnectorProperties() + .withName("updateable") + .withValue(false), + new MapperDslConnectorProperties() + .withName("upsertable") + .withValue(false), + new MapperDslConnectorProperties() + .withName("skipDuplicateMapInputs") + .withValue(true), + new MapperDslConnectorProperties() + .withName("skipDuplicateMapOutputs") + .withValue(true)))) + .withDataMapperMappings( + Arrays + .asList( + new DataMapperMapping() + .withTargetEntityName("dbo.customer") + .withSourceEntityName("source/customer") + .withSourceConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType(ConnectionType.LINKEDSERVICETYPE)) + .withAttributeMappingInfo( + new MapperAttributeMappings().withAttributeMappings(Arrays.asList())), + new DataMapperMapping() + .withTargetEntityName("dbo.data_source_table") + .withSourceEntityName("lookup") + .withSourceConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType(ConnectionType.LINKEDSERVICETYPE)) + .withAttributeMappingInfo( + new MapperAttributeMappings() + .withAttributeMappings( + Arrays + .asList( + new MapperAttributeMapping() + .withName("Name") + .withType(MappingType.DERIVED) + .withFunctionName("upper") + .withExpression("upper(EmpName)") + .withAttributeReferences( + Arrays + .asList( + new MapperAttributeReference() + .withName("EmpName") + .withEntity("lookup") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName( + "amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE)))), + new MapperAttributeMapping() + .withName("PersonID") + .withType(MappingType.DIRECT) + .withFunctionName("") + .withAttributeReference( + new MapperAttributeReference() + .withName("EmpId") + .withEntity("lookup") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE)))))), + new DataMapperMapping() + .withTargetEntityName("dbo.employee") + .withSourceEntityName("source/employee") + .withSourceConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType(ConnectionType.LINKEDSERVICETYPE)) + .withAttributeMappingInfo( + new MapperAttributeMappings().withAttributeMappings(Arrays.asList())), + new DataMapperMapping() + .withTargetEntityName("dbo.justSchema") + .withSourceEntityName("source/justSchema") + .withSourceConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType(ConnectionType.LINKEDSERVICETYPE)) + .withAttributeMappingInfo( + new MapperAttributeMappings() + .withAttributeMappings( + Arrays + .asList( + new MapperAttributeMapping() + .withName("CustAddres") + .withType(MappingType.DERIVED) + .withFunctionName("trim") + .withExpression("trim(CustAddres)") + .withAttributeReferences( + Arrays + .asList( + new MapperAttributeReference() + .withName("CustAddres") + .withEntity("source/justSchema") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName( + "amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE)))), + new MapperAttributeMapping() + .withName("CustDepLoc") + .withType(MappingType.DIRECT) + .withAttributeReference( + new MapperAttributeReference() + .withName("CustDepLoc") + .withEntity("source/justSchema") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE))), + new MapperAttributeMapping() + .withName("CustDepName") + .withType(MappingType.DERIVED) + .withFunctionName("") + .withExpression( + "concat(CustName, \" -> \", CustDepName)") + .withAttributeReferences( + Arrays + .asList( + new MapperAttributeReference() + .withName("CustName") + .withEntity("source/justSchema") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName( + "amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE)), + new MapperAttributeReference() + .withName("CustDepName") + .withEntity("source/justSchema") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName( + "amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE)))), + new MapperAttributeMapping() + .withName("CustId") + .withType(MappingType.DIRECT) + .withFunctionName("") + .withAttributeReference( + new MapperAttributeReference() + .withName("CustId") + .withEntity("source/justSchema") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE))), + new MapperAttributeMapping() + .withName("CustName") + .withType(MappingType.DIRECT) + .withAttributeReference( + new MapperAttributeReference() + .withName("CustName") + .withEntity("source/justSchema") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE)))))))) + .withRelationships(Arrays.asList()))) + .withPolicy( + new MapperPolicy() + .withMode("Microbatch") + .withRecurrence(new MapperPolicyRecurrence().withFrequency(FrequencyType.MINUTE).withInterval(15))) + .withDescription( + "Sample demo change data capture to transfer data from delimited (csv) to Azure SQL Database with" + + " automapped and non-automapped mappings.") + .withAllowVNetOverride(false) + .create(); + } + + /* + * x-ms-original-file: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Update.json + */ + /** + * Sample code: ChangeDataCapture_Update. + * + * @param manager Entry point to DataFactoryManager. + */ + public static void changeDataCaptureUpdate(com.azure.resourcemanager.datafactory.DataFactoryManager manager) + throws IOException { + ChangeDataCaptureResource resource = + manager + .changeDataCaptures() + .getWithResponse( + "exampleResourceGroup", + "exampleFactoryName", + "exampleChangeDataCapture", + null, + com.azure.core.util.Context.NONE) + .getValue(); + resource + .update() + .withDescription( + "Sample demo change data capture to transfer data from delimited (csv) to Azure SQL Database. Updating" + + " table mappings.") + .withSourceConnectionsInfo( + Arrays + .asList( + new MapperSourceConnectionsInfo() + .withSourceEntities( + Arrays + .asList( + new MapperTable() + .withName("source/customer") + .withSchema( + Arrays + .asList( + new MapperTableSchema() + .withName("CustId") + .withDataType("short"), + new MapperTableSchema() + .withName("CustName") + .withDataType("string"), + new MapperTableSchema() + .withName("CustAddres") + .withDataType("string"), + new MapperTableSchema() + .withName("CustDepName") + .withDataType("string"), + new MapperTableSchema() + .withName("CustDepLoc") + .withDataType("string"))) + .withDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("container") + .withValue("source"), + new MapperDslConnectorProperties() + .withName("fileSystem") + .withValue("source"), + new MapperDslConnectorProperties() + .withName("folderPath") + .withValue("customer"), + new MapperDslConnectorProperties() + .withName("allowSchemaDrift") + .withValue(false), + new MapperDslConnectorProperties() + .withName("inferDriftedColumnTypes") + .withValue(false))), + new MapperTable() + .withName("source/employee") + .withSchema(Arrays.asList()) + .withDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("container") + .withValue("source"), + new MapperDslConnectorProperties() + .withName("fileSystem") + .withValue("source"), + new MapperDslConnectorProperties() + .withName("folderPath") + .withValue("employee"))), + new MapperTable() + .withName("lookup") + .withSchema( + Arrays + .asList( + new MapperTableSchema().withName("EmpId").withDataType("short"), + new MapperTableSchema() + .withName("EmpName") + .withDataType("string"), + new MapperTableSchema() + .withName("HomeAddress") + .withDataType("string"), + new MapperTableSchema() + .withName("OfficeAddress") + .withDataType("string"), + new MapperTableSchema() + .withName("EmpPhoneNumber") + .withDataType("integer"), + new MapperTableSchema() + .withName("DepName") + .withDataType("string"), + new MapperTableSchema() + .withName("DepLoc") + .withDataType("string"), + new MapperTableSchema() + .withName("DecimalCol") + .withDataType("double"))) + .withDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("container") + .withValue("lookup"), + new MapperDslConnectorProperties() + .withName("fileSystem") + .withValue("lookup"), + new MapperDslConnectorProperties() + .withName("allowSchemaDrift") + .withValue(false), + new MapperDslConnectorProperties() + .withName("inferDriftedColumnTypes") + .withValue(false))), + new MapperTable() + .withName("source/justSchema") + .withSchema( + Arrays + .asList( + new MapperTableSchema() + .withName("CustId") + .withDataType("string"), + new MapperTableSchema() + .withName("CustName") + .withDataType("string"), + new MapperTableSchema() + .withName("CustAddres") + .withDataType("string"), + new MapperTableSchema() + .withName("CustDepName") + .withDataType("string"), + new MapperTableSchema() + .withName("CustDepLoc") + .withDataType("string"))) + .withDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("container") + .withValue("source"), + new MapperDslConnectorProperties() + .withName("fileSystem") + .withValue("source"), + new MapperDslConnectorProperties() + .withName("folderPath") + .withValue("justSchema"), + new MapperDslConnectorProperties() + .withName("allowSchemaDrift") + .withValue(false), + new MapperDslConnectorProperties() + .withName("inferDriftedColumnTypes") + .withValue(false))))) + .withConnection( + new MapperConnection() + .withLinkedService(new LinkedServiceReference().withReferenceName("amjaAdls03")) + .withLinkedServiceType("AzureBlobFS") + .withType(ConnectionType.LINKEDSERVICETYPE) + .withIsInlineDataset(true) + .withCommonDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("allowSchemaDrift") + .withValue(true), + new MapperDslConnectorProperties() + .withName("inferDriftedColumnTypes") + .withValue(true), + new MapperDslConnectorProperties() + .withName("format") + .withValue("delimited"), + new MapperDslConnectorProperties() + .withName("dateFormats") + .withValue( + SerializerFactory + .createDefaultManagementSerializerAdapter() + .deserialize( + "[\"MM/dd/yyyy\",\"dd/MM/yyyy\",\"yyyy/MM/dd\",\"MM-dd-yyyy\",\"dd-MM-yyyy\",\"yyyy-MM-dd\",\"dd.MM.yyyy\",\"MM.dd.yyyy\",\"yyyy.MM.dd\"]", + Object.class, + SerializerEncoding.JSON)), + new MapperDslConnectorProperties() + .withName("timestampFormats") + .withValue( + SerializerFactory + .createDefaultManagementSerializerAdapter() + .deserialize( + "[\"yyyyMMddHHmm\",\"yyyyMMdd" + + " HHmm\",\"yyyyMMddHHmmss\",\"yyyyMMdd" + + " HHmmss\",\"dd-MM-yyyy HH:mm:ss\",\"dd-MM-yyyy" + + " HH:mm\",\"yyyy-M-d" + + " H:m:s\",\"yyyy-MM-dd\\\\'T\\\\'HH:mm:ss\\\\'Z\\\\'\",\"yyyy-M-d\\\\'T\\\\'H:m:s\\\\'Z\\\\'\",\"yyyy-M-d\\\\'T\\\\'H:m:s\",\"yyyy-MM-dd\\\\'T\\\\'HH:mm:ss\",\"yyyy-MM-dd" + + " HH:mm:ss\",\"yyyy-MM-dd HH:mm\",\"yyyy.MM.dd" + + " HH:mm:ss\",\"MM/dd/yyyy HH:mm:ss\",\"M/d/yyyy" + + " H:m:s\",\"yyyy/MM/dd HH:mm:ss\",\"yyyy/M/d" + + " H:m:s\",\"dd MMM yyyy HH:mm:ss\",\"dd MMMM yyyy" + + " HH:mm:ss\",\"d MMM yyyy H:m:s\",\"d MMMM yyyy" + + " H:m:s\",\"d-M-yyyy H:m:s\",\"d-M-yyyy" + + " H:m\",\"yyyy-M-d H:m\",\"MM/dd/yyyy" + + " HH:mm\",\"M/d/yyyy H:m\",\"yyyy/MM/dd" + + " HH:mm\",\"yyyy/M/d H:m\",\"dd MMMM yyyy" + + " HH:mm\",\"dd MMM yyyy HH:mm\",\"d MMMM yyyy" + + " H:m\",\"d MMM yyyy H:m\",\"MM-dd-yyyy hh:mm:ss" + + " a\",\"MM-dd-yyyy HH:mm:ss\",\"MM/dd/yyyy" + + " hh:mm:ss a\",\"yyyy.MM.dd hh:mm:ss" + + " a\",\"MM/dd/yyyy\",\"dd/MM/yyyy\",\"yyyy/MM/dd\",\"MM-dd-yyyy\",\"dd-MM-yyyy\",\"yyyy-MM-dd\",\"dd.MM.yyyy\",\"MM.dd.yyyy\",\"yyyy.MM.dd\"]", + Object.class, + SerializerEncoding.JSON)), + new MapperDslConnectorProperties() + .withName("enableCdc") + .withValue(true), + new MapperDslConnectorProperties() + .withName("skipInitialLoad") + .withValue(true), + new MapperDslConnectorProperties() + .withName("columnNamesAsHeader") + .withValue(true), + new MapperDslConnectorProperties() + .withName("columnDelimiter") + .withValue(","), + new MapperDslConnectorProperties() + .withName("escapeChar") + .withValue("\\\\"), + new MapperDslConnectorProperties() + .withName("quoteChar") + .withValue("\\\"")))))) + .withTargetConnectionsInfo( + Arrays + .asList( + new MapperTargetConnectionsInfo() + .withTargetEntities( + Arrays + .asList( + new MapperTable() + .withName("dbo.employee") + .withSchema(Arrays.asList()) + .withDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("schemaName") + .withValue("dbo"), + new MapperDslConnectorProperties() + .withName("tableName") + .withValue("employee"))), + new MapperTable() + .withName("dbo.justSchema") + .withSchema(Arrays.asList()) + .withDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("schemaName") + .withValue("dbo"), + new MapperDslConnectorProperties() + .withName("tableName") + .withValue("justSchema"), + new MapperDslConnectorProperties() + .withName("allowSchemaDrift") + .withValue(true), + new MapperDslConnectorProperties() + .withName("inferDriftedColumnTypes") + .withValue(true))), + new MapperTable() + .withName("dbo.customer") + .withSchema( + Arrays + .asList( + new MapperTableSchema() + .withName("CustId") + .withDataType("integer"), + new MapperTableSchema() + .withName("CustName") + .withDataType("string"), + new MapperTableSchema() + .withName("CustAddres") + .withDataType("string"), + new MapperTableSchema() + .withName("CustDeptName") + .withDataType("string"), + new MapperTableSchema() + .withName("CustEmail") + .withDataType("string"))) + .withDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("schemaName") + .withValue("dbo"), + new MapperDslConnectorProperties() + .withName("tableName") + .withValue("customer"), + new MapperDslConnectorProperties() + .withName("allowSchemaDrift") + .withValue(false), + new MapperDslConnectorProperties() + .withName("inferDriftedColumnTypes") + .withValue(false))), + new MapperTable() + .withName("dbo.data_source_table") + .withSchema( + Arrays + .asList( + new MapperTableSchema() + .withName("PersonID") + .withDataType("integer"), + new MapperTableSchema().withName("Name").withDataType("string"), + new MapperTableSchema() + .withName("LastModifytime") + .withDataType("timestamp"))) + .withDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("schemaName") + .withValue("dbo"), + new MapperDslConnectorProperties() + .withName("tableName") + .withValue("data_source_table"), + new MapperDslConnectorProperties() + .withName("allowSchemaDrift") + .withValue(false), + new MapperDslConnectorProperties() + .withName("inferDriftedColumnTypes") + .withValue(false), + new MapperDslConnectorProperties() + .withName("defaultToUpsert") + .withValue(false))))) + .withConnection( + new MapperConnection() + .withLinkedService(new LinkedServiceReference().withReferenceName("amjaSql")) + .withLinkedServiceType("AzureSqlDatabase") + .withType(ConnectionType.LINKEDSERVICETYPE) + .withIsInlineDataset(true) + .withCommonDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("allowSchemaDrift") + .withValue(true), + new MapperDslConnectorProperties() + .withName("inferDriftedColumnTypes") + .withValue(true), + new MapperDslConnectorProperties() + .withName("format") + .withValue("table"), + new MapperDslConnectorProperties() + .withName("store") + .withValue("sqlserver"), + new MapperDslConnectorProperties() + .withName("databaseType") + .withValue("databaseType"), + new MapperDslConnectorProperties() + .withName("database") + .withValue("database"), + new MapperDslConnectorProperties() + .withName("deletable") + .withValue(false), + new MapperDslConnectorProperties() + .withName("insertable") + .withValue(true), + new MapperDslConnectorProperties() + .withName("updateable") + .withValue(false), + new MapperDslConnectorProperties() + .withName("upsertable") + .withValue(false), + new MapperDslConnectorProperties() + .withName("skipDuplicateMapInputs") + .withValue(true), + new MapperDslConnectorProperties() + .withName("skipDuplicateMapOutputs") + .withValue(true)))) + .withDataMapperMappings( + Arrays + .asList( + new DataMapperMapping() + .withTargetEntityName("dbo.customer") + .withSourceEntityName("source/customer") + .withSourceConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType(ConnectionType.LINKEDSERVICETYPE)) + .withAttributeMappingInfo( + new MapperAttributeMappings() + .withAttributeMappings( + Arrays + .asList( + new MapperAttributeMapping() + .withName("CustAddres") + .withType(MappingType.DERIVED) + .withFunctionName("trim") + .withExpression("trim(CustAddres)") + .withAttributeReferences( + Arrays + .asList( + new MapperAttributeReference() + .withName("CustAddres") + .withEntity("source/customer") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName( + "amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE)))), + new MapperAttributeMapping() + .withName("CustDeptName") + .withType(MappingType.DIRECT) + .withFunctionName("") + .withAttributeReference( + new MapperAttributeReference() + .withName("CustDepName") + .withEntity("source/customer") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE))), + new MapperAttributeMapping() + .withName("CustEmail") + .withType(MappingType.DIRECT) + .withFunctionName("") + .withAttributeReference( + new MapperAttributeReference() + .withName("CustName") + .withEntity("source/customer") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE))), + new MapperAttributeMapping() + .withName("CustId") + .withType(MappingType.DIRECT) + .withFunctionName("") + .withAttributeReference( + new MapperAttributeReference() + .withName("CustId") + .withEntity("source/customer") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE))), + new MapperAttributeMapping() + .withName("CustName") + .withType(MappingType.DIRECT) + .withFunctionName("") + .withAttributeReference( + new MapperAttributeReference() + .withName("CustName") + .withEntity("source/customer") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE)))))), + new DataMapperMapping() + .withTargetEntityName("dbo.data_source_table") + .withSourceEntityName("lookup") + .withSourceConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType(ConnectionType.LINKEDSERVICETYPE)) + .withAttributeMappingInfo( + new MapperAttributeMappings() + .withAttributeMappings( + Arrays + .asList( + new MapperAttributeMapping() + .withName("Name") + .withType(MappingType.DERIVED) + .withFunctionName("upper") + .withExpression("upper(EmpName)") + .withAttributeReferences( + Arrays + .asList( + new MapperAttributeReference() + .withName("EmpName") + .withEntity("lookup") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName( + "amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE)))), + new MapperAttributeMapping() + .withName("PersonID") + .withType(MappingType.DIRECT) + .withFunctionName("") + .withAttributeReference( + new MapperAttributeReference() + .withName("EmpId") + .withEntity("lookup") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE)))))), + new DataMapperMapping() + .withTargetEntityName("dbo.employee") + .withSourceEntityName("source/employee") + .withSourceConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType(ConnectionType.LINKEDSERVICETYPE)) + .withAttributeMappingInfo( + new MapperAttributeMappings().withAttributeMappings(Arrays.asList())), + new DataMapperMapping() + .withTargetEntityName("dbo.justSchema") + .withSourceEntityName("source/justSchema") + .withSourceConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType(ConnectionType.LINKEDSERVICETYPE)) + .withAttributeMappingInfo( + new MapperAttributeMappings() + .withAttributeMappings( + Arrays + .asList( + new MapperAttributeMapping() + .withName("CustAddres") + .withType(MappingType.DERIVED) + .withFunctionName("trim") + .withExpression("trim(CustAddres)") + .withAttributeReferences( + Arrays + .asList( + new MapperAttributeReference() + .withName("CustAddres") + .withEntity("source/justSchema") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName( + "amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE)))), + new MapperAttributeMapping() + .withName("CustDepLoc") + .withType(MappingType.DIRECT) + .withAttributeReference( + new MapperAttributeReference() + .withName("CustDepLoc") + .withEntity("source/justSchema") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE))), + new MapperAttributeMapping() + .withName("CustDepName") + .withType(MappingType.DERIVED) + .withFunctionName("") + .withExpression( + "concat(CustName, \" -> \", CustDepName)") + .withAttributeReferences( + Arrays + .asList( + new MapperAttributeReference() + .withName("CustName") + .withEntity("source/justSchema") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName( + "amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE)), + new MapperAttributeReference() + .withName("CustDepName") + .withEntity("source/justSchema") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName( + "amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE)))), + new MapperAttributeMapping() + .withName("CustId") + .withType(MappingType.DIRECT) + .withFunctionName("") + .withAttributeReference( + new MapperAttributeReference() + .withName("CustId") + .withEntity("source/justSchema") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE))), + new MapperAttributeMapping() + .withName("CustName") + .withType(MappingType.DIRECT) + .withAttributeReference( + new MapperAttributeReference() + .withName("CustName") + .withEntity("source/justSchema") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE)))))))) + .withRelationships(Arrays.asList()))) + .withPolicy( + new MapperPolicy() + .withMode("Microbatch") + .withRecurrence(new MapperPolicyRecurrence().withFrequency(FrequencyType.MINUTE).withInterval(15))) + .withAllowVNetOverride(false) + .withStatus("Stopped") + .apply(); + } +} +``` + +### ChangeDataCapture_Delete + +```java +/** Samples for ChangeDataCapture Delete. */ +public final class ChangeDataCaptureDeleteSamples { + /* + * x-ms-original-file: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Delete.json + */ + /** + * Sample code: ChangeDataCapture_Delete. + * + * @param manager Entry point to DataFactoryManager. + */ + public static void changeDataCaptureDelete(com.azure.resourcemanager.datafactory.DataFactoryManager manager) { + manager + .changeDataCaptures() + .deleteWithResponse( + "exampleResourceGroup", + "exampleFactoryName", + "exampleChangeDataCapture", + com.azure.core.util.Context.NONE); + } +} +``` + +### ChangeDataCapture_Get + +```java +/** Samples for ChangeDataCapture Get. */ +public final class ChangeDataCaptureGetSamples { + /* + * x-ms-original-file: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Get.json + */ + /** + * Sample code: ChangeDataCapture_Get. + * + * @param manager Entry point to DataFactoryManager. + */ + public static void changeDataCaptureGet(com.azure.resourcemanager.datafactory.DataFactoryManager manager) { + manager + .changeDataCaptures() + .getWithResponse( + "exampleResourceGroup", + "exampleFactoryName", + "exampleChangeDataCapture", + null, + com.azure.core.util.Context.NONE); + } +} +``` + +### ChangeDataCapture_ListByFactory + +```java +/** Samples for ChangeDataCapture ListByFactory. */ +public final class ChangeDataCaptureListByFactorySamples { + /* + * x-ms-original-file: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_ListByFactory.json + */ + /** + * Sample code: ChangeDataCapture_ListByFactory. + * + * @param manager Entry point to DataFactoryManager. + */ + public static void changeDataCaptureListByFactory( + com.azure.resourcemanager.datafactory.DataFactoryManager manager) { + manager + .changeDataCaptures() + .listByFactory("exampleResourceGroup", "exampleFactoryName", com.azure.core.util.Context.NONE); + } +} +``` + +### ChangeDataCapture_Start + +```java +/** Samples for ChangeDataCapture Start. */ +public final class ChangeDataCaptureStartSamples { + /* + * x-ms-original-file: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Start.json + */ + /** + * Sample code: ChangeDataCapture_Start. + * + * @param manager Entry point to DataFactoryManager. + */ + public static void changeDataCaptureStart(com.azure.resourcemanager.datafactory.DataFactoryManager manager) { + manager + .changeDataCaptures() + .startWithResponse( + "exampleResourceGroup", + "exampleFactoryName", + "exampleChangeDataCapture", + com.azure.core.util.Context.NONE); + } +} +``` + +### ChangeDataCapture_Status + +```java +/** Samples for ChangeDataCapture Status. */ +public final class ChangeDataCaptureStatusSamples { + /* + * x-ms-original-file: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Status.json + */ + /** + * Sample code: ChangeDataCapture_Start. + * + * @param manager Entry point to DataFactoryManager. + */ + public static void changeDataCaptureStart(com.azure.resourcemanager.datafactory.DataFactoryManager manager) { + manager + .changeDataCaptures() + .statusWithResponse( + "exampleResourceGroup", + "exampleFactoryName", + "exampleChangeDataCapture", + com.azure.core.util.Context.NONE); + } +} +``` + +### ChangeDataCapture_Stop + +```java +/** Samples for ChangeDataCapture Stop. */ +public final class ChangeDataCaptureStopSamples { + /* + * x-ms-original-file: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Stop.json + */ + /** + * Sample code: ChangeDataCapture_Stop. + * + * @param manager Entry point to DataFactoryManager. + */ + public static void changeDataCaptureStop(com.azure.resourcemanager.datafactory.DataFactoryManager manager) { + manager + .changeDataCaptures() + .stopWithResponse( + "exampleResourceGroup", + "exampleFactoryName", + "exampleChangeDataCapture", + com.azure.core.util.Context.NONE); + } +} +``` + ### CredentialOperations_CreateOrUpdate ```java 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 7e65231d4a171..a1f78756ae1aa 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 @@ -25,6 +25,7 @@ import com.azure.core.util.logging.ClientLogger; import com.azure.resourcemanager.datafactory.fluent.DataFactoryManagementClient; import com.azure.resourcemanager.datafactory.implementation.ActivityRunsImpl; +import com.azure.resourcemanager.datafactory.implementation.ChangeDataCapturesImpl; import com.azure.resourcemanager.datafactory.implementation.CredentialOperationsImpl; import com.azure.resourcemanager.datafactory.implementation.DataFactoryManagementClientBuilder; import com.azure.resourcemanager.datafactory.implementation.DataFlowDebugSessionsImpl; @@ -48,6 +49,7 @@ import com.azure.resourcemanager.datafactory.implementation.TriggerRunsImpl; import com.azure.resourcemanager.datafactory.implementation.TriggersImpl; import com.azure.resourcemanager.datafactory.models.ActivityRuns; +import com.azure.resourcemanager.datafactory.models.ChangeDataCaptures; import com.azure.resourcemanager.datafactory.models.CredentialOperations; import com.azure.resourcemanager.datafactory.models.DataFlowDebugSessions; import com.azure.resourcemanager.datafactory.models.DataFlows; @@ -125,6 +127,8 @@ public final class DataFactoryManager { private GlobalParameters globalParameters; + private ChangeDataCaptures changeDataCaptures; + private final DataFactoryManagementClient clientObject; private DataFactoryManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) { @@ -290,7 +294,7 @@ public DataFactoryManager authenticate(TokenCredential credential, AzureProfile .append("-") .append("com.azure.resourcemanager.datafactory") .append("/") - .append("1.0.0-beta.22"); + .append("1.0.0-beta.1"); if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) { userAgentBuilder .append(" (") @@ -619,6 +623,18 @@ public GlobalParameters globalParameters() { return globalParameters; } + /** + * Gets the resource collection API of ChangeDataCaptures. It manages ChangeDataCaptureResource. + * + * @return Resource collection API of ChangeDataCaptures. + */ + public ChangeDataCaptures changeDataCaptures() { + if (this.changeDataCaptures == null) { + this.changeDataCaptures = new ChangeDataCapturesImpl(clientObject.getChangeDataCaptures(), this); + } + return changeDataCaptures; + } + /** * @return Wrapped service client DataFactoryManagementClient providing direct access to the underlying * auto-generated API implementation, based on Azure REST API. diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/ChangeDataCapturesClient.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/ChangeDataCapturesClient.java new file mode 100644 index 0000000000000..2feeec8843441 --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/ChangeDataCapturesClient.java @@ -0,0 +1,239 @@ +// 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; + +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.Response; +import com.azure.core.util.Context; +import com.azure.resourcemanager.datafactory.fluent.models.ChangeDataCaptureResourceInner; + +/** An instance of this class provides access to all the operations defined in ChangeDataCapturesClient. */ +public interface ChangeDataCapturesClient { + /** + * Lists all resources of type change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a list of change data capture resources as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listByFactory(String resourceGroupName, String factoryName); + + /** + * Lists all resources of type change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a list of change data capture resources as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listByFactory( + String resourceGroupName, String factoryName, Context context); + + /** + * Creates or updates a change data capture resource. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param changeDataCapture Change data capture resource definition. + * @param ifMatch ETag of the change data capture entity. Should only be specified for update, for which it should + * match existing entity or can be * for unconditional update. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return change data capture resource type along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response createOrUpdateWithResponse( + String resourceGroupName, + String factoryName, + String changeDataCaptureName, + ChangeDataCaptureResourceInner changeDataCapture, + String ifMatch, + Context context); + + /** + * Creates or updates a change data capture resource. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param changeDataCapture Change data capture resource definition. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return change data capture resource type. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + ChangeDataCaptureResourceInner createOrUpdate( + String resourceGroupName, + String factoryName, + String changeDataCaptureName, + ChangeDataCaptureResourceInner changeDataCapture); + + /** + * Gets a change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param ifNoneMatch ETag of the change data capture entity. Should only be specified for get. If the ETag matches + * the existing entity tag, or if * was provided, then no content will be returned. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a change data capture along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response getWithResponse( + String resourceGroupName, + String factoryName, + String changeDataCaptureName, + String ifNoneMatch, + Context context); + + /** + * Gets a change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a change data capture. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + ChangeDataCaptureResourceInner get(String resourceGroupName, String factoryName, String changeDataCaptureName); + + /** + * Deletes a change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response deleteWithResponse( + String resourceGroupName, String factoryName, String changeDataCaptureName, Context context); + + /** + * Deletes a change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + void delete(String resourceGroupName, String factoryName, String changeDataCaptureName); + + /** + * Starts a change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response startWithResponse( + String resourceGroupName, String factoryName, String changeDataCaptureName, Context context); + + /** + * Starts a change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + void start(String resourceGroupName, String factoryName, String changeDataCaptureName); + + /** + * Stops a change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response stopWithResponse( + String resourceGroupName, String factoryName, String changeDataCaptureName, Context context); + + /** + * Stops a change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + void stop(String resourceGroupName, String factoryName, String changeDataCaptureName); + + /** + * Gets the current status for the change data capture resource. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the current status for the change data capture resource along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response statusWithResponse( + String resourceGroupName, String factoryName, String changeDataCaptureName, Context context); + + /** + * Gets the current status for the change data capture resource. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the current status for the change data capture resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + String status(String resourceGroupName, String factoryName, String changeDataCaptureName); +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/DataFactoryManagementClient.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/DataFactoryManagementClient.java index 81c1344f83a83..68f0c744135e5 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/DataFactoryManagementClient.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/DataFactoryManagementClient.java @@ -197,4 +197,11 @@ public interface DataFactoryManagementClient { * @return the GlobalParametersClient object. */ GlobalParametersClient getGlobalParameters(); + + /** + * Gets the ChangeDataCapturesClient object to access its operations. + * + * @return the ChangeDataCapturesClient object. + */ + ChangeDataCapturesClient getChangeDataCaptures(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonMwsLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonMwsLinkedServiceTypeProperties.java index f8d211c4d9caf..c0c4b704e0099 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonMwsLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonMwsLinkedServiceTypeProperties.java @@ -70,10 +70,10 @@ public final class AmazonMwsLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of AmazonMwsLinkedServiceTypeProperties class. */ public AmazonMwsLinkedServiceTypeProperties() { @@ -269,22 +269,22 @@ public AmazonMwsLinkedServiceTypeProperties withUsePeerVerification(Object usePe /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AmazonMwsLinkedServiceTypeProperties object itself. */ - public AmazonMwsLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public AmazonMwsLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonRdsForLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonRdsForLinkedServiceTypeProperties.java index db60e883ee4be..5cea4c510b290 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonRdsForLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonRdsForLinkedServiceTypeProperties.java @@ -26,10 +26,10 @@ public final class AmazonRdsForLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of AmazonRdsForLinkedServiceTypeProperties class. */ public AmazonRdsForLinkedServiceTypeProperties() { @@ -79,22 +79,22 @@ public AmazonRdsForLinkedServiceTypeProperties withPassword(SecretBase password) /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AmazonRdsForLinkedServiceTypeProperties object itself. */ - public AmazonRdsForLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public AmazonRdsForLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonRdsForSqlServerLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonRdsForSqlServerLinkedServiceTypeProperties.java index e501595efe80a..f49cc34940262 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonRdsForSqlServerLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonRdsForSqlServerLinkedServiceTypeProperties.java @@ -33,10 +33,10 @@ public final class AmazonRdsForSqlServerLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /* * Sql always encrypted properties. @@ -114,22 +114,22 @@ public AmazonRdsForSqlServerLinkedServiceTypeProperties withPassword(SecretBase /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AmazonRdsForSqlServerLinkedServiceTypeProperties object itself. */ - public AmazonRdsForSqlServerLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public AmazonRdsForSqlServerLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonRedshiftLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonRedshiftLinkedServiceTypeProperties.java index 283ef049ba93d..7cd59e39c3d5b 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonRedshiftLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonRedshiftLinkedServiceTypeProperties.java @@ -45,10 +45,10 @@ public final class AmazonRedshiftLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of AmazonRedshiftLinkedServiceTypeProperties class. */ public AmazonRedshiftLinkedServiceTypeProperties() { @@ -164,22 +164,22 @@ public AmazonRedshiftLinkedServiceTypeProperties withPort(Object port) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AmazonRedshiftLinkedServiceTypeProperties object itself. */ - public AmazonRedshiftLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public AmazonRedshiftLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonS3CompatibleLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonS3CompatibleLinkedServiceTypeProperties.java index ccb1140a0506e..fd74620716495 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonS3CompatibleLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonS3CompatibleLinkedServiceTypeProperties.java @@ -41,10 +41,10 @@ public final class AmazonS3CompatibleLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of AmazonS3CompatibleLinkedServiceTypeProperties class. */ public AmazonS3CompatibleLinkedServiceTypeProperties() { @@ -142,22 +142,22 @@ public AmazonS3CompatibleLinkedServiceTypeProperties withForcePathStyle(Object f /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AmazonS3CompatibleLinkedServiceTypeProperties object itself. */ - public AmazonS3CompatibleLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public AmazonS3CompatibleLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonS3LinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonS3LinkedServiceTypeProperties.java index e76fe88ced28c..9c745124bda68 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonS3LinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonS3LinkedServiceTypeProperties.java @@ -47,10 +47,10 @@ public final class AmazonS3LinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of AmazonS3LinkedServiceTypeProperties class. */ public AmazonS3LinkedServiceTypeProperties() { @@ -168,22 +168,22 @@ public AmazonS3LinkedServiceTypeProperties withSessionToken(SecretBase sessionTo /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AmazonS3LinkedServiceTypeProperties object itself. */ - public AmazonS3LinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public AmazonS3LinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AppFiguresLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AppFiguresLinkedServiceTypeProperties.java index a2f3ba3b655a5..a38c19e5840fb 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AppFiguresLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AppFiguresLinkedServiceTypeProperties.java @@ -13,7 +13,7 @@ @Fluent public final class AppFiguresLinkedServiceTypeProperties { /* - * The username of the Appfigures source. + * The username of the Appfigures source. Type: string (or Expression with resultType string). */ @JsonProperty(value = "userName", required = true) private Object username; @@ -35,7 +35,8 @@ public AppFiguresLinkedServiceTypeProperties() { } /** - * Get the username property: The username of the Appfigures source. + * Get the username property: The username of the Appfigures source. Type: string (or Expression with resultType + * string). * * @return the username value. */ @@ -44,7 +45,8 @@ public Object username() { } /** - * Set the username property: The username of the Appfigures source. + * Set the username property: The username of the Appfigures source. Type: string (or Expression with resultType + * string). * * @param username the username value to set. * @return the AppFiguresLinkedServiceTypeProperties object itself. diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AppendVariableActivityTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AppendVariableActivityTypeProperties.java index cc6a315f58f0b..9316a34ce323a 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AppendVariableActivityTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AppendVariableActivityTypeProperties.java @@ -17,7 +17,8 @@ public final class AppendVariableActivityTypeProperties { private String variableName; /* - * Value to be appended. Could be a static value or Expression + * Value to be appended. Type: could be a static value matching type of the variable item or Expression with + * resultType matching type of the variable item */ @JsonProperty(value = "value") private Object value; @@ -47,7 +48,8 @@ public AppendVariableActivityTypeProperties withVariableName(String variableName } /** - * Get the value property: Value to be appended. Could be a static value or Expression. + * Get the value property: Value to be appended. Type: could be a static value matching type of the variable item or + * Expression with resultType matching type of the variable item. * * @return the value value. */ @@ -56,7 +58,8 @@ public Object value() { } /** - * Set the value property: Value to be appended. Could be a static value or Expression. + * Set the value property: Value to be appended. Type: could be a static value matching type of the variable item or + * Expression with resultType matching type of the variable item. * * @param value the value value to set. * @return the AppendVariableActivityTypeProperties object itself. diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AsanaLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AsanaLinkedServiceTypeProperties.java index 2bc9e49c9d2c3..961118a2f7707 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AsanaLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AsanaLinkedServiceTypeProperties.java @@ -20,10 +20,10 @@ public final class AsanaLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of AsanaLinkedServiceTypeProperties class. */ public AsanaLinkedServiceTypeProperties() { @@ -51,22 +51,22 @@ public AsanaLinkedServiceTypeProperties withApiToken(SecretBase apiToken) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AsanaLinkedServiceTypeProperties object itself. */ - public AsanaLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public AsanaLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureBatchLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureBatchLinkedServiceTypeProperties.java index 246859f824a50..ab229487d55c3 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureBatchLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureBatchLinkedServiceTypeProperties.java @@ -46,10 +46,10 @@ public final class AzureBatchLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /* * The credential reference containing authentication information. @@ -163,22 +163,22 @@ public AzureBatchLinkedServiceTypeProperties withLinkedServiceName(LinkedService /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzureBatchLinkedServiceTypeProperties object itself. */ - public AzureBatchLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public AzureBatchLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureBlobFSLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureBlobFSLinkedServiceTypeProperties.java index 3343f657b6280..ec81a65fb5b70 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureBlobFSLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureBlobFSLinkedServiceTypeProperties.java @@ -54,10 +54,10 @@ public final class AzureBlobFSLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /* * The credential reference containing authentication information. @@ -233,22 +233,22 @@ public AzureBlobFSLinkedServiceTypeProperties withAzureCloudType(Object azureClo /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzureBlobFSLinkedServiceTypeProperties object itself. */ - public AzureBlobFSLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public AzureBlobFSLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureBlobStorageLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureBlobStorageLinkedServiceTypeProperties.java index 02150fcc15e82..a720c61d3a2b0 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureBlobStorageLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureBlobStorageLinkedServiceTypeProperties.java @@ -45,7 +45,7 @@ public final class AzureBlobStorageLinkedServiceTypeProperties { * property. */ @JsonProperty(value = "serviceEndpoint") - private String serviceEndpoint; + private Object serviceEndpoint; /* * The ID of the service principal used to authenticate against Azure SQL Data Warehouse. Type: string (or @@ -80,11 +80,11 @@ public final class AzureBlobStorageLinkedServiceTypeProperties { * purpose v2), BlobStorage, or BlockBlobStorage. Type: string (or Expression with resultType string). */ @JsonProperty(value = "accountKind") - private String accountKind; + private Object accountKind; /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") private String encryptedCredential; @@ -202,7 +202,7 @@ public AzureBlobStorageLinkedServiceTypeProperties withSasToken(AzureKeyVaultSec * * @return the serviceEndpoint value. */ - public String serviceEndpoint() { + public Object serviceEndpoint() { return this.serviceEndpoint; } @@ -213,7 +213,7 @@ public String serviceEndpoint() { * @param serviceEndpoint the serviceEndpoint value to set. * @return the AzureBlobStorageLinkedServiceTypeProperties object itself. */ - public AzureBlobStorageLinkedServiceTypeProperties withServiceEndpoint(String serviceEndpoint) { + public AzureBlobStorageLinkedServiceTypeProperties withServiceEndpoint(Object serviceEndpoint) { this.serviceEndpoint = serviceEndpoint; return this; } @@ -315,7 +315,7 @@ public AzureBlobStorageLinkedServiceTypeProperties withAzureCloudType(Object azu * * @return the accountKind value. */ - public String accountKind() { + public Object accountKind() { return this.accountKind; } @@ -327,14 +327,14 @@ public String accountKind() { * @param accountKind the accountKind value to set. * @return the AzureBlobStorageLinkedServiceTypeProperties object itself. */ - public AzureBlobStorageLinkedServiceTypeProperties withAccountKind(String accountKind) { + public AzureBlobStorageLinkedServiceTypeProperties withAccountKind(Object accountKind) { this.accountKind = accountKind; 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ @@ -344,7 +344,7 @@ public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzureBlobStorageLinkedServiceTypeProperties object itself. diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDataLakeAnalyticsLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDataLakeAnalyticsLinkedServiceTypeProperties.java index baf377c541102..b368d52a08686 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDataLakeAnalyticsLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDataLakeAnalyticsLinkedServiceTypeProperties.java @@ -60,10 +60,10 @@ public final class AzureDataLakeAnalyticsLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of AzureDataLakeAnalyticsLinkedServiceTypeProperties class. */ public AzureDataLakeAnalyticsLinkedServiceTypeProperties() { @@ -225,22 +225,22 @@ public AzureDataLakeAnalyticsLinkedServiceTypeProperties withDataLakeAnalyticsUr /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzureDataLakeAnalyticsLinkedServiceTypeProperties object itself. */ - public AzureDataLakeAnalyticsLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public AzureDataLakeAnalyticsLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDataLakeStoreLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDataLakeStoreLinkedServiceTypeProperties.java index f44fa62d84e6e..1f5e437cfa22b 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDataLakeStoreLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDataLakeStoreLinkedServiceTypeProperties.java @@ -69,10 +69,10 @@ public final class AzureDataLakeStoreLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /* * The credential reference containing authentication information. @@ -262,22 +262,22 @@ public AzureDataLakeStoreLinkedServiceTypeProperties withResourceGroupName(Objec /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzureDataLakeStoreLinkedServiceTypeProperties object itself. */ - public AzureDataLakeStoreLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public AzureDataLakeStoreLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDatabricksDetltaLakeLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDatabricksDetltaLakeLinkedServiceTypeProperties.java index 39aacf8a8a331..fed3447c08615 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDatabricksDetltaLakeLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDatabricksDetltaLakeLinkedServiceTypeProperties.java @@ -36,10 +36,10 @@ public final class AzureDatabricksDetltaLakeLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /* * The credential reference containing authentication information. @@ -127,22 +127,22 @@ public AzureDatabricksDetltaLakeLinkedServiceTypeProperties withClusterId(Object /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzureDatabricksDetltaLakeLinkedServiceTypeProperties object itself. */ - public AzureDatabricksDetltaLakeLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public AzureDatabricksDetltaLakeLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDatabricksLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDatabricksLinkedServiceTypeProperties.java index 4616712a2e605..e4aaeb3ce15c2 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDatabricksLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureDatabricksLinkedServiceTypeProperties.java @@ -134,10 +134,10 @@ public final class AzureDatabricksLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /* * The policy id for limiting the ability to configure clusters based on a user defined set of rules. Type: string @@ -525,22 +525,22 @@ public AzureDatabricksLinkedServiceTypeProperties withNewClusterEnableElasticDis /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzureDatabricksLinkedServiceTypeProperties object itself. */ - public AzureDatabricksLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public AzureDatabricksLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureFileStorageLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureFileStorageLinkedServiceTypeProperties.java index 7d89b84b379f9..cb121c3c62247 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureFileStorageLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureFileStorageLinkedServiceTypeProperties.java @@ -71,10 +71,10 @@ public final class AzureFileStorageLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of AzureFileStorageLinkedServiceTypeProperties class. */ public AzureFileStorageLinkedServiceTypeProperties() { @@ -270,22 +270,22 @@ public AzureFileStorageLinkedServiceTypeProperties withSnapshot(Object snapshot) /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzureFileStorageLinkedServiceTypeProperties object itself. */ - public AzureFileStorageLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public AzureFileStorageLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureFunctionLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureFunctionLinkedServiceTypeProperties.java index de5e33992085b..c9516c5cc3521 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureFunctionLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureFunctionLinkedServiceTypeProperties.java @@ -27,10 +27,10 @@ public final class AzureFunctionLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /* * The credential reference containing authentication information. @@ -99,22 +99,22 @@ public AzureFunctionLinkedServiceTypeProperties withFunctionKey(SecretBase funct /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzureFunctionLinkedServiceTypeProperties object itself. */ - public AzureFunctionLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public AzureFunctionLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMLLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMLLinkedServiceTypeProperties.java index 43f2a4c398b0b..214c8d62ab12b 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMLLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMLLinkedServiceTypeProperties.java @@ -55,10 +55,10 @@ public final class AzureMLLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /* * Type of authentication (Required to specify MSI) used to connect to AzureML. Type: string (or Expression with @@ -203,22 +203,22 @@ public AzureMLLinkedServiceTypeProperties withTenant(Object tenant) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzureMLLinkedServiceTypeProperties object itself. */ - public AzureMLLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public AzureMLLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMLServiceLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMLServiceLinkedServiceTypeProperties.java index 063f95bd4fc63..2bc1f5a791fb1 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMLServiceLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMLServiceLinkedServiceTypeProperties.java @@ -30,6 +30,13 @@ public final class AzureMLServiceLinkedServiceTypeProperties { @JsonProperty(value = "mlWorkspaceName", required = true) private Object mlWorkspaceName; + /* + * Type of authentication (Required to specify MSI) used to connect to AzureML. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "authentication") + private Object authentication; + /* * The ID of the service principal used to authenticate against the endpoint of a published Azure ML Service * pipeline. Type: string (or Expression with resultType string). @@ -53,10 +60,10 @@ public final class AzureMLServiceLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of AzureMLServiceLinkedServiceTypeProperties class. */ public AzureMLServiceLinkedServiceTypeProperties() { @@ -128,6 +135,28 @@ public AzureMLServiceLinkedServiceTypeProperties withMlWorkspaceName(Object mlWo return this; } + /** + * Get the authentication property: Type of authentication (Required to specify MSI) used to connect to AzureML. + * Type: string (or Expression with resultType string). + * + * @return the authentication value. + */ + public Object authentication() { + return this.authentication; + } + + /** + * Set the authentication property: Type of authentication (Required to specify MSI) used to connect to AzureML. + * Type: string (or Expression with resultType string). + * + * @param authentication the authentication value to set. + * @return the AzureMLServiceLinkedServiceTypeProperties object itself. + */ + public AzureMLServiceLinkedServiceTypeProperties withAuthentication(Object authentication) { + this.authentication = authentication; + return this; + } + /** * Get the servicePrincipalId property: The ID of the service principal used to authenticate against the endpoint of * a published Azure ML Service pipeline. Type: string (or Expression with resultType string). @@ -196,22 +225,22 @@ public AzureMLServiceLinkedServiceTypeProperties withTenant(Object tenant) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzureMLServiceLinkedServiceTypeProperties object itself. */ - public AzureMLServiceLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public AzureMLServiceLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMariaDBLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMariaDBLinkedServiceTypeProperties.java index 4a1852e2908ca..62be12e87f4ac 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMariaDBLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMariaDBLinkedServiceTypeProperties.java @@ -25,10 +25,10 @@ public final class AzureMariaDBLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of AzureMariaDBLinkedServiceTypeProperties class. */ public AzureMariaDBLinkedServiceTypeProperties() { @@ -78,22 +78,22 @@ public AzureMariaDBLinkedServiceTypeProperties withPwd(AzureKeyVaultSecretRefere /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzureMariaDBLinkedServiceTypeProperties object itself. */ - public AzureMariaDBLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public AzureMariaDBLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMySqlLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMySqlLinkedServiceTypeProperties.java index db52689f40feb..e83a66ce9511b 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMySqlLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureMySqlLinkedServiceTypeProperties.java @@ -26,10 +26,10 @@ public final class AzureMySqlLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of AzureMySqlLinkedServiceTypeProperties class. */ public AzureMySqlLinkedServiceTypeProperties() { @@ -79,22 +79,22 @@ public AzureMySqlLinkedServiceTypeProperties withPassword(AzureKeyVaultSecretRef /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzureMySqlLinkedServiceTypeProperties object itself. */ - public AzureMySqlLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public AzureMySqlLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzurePostgreSqlLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzurePostgreSqlLinkedServiceTypeProperties.java index 9889525ca23f2..e67a616a79845 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzurePostgreSqlLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzurePostgreSqlLinkedServiceTypeProperties.java @@ -25,10 +25,10 @@ public final class AzurePostgreSqlLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of AzurePostgreSqlLinkedServiceTypeProperties class. */ public AzurePostgreSqlLinkedServiceTypeProperties() { @@ -78,22 +78,22 @@ public AzurePostgreSqlLinkedServiceTypeProperties withPassword(AzureKeyVaultSecr /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzurePostgreSqlLinkedServiceTypeProperties object itself. */ - public AzurePostgreSqlLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public AzurePostgreSqlLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSearchLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSearchLinkedServiceTypeProperties.java index 29c4b8aa17e20..b28a6bf4fc7dd 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSearchLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSearchLinkedServiceTypeProperties.java @@ -26,10 +26,10 @@ public final class AzureSearchLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of AzureSearchLinkedServiceTypeProperties class. */ public AzureSearchLinkedServiceTypeProperties() { @@ -77,22 +77,22 @@ public AzureSearchLinkedServiceTypeProperties withKey(SecretBase key) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzureSearchLinkedServiceTypeProperties object itself. */ - public AzureSearchLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public AzureSearchLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSqlDWLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSqlDWLinkedServiceTypeProperties.java index f43e9e9e49567..8ffafa61b6196 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSqlDWLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSqlDWLinkedServiceTypeProperties.java @@ -57,10 +57,10 @@ public final class AzureSqlDWLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /* * The credential reference containing authentication information. @@ -206,22 +206,22 @@ public AzureSqlDWLinkedServiceTypeProperties withAzureCloudType(Object azureClou /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzureSqlDWLinkedServiceTypeProperties object itself. */ - public AzureSqlDWLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public AzureSqlDWLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSqlDatabaseLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSqlDatabaseLinkedServiceTypeProperties.java index b1fe2ef8e6b2d..e43b8db62efa0 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSqlDatabaseLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSqlDatabaseLinkedServiceTypeProperties.java @@ -57,10 +57,10 @@ public final class AzureSqlDatabaseLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /* * Sql always encrypted properties. @@ -212,22 +212,22 @@ public AzureSqlDatabaseLinkedServiceTypeProperties withAzureCloudType(Object azu /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzureSqlDatabaseLinkedServiceTypeProperties object itself. */ - public AzureSqlDatabaseLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public AzureSqlDatabaseLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSqlMILinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSqlMILinkedServiceTypeProperties.java index 7eeb3adacab11..55a7d9bb01224 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSqlMILinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureSqlMILinkedServiceTypeProperties.java @@ -57,10 +57,10 @@ public final class AzureSqlMILinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /* * Sql always encrypted properties. @@ -212,22 +212,22 @@ public AzureSqlMILinkedServiceTypeProperties withAzureCloudType(Object azureClou /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzureSqlMILinkedServiceTypeProperties object itself. */ - public AzureSqlMILinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public AzureSqlMILinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureStorageLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureStorageLinkedServiceTypeProperties.java index 6f4302376327b..48df5bc683984 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureStorageLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AzureStorageLinkedServiceTypeProperties.java @@ -39,7 +39,7 @@ public final class AzureStorageLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") private String encryptedCredential; @@ -134,7 +134,7 @@ public AzureStorageLinkedServiceTypeProperties withSasToken(AzureKeyVaultSecretR /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ @@ -144,7 +144,7 @@ public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzureStorageLinkedServiceTypeProperties object itself. diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/CassandraLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/CassandraLinkedServiceTypeProperties.java index 611b1a2050f17..1b3c4658b017e 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/CassandraLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/CassandraLinkedServiceTypeProperties.java @@ -44,10 +44,10 @@ public final class CassandraLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of CassandraLinkedServiceTypeProperties class. */ public CassandraLinkedServiceTypeProperties() { @@ -157,22 +157,22 @@ public CassandraLinkedServiceTypeProperties withPassword(SecretBase password) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the CassandraLinkedServiceTypeProperties object itself. */ - public CassandraLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public CassandraLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ChangeDataCapture.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ChangeDataCapture.java new file mode 100644 index 0000000000000..1b399366c3535 --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ChangeDataCapture.java @@ -0,0 +1,243 @@ +// 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.azure.resourcemanager.datafactory.models.ChangeDataCaptureFolder; +import com.azure.resourcemanager.datafactory.models.MapperPolicy; +import com.azure.resourcemanager.datafactory.models.MapperSourceConnectionsInfo; +import com.azure.resourcemanager.datafactory.models.MapperTargetConnectionsInfo; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** + * A Azure Data Factory object which automatically detects data changes at the source and then sends the updated data to + * the destination. + */ +@Fluent +public final class ChangeDataCapture { + /* + * The folder that this CDC is in. If not specified, CDC will appear at the root level. + */ + @JsonProperty(value = "folder") + private ChangeDataCaptureFolder folder; + + /* + * The description of the change data capture. + */ + @JsonProperty(value = "description") + private String description; + + /* + * List of sources connections that can be used as sources in the CDC. + */ + @JsonProperty(value = "SourceConnectionsInfo", required = true) + private List sourceConnectionsInfo; + + /* + * List of target connections that can be used as sources in the CDC. + */ + @JsonProperty(value = "TargetConnectionsInfo", required = true) + private List targetConnectionsInfo; + + /* + * CDC policy + */ + @JsonProperty(value = "Policy", required = true) + private MapperPolicy policy; + + /* + * A boolean to determine if the vnet configuration needs to be overwritten. + */ + @JsonProperty(value = "allowVNetOverride") + private Boolean allowVNetOverride; + + /* + * Status of the CDC as to if it is running or stopped. + */ + @JsonProperty(value = "status") + private String status; + + /** Creates an instance of ChangeDataCapture class. */ + public ChangeDataCapture() { + } + + /** + * Get the folder property: The folder that this CDC is in. If not specified, CDC will appear at the root level. + * + * @return the folder value. + */ + public ChangeDataCaptureFolder folder() { + return this.folder; + } + + /** + * Set the folder property: The folder that this CDC is in. If not specified, CDC will appear at the root level. + * + * @param folder the folder value to set. + * @return the ChangeDataCapture object itself. + */ + public ChangeDataCapture withFolder(ChangeDataCaptureFolder folder) { + this.folder = folder; + return this; + } + + /** + * Get the description property: The description of the change data capture. + * + * @return the description value. + */ + public String description() { + return this.description; + } + + /** + * Set the description property: The description of the change data capture. + * + * @param description the description value to set. + * @return the ChangeDataCapture object itself. + */ + public ChangeDataCapture withDescription(String description) { + this.description = description; + return this; + } + + /** + * Get the sourceConnectionsInfo property: List of sources connections that can be used as sources in the CDC. + * + * @return the sourceConnectionsInfo value. + */ + public List sourceConnectionsInfo() { + return this.sourceConnectionsInfo; + } + + /** + * Set the sourceConnectionsInfo property: List of sources connections that can be used as sources in the CDC. + * + * @param sourceConnectionsInfo the sourceConnectionsInfo value to set. + * @return the ChangeDataCapture object itself. + */ + public ChangeDataCapture withSourceConnectionsInfo(List sourceConnectionsInfo) { + this.sourceConnectionsInfo = sourceConnectionsInfo; + return this; + } + + /** + * Get the targetConnectionsInfo property: List of target connections that can be used as sources in the CDC. + * + * @return the targetConnectionsInfo value. + */ + public List targetConnectionsInfo() { + return this.targetConnectionsInfo; + } + + /** + * Set the targetConnectionsInfo property: List of target connections that can be used as sources in the CDC. + * + * @param targetConnectionsInfo the targetConnectionsInfo value to set. + * @return the ChangeDataCapture object itself. + */ + public ChangeDataCapture withTargetConnectionsInfo(List targetConnectionsInfo) { + this.targetConnectionsInfo = targetConnectionsInfo; + return this; + } + + /** + * Get the policy property: CDC policy. + * + * @return the policy value. + */ + public MapperPolicy policy() { + return this.policy; + } + + /** + * Set the policy property: CDC policy. + * + * @param policy the policy value to set. + * @return the ChangeDataCapture object itself. + */ + public ChangeDataCapture withPolicy(MapperPolicy policy) { + this.policy = policy; + return this; + } + + /** + * Get the allowVNetOverride property: A boolean to determine if the vnet configuration needs to be overwritten. + * + * @return the allowVNetOverride value. + */ + public Boolean allowVNetOverride() { + return this.allowVNetOverride; + } + + /** + * Set the allowVNetOverride property: A boolean to determine if the vnet configuration needs to be overwritten. + * + * @param allowVNetOverride the allowVNetOverride value to set. + * @return the ChangeDataCapture object itself. + */ + public ChangeDataCapture withAllowVNetOverride(Boolean allowVNetOverride) { + this.allowVNetOverride = allowVNetOverride; + return this; + } + + /** + * Get the status property: Status of the CDC as to if it is running or stopped. + * + * @return the status value. + */ + public String status() { + return this.status; + } + + /** + * Set the status property: Status of the CDC as to if it is running or stopped. + * + * @param status the status value to set. + * @return the ChangeDataCapture object itself. + */ + public ChangeDataCapture withStatus(String status) { + this.status = status; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (folder() != null) { + folder().validate(); + } + if (sourceConnectionsInfo() == null) { + throw LOGGER + .logExceptionAsError( + new IllegalArgumentException( + "Missing required property sourceConnectionsInfo in model ChangeDataCapture")); + } else { + sourceConnectionsInfo().forEach(e -> e.validate()); + } + if (targetConnectionsInfo() == null) { + throw LOGGER + .logExceptionAsError( + new IllegalArgumentException( + "Missing required property targetConnectionsInfo in model ChangeDataCapture")); + } else { + targetConnectionsInfo().forEach(e -> e.validate()); + } + if (policy() == null) { + throw LOGGER + .logExceptionAsError( + new IllegalArgumentException("Missing required property policy in model ChangeDataCapture")); + } else { + policy().validate(); + } + } + + private static final ClientLogger LOGGER = new ClientLogger(ChangeDataCapture.class); +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ChangeDataCaptureResourceInner.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ChangeDataCaptureResourceInner.java new file mode 100644 index 0000000000000..46e9695cf8c7b --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ChangeDataCaptureResourceInner.java @@ -0,0 +1,310 @@ +// 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.management.SubResource; +import com.azure.core.util.logging.ClientLogger; +import com.azure.resourcemanager.datafactory.models.ChangeDataCaptureFolder; +import com.azure.resourcemanager.datafactory.models.MapperPolicy; +import com.azure.resourcemanager.datafactory.models.MapperSourceConnectionsInfo; +import com.azure.resourcemanager.datafactory.models.MapperTargetConnectionsInfo; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** Change data capture resource type. */ +@Fluent +public final class ChangeDataCaptureResourceInner extends SubResource { + /* + * Properties of the change data capture. + */ + @JsonProperty(value = "properties", required = true) + private ChangeDataCapture innerProperties = new ChangeDataCapture(); + + /* + * The resource name. + */ + @JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY) + private String name; + + /* + * The resource type. + */ + @JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY) + private String type; + + /* + * Etag identifies change in the resource. + */ + @JsonProperty(value = "etag", access = JsonProperty.Access.WRITE_ONLY) + private String etag; + + /* + * Change data capture resource type. + */ + @JsonIgnore private Map additionalProperties; + + /** Creates an instance of ChangeDataCaptureResourceInner class. */ + public ChangeDataCaptureResourceInner() { + } + + /** + * Get the innerProperties property: Properties of the change data capture. + * + * @return the innerProperties value. + */ + private ChangeDataCapture innerProperties() { + return this.innerProperties; + } + + /** + * Get the name property: The resource name. + * + * @return the name value. + */ + public String name() { + return this.name; + } + + /** + * Get the type property: The resource type. + * + * @return the type value. + */ + public String type() { + return this.type; + } + + /** + * Get the etag property: Etag identifies change in the resource. + * + * @return the etag value. + */ + public String etag() { + return this.etag; + } + + /** + * Get the additionalProperties property: Change data capture resource type. + * + * @return the additionalProperties value. + */ + @JsonAnyGetter + public Map additionalProperties() { + return this.additionalProperties; + } + + /** + * Set the additionalProperties property: Change data capture resource type. + * + * @param additionalProperties the additionalProperties value to set. + * @return the ChangeDataCaptureResourceInner object itself. + */ + public ChangeDataCaptureResourceInner withAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + return this; + } + + @JsonAnySetter + void withAdditionalProperties(String key, Object value) { + if (additionalProperties == null) { + additionalProperties = new HashMap<>(); + } + additionalProperties.put(key, value); + } + + /** {@inheritDoc} */ + @Override + public ChangeDataCaptureResourceInner withId(String id) { + super.withId(id); + return this; + } + + /** + * Get the folder property: The folder that this CDC is in. If not specified, CDC will appear at the root level. + * + * @return the folder value. + */ + public ChangeDataCaptureFolder folder() { + return this.innerProperties() == null ? null : this.innerProperties().folder(); + } + + /** + * Set the folder property: The folder that this CDC is in. If not specified, CDC will appear at the root level. + * + * @param folder the folder value to set. + * @return the ChangeDataCaptureResourceInner object itself. + */ + public ChangeDataCaptureResourceInner withFolder(ChangeDataCaptureFolder folder) { + if (this.innerProperties() == null) { + this.innerProperties = new ChangeDataCapture(); + } + this.innerProperties().withFolder(folder); + return this; + } + + /** + * Get the description property: The description of the change data capture. + * + * @return the description value. + */ + public String description() { + return this.innerProperties() == null ? null : this.innerProperties().description(); + } + + /** + * Set the description property: The description of the change data capture. + * + * @param description the description value to set. + * @return the ChangeDataCaptureResourceInner object itself. + */ + public ChangeDataCaptureResourceInner withDescription(String description) { + if (this.innerProperties() == null) { + this.innerProperties = new ChangeDataCapture(); + } + this.innerProperties().withDescription(description); + return this; + } + + /** + * Get the sourceConnectionsInfo property: List of sources connections that can be used as sources in the CDC. + * + * @return the sourceConnectionsInfo value. + */ + public List sourceConnectionsInfo() { + return this.innerProperties() == null ? null : this.innerProperties().sourceConnectionsInfo(); + } + + /** + * Set the sourceConnectionsInfo property: List of sources connections that can be used as sources in the CDC. + * + * @param sourceConnectionsInfo the sourceConnectionsInfo value to set. + * @return the ChangeDataCaptureResourceInner object itself. + */ + public ChangeDataCaptureResourceInner withSourceConnectionsInfo( + List sourceConnectionsInfo) { + if (this.innerProperties() == null) { + this.innerProperties = new ChangeDataCapture(); + } + this.innerProperties().withSourceConnectionsInfo(sourceConnectionsInfo); + return this; + } + + /** + * Get the targetConnectionsInfo property: List of target connections that can be used as sources in the CDC. + * + * @return the targetConnectionsInfo value. + */ + public List targetConnectionsInfo() { + return this.innerProperties() == null ? null : this.innerProperties().targetConnectionsInfo(); + } + + /** + * Set the targetConnectionsInfo property: List of target connections that can be used as sources in the CDC. + * + * @param targetConnectionsInfo the targetConnectionsInfo value to set. + * @return the ChangeDataCaptureResourceInner object itself. + */ + public ChangeDataCaptureResourceInner withTargetConnectionsInfo( + List targetConnectionsInfo) { + if (this.innerProperties() == null) { + this.innerProperties = new ChangeDataCapture(); + } + this.innerProperties().withTargetConnectionsInfo(targetConnectionsInfo); + return this; + } + + /** + * Get the policy property: CDC policy. + * + * @return the policy value. + */ + public MapperPolicy policy() { + return this.innerProperties() == null ? null : this.innerProperties().policy(); + } + + /** + * Set the policy property: CDC policy. + * + * @param policy the policy value to set. + * @return the ChangeDataCaptureResourceInner object itself. + */ + public ChangeDataCaptureResourceInner withPolicy(MapperPolicy policy) { + if (this.innerProperties() == null) { + this.innerProperties = new ChangeDataCapture(); + } + this.innerProperties().withPolicy(policy); + return this; + } + + /** + * Get the allowVNetOverride property: A boolean to determine if the vnet configuration needs to be overwritten. + * + * @return the allowVNetOverride value. + */ + public Boolean allowVNetOverride() { + return this.innerProperties() == null ? null : this.innerProperties().allowVNetOverride(); + } + + /** + * Set the allowVNetOverride property: A boolean to determine if the vnet configuration needs to be overwritten. + * + * @param allowVNetOverride the allowVNetOverride value to set. + * @return the ChangeDataCaptureResourceInner object itself. + */ + public ChangeDataCaptureResourceInner withAllowVNetOverride(Boolean allowVNetOverride) { + if (this.innerProperties() == null) { + this.innerProperties = new ChangeDataCapture(); + } + this.innerProperties().withAllowVNetOverride(allowVNetOverride); + return this; + } + + /** + * Get the status property: Status of the CDC as to if it is running or stopped. + * + * @return the status value. + */ + public String status() { + return this.innerProperties() == null ? null : this.innerProperties().status(); + } + + /** + * Set the status property: Status of the CDC as to if it is running or stopped. + * + * @param status the status value to set. + * @return the ChangeDataCaptureResourceInner object itself. + */ + public ChangeDataCaptureResourceInner withStatus(String status) { + if (this.innerProperties() == null) { + this.innerProperties = new ChangeDataCapture(); + } + this.innerProperties().withStatus(status); + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (innerProperties() == null) { + throw LOGGER + .logExceptionAsError( + new IllegalArgumentException( + "Missing required property innerProperties in model ChangeDataCaptureResourceInner")); + } else { + innerProperties().validate(); + } + } + + private static final ClientLogger LOGGER = new ClientLogger(ChangeDataCaptureResourceInner.class); +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/CommonDataServiceForAppsLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/CommonDataServiceForAppsLinkedServiceTypeProperties.java index ee372517f5e66..0adf112c070d0 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/CommonDataServiceForAppsLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/CommonDataServiceForAppsLinkedServiceTypeProperties.java @@ -95,10 +95,10 @@ public final class CommonDataServiceForAppsLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of CommonDataServiceForAppsLinkedServiceTypeProperties class. */ public CommonDataServiceForAppsLinkedServiceTypeProperties() { @@ -362,22 +362,22 @@ public CommonDataServiceForAppsLinkedServiceTypeProperties withServicePrincipalC /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the CommonDataServiceForAppsLinkedServiceTypeProperties object itself. */ - public CommonDataServiceForAppsLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public CommonDataServiceForAppsLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ConcurLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ConcurLinkedServiceTypeProperties.java index a1280c48776e4..e70cecc2e98a2 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ConcurLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ConcurLinkedServiceTypeProperties.java @@ -58,10 +58,10 @@ public final class ConcurLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of ConcurLinkedServiceTypeProperties class. */ public ConcurLinkedServiceTypeProperties() { @@ -217,22 +217,22 @@ public ConcurLinkedServiceTypeProperties withUsePeerVerification(Object usePeerV /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the ConcurLinkedServiceTypeProperties object itself. */ - public ConcurLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public ConcurLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/CosmosDbLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/CosmosDbLinkedServiceTypeProperties.java index e9852212b80a4..17579118e081d 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/CosmosDbLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/CosmosDbLinkedServiceTypeProperties.java @@ -6,7 +6,6 @@ import com.azure.core.annotation.Fluent; import com.azure.resourcemanager.datafactory.models.CosmosDbConnectionMode; -import com.azure.resourcemanager.datafactory.models.CosmosDbServicePrincipalCredentialType; import com.azure.resourcemanager.datafactory.models.CredentialReference; import com.azure.resourcemanager.datafactory.models.SecretBase; import com.fasterxml.jackson.annotation.JsonProperty; @@ -47,10 +46,10 @@ public final class CosmosDbLinkedServiceTypeProperties { /* * The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for - * key/secret, 'ServicePrincipalCert' for certificate. Type: string (or Expression with resultType string). + * key/secret, 'ServicePrincipalCert' for certificate. Type: string. */ @JsonProperty(value = "servicePrincipalCredentialType") - private CosmosDbServicePrincipalCredentialType servicePrincipalCredentialType; + private Object servicePrincipalCredentialType; /* * The credential of the service principal object in Azure Active Directory. If servicePrincipalCredentialType is @@ -77,17 +76,17 @@ public final class CosmosDbLinkedServiceTypeProperties { private Object azureCloudType; /* - * The connection mode used to access CosmosDB account. Type: string (or Expression with resultType string). + * The connection mode used to access CosmosDB account. Type: string. */ @JsonProperty(value = "connectionMode") private CosmosDbConnectionMode connectionMode; /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /* * The credential reference containing authentication information. @@ -209,25 +208,23 @@ public CosmosDbLinkedServiceTypeProperties withServicePrincipalId(Object service /** * Get the servicePrincipalCredentialType property: The service principal credential type to use in Server-To-Server - * authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or - * Expression with resultType string). + * authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string. * * @return the servicePrincipalCredentialType value. */ - public CosmosDbServicePrincipalCredentialType servicePrincipalCredentialType() { + public Object servicePrincipalCredentialType() { return this.servicePrincipalCredentialType; } /** * Set the servicePrincipalCredentialType property: The service principal credential type to use in Server-To-Server - * authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or - * Expression with resultType string). + * authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string. * * @param servicePrincipalCredentialType the servicePrincipalCredentialType value to set. * @return the CosmosDbLinkedServiceTypeProperties object itself. */ public CosmosDbLinkedServiceTypeProperties withServicePrincipalCredentialType( - CosmosDbServicePrincipalCredentialType servicePrincipalCredentialType) { + Object servicePrincipalCredentialType) { this.servicePrincipalCredentialType = servicePrincipalCredentialType; return this; } @@ -305,8 +302,7 @@ public CosmosDbLinkedServiceTypeProperties withAzureCloudType(Object azureCloudT } /** - * Get the connectionMode property: The connection mode used to access CosmosDB account. Type: string (or Expression - * with resultType string). + * Get the connectionMode property: The connection mode used to access CosmosDB account. Type: string. * * @return the connectionMode value. */ @@ -315,8 +311,7 @@ public CosmosDbConnectionMode connectionMode() { } /** - * Set the connectionMode property: The connection mode used to access CosmosDB account. Type: string (or Expression - * with resultType string). + * Set the connectionMode property: The connection mode used to access CosmosDB account. Type: string. * * @param connectionMode the connectionMode value to set. * @return the CosmosDbLinkedServiceTypeProperties object itself. @@ -328,22 +323,22 @@ public CosmosDbLinkedServiceTypeProperties withConnectionMode(CosmosDbConnection /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the CosmosDbLinkedServiceTypeProperties object itself. */ - public CosmosDbLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public CosmosDbLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/CouchbaseLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/CouchbaseLinkedServiceTypeProperties.java index 4219a6f0e0034..636ba53ec3ec3 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/CouchbaseLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/CouchbaseLinkedServiceTypeProperties.java @@ -25,10 +25,10 @@ public final class CouchbaseLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of CouchbaseLinkedServiceTypeProperties class. */ public CouchbaseLinkedServiceTypeProperties() { @@ -78,22 +78,22 @@ public CouchbaseLinkedServiceTypeProperties withCredString(AzureKeyVaultSecretRe /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the CouchbaseLinkedServiceTypeProperties object itself. */ - public CouchbaseLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public CouchbaseLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/DataworldLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/DataworldLinkedServiceTypeProperties.java index c9f8ec48a011f..6099e5ba28c70 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/DataworldLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/DataworldLinkedServiceTypeProperties.java @@ -20,10 +20,10 @@ public final class DataworldLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of DataworldLinkedServiceTypeProperties class. */ public DataworldLinkedServiceTypeProperties() { @@ -51,22 +51,22 @@ public DataworldLinkedServiceTypeProperties withApiToken(SecretBase apiToken) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the DataworldLinkedServiceTypeProperties object itself. */ - public DataworldLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public DataworldLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/Db2LinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/Db2LinkedServiceTypeProperties.java index 11ac2d735645c..7a37ea2b73660 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/Db2LinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/Db2LinkedServiceTypeProperties.java @@ -69,11 +69,10 @@ public final class Db2LinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. It is mutually exclusive with connectionString property. Type: string (or Expression with - * resultType string). + * credential manager. It is mutually exclusive with connectionString property. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of Db2LinkedServiceTypeProperties class. */ public Db2LinkedServiceTypeProperties() { @@ -258,23 +257,23 @@ public Db2LinkedServiceTypeProperties withCertificateCommonName(Object certifica /** * Get the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted * using the integration runtime credential manager. It is mutually exclusive with connectionString property. Type: - * string (or Expression with resultType string). + * string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String encryptedCredential() { return this.encryptedCredential; } /** * Set the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted * using the integration runtime credential manager. It is mutually exclusive with connectionString property. Type: - * string (or Expression with resultType string). + * string. * * @param encryptedCredential the encryptedCredential value to set. * @return the Db2LinkedServiceTypeProperties object itself. */ - public Db2LinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public Db2LinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/DrillLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/DrillLinkedServiceTypeProperties.java index da7abe5d2089f..11383d3107fe2 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/DrillLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/DrillLinkedServiceTypeProperties.java @@ -25,10 +25,10 @@ public final class DrillLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of DrillLinkedServiceTypeProperties class. */ public DrillLinkedServiceTypeProperties() { @@ -78,22 +78,22 @@ public DrillLinkedServiceTypeProperties withPwd(AzureKeyVaultSecretReference pwd /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the DrillLinkedServiceTypeProperties object itself. */ - public DrillLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public DrillLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/DynamicsAXLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/DynamicsAXLinkedServiceTypeProperties.java index faa6c5e0b7b1f..1583509dd37df 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/DynamicsAXLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/DynamicsAXLinkedServiceTypeProperties.java @@ -47,10 +47,10 @@ public final class DynamicsAXLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of DynamicsAXLinkedServiceTypeProperties class. */ public DynamicsAXLinkedServiceTypeProperties() { @@ -170,22 +170,22 @@ public DynamicsAXLinkedServiceTypeProperties withAadResourceId(Object aadResourc /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the DynamicsAXLinkedServiceTypeProperties object itself. */ - public DynamicsAXLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public DynamicsAXLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/DynamicsCrmLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/DynamicsCrmLinkedServiceTypeProperties.java index 1878f61d85762..a91e34bbb84d8 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/DynamicsCrmLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/DynamicsCrmLinkedServiceTypeProperties.java @@ -93,10 +93,10 @@ public final class DynamicsCrmLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of DynamicsCrmLinkedServiceTypeProperties class. */ public DynamicsCrmLinkedServiceTypeProperties() { @@ -358,22 +358,22 @@ public DynamicsCrmLinkedServiceTypeProperties withServicePrincipalCredential( /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the DynamicsCrmLinkedServiceTypeProperties object itself. */ - public DynamicsCrmLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public DynamicsCrmLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/DynamicsLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/DynamicsLinkedServiceTypeProperties.java index e9c88c50647c4..96f7cd5a94a6d 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/DynamicsLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/DynamicsLinkedServiceTypeProperties.java @@ -94,10 +94,10 @@ public final class DynamicsLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /* * The credential reference containing authentication information. @@ -362,22 +362,22 @@ public DynamicsLinkedServiceTypeProperties withServicePrincipalCredential(Secret /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the DynamicsLinkedServiceTypeProperties object itself. */ - public DynamicsLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public DynamicsLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/EloquaLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/EloquaLinkedServiceTypeProperties.java index dc77b8009264f..338375b655669 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/EloquaLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/EloquaLinkedServiceTypeProperties.java @@ -51,10 +51,10 @@ public final class EloquaLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of EloquaLinkedServiceTypeProperties class. */ public EloquaLinkedServiceTypeProperties() { @@ -190,22 +190,22 @@ public EloquaLinkedServiceTypeProperties withUsePeerVerification(Object usePeerV /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the EloquaLinkedServiceTypeProperties object itself. */ - public EloquaLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public EloquaLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/FileServerLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/FileServerLinkedServiceTypeProperties.java index 4df9face24c2a..98335e998f7fe 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/FileServerLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/FileServerLinkedServiceTypeProperties.java @@ -32,10 +32,10 @@ public final class FileServerLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of FileServerLinkedServiceTypeProperties class. */ public FileServerLinkedServiceTypeProperties() { @@ -103,22 +103,22 @@ public FileServerLinkedServiceTypeProperties withPassword(SecretBase password) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the FileServerLinkedServiceTypeProperties object itself. */ - public FileServerLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public FileServerLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/FtpServerLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/FtpServerLinkedServiceTypeProperties.java index 0ebeb448db91d..68cfe63e87129 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/FtpServerLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/FtpServerLinkedServiceTypeProperties.java @@ -46,10 +46,10 @@ public final class FtpServerLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /* * If true, connect to the FTP server over SSL/TLS channel. Default value is true. Type: boolean (or Expression @@ -173,22 +173,22 @@ public FtpServerLinkedServiceTypeProperties withPassword(SecretBase password) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the FtpServerLinkedServiceTypeProperties object itself. */ - public FtpServerLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public FtpServerLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/GoogleAdWordsLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/GoogleAdWordsLinkedServiceTypeProperties.java index 6a001acef78ad..81399576cd7d9 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/GoogleAdWordsLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/GoogleAdWordsLinkedServiceTypeProperties.java @@ -20,7 +20,8 @@ public final class GoogleAdWordsLinkedServiceTypeProperties { private Object connectionProperties; /* - * The Client customer ID of the AdWords account that you want to fetch report data for. + * The Client customer ID of the AdWords account that you want to fetch report data for. Type: string (or + * Expression with resultType string). */ @JsonProperty(value = "clientCustomerID") private Object clientCustomerId; @@ -59,13 +60,14 @@ public final class GoogleAdWordsLinkedServiceTypeProperties { /* * The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR. + * Type: string (or Expression with resultType string). */ @JsonProperty(value = "email") private Object email; /* * The full path to the .p12 key file that is used to authenticate the service account email address and can only - * be used on self-hosted IR. + * be used on self-hosted IR. Type: string (or Expression with resultType string). */ @JsonProperty(value = "keyFilePath") private Object keyFilePath; @@ -73,24 +75,24 @@ public final class GoogleAdWordsLinkedServiceTypeProperties { /* * The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over * SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file - * installed with the IR. + * installed with the IR. Type: string (or Expression with resultType string). */ @JsonProperty(value = "trustedCertPath") private Object trustedCertPath; /* * Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default - * value is false. + * value is false. Type: boolean (or Expression with resultType boolean). */ @JsonProperty(value = "useSystemTrustStore") private Object useSystemTrustStore; /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of GoogleAdWordsLinkedServiceTypeProperties class. */ public GoogleAdWordsLinkedServiceTypeProperties() { @@ -120,7 +122,7 @@ public GoogleAdWordsLinkedServiceTypeProperties withConnectionProperties(Object /** * Get the clientCustomerId property: The Client customer ID of the AdWords account that you want to fetch report - * data for. + * data for. Type: string (or Expression with resultType string). * * @return the clientCustomerId value. */ @@ -130,7 +132,7 @@ public Object clientCustomerId() { /** * Set the clientCustomerId property: The Client customer ID of the AdWords account that you want to fetch report - * data for. + * data for. Type: string (or Expression with resultType string). * * @param clientCustomerId the clientCustomerId value to set. * @return the GoogleAdWordsLinkedServiceTypeProperties object itself. @@ -251,7 +253,7 @@ public GoogleAdWordsLinkedServiceTypeProperties withClientSecret(SecretBase clie /** * Get the email property: The service account email ID that is used for ServiceAuthentication and can only be used - * on self-hosted IR. + * on self-hosted IR. Type: string (or Expression with resultType string). * * @return the email value. */ @@ -261,7 +263,7 @@ public Object email() { /** * Set the email property: The service account email ID that is used for ServiceAuthentication and can only be used - * on self-hosted IR. + * on self-hosted IR. Type: string (or Expression with resultType string). * * @param email the email value to set. * @return the GoogleAdWordsLinkedServiceTypeProperties object itself. @@ -273,7 +275,7 @@ public GoogleAdWordsLinkedServiceTypeProperties withEmail(Object email) { /** * Get the keyFilePath property: The full path to the .p12 key file that is used to authenticate the service account - * email address and can only be used on self-hosted IR. + * email address and can only be used on self-hosted IR. Type: string (or Expression with resultType string). * * @return the keyFilePath value. */ @@ -283,7 +285,7 @@ public Object keyFilePath() { /** * Set the keyFilePath property: The full path to the .p12 key file that is used to authenticate the service account - * email address and can only be used on self-hosted IR. + * email address and can only be used on self-hosted IR. Type: string (or Expression with resultType string). * * @param keyFilePath the keyFilePath value to set. * @return the GoogleAdWordsLinkedServiceTypeProperties object itself. @@ -296,7 +298,7 @@ public GoogleAdWordsLinkedServiceTypeProperties withKeyFilePath(Object keyFilePa /** * Get the trustedCertPath property: The full path of the .pem file containing trusted CA certificates for verifying * the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default - * value is the cacerts.pem file installed with the IR. + * value is the cacerts.pem file installed with the IR. Type: string (or Expression with resultType string). * * @return the trustedCertPath value. */ @@ -307,7 +309,7 @@ public Object trustedCertPath() { /** * Set the trustedCertPath property: The full path of the .pem file containing trusted CA certificates for verifying * the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default - * value is the cacerts.pem file installed with the IR. + * value is the cacerts.pem file installed with the IR. Type: string (or Expression with resultType string). * * @param trustedCertPath the trustedCertPath value to set. * @return the GoogleAdWordsLinkedServiceTypeProperties object itself. @@ -319,7 +321,7 @@ public GoogleAdWordsLinkedServiceTypeProperties withTrustedCertPath(Object trust /** * Get the useSystemTrustStore property: Specifies whether to use a CA certificate from the system trust store or - * from a specified PEM file. The default value is false. + * from a specified PEM file. The default value is false. Type: boolean (or Expression with resultType boolean). * * @return the useSystemTrustStore value. */ @@ -329,7 +331,7 @@ public Object useSystemTrustStore() { /** * Set the useSystemTrustStore property: Specifies whether to use a CA certificate from the system trust store or - * from a specified PEM file. The default value is false. + * from a specified PEM file. The default value is false. Type: boolean (or Expression with resultType boolean). * * @param useSystemTrustStore the useSystemTrustStore value to set. * @return the GoogleAdWordsLinkedServiceTypeProperties object itself. @@ -341,22 +343,22 @@ public GoogleAdWordsLinkedServiceTypeProperties withUseSystemTrustStore(Object u /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the GoogleAdWordsLinkedServiceTypeProperties object itself. */ - public GoogleAdWordsLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public GoogleAdWordsLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/GoogleBigQueryLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/GoogleBigQueryLinkedServiceTypeProperties.java index 2ae826b9d2e49..c193b60435fa8 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/GoogleBigQueryLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/GoogleBigQueryLinkedServiceTypeProperties.java @@ -14,20 +14,22 @@ @Fluent public final class GoogleBigQueryLinkedServiceTypeProperties { /* - * The default BigQuery project to query against. + * The default BigQuery project to query against. Type: string (or Expression with resultType string). */ @JsonProperty(value = "project", required = true) private Object project; /* - * A comma-separated list of public BigQuery projects to access. + * A comma-separated list of public BigQuery projects to access. Type: string (or Expression with resultType + * string). */ @JsonProperty(value = "additionalProjects") private Object additionalProjects; /* * Whether to request access to Google Drive. Allowing Google Drive access enables support for federated tables - * that combine BigQuery data with data from Google Drive. The default value is false. + * that combine BigQuery data with data from Google Drive. The default value is false. Type: string (or Expression + * with resultType string). */ @JsonProperty(value = "requestGoogleDriveScope") private Object requestGoogleDriveScope; @@ -60,13 +62,14 @@ public final class GoogleBigQueryLinkedServiceTypeProperties { /* * The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR. + * Type: string (or Expression with resultType string). */ @JsonProperty(value = "email") private Object email; /* * The full path to the .p12 key file that is used to authenticate the service account email address and can only - * be used on self-hosted IR. + * be used on self-hosted IR. Type: string (or Expression with resultType string). */ @JsonProperty(value = "keyFilePath") private Object keyFilePath; @@ -74,31 +77,32 @@ public final class GoogleBigQueryLinkedServiceTypeProperties { /* * The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over * SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file - * installed with the IR. + * installed with the IR. Type: string (or Expression with resultType string). */ @JsonProperty(value = "trustedCertPath") private Object trustedCertPath; /* * Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default - * value is false. + * value is false.Type: boolean (or Expression with resultType boolean). */ @JsonProperty(value = "useSystemTrustStore") private Object useSystemTrustStore; /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of GoogleBigQueryLinkedServiceTypeProperties class. */ public GoogleBigQueryLinkedServiceTypeProperties() { } /** - * Get the project property: The default BigQuery project to query against. + * Get the project property: The default BigQuery project to query against. Type: string (or Expression with + * resultType string). * * @return the project value. */ @@ -107,7 +111,8 @@ public Object project() { } /** - * Set the project property: The default BigQuery project to query against. + * Set the project property: The default BigQuery project to query against. Type: string (or Expression with + * resultType string). * * @param project the project value to set. * @return the GoogleBigQueryLinkedServiceTypeProperties object itself. @@ -118,7 +123,8 @@ public GoogleBigQueryLinkedServiceTypeProperties withProject(Object project) { } /** - * Get the additionalProjects property: A comma-separated list of public BigQuery projects to access. + * Get the additionalProjects property: A comma-separated list of public BigQuery projects to access. Type: string + * (or Expression with resultType string). * * @return the additionalProjects value. */ @@ -127,7 +133,8 @@ public Object additionalProjects() { } /** - * Set the additionalProjects property: A comma-separated list of public BigQuery projects to access. + * Set the additionalProjects property: A comma-separated list of public BigQuery projects to access. Type: string + * (or Expression with resultType string). * * @param additionalProjects the additionalProjects value to set. * @return the GoogleBigQueryLinkedServiceTypeProperties object itself. @@ -140,7 +147,7 @@ public GoogleBigQueryLinkedServiceTypeProperties withAdditionalProjects(Object a /** * Get the requestGoogleDriveScope property: Whether to request access to Google Drive. Allowing Google Drive access * enables support for federated tables that combine BigQuery data with data from Google Drive. The default value is - * false. + * false. Type: string (or Expression with resultType string). * * @return the requestGoogleDriveScope value. */ @@ -151,7 +158,7 @@ public Object requestGoogleDriveScope() { /** * Set the requestGoogleDriveScope property: Whether to request access to Google Drive. Allowing Google Drive access * enables support for federated tables that combine BigQuery data with data from Google Drive. The default value is - * false. + * false. Type: string (or Expression with resultType string). * * @param requestGoogleDriveScope the requestGoogleDriveScope value to set. * @return the GoogleBigQueryLinkedServiceTypeProperties object itself. @@ -250,7 +257,7 @@ public GoogleBigQueryLinkedServiceTypeProperties withClientSecret(SecretBase cli /** * Get the email property: The service account email ID that is used for ServiceAuthentication and can only be used - * on self-hosted IR. + * on self-hosted IR. Type: string (or Expression with resultType string). * * @return the email value. */ @@ -260,7 +267,7 @@ public Object email() { /** * Set the email property: The service account email ID that is used for ServiceAuthentication and can only be used - * on self-hosted IR. + * on self-hosted IR. Type: string (or Expression with resultType string). * * @param email the email value to set. * @return the GoogleBigQueryLinkedServiceTypeProperties object itself. @@ -272,7 +279,7 @@ public GoogleBigQueryLinkedServiceTypeProperties withEmail(Object email) { /** * Get the keyFilePath property: The full path to the .p12 key file that is used to authenticate the service account - * email address and can only be used on self-hosted IR. + * email address and can only be used on self-hosted IR. Type: string (or Expression with resultType string). * * @return the keyFilePath value. */ @@ -282,7 +289,7 @@ public Object keyFilePath() { /** * Set the keyFilePath property: The full path to the .p12 key file that is used to authenticate the service account - * email address and can only be used on self-hosted IR. + * email address and can only be used on self-hosted IR. Type: string (or Expression with resultType string). * * @param keyFilePath the keyFilePath value to set. * @return the GoogleBigQueryLinkedServiceTypeProperties object itself. @@ -295,7 +302,7 @@ public GoogleBigQueryLinkedServiceTypeProperties withKeyFilePath(Object keyFileP /** * Get the trustedCertPath property: The full path of the .pem file containing trusted CA certificates for verifying * the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default - * value is the cacerts.pem file installed with the IR. + * value is the cacerts.pem file installed with the IR. Type: string (or Expression with resultType string). * * @return the trustedCertPath value. */ @@ -306,7 +313,7 @@ public Object trustedCertPath() { /** * Set the trustedCertPath property: The full path of the .pem file containing trusted CA certificates for verifying * the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default - * value is the cacerts.pem file installed with the IR. + * value is the cacerts.pem file installed with the IR. Type: string (or Expression with resultType string). * * @param trustedCertPath the trustedCertPath value to set. * @return the GoogleBigQueryLinkedServiceTypeProperties object itself. @@ -318,7 +325,7 @@ public GoogleBigQueryLinkedServiceTypeProperties withTrustedCertPath(Object trus /** * Get the useSystemTrustStore property: Specifies whether to use a CA certificate from the system trust store or - * from a specified PEM file. The default value is false. + * from a specified PEM file. The default value is false.Type: boolean (or Expression with resultType boolean). * * @return the useSystemTrustStore value. */ @@ -328,7 +335,7 @@ public Object useSystemTrustStore() { /** * Set the useSystemTrustStore property: Specifies whether to use a CA certificate from the system trust store or - * from a specified PEM file. The default value is false. + * from a specified PEM file. The default value is false.Type: boolean (or Expression with resultType boolean). * * @param useSystemTrustStore the useSystemTrustStore value to set. * @return the GoogleBigQueryLinkedServiceTypeProperties object itself. @@ -340,22 +347,22 @@ public GoogleBigQueryLinkedServiceTypeProperties withUseSystemTrustStore(Object /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the GoogleBigQueryLinkedServiceTypeProperties object itself. */ - public GoogleBigQueryLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public GoogleBigQueryLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/GoogleCloudStorageLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/GoogleCloudStorageLinkedServiceTypeProperties.java index 5515efddbcf4b..5c93182b46eb8 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/GoogleCloudStorageLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/GoogleCloudStorageLinkedServiceTypeProperties.java @@ -34,10 +34,10 @@ public final class GoogleCloudStorageLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of GoogleCloudStorageLinkedServiceTypeProperties class. */ public GoogleCloudStorageLinkedServiceTypeProperties() { @@ -113,22 +113,22 @@ public GoogleCloudStorageLinkedServiceTypeProperties withServiceUrl(Object servi /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the GoogleCloudStorageLinkedServiceTypeProperties object itself. */ - public GoogleCloudStorageLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public GoogleCloudStorageLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/GoogleSheetsLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/GoogleSheetsLinkedServiceTypeProperties.java index 6638c2365ecc0..e8a21ed63a646 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/GoogleSheetsLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/GoogleSheetsLinkedServiceTypeProperties.java @@ -20,10 +20,10 @@ public final class GoogleSheetsLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of GoogleSheetsLinkedServiceTypeProperties class. */ public GoogleSheetsLinkedServiceTypeProperties() { @@ -51,22 +51,22 @@ public GoogleSheetsLinkedServiceTypeProperties withApiToken(SecretBase apiToken) /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the GoogleSheetsLinkedServiceTypeProperties object itself. */ - public GoogleSheetsLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public GoogleSheetsLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/GreenplumLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/GreenplumLinkedServiceTypeProperties.java index ff85fba756ac7..39f6ba4aeddb7 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/GreenplumLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/GreenplumLinkedServiceTypeProperties.java @@ -25,10 +25,10 @@ public final class GreenplumLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of GreenplumLinkedServiceTypeProperties class. */ public GreenplumLinkedServiceTypeProperties() { @@ -78,22 +78,22 @@ public GreenplumLinkedServiceTypeProperties withPwd(AzureKeyVaultSecretReference /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the GreenplumLinkedServiceTypeProperties object itself. */ - public GreenplumLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public GreenplumLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/HBaseLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/HBaseLinkedServiceTypeProperties.java index f87c95f729f6d..e523c4575d8fa 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/HBaseLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/HBaseLinkedServiceTypeProperties.java @@ -78,10 +78,10 @@ public final class HBaseLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of HBaseLinkedServiceTypeProperties class. */ public HBaseLinkedServiceTypeProperties() { @@ -303,22 +303,22 @@ public HBaseLinkedServiceTypeProperties withAllowSelfSignedServerCert(Object all /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the HBaseLinkedServiceTypeProperties object itself. */ - public HBaseLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public HBaseLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/HDInsightHiveActivityTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/HDInsightHiveActivityTypeProperties.java index 5756795cbd9ec..abf2f59f2f1c8 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/HDInsightHiveActivityTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/HDInsightHiveActivityTypeProperties.java @@ -56,7 +56,8 @@ public final class HDInsightHiveActivityTypeProperties { * User specified arguments under hivevar namespace. */ @JsonProperty(value = "variables") - private List variables; + @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS) + private Map variables; /* * Query timeout value (in minutes). Effective when the HDInsight cluster is with ESP (Enterprise Security @@ -195,7 +196,7 @@ public HDInsightHiveActivityTypeProperties withDefines(Map defin * * @return the variables value. */ - public List variables() { + public Map variables() { return this.variables; } @@ -205,7 +206,7 @@ public List variables() { * @param variables the variables value to set. * @return the HDInsightHiveActivityTypeProperties object itself. */ - public HDInsightHiveActivityTypeProperties withVariables(List variables) { + public HDInsightHiveActivityTypeProperties withVariables(Map variables) { this.variables = variables; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/HDInsightLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/HDInsightLinkedServiceTypeProperties.java index 68301c915ef59..567377d302305 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/HDInsightLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/HDInsightLinkedServiceTypeProperties.java @@ -45,10 +45,10 @@ public final class HDInsightLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /* * Specify if the HDInsight is created with ESP (Enterprise Security Package). Type: Boolean. @@ -172,22 +172,22 @@ public HDInsightLinkedServiceTypeProperties withHcatalogLinkedServiceName( /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the HDInsightLinkedServiceTypeProperties object itself. */ - public HDInsightLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public HDInsightLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/HDInsightOnDemandLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/HDInsightOnDemandLinkedServiceTypeProperties.java index e873c3a6baabe..4a1befd18790b 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/HDInsightOnDemandLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/HDInsightOnDemandLinkedServiceTypeProperties.java @@ -181,10 +181,10 @@ public final class HDInsightOnDemandLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /* * Specifies the size of the head node for the HDInsight cluster. @@ -804,22 +804,22 @@ public HDInsightOnDemandLinkedServiceTypeProperties withYarnConfiguration(Object /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the HDInsightOnDemandLinkedServiceTypeProperties object itself. */ - public HDInsightOnDemandLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public HDInsightOnDemandLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/HdfsLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/HdfsLinkedServiceTypeProperties.java index 204e8b2950633..3d0f8de7383fc 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/HdfsLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/HdfsLinkedServiceTypeProperties.java @@ -28,10 +28,10 @@ public final class HdfsLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /* * User name for Windows authentication. Type: string (or Expression with resultType string). @@ -95,22 +95,22 @@ public HdfsLinkedServiceTypeProperties withAuthenticationType(Object authenticat /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the HdfsLinkedServiceTypeProperties object itself. */ - public HdfsLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public HdfsLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/HiveLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/HiveLinkedServiceTypeProperties.java index 069d8b2b22c37..f43a4370f2869 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/HiveLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/HiveLinkedServiceTypeProperties.java @@ -118,10 +118,10 @@ public final class HiveLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of HiveLinkedServiceTypeProperties class. */ public HiveLinkedServiceTypeProperties() { @@ -466,22 +466,22 @@ public HiveLinkedServiceTypeProperties withAllowSelfSignedServerCert(Object allo /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the HiveLinkedServiceTypeProperties object itself. */ - public HiveLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public HiveLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/HttpLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/HttpLinkedServiceTypeProperties.java index 91f565c2680cb..5773c47ef4719 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/HttpLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/HttpLinkedServiceTypeProperties.java @@ -63,10 +63,10 @@ public final class HttpLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /* * If true, validate the HTTPS server SSL certificate. Default value is true. Type: boolean (or Expression with @@ -237,22 +237,22 @@ public HttpLinkedServiceTypeProperties withCertThumbprint(Object certThumbprint) /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the HttpLinkedServiceTypeProperties object itself. */ - public HttpLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public HttpLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/HubspotLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/HubspotLinkedServiceTypeProperties.java index 6a6cbfdcde07d..5ae449138ea35 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/HubspotLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/HubspotLinkedServiceTypeProperties.java @@ -57,10 +57,10 @@ public final class HubspotLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of HubspotLinkedServiceTypeProperties class. */ public HubspotLinkedServiceTypeProperties() { @@ -214,22 +214,22 @@ public HubspotLinkedServiceTypeProperties withUsePeerVerification(Object usePeer /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the HubspotLinkedServiceTypeProperties object itself. */ - public HubspotLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public HubspotLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ImpalaLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ImpalaLinkedServiceTypeProperties.java index 96b6631bf31fb..3161d61d39fda 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ImpalaLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ImpalaLinkedServiceTypeProperties.java @@ -79,10 +79,10 @@ public final class ImpalaLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of ImpalaLinkedServiceTypeProperties class. */ public ImpalaLinkedServiceTypeProperties() { @@ -306,22 +306,22 @@ public ImpalaLinkedServiceTypeProperties withAllowSelfSignedServerCert(Object al /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the ImpalaLinkedServiceTypeProperties object itself. */ - public ImpalaLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public ImpalaLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/InformixLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/InformixLinkedServiceTypeProperties.java index 766d98f282d74..d0ee8ff3ca848 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/InformixLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/InformixLinkedServiceTypeProperties.java @@ -14,7 +14,7 @@ public final class InformixLinkedServiceTypeProperties { /* * The non-access credential portion of the connection string as well as an optional encrypted credential. Type: - * string, SecureString or AzureKeyVaultSecretReference. + * string, or SecureString, or AzureKeyVaultSecretReference, or Expression with resultType string. */ @JsonProperty(value = "connectionString", required = true) private Object connectionString; @@ -46,10 +46,10 @@ public final class InformixLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of InformixLinkedServiceTypeProperties class. */ public InformixLinkedServiceTypeProperties() { @@ -57,7 +57,8 @@ public InformixLinkedServiceTypeProperties() { /** * Get the connectionString property: The non-access credential portion of the connection string as well as an - * optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference. + * optional encrypted credential. Type: string, or SecureString, or AzureKeyVaultSecretReference, or Expression with + * resultType string. * * @return the connectionString value. */ @@ -67,7 +68,8 @@ public Object connectionString() { /** * Set the connectionString property: The non-access credential portion of the connection string as well as an - * optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference. + * optional encrypted credential. Type: string, or SecureString, or AzureKeyVaultSecretReference, or Expression with + * resultType string. * * @param connectionString the connectionString value to set. * @return the InformixLinkedServiceTypeProperties object itself. @@ -165,22 +167,22 @@ public InformixLinkedServiceTypeProperties withPassword(SecretBase password) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the InformixLinkedServiceTypeProperties object itself. */ - public InformixLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public InformixLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/JiraLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/JiraLinkedServiceTypeProperties.java index 2a1b1a27b86d0..ac127928ce930 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/JiraLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/JiraLinkedServiceTypeProperties.java @@ -58,10 +58,10 @@ public final class JiraLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of JiraLinkedServiceTypeProperties class. */ public JiraLinkedServiceTypeProperties() { @@ -217,22 +217,22 @@ public JiraLinkedServiceTypeProperties withUsePeerVerification(Object usePeerVer /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the JiraLinkedServiceTypeProperties object itself. */ - public JiraLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public JiraLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/MagentoLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/MagentoLinkedServiceTypeProperties.java index 202f2c16b78a9..164a47e91995b 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/MagentoLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/MagentoLinkedServiceTypeProperties.java @@ -45,10 +45,10 @@ public final class MagentoLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of MagentoLinkedServiceTypeProperties class. */ public MagentoLinkedServiceTypeProperties() { @@ -162,22 +162,22 @@ public MagentoLinkedServiceTypeProperties withUsePeerVerification(Object usePeer /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the MagentoLinkedServiceTypeProperties object itself. */ - public MagentoLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public MagentoLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/MapperTableProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/MapperTableProperties.java new file mode 100644 index 0000000000000..7e24bccc6a3d6 --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/MapperTableProperties.java @@ -0,0 +1,85 @@ +// 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.MapperDslConnectorProperties; +import com.azure.resourcemanager.datafactory.models.MapperTableSchema; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** Properties for a CDC table. */ +@Fluent +public final class MapperTableProperties { + /* + * List of columns for the source table. + */ + @JsonProperty(value = "schema") + private List schema; + + /* + * List of name/value pairs for connection properties. + */ + @JsonProperty(value = "dslConnectorProperties") + private List dslConnectorProperties; + + /** Creates an instance of MapperTableProperties class. */ + public MapperTableProperties() { + } + + /** + * Get the schema property: List of columns for the source table. + * + * @return the schema value. + */ + public List schema() { + return this.schema; + } + + /** + * Set the schema property: List of columns for the source table. + * + * @param schema the schema value to set. + * @return the MapperTableProperties object itself. + */ + public MapperTableProperties withSchema(List schema) { + this.schema = schema; + return this; + } + + /** + * Get the dslConnectorProperties property: List of name/value pairs for connection properties. + * + * @return the dslConnectorProperties value. + */ + public List dslConnectorProperties() { + return this.dslConnectorProperties; + } + + /** + * Set the dslConnectorProperties property: List of name/value pairs for connection properties. + * + * @param dslConnectorProperties the dslConnectorProperties value to set. + * @return the MapperTableProperties object itself. + */ + public MapperTableProperties withDslConnectorProperties(List dslConnectorProperties) { + this.dslConnectorProperties = dslConnectorProperties; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (schema() != null) { + schema().forEach(e -> e.validate()); + } + if (dslConnectorProperties() != null) { + dslConnectorProperties().forEach(e -> e.validate()); + } + } +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/MariaDBLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/MariaDBLinkedServiceTypeProperties.java index fb694e8e214e9..e1a4e5fe8d83d 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/MariaDBLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/MariaDBLinkedServiceTypeProperties.java @@ -25,10 +25,10 @@ public final class MariaDBLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of MariaDBLinkedServiceTypeProperties class. */ public MariaDBLinkedServiceTypeProperties() { @@ -78,22 +78,22 @@ public MariaDBLinkedServiceTypeProperties withPwd(AzureKeyVaultSecretReference p /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the MariaDBLinkedServiceTypeProperties object itself. */ - public MariaDBLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public MariaDBLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/MarketoLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/MarketoLinkedServiceTypeProperties.java index f9b4bfb3941f7..eba83cd86e2f0 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/MarketoLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/MarketoLinkedServiceTypeProperties.java @@ -51,10 +51,10 @@ public final class MarketoLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of MarketoLinkedServiceTypeProperties class. */ public MarketoLinkedServiceTypeProperties() { @@ -188,22 +188,22 @@ public MarketoLinkedServiceTypeProperties withUsePeerVerification(Object usePeer /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the MarketoLinkedServiceTypeProperties object itself. */ - public MarketoLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public MarketoLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/MicrosoftAccessLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/MicrosoftAccessLinkedServiceTypeProperties.java index ee2767fd98df7..9a87851a83063 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/MicrosoftAccessLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/MicrosoftAccessLinkedServiceTypeProperties.java @@ -14,7 +14,7 @@ public final class MicrosoftAccessLinkedServiceTypeProperties { /* * The non-access credential portion of the connection string as well as an optional encrypted credential. Type: - * string, SecureString or AzureKeyVaultSecretReference. + * string, or SecureString, or AzureKeyVaultSecretReference, or Expression with resultType string. */ @JsonProperty(value = "connectionString", required = true) private Object connectionString; @@ -46,10 +46,10 @@ public final class MicrosoftAccessLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of MicrosoftAccessLinkedServiceTypeProperties class. */ public MicrosoftAccessLinkedServiceTypeProperties() { @@ -57,7 +57,8 @@ public MicrosoftAccessLinkedServiceTypeProperties() { /** * Get the connectionString property: The non-access credential portion of the connection string as well as an - * optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference. + * optional encrypted credential. Type: string, or SecureString, or AzureKeyVaultSecretReference, or Expression with + * resultType string. * * @return the connectionString value. */ @@ -67,7 +68,8 @@ public Object connectionString() { /** * Set the connectionString property: The non-access credential portion of the connection string as well as an - * optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference. + * optional encrypted credential. Type: string, or SecureString, or AzureKeyVaultSecretReference, or Expression with + * resultType string. * * @param connectionString the connectionString value to set. * @return the MicrosoftAccessLinkedServiceTypeProperties object itself. @@ -165,22 +167,22 @@ public MicrosoftAccessLinkedServiceTypeProperties withPassword(SecretBase passwo /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the MicrosoftAccessLinkedServiceTypeProperties object itself. */ - public MicrosoftAccessLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public MicrosoftAccessLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/MongoDbAtlasLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/MongoDbAtlasLinkedServiceTypeProperties.java index 02e93f7edf1de..d047d76f8d40b 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/MongoDbAtlasLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/MongoDbAtlasLinkedServiceTypeProperties.java @@ -25,6 +25,13 @@ public final class MongoDbAtlasLinkedServiceTypeProperties { @JsonProperty(value = "database", required = true) private Object database; + /* + * The MongoDB Atlas Driver version that you want to choose. Allowed value are 2.10.4 and 2.19.0. Type: string (or + * Expression with resultType string). + */ + @JsonProperty(value = "mongoDbAtlasDriverVersion") + private Object mongoDbAtlasDriverVersion; + /** Creates an instance of MongoDbAtlasLinkedServiceTypeProperties class. */ public MongoDbAtlasLinkedServiceTypeProperties() { } @@ -73,6 +80,28 @@ public MongoDbAtlasLinkedServiceTypeProperties withDatabase(Object database) { return this; } + /** + * Get the mongoDbAtlasDriverVersion property: The MongoDB Atlas Driver version that you want to choose. Allowed + * value are 2.10.4 and 2.19.0. Type: string (or Expression with resultType string). + * + * @return the mongoDbAtlasDriverVersion value. + */ + public Object mongoDbAtlasDriverVersion() { + return this.mongoDbAtlasDriverVersion; + } + + /** + * Set the mongoDbAtlasDriverVersion property: The MongoDB Atlas Driver version that you want to choose. Allowed + * value are 2.10.4 and 2.19.0. Type: string (or Expression with resultType string). + * + * @param mongoDbAtlasDriverVersion the mongoDbAtlasDriverVersion value to set. + * @return the MongoDbAtlasLinkedServiceTypeProperties object itself. + */ + public MongoDbAtlasLinkedServiceTypeProperties withMongoDbAtlasDriverVersion(Object mongoDbAtlasDriverVersion) { + this.mongoDbAtlasDriverVersion = mongoDbAtlasDriverVersion; + return this; + } + /** * Validates the instance. * diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/MongoDbLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/MongoDbLinkedServiceTypeProperties.java index c9ad4053f35e8..6c4ae2c3826d0 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/MongoDbLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/MongoDbLinkedServiceTypeProperties.java @@ -72,10 +72,10 @@ public final class MongoDbLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of MongoDbLinkedServiceTypeProperties class. */ public MongoDbLinkedServiceTypeProperties() { @@ -275,22 +275,22 @@ public MongoDbLinkedServiceTypeProperties withAllowSelfSignedServerCert(Object a /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the MongoDbLinkedServiceTypeProperties object itself. */ - public MongoDbLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public MongoDbLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/MySqlLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/MySqlLinkedServiceTypeProperties.java index 7468960a95b25..c5259e6169f10 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/MySqlLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/MySqlLinkedServiceTypeProperties.java @@ -13,7 +13,7 @@ @Fluent public final class MySqlLinkedServiceTypeProperties { /* - * The connection string. + * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ @JsonProperty(value = "connectionString", required = true) private Object connectionString; @@ -26,17 +26,18 @@ public final class MySqlLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of MySqlLinkedServiceTypeProperties class. */ public MySqlLinkedServiceTypeProperties() { } /** - * Get the connectionString property: The connection string. + * Get the connectionString property: The connection string. Type: string, SecureString or + * AzureKeyVaultSecretReference. * * @return the connectionString value. */ @@ -45,7 +46,8 @@ public Object connectionString() { } /** - * Set the connectionString property: The connection string. + * Set the connectionString property: The connection string. Type: string, SecureString or + * AzureKeyVaultSecretReference. * * @param connectionString the connectionString value to set. * @return the MySqlLinkedServiceTypeProperties object itself. @@ -77,22 +79,22 @@ public MySqlLinkedServiceTypeProperties withPassword(AzureKeyVaultSecretReferenc /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the MySqlLinkedServiceTypeProperties object itself. */ - public MySqlLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public MySqlLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/NetezzaLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/NetezzaLinkedServiceTypeProperties.java index 848a8991aebaa..d2ee0666fab73 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/NetezzaLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/NetezzaLinkedServiceTypeProperties.java @@ -25,10 +25,10 @@ public final class NetezzaLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of NetezzaLinkedServiceTypeProperties class. */ public NetezzaLinkedServiceTypeProperties() { @@ -78,22 +78,22 @@ public NetezzaLinkedServiceTypeProperties withPwd(AzureKeyVaultSecretReference p /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the NetezzaLinkedServiceTypeProperties object itself. */ - public NetezzaLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public NetezzaLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ODataLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ODataLinkedServiceTypeProperties.java index 0cbc134ebcabe..4034dd857d505 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ODataLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ODataLinkedServiceTypeProperties.java @@ -103,10 +103,10 @@ public final class ODataLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of ODataLinkedServiceTypeProperties class. */ public ODataLinkedServiceTypeProperties() { @@ -398,22 +398,22 @@ public ODataLinkedServiceTypeProperties withServicePrincipalEmbeddedCertPassword /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the ODataLinkedServiceTypeProperties object itself. */ - public ODataLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public ODataLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/OdbcLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/OdbcLinkedServiceTypeProperties.java index f0d61d412e17c..14bf51ae97ea2 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/OdbcLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/OdbcLinkedServiceTypeProperties.java @@ -14,7 +14,7 @@ public final class OdbcLinkedServiceTypeProperties { /* * The non-access credential portion of the connection string as well as an optional encrypted credential. Type: - * string, SecureString or AzureKeyVaultSecretReference. + * string, or SecureString, or AzureKeyVaultSecretReference, or Expression with resultType string. */ @JsonProperty(value = "connectionString", required = true) private Object connectionString; @@ -46,10 +46,10 @@ public final class OdbcLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of OdbcLinkedServiceTypeProperties class. */ public OdbcLinkedServiceTypeProperties() { @@ -57,7 +57,8 @@ public OdbcLinkedServiceTypeProperties() { /** * Get the connectionString property: The non-access credential portion of the connection string as well as an - * optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference. + * optional encrypted credential. Type: string, or SecureString, or AzureKeyVaultSecretReference, or Expression with + * resultType string. * * @return the connectionString value. */ @@ -67,7 +68,8 @@ public Object connectionString() { /** * Set the connectionString property: The non-access credential portion of the connection string as well as an - * optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference. + * optional encrypted credential. Type: string, or SecureString, or AzureKeyVaultSecretReference, or Expression with + * resultType string. * * @param connectionString the connectionString value to set. * @return the OdbcLinkedServiceTypeProperties object itself. @@ -165,22 +167,22 @@ public OdbcLinkedServiceTypeProperties withPassword(SecretBase password) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the OdbcLinkedServiceTypeProperties object itself. */ - public OdbcLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public OdbcLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/Office365LinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/Office365LinkedServiceTypeProperties.java index 4bb4727aaace2..ecbd98463fdc8 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/Office365LinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/Office365LinkedServiceTypeProperties.java @@ -39,10 +39,10 @@ public final class Office365LinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of Office365LinkedServiceTypeProperties class. */ public Office365LinkedServiceTypeProperties() { @@ -136,22 +136,22 @@ public Office365LinkedServiceTypeProperties withServicePrincipalKey(SecretBase s /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the Office365LinkedServiceTypeProperties object itself. */ - public Office365LinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public Office365LinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/OracleCloudStorageLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/OracleCloudStorageLinkedServiceTypeProperties.java index 6d497f5c71dfb..da0243ee70c82 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/OracleCloudStorageLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/OracleCloudStorageLinkedServiceTypeProperties.java @@ -34,10 +34,10 @@ public final class OracleCloudStorageLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of OracleCloudStorageLinkedServiceTypeProperties class. */ public OracleCloudStorageLinkedServiceTypeProperties() { @@ -113,22 +113,22 @@ public OracleCloudStorageLinkedServiceTypeProperties withServiceUrl(Object servi /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the OracleCloudStorageLinkedServiceTypeProperties object itself. */ - public OracleCloudStorageLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public OracleCloudStorageLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/OracleLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/OracleLinkedServiceTypeProperties.java index 04534eced3372..2e8b1d5d0d490 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/OracleLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/OracleLinkedServiceTypeProperties.java @@ -26,10 +26,10 @@ public final class OracleLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of OracleLinkedServiceTypeProperties class. */ public OracleLinkedServiceTypeProperties() { @@ -79,22 +79,22 @@ public OracleLinkedServiceTypeProperties withPassword(AzureKeyVaultSecretReferen /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the OracleLinkedServiceTypeProperties object itself. */ - public OracleLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public OracleLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/OracleServiceCloudLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/OracleServiceCloudLinkedServiceTypeProperties.java index b7842570f2d36..963ad2b88811b 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/OracleServiceCloudLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/OracleServiceCloudLinkedServiceTypeProperties.java @@ -53,10 +53,10 @@ public final class OracleServiceCloudLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of OracleServiceCloudLinkedServiceTypeProperties class. */ public OracleServiceCloudLinkedServiceTypeProperties() { @@ -192,22 +192,22 @@ public OracleServiceCloudLinkedServiceTypeProperties withUsePeerVerification(Obj /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the OracleServiceCloudLinkedServiceTypeProperties object itself. */ - public OracleServiceCloudLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public OracleServiceCloudLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/PaypalLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/PaypalLinkedServiceTypeProperties.java index cfe9d5f46b108..6dd00561eac76 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/PaypalLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/PaypalLinkedServiceTypeProperties.java @@ -13,7 +13,7 @@ @Fluent public final class PaypalLinkedServiceTypeProperties { /* - * The URL of the PayPal instance. (i.e. api.sandbox.paypal.com) + * The URL of the PayPal instance. (i.e. api.sandbox.paypal.com) */ @JsonProperty(value = "host", required = true) private Object host; @@ -51,17 +51,17 @@ public final class PaypalLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of PaypalLinkedServiceTypeProperties class. */ public PaypalLinkedServiceTypeProperties() { } /** - * Get the host property: The URL of the PayPal instance. (i.e. api.sandbox.paypal.com). + * Get the host property: The URL of the PayPal instance. (i.e. api.sandbox.paypal.com). * * @return the host value. */ @@ -70,7 +70,7 @@ public Object host() { } /** - * Set the host property: The URL of the PayPal instance. (i.e. api.sandbox.paypal.com). + * Set the host property: The URL of the PayPal instance. (i.e. api.sandbox.paypal.com). * * @param host the host value to set. * @return the PaypalLinkedServiceTypeProperties object itself. @@ -188,22 +188,22 @@ public PaypalLinkedServiceTypeProperties withUsePeerVerification(Object usePeerV /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the PaypalLinkedServiceTypeProperties object itself. */ - public PaypalLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public PaypalLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/PhoenixLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/PhoenixLinkedServiceTypeProperties.java index 770b9ab93bde0..11a053bee62b6 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/PhoenixLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/PhoenixLinkedServiceTypeProperties.java @@ -86,10 +86,10 @@ public final class PhoenixLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of PhoenixLinkedServiceTypeProperties class. */ public PhoenixLinkedServiceTypeProperties() { @@ -333,22 +333,22 @@ public PhoenixLinkedServiceTypeProperties withAllowSelfSignedServerCert(Object a /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the PhoenixLinkedServiceTypeProperties object itself. */ - public PhoenixLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public PhoenixLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/PostgreSqlLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/PostgreSqlLinkedServiceTypeProperties.java index 5dc71503e5d1f..3b6f390babbef 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/PostgreSqlLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/PostgreSqlLinkedServiceTypeProperties.java @@ -13,7 +13,7 @@ @Fluent public final class PostgreSqlLinkedServiceTypeProperties { /* - * The connection string. + * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ @JsonProperty(value = "connectionString", required = true) private Object connectionString; @@ -26,17 +26,18 @@ public final class PostgreSqlLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of PostgreSqlLinkedServiceTypeProperties class. */ public PostgreSqlLinkedServiceTypeProperties() { } /** - * Get the connectionString property: The connection string. + * Get the connectionString property: The connection string. Type: string, SecureString or + * AzureKeyVaultSecretReference. * * @return the connectionString value. */ @@ -45,7 +46,8 @@ public Object connectionString() { } /** - * Set the connectionString property: The connection string. + * Set the connectionString property: The connection string. Type: string, SecureString or + * AzureKeyVaultSecretReference. * * @param connectionString the connectionString value to set. * @return the PostgreSqlLinkedServiceTypeProperties object itself. @@ -77,22 +79,22 @@ public PostgreSqlLinkedServiceTypeProperties withPassword(AzureKeyVaultSecretRef /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the PostgreSqlLinkedServiceTypeProperties object itself. */ - public PostgreSqlLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public PostgreSqlLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/PrestoLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/PrestoLinkedServiceTypeProperties.java index e8917d1a6b92c..08591d767dd27 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/PrestoLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/PrestoLinkedServiceTypeProperties.java @@ -98,10 +98,10 @@ public final class PrestoLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of PrestoLinkedServiceTypeProperties class. */ public PrestoLinkedServiceTypeProperties() { @@ -385,22 +385,22 @@ public PrestoLinkedServiceTypeProperties withTimeZoneId(Object timeZoneId) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the PrestoLinkedServiceTypeProperties object itself. */ - public PrestoLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public PrestoLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/QuickBooksLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/QuickBooksLinkedServiceTypeProperties.java index 0257bacbfba99..93170490f923f 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/QuickBooksLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/QuickBooksLinkedServiceTypeProperties.java @@ -62,10 +62,10 @@ public final class QuickBooksLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of QuickBooksLinkedServiceTypeProperties class. */ public QuickBooksLinkedServiceTypeProperties() { @@ -237,22 +237,22 @@ public QuickBooksLinkedServiceTypeProperties withUseEncryptedEndpoints(Object us /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the QuickBooksLinkedServiceTypeProperties object itself. */ - public QuickBooksLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public QuickBooksLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/QuickbaseLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/QuickbaseLinkedServiceTypeProperties.java index 457ed9f9685a5..491464ee45569 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/QuickbaseLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/QuickbaseLinkedServiceTypeProperties.java @@ -26,10 +26,10 @@ public final class QuickbaseLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of QuickbaseLinkedServiceTypeProperties class. */ public QuickbaseLinkedServiceTypeProperties() { @@ -77,22 +77,22 @@ public QuickbaseLinkedServiceTypeProperties withUserToken(SecretBase userToken) /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the QuickbaseLinkedServiceTypeProperties object itself. */ - public QuickbaseLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public QuickbaseLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ResponsysLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ResponsysLinkedServiceTypeProperties.java index ed426eb1ebfb4..b7b8564c1e743 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ResponsysLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ResponsysLinkedServiceTypeProperties.java @@ -54,10 +54,10 @@ public final class ResponsysLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of ResponsysLinkedServiceTypeProperties class. */ public ResponsysLinkedServiceTypeProperties() { @@ -197,22 +197,22 @@ public ResponsysLinkedServiceTypeProperties withUsePeerVerification(Object usePe /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the ResponsysLinkedServiceTypeProperties object itself. */ - public ResponsysLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public ResponsysLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/RestResourceDatasetTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/RestResourceDatasetTypeProperties.java index 722b3f6bfca48..a41af9bb36a28 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/RestResourceDatasetTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/RestResourceDatasetTypeProperties.java @@ -5,7 +5,9 @@ package com.azure.resourcemanager.datafactory.fluent.models; import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Map; /** Properties specific to this dataset type. */ @Fluent @@ -32,17 +34,18 @@ public final class RestResourceDatasetTypeProperties { private Object requestBody; /* - * The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType - * string). + * The additional HTTP headers in the request to the RESTful API. */ @JsonProperty(value = "additionalHeaders") - private Object additionalHeaders; + @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS) + private Map additionalHeaders; /* - * The pagination rules to compose next page requests. Type: string (or Expression with resultType string). + * The pagination rules to compose next page requests. */ @JsonProperty(value = "paginationRules") - private Object paginationRules; + @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS) + private Map paginationRules; /** Creates an instance of RestResourceDatasetTypeProperties class. */ public RestResourceDatasetTypeProperties() { @@ -115,45 +118,41 @@ public RestResourceDatasetTypeProperties withRequestBody(Object requestBody) { } /** - * Get the additionalHeaders property: The additional HTTP headers in the request to the RESTful API. Type: string - * (or Expression with resultType string). + * Get the additionalHeaders property: The additional HTTP headers in the request to the RESTful API. * * @return the additionalHeaders value. */ - public Object additionalHeaders() { + public Map additionalHeaders() { return this.additionalHeaders; } /** - * Set the additionalHeaders property: The additional HTTP headers in the request to the RESTful API. Type: string - * (or Expression with resultType string). + * Set the additionalHeaders property: The additional HTTP headers in the request to the RESTful API. * * @param additionalHeaders the additionalHeaders value to set. * @return the RestResourceDatasetTypeProperties object itself. */ - public RestResourceDatasetTypeProperties withAdditionalHeaders(Object additionalHeaders) { + public RestResourceDatasetTypeProperties withAdditionalHeaders(Map additionalHeaders) { this.additionalHeaders = additionalHeaders; return this; } /** - * Get the paginationRules property: The pagination rules to compose next page requests. Type: string (or Expression - * with resultType string). + * Get the paginationRules property: The pagination rules to compose next page requests. * * @return the paginationRules value. */ - public Object paginationRules() { + public Map paginationRules() { return this.paginationRules; } /** - * Set the paginationRules property: The pagination rules to compose next page requests. Type: string (or Expression - * with resultType string). + * Set the paginationRules property: The pagination rules to compose next page requests. * * @param paginationRules the paginationRules value to set. * @return the RestResourceDatasetTypeProperties object itself. */ - public RestResourceDatasetTypeProperties withPaginationRules(Object paginationRules) { + public RestResourceDatasetTypeProperties withPaginationRules(Map paginationRules) { this.paginationRules = paginationRules; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/RestServiceLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/RestServiceLinkedServiceTypeProperties.java index 321fb0648a004..7652b9e743220 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/RestServiceLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/RestServiceLinkedServiceTypeProperties.java @@ -15,7 +15,7 @@ @Fluent public final class RestServiceLinkedServiceTypeProperties { /* - * The base URL of the REST service. + * The base URL of the REST service. Type: string (or Expression with resultType string). */ @JsonProperty(value = "url", required = true) private Object url; @@ -34,7 +34,7 @@ public final class RestServiceLinkedServiceTypeProperties { private RestServiceAuthenticationType authenticationType; /* - * The user name used in Basic authentication type. + * The user name used in Basic authentication type. Type: string (or Expression with resultType string). */ @JsonProperty(value = "userName") private Object username; @@ -53,7 +53,8 @@ public final class RestServiceLinkedServiceTypeProperties { private Object authHeaders; /* - * The application's client ID used in AadServicePrincipal authentication type. + * The application's client ID used in AadServicePrincipal authentication type. Type: string (or Expression with + * resultType string). */ @JsonProperty(value = "servicePrincipalId") private Object servicePrincipalId; @@ -66,7 +67,7 @@ public final class RestServiceLinkedServiceTypeProperties { /* * The tenant information (domain name or tenant ID) used in AadServicePrincipal authentication type under which - * your application resides. + * your application resides. Type: string (or Expression with resultType string). */ @JsonProperty(value = "tenant") private Object tenant; @@ -80,17 +81,17 @@ public final class RestServiceLinkedServiceTypeProperties { private Object azureCloudType; /* - * The resource you are requesting authorization to use. + * The resource you are requesting authorization to use. Type: string (or Expression with resultType string). */ @JsonProperty(value = "aadResourceId") private Object aadResourceId; /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /* * The credential reference containing authentication information. @@ -136,7 +137,7 @@ public RestServiceLinkedServiceTypeProperties() { } /** - * Get the url property: The base URL of the REST service. + * Get the url property: The base URL of the REST service. Type: string (or Expression with resultType string). * * @return the url value. */ @@ -145,7 +146,7 @@ public Object url() { } /** - * Set the url property: The base URL of the REST service. + * Set the url property: The base URL of the REST service. Type: string (or Expression with resultType string). * * @param url the url value to set. * @return the RestServiceLinkedServiceTypeProperties object itself. @@ -200,7 +201,8 @@ public RestServiceLinkedServiceTypeProperties withAuthenticationType( } /** - * Get the username property: The user name used in Basic authentication type. + * Get the username property: The user name used in Basic authentication type. Type: string (or Expression with + * resultType string). * * @return the username value. */ @@ -209,7 +211,8 @@ public Object username() { } /** - * Set the username property: The user name used in Basic authentication type. + * Set the username property: The user name used in Basic authentication type. Type: string (or Expression with + * resultType string). * * @param username the username value to set. * @return the RestServiceLinkedServiceTypeProperties object itself. @@ -263,6 +266,7 @@ public RestServiceLinkedServiceTypeProperties withAuthHeaders(Object authHeaders /** * Get the servicePrincipalId property: The application's client ID used in AadServicePrincipal authentication type. + * Type: string (or Expression with resultType string). * * @return the servicePrincipalId value. */ @@ -272,6 +276,7 @@ public Object servicePrincipalId() { /** * Set the servicePrincipalId property: The application's client ID used in AadServicePrincipal authentication type. + * Type: string (or Expression with resultType string). * * @param servicePrincipalId the servicePrincipalId value to set. * @return the RestServiceLinkedServiceTypeProperties object itself. @@ -303,7 +308,7 @@ public RestServiceLinkedServiceTypeProperties withServicePrincipalKey(SecretBase /** * Get the tenant property: The tenant information (domain name or tenant ID) used in AadServicePrincipal - * authentication type under which your application resides. + * authentication type under which your application resides. Type: string (or Expression with resultType string). * * @return the tenant value. */ @@ -313,7 +318,7 @@ public Object tenant() { /** * Set the tenant property: The tenant information (domain name or tenant ID) used in AadServicePrincipal - * authentication type under which your application resides. + * authentication type under which your application resides. Type: string (or Expression with resultType string). * * @param tenant the tenant value to set. * @return the RestServiceLinkedServiceTypeProperties object itself. @@ -348,7 +353,8 @@ public RestServiceLinkedServiceTypeProperties withAzureCloudType(Object azureClo } /** - * Get the aadResourceId property: The resource you are requesting authorization to use. + * Get the aadResourceId property: The resource you are requesting authorization to use. Type: string (or Expression + * with resultType string). * * @return the aadResourceId value. */ @@ -357,7 +363,8 @@ public Object aadResourceId() { } /** - * Set the aadResourceId property: The resource you are requesting authorization to use. + * Set the aadResourceId property: The resource you are requesting authorization to use. Type: string (or Expression + * with resultType string). * * @param aadResourceId the aadResourceId value to set. * @return the RestServiceLinkedServiceTypeProperties object itself. @@ -369,22 +376,22 @@ public RestServiceLinkedServiceTypeProperties withAadResourceId(Object aadResour /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the RestServiceLinkedServiceTypeProperties object itself. */ - public RestServiceLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public RestServiceLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SalesforceLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SalesforceLinkedServiceTypeProperties.java index b4eef2e600c2e..5b7f37df7b2e3 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SalesforceLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SalesforceLinkedServiceTypeProperties.java @@ -46,10 +46,10 @@ public final class SalesforceLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of SalesforceLinkedServiceTypeProperties class. */ public SalesforceLinkedServiceTypeProperties() { @@ -165,22 +165,22 @@ public SalesforceLinkedServiceTypeProperties withApiVersion(Object apiVersion) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the SalesforceLinkedServiceTypeProperties object itself. */ - public SalesforceLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public SalesforceLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SalesforceMarketingCloudLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SalesforceMarketingCloudLinkedServiceTypeProperties.java index ff85114d8bb68..62adfc956c5e8 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SalesforceMarketingCloudLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SalesforceMarketingCloudLinkedServiceTypeProperties.java @@ -55,10 +55,10 @@ public final class SalesforceMarketingCloudLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of SalesforceMarketingCloudLinkedServiceTypeProperties class. */ public SalesforceMarketingCloudLinkedServiceTypeProperties() { @@ -200,22 +200,22 @@ public SalesforceMarketingCloudLinkedServiceTypeProperties withUsePeerVerificati /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the SalesforceMarketingCloudLinkedServiceTypeProperties object itself. */ - public SalesforceMarketingCloudLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public SalesforceMarketingCloudLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SalesforceServiceCloudLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SalesforceServiceCloudLinkedServiceTypeProperties.java index 779705caf71c1..b9b0b9ab0b002 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SalesforceServiceCloudLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SalesforceServiceCloudLinkedServiceTypeProperties.java @@ -52,10 +52,10 @@ public final class SalesforceServiceCloudLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of SalesforceServiceCloudLinkedServiceTypeProperties class. */ public SalesforceServiceCloudLinkedServiceTypeProperties() { @@ -195,22 +195,22 @@ public SalesforceServiceCloudLinkedServiceTypeProperties withExtendedProperties( /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the SalesforceServiceCloudLinkedServiceTypeProperties object itself. */ - public SalesforceServiceCloudLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public SalesforceServiceCloudLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SapBWLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SapBWLinkedServiceTypeProperties.java index 1a7d9d26debba..dac97dc3a1591 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SapBWLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SapBWLinkedServiceTypeProperties.java @@ -46,10 +46,10 @@ public final class SapBWLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of SapBWLinkedServiceTypeProperties class. */ public SapBWLinkedServiceTypeProperties() { @@ -163,22 +163,22 @@ public SapBWLinkedServiceTypeProperties withPassword(SecretBase password) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the SapBWLinkedServiceTypeProperties object itself. */ - public SapBWLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public SapBWLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SapCloudForCustomerLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SapCloudForCustomerLinkedServiceTypeProperties.java index 1a9ef6e3389b2..d5bccbce34c34 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SapCloudForCustomerLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SapCloudForCustomerLinkedServiceTypeProperties.java @@ -33,11 +33,10 @@ public final class SapCloudForCustomerLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Either encryptedCredential or username/password must be provided. Type: string (or - * Expression with resultType string). + * credential manager. Either encryptedCredential or username/password must be provided. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of SapCloudForCustomerLinkedServiceTypeProperties class. */ public SapCloudForCustomerLinkedServiceTypeProperties() { @@ -110,23 +109,23 @@ public SapCloudForCustomerLinkedServiceTypeProperties withPassword(SecretBase pa /** * Get the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted * using the integration runtime credential manager. Either encryptedCredential or username/password must be - * provided. Type: string (or Expression with resultType string). + * provided. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String encryptedCredential() { return this.encryptedCredential; } /** * Set the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted * using the integration runtime credential manager. Either encryptedCredential or username/password must be - * provided. Type: string (or Expression with resultType string). + * provided. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the SapCloudForCustomerLinkedServiceTypeProperties object itself. */ - public SapCloudForCustomerLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public SapCloudForCustomerLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SapEccLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SapEccLinkedServiceTypeProperties.java index ca7d1a8b797ae..5a1170516ccc2 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SapEccLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SapEccLinkedServiceTypeProperties.java @@ -17,13 +17,13 @@ public final class SapEccLinkedServiceTypeProperties { * string (or Expression with resultType string). */ @JsonProperty(value = "url", required = true) - private String url; + private Object url; /* * The username for Basic authentication. Type: string (or Expression with resultType string). */ @JsonProperty(value = "username") - private String username; + private Object username; /* * The password for Basic authentication. @@ -33,8 +33,7 @@ public final class SapEccLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Either encryptedCredential or username/password must be provided. Type: string (or - * Expression with resultType string). + * credential manager. Either encryptedCredential or username/password must be provided. Type: string. */ @JsonProperty(value = "encryptedCredential") private String encryptedCredential; @@ -49,7 +48,7 @@ public SapEccLinkedServiceTypeProperties() { * * @return the url value. */ - public String url() { + public Object url() { return this.url; } @@ -60,7 +59,7 @@ public String url() { * @param url the url value to set. * @return the SapEccLinkedServiceTypeProperties object itself. */ - public SapEccLinkedServiceTypeProperties withUrl(String url) { + public SapEccLinkedServiceTypeProperties withUrl(Object url) { this.url = url; return this; } @@ -71,7 +70,7 @@ public SapEccLinkedServiceTypeProperties withUrl(String url) { * * @return the username value. */ - public String username() { + public Object username() { return this.username; } @@ -82,7 +81,7 @@ public String username() { * @param username the username value to set. * @return the SapEccLinkedServiceTypeProperties object itself. */ - public SapEccLinkedServiceTypeProperties withUsername(String username) { + public SapEccLinkedServiceTypeProperties withUsername(Object username) { this.username = username; return this; } @@ -110,7 +109,7 @@ public SapEccLinkedServiceTypeProperties withPassword(SecretBase password) { /** * Get the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted * using the integration runtime credential manager. Either encryptedCredential or username/password must be - * provided. Type: string (or Expression with resultType string). + * provided. Type: string. * * @return the encryptedCredential value. */ @@ -121,7 +120,7 @@ public String encryptedCredential() { /** * Set the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted * using the integration runtime credential manager. Either encryptedCredential or username/password must be - * provided. Type: string (or Expression with resultType string). + * provided. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the SapEccLinkedServiceTypeProperties object itself. diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SapHanaLinkedServiceProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SapHanaLinkedServiceProperties.java index 01222b50c1299..944256632ee42 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SapHanaLinkedServiceProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SapHanaLinkedServiceProperties.java @@ -44,10 +44,10 @@ public final class SapHanaLinkedServiceProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of SapHanaLinkedServiceProperties class. */ public SapHanaLinkedServiceProperties() { @@ -159,22 +159,22 @@ public SapHanaLinkedServiceProperties withPassword(SecretBase password) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the SapHanaLinkedServiceProperties object itself. */ - public SapHanaLinkedServiceProperties withEncryptedCredential(Object encryptedCredential) { + public SapHanaLinkedServiceProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } 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 index 46bcfde460399..ce440ca0a912d 100644 --- 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 @@ -124,10 +124,10 @@ public final class SapOdpLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of SapOdpLinkedServiceTypeProperties class. */ public SapOdpLinkedServiceTypeProperties() { @@ -505,22 +505,22 @@ public SapOdpLinkedServiceTypeProperties withSubscriberName(Object subscriberNam /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the SapOdpLinkedServiceTypeProperties object itself. */ - public SapOdpLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public SapOdpLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SapOpenHubLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SapOpenHubLinkedServiceTypeProperties.java index da458c0c67d70..b1e03d513e651 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SapOpenHubLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SapOpenHubLinkedServiceTypeProperties.java @@ -78,10 +78,10 @@ public final class SapOpenHubLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of SapOpenHubLinkedServiceTypeProperties class. */ public SapOpenHubLinkedServiceTypeProperties() { @@ -309,22 +309,22 @@ public SapOpenHubLinkedServiceTypeProperties withLogonGroup(Object logonGroup) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the SapOpenHubLinkedServiceTypeProperties object itself. */ - public SapOpenHubLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public SapOpenHubLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SapTableLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SapTableLinkedServiceTypeProperties.java index ee5e1d3dbb150..b8ff837a63f19 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SapTableLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SapTableLinkedServiceTypeProperties.java @@ -112,10 +112,10 @@ public final class SapTableLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of SapTableLinkedServiceTypeProperties class. */ public SapTableLinkedServiceTypeProperties() { @@ -451,22 +451,22 @@ public SapTableLinkedServiceTypeProperties withLogonGroup(Object logonGroup) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the SapTableLinkedServiceTypeProperties object itself. */ - public SapTableLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public SapTableLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ServiceNowLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ServiceNowLinkedServiceTypeProperties.java index fadca18cd9a44..db10ef54897bb 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ServiceNowLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ServiceNowLinkedServiceTypeProperties.java @@ -70,10 +70,10 @@ public final class ServiceNowLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of ServiceNowLinkedServiceTypeProperties class. */ public ServiceNowLinkedServiceTypeProperties() { @@ -270,22 +270,22 @@ public ServiceNowLinkedServiceTypeProperties withUsePeerVerification(Object useP /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the ServiceNowLinkedServiceTypeProperties object itself. */ - public ServiceNowLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public ServiceNowLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SetVariableActivityTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SetVariableActivityTypeProperties.java index fac13bcb719b7..a93c44d17a864 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SetVariableActivityTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SetVariableActivityTypeProperties.java @@ -17,11 +17,17 @@ public final class SetVariableActivityTypeProperties { private String variableName; /* - * Value to be set. Could be a static value or Expression + * Value to be set. Could be a static value or Expression. */ @JsonProperty(value = "value") private Object value; + /* + * If set to true, it sets the pipeline run return value. + */ + @JsonProperty(value = "setSystemVariable") + private Boolean setSystemVariable; + /** Creates an instance of SetVariableActivityTypeProperties class. */ public SetVariableActivityTypeProperties() { } @@ -66,6 +72,26 @@ public SetVariableActivityTypeProperties withValue(Object value) { return this; } + /** + * Get the setSystemVariable property: If set to true, it sets the pipeline run return value. + * + * @return the setSystemVariable value. + */ + public Boolean setSystemVariable() { + return this.setSystemVariable; + } + + /** + * Set the setSystemVariable property: If set to true, it sets the pipeline run return value. + * + * @param setSystemVariable the setSystemVariable value to set. + * @return the SetVariableActivityTypeProperties object itself. + */ + public SetVariableActivityTypeProperties withSetSystemVariable(Boolean setSystemVariable) { + this.setSystemVariable = setSystemVariable; + return this; + } + /** * Validates the instance. * diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SftpServerLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SftpServerLinkedServiceTypeProperties.java index 0f19a29a91fbe..77a1a88534bc9 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SftpServerLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SftpServerLinkedServiceTypeProperties.java @@ -46,10 +46,10 @@ public final class SftpServerLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /* * The SSH private key file path for SshPublicKey authentication. Only valid for on-premises copy. For on-premises @@ -197,22 +197,22 @@ public SftpServerLinkedServiceTypeProperties withPassword(SecretBase password) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the SftpServerLinkedServiceTypeProperties object itself. */ - public SftpServerLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public SftpServerLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SharePointOnlineListLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SharePointOnlineListLinkedServiceTypeProperties.java index 14c4d3c9e56a1..402410708521e 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SharePointOnlineListLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SharePointOnlineListLinkedServiceTypeProperties.java @@ -42,10 +42,10 @@ public final class SharePointOnlineListLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of SharePointOnlineListLinkedServiceTypeProperties class. */ public SharePointOnlineListLinkedServiceTypeProperties() { @@ -143,22 +143,22 @@ public SharePointOnlineListLinkedServiceTypeProperties withServicePrincipalKey(S /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the SharePointOnlineListLinkedServiceTypeProperties object itself. */ - public SharePointOnlineListLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public SharePointOnlineListLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ShopifyLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ShopifyLinkedServiceTypeProperties.java index 0a383d8c999d1..1ad2887bd8ae5 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ShopifyLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ShopifyLinkedServiceTypeProperties.java @@ -45,10 +45,10 @@ public final class ShopifyLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of ShopifyLinkedServiceTypeProperties class. */ public ShopifyLinkedServiceTypeProperties() { @@ -164,22 +164,22 @@ public ShopifyLinkedServiceTypeProperties withUsePeerVerification(Object usePeer /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the ShopifyLinkedServiceTypeProperties object itself. */ - public ShopifyLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public ShopifyLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SmartsheetLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SmartsheetLinkedServiceTypeProperties.java index 56c81ff478617..c2df6853c2927 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SmartsheetLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SmartsheetLinkedServiceTypeProperties.java @@ -20,10 +20,10 @@ public final class SmartsheetLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of SmartsheetLinkedServiceTypeProperties class. */ public SmartsheetLinkedServiceTypeProperties() { @@ -51,22 +51,22 @@ public SmartsheetLinkedServiceTypeProperties withApiToken(SecretBase apiToken) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the SmartsheetLinkedServiceTypeProperties object itself. */ - public SmartsheetLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public SmartsheetLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SnowflakeLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SnowflakeLinkedServiceTypeProperties.java index 07d2dcb060a28..bb9313e901114 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SnowflakeLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SnowflakeLinkedServiceTypeProperties.java @@ -26,10 +26,10 @@ public final class SnowflakeLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of SnowflakeLinkedServiceTypeProperties class. */ public SnowflakeLinkedServiceTypeProperties() { @@ -77,22 +77,22 @@ public SnowflakeLinkedServiceTypeProperties withPassword(AzureKeyVaultSecretRefe /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the SnowflakeLinkedServiceTypeProperties object itself. */ - public SnowflakeLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public SnowflakeLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SparkLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SparkLinkedServiceTypeProperties.java index b5f6f19d486a8..ae545cf6154d3 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SparkLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SparkLinkedServiceTypeProperties.java @@ -99,10 +99,10 @@ public final class SparkLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of SparkLinkedServiceTypeProperties class. */ public SparkLinkedServiceTypeProperties() { @@ -383,22 +383,22 @@ public SparkLinkedServiceTypeProperties withAllowSelfSignedServerCert(Object all /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the SparkLinkedServiceTypeProperties object itself. */ - public SparkLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public SparkLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SqlServerLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SqlServerLinkedServiceTypeProperties.java index a62f97fd16248..627b6adc882e6 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SqlServerLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SqlServerLinkedServiceTypeProperties.java @@ -33,10 +33,10 @@ public final class SqlServerLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /* * Sql always encrypted properties. @@ -114,22 +114,22 @@ public SqlServerLinkedServiceTypeProperties withPassword(SecretBase password) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the SqlServerLinkedServiceTypeProperties object itself. */ - public SqlServerLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public SqlServerLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SquareLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SquareLinkedServiceTypeProperties.java index 4730da6e62da8..d834585dd73d4 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SquareLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SquareLinkedServiceTypeProperties.java @@ -19,7 +19,7 @@ public final class SquareLinkedServiceTypeProperties { private Object connectionProperties; /* - * The URL of the Square instance. (i.e. mystore.mysquare.com) + * The URL of the Square instance. (i.e. mystore.mysquare.com) */ @JsonProperty(value = "host") private Object host; @@ -63,10 +63,10 @@ public final class SquareLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of SquareLinkedServiceTypeProperties class. */ public SquareLinkedServiceTypeProperties() { @@ -95,7 +95,7 @@ public SquareLinkedServiceTypeProperties withConnectionProperties(Object connect } /** - * Get the host property: The URL of the Square instance. (i.e. mystore.mysquare.com). + * Get the host property: The URL of the Square instance. (i.e. mystore.mysquare.com). * * @return the host value. */ @@ -104,7 +104,7 @@ public Object host() { } /** - * Set the host property: The URL of the Square instance. (i.e. mystore.mysquare.com). + * Set the host property: The URL of the Square instance. (i.e. mystore.mysquare.com). * * @param host the host value to set. * @return the SquareLinkedServiceTypeProperties object itself. @@ -244,22 +244,22 @@ public SquareLinkedServiceTypeProperties withUsePeerVerification(Object usePeerV /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the SquareLinkedServiceTypeProperties object itself. */ - public SquareLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public SquareLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SybaseLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SybaseLinkedServiceTypeProperties.java index c4e7f43c2e0c6..21d1c66c6c437 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SybaseLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SybaseLinkedServiceTypeProperties.java @@ -51,10 +51,10 @@ public final class SybaseLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of SybaseLinkedServiceTypeProperties class. */ public SybaseLinkedServiceTypeProperties() { @@ -182,22 +182,22 @@ public SybaseLinkedServiceTypeProperties withPassword(SecretBase password) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the SybaseLinkedServiceTypeProperties object itself. */ - public SybaseLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public SybaseLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SynapseNotebookActivityTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SynapseNotebookActivityTypeProperties.java index c2aa1bb3016d8..670a829065ded 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SynapseNotebookActivityTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/SynapseNotebookActivityTypeProperties.java @@ -7,7 +7,9 @@ import com.azure.core.annotation.Fluent; import com.azure.core.util.logging.ClientLogger; import com.azure.resourcemanager.datafactory.models.BigDataPoolParametrizationReference; +import com.azure.resourcemanager.datafactory.models.ConfigurationType; import com.azure.resourcemanager.datafactory.models.NotebookParameter; +import com.azure.resourcemanager.datafactory.models.SparkConfigurationParametrizationReference; import com.azure.resourcemanager.datafactory.models.SynapseNotebookReference; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; @@ -59,10 +61,29 @@ public final class SynapseNotebookActivityTypeProperties { /* * Number of executors to launch for this session, which will override the 'numExecutors' of the notebook you - * provide. + * provide. Type: integer (or Expression with resultType integer). */ @JsonProperty(value = "numExecutors") - private Integer numExecutors; + private Object numExecutors; + + /* + * The type of the spark config. + */ + @JsonProperty(value = "configurationType") + private ConfigurationType configurationType; + + /* + * The spark configuration of the spark job. + */ + @JsonProperty(value = "targetSparkConfiguration") + private SparkConfigurationParametrizationReference targetSparkConfiguration; + + /* + * Spark configuration property. + */ + @JsonProperty(value = "sparkConfig") + @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS) + private Map sparkConfig; /** Creates an instance of SynapseNotebookActivityTypeProperties class. */ public SynapseNotebookActivityTypeProperties() { @@ -200,26 +221,87 @@ public SynapseNotebookActivityTypeProperties withDriverSize(Object driverSize) { /** * Get the numExecutors property: Number of executors to launch for this session, which will override the - * 'numExecutors' of the notebook you provide. + * 'numExecutors' of the notebook you provide. Type: integer (or Expression with resultType integer). * * @return the numExecutors value. */ - public Integer numExecutors() { + public Object numExecutors() { return this.numExecutors; } /** * Set the numExecutors property: Number of executors to launch for this session, which will override the - * 'numExecutors' of the notebook you provide. + * 'numExecutors' of the notebook you provide. Type: integer (or Expression with resultType integer). * * @param numExecutors the numExecutors value to set. * @return the SynapseNotebookActivityTypeProperties object itself. */ - public SynapseNotebookActivityTypeProperties withNumExecutors(Integer numExecutors) { + public SynapseNotebookActivityTypeProperties withNumExecutors(Object numExecutors) { this.numExecutors = numExecutors; return this; } + /** + * Get the configurationType property: The type of the spark config. + * + * @return the configurationType value. + */ + public ConfigurationType configurationType() { + return this.configurationType; + } + + /** + * Set the configurationType property: The type of the spark config. + * + * @param configurationType the configurationType value to set. + * @return the SynapseNotebookActivityTypeProperties object itself. + */ + public SynapseNotebookActivityTypeProperties withConfigurationType(ConfigurationType configurationType) { + this.configurationType = configurationType; + return this; + } + + /** + * Get the targetSparkConfiguration property: The spark configuration of the spark job. + * + * @return the targetSparkConfiguration value. + */ + public SparkConfigurationParametrizationReference targetSparkConfiguration() { + return this.targetSparkConfiguration; + } + + /** + * Set the targetSparkConfiguration property: The spark configuration of the spark job. + * + * @param targetSparkConfiguration the targetSparkConfiguration value to set. + * @return the SynapseNotebookActivityTypeProperties object itself. + */ + public SynapseNotebookActivityTypeProperties withTargetSparkConfiguration( + SparkConfigurationParametrizationReference targetSparkConfiguration) { + this.targetSparkConfiguration = targetSparkConfiguration; + return this; + } + + /** + * Get the sparkConfig property: Spark configuration property. + * + * @return the sparkConfig value. + */ + public Map sparkConfig() { + return this.sparkConfig; + } + + /** + * Set the sparkConfig property: Spark configuration property. + * + * @param sparkConfig the sparkConfig value to set. + * @return the SynapseNotebookActivityTypeProperties object itself. + */ + public SynapseNotebookActivityTypeProperties withSparkConfig(Map sparkConfig) { + this.sparkConfig = sparkConfig; + return this; + } + /** * Validates the instance. * @@ -247,6 +329,9 @@ public void validate() { } }); } + if (targetSparkConfiguration() != null) { + targetSparkConfiguration().validate(); + } } private static final ClientLogger LOGGER = new ClientLogger(SynapseNotebookActivityTypeProperties.class); diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/TeamDeskLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/TeamDeskLinkedServiceTypeProperties.java index 877343ff15442..ae0be9dd1120d 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/TeamDeskLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/TeamDeskLinkedServiceTypeProperties.java @@ -45,10 +45,10 @@ public final class TeamDeskLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of TeamDeskLinkedServiceTypeProperties class. */ public TeamDeskLinkedServiceTypeProperties() { @@ -158,22 +158,22 @@ public TeamDeskLinkedServiceTypeProperties withApiToken(SecretBase apiToken) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the TeamDeskLinkedServiceTypeProperties object itself. */ - public TeamDeskLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public TeamDeskLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/TeradataLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/TeradataLinkedServiceTypeProperties.java index fb1ffe6a9c8cd..a4396ec9fcbea 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/TeradataLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/TeradataLinkedServiceTypeProperties.java @@ -44,10 +44,10 @@ public final class TeradataLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of TeradataLinkedServiceTypeProperties class. */ public TeradataLinkedServiceTypeProperties() { @@ -157,22 +157,22 @@ public TeradataLinkedServiceTypeProperties withPassword(SecretBase password) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the TeradataLinkedServiceTypeProperties object itself. */ - public TeradataLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public TeradataLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/TwilioLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/TwilioLinkedServiceTypeProperties.java index 44e50c9cc30a8..edddab4d76579 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/TwilioLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/TwilioLinkedServiceTypeProperties.java @@ -13,7 +13,7 @@ @Fluent public final class TwilioLinkedServiceTypeProperties { /* - * The Account SID of Twilio service. + * The Account SID of Twilio service. Type: string (or Expression with resultType string). */ @JsonProperty(value = "userName", required = true) private Object username; @@ -29,7 +29,8 @@ public TwilioLinkedServiceTypeProperties() { } /** - * Get the username property: The Account SID of Twilio service. + * Get the username property: The Account SID of Twilio service. Type: string (or Expression with resultType + * string). * * @return the username value. */ @@ -38,7 +39,8 @@ public Object username() { } /** - * Set the username property: The Account SID of Twilio service. + * Set the username property: The Account SID of Twilio service. Type: string (or Expression with resultType + * string). * * @param username the username value to set. * @return the TwilioLinkedServiceTypeProperties object itself. diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/UntilActivityTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/UntilActivityTypeProperties.java index eacca70d6f76a..ef83dde4c10f6 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/UntilActivityTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/UntilActivityTypeProperties.java @@ -23,8 +23,7 @@ public final class UntilActivityTypeProperties { /* * Specifies the timeout for the activity to run. If there is no value specified, it takes the value of * TimeSpan.FromDays(7) which is 1 week as default. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). Type: string (or Expression with resultType string), - * pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ @JsonProperty(value = "timeout") private Object timeout; @@ -64,8 +63,7 @@ public UntilActivityTypeProperties withExpression(Expression expression) { /** * Get the timeout property: Specifies the timeout for the activity to run. If there is no value specified, it takes * the value of TimeSpan.FromDays(7) which is 1 week as default. Type: string (or Expression with resultType - * string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). Type: string (or Expression with - * resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). * * @return the timeout value. */ @@ -76,8 +74,7 @@ public Object timeout() { /** * Set the timeout property: Specifies the timeout for the activity to run. If there is no value specified, it takes * the value of TimeSpan.FromDays(7) which is 1 week as default. Type: string (or Expression with resultType - * string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). Type: string (or Expression with - * resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). * * @param timeout the timeout value to set. * @return the UntilActivityTypeProperties object itself. diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/VerticaLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/VerticaLinkedServiceTypeProperties.java index b62501b0e2bce..15013ba75c408 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/VerticaLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/VerticaLinkedServiceTypeProperties.java @@ -25,10 +25,10 @@ public final class VerticaLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of VerticaLinkedServiceTypeProperties class. */ public VerticaLinkedServiceTypeProperties() { @@ -78,22 +78,22 @@ public VerticaLinkedServiceTypeProperties withPwd(AzureKeyVaultSecretReference p /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the VerticaLinkedServiceTypeProperties object itself. */ - public VerticaLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public VerticaLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/WaitActivityTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/WaitActivityTypeProperties.java index 9c19591d0b5be..2ba02ffed7e16 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/WaitActivityTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/WaitActivityTypeProperties.java @@ -12,7 +12,7 @@ @Fluent public final class WaitActivityTypeProperties { /* - * Duration in seconds. + * Duration in seconds. Type: integer (or Expression with resultType integer). */ @JsonProperty(value = "waitTimeInSeconds", required = true) private Object waitTimeInSeconds; @@ -22,7 +22,7 @@ public WaitActivityTypeProperties() { } /** - * Get the waitTimeInSeconds property: Duration in seconds. + * Get the waitTimeInSeconds property: Duration in seconds. Type: integer (or Expression with resultType integer). * * @return the waitTimeInSeconds value. */ @@ -31,7 +31,7 @@ public Object waitTimeInSeconds() { } /** - * Set the waitTimeInSeconds property: Duration in seconds. + * Set the waitTimeInSeconds property: Duration in seconds. Type: integer (or Expression with resultType integer). * * @param waitTimeInSeconds the waitTimeInSeconds value to set. * @return the WaitActivityTypeProperties object itself. diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/XeroLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/XeroLinkedServiceTypeProperties.java index acf176d795e0a..c960ddf72e654 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/XeroLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/XeroLinkedServiceTypeProperties.java @@ -59,10 +59,10 @@ public final class XeroLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of XeroLinkedServiceTypeProperties class. */ public XeroLinkedServiceTypeProperties() { @@ -220,22 +220,22 @@ public XeroLinkedServiceTypeProperties withUsePeerVerification(Object usePeerVer /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the XeroLinkedServiceTypeProperties object itself. */ - public XeroLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public XeroLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ZendeskLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ZendeskLinkedServiceTypeProperties.java index 84539acda81f3..f6451132a0412 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ZendeskLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ZendeskLinkedServiceTypeProperties.java @@ -45,10 +45,10 @@ public final class ZendeskLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of ZendeskLinkedServiceTypeProperties class. */ public ZendeskLinkedServiceTypeProperties() { @@ -158,22 +158,22 @@ public ZendeskLinkedServiceTypeProperties withApiToken(SecretBase apiToken) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the ZendeskLinkedServiceTypeProperties object itself. */ - public ZendeskLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public ZendeskLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ZohoLinkedServiceTypeProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ZohoLinkedServiceTypeProperties.java index b76c3254764fa..b4262db6b80b3 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ZohoLinkedServiceTypeProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ZohoLinkedServiceTypeProperties.java @@ -51,10 +51,10 @@ public final class ZohoLinkedServiceTypeProperties { /* * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime - * credential manager. Type: string (or Expression with resultType string). + * credential manager. Type: string. */ @JsonProperty(value = "encryptedCredential") - private Object encryptedCredential; + private String encryptedCredential; /** Creates an instance of ZohoLinkedServiceTypeProperties class. */ public ZohoLinkedServiceTypeProperties() { @@ -190,22 +190,22 @@ public ZohoLinkedServiceTypeProperties withUsePeerVerification(Object usePeerVer /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the ZohoLinkedServiceTypeProperties object itself. */ - public ZohoLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential) { + public ZohoLinkedServiceTypeProperties withEncryptedCredential(String encryptedCredential) { this.encryptedCredential = encryptedCredential; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/ActivityRunsClientImpl.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/ActivityRunsClientImpl.java index 9f27731f1b6f1..0e0fbbde620a2 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/ActivityRunsClientImpl.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/ActivityRunsClientImpl.java @@ -55,8 +55,7 @@ public final class ActivityRunsClientImpl implements ActivityRunsClient { public interface ActivityRunsService { @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/pipelineruns/{runId}/queryActivityruns") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelineruns/{runId}/queryActivityruns") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> queryByPipelineRun( diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/ChangeDataCaptureResourceImpl.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/ChangeDataCaptureResourceImpl.java new file mode 100644 index 0000000000000..d3b96ee515345 --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/ChangeDataCaptureResourceImpl.java @@ -0,0 +1,290 @@ +// 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.implementation; + +import com.azure.core.http.rest.Response; +import com.azure.core.util.Context; +import com.azure.resourcemanager.datafactory.fluent.models.ChangeDataCaptureResourceInner; +import com.azure.resourcemanager.datafactory.models.ChangeDataCaptureFolder; +import com.azure.resourcemanager.datafactory.models.ChangeDataCaptureResource; +import com.azure.resourcemanager.datafactory.models.MapperPolicy; +import com.azure.resourcemanager.datafactory.models.MapperSourceConnectionsInfo; +import com.azure.resourcemanager.datafactory.models.MapperTargetConnectionsInfo; +import java.util.Collections; +import java.util.List; +import java.util.Map; + +public final class ChangeDataCaptureResourceImpl + implements ChangeDataCaptureResource, ChangeDataCaptureResource.Definition, ChangeDataCaptureResource.Update { + private ChangeDataCaptureResourceInner innerObject; + + private final com.azure.resourcemanager.datafactory.DataFactoryManager serviceManager; + + public String id() { + return this.innerModel().id(); + } + + public String name() { + return this.innerModel().name(); + } + + public String type() { + return this.innerModel().type(); + } + + public String etag() { + return this.innerModel().etag(); + } + + public Map additionalProperties() { + Map inner = this.innerModel().additionalProperties(); + if (inner != null) { + return Collections.unmodifiableMap(inner); + } else { + return Collections.emptyMap(); + } + } + + public ChangeDataCaptureFolder folder() { + return this.innerModel().folder(); + } + + public String description() { + return this.innerModel().description(); + } + + public List sourceConnectionsInfo() { + List inner = this.innerModel().sourceConnectionsInfo(); + if (inner != null) { + return Collections.unmodifiableList(inner); + } else { + return Collections.emptyList(); + } + } + + public List targetConnectionsInfo() { + List inner = this.innerModel().targetConnectionsInfo(); + if (inner != null) { + return Collections.unmodifiableList(inner); + } else { + return Collections.emptyList(); + } + } + + public MapperPolicy policy() { + return this.innerModel().policy(); + } + + public Boolean allowVNetOverride() { + return this.innerModel().allowVNetOverride(); + } + + public String status() { + return this.innerModel().status(); + } + + public String resourceGroupName() { + return resourceGroupName; + } + + public ChangeDataCaptureResourceInner innerModel() { + return this.innerObject; + } + + private com.azure.resourcemanager.datafactory.DataFactoryManager manager() { + return this.serviceManager; + } + + private String resourceGroupName; + + private String factoryName; + + private String changeDataCaptureName; + + private String createIfMatch; + + private String updateIfMatch; + + public ChangeDataCaptureResourceImpl withExistingFactory(String resourceGroupName, String factoryName) { + this.resourceGroupName = resourceGroupName; + this.factoryName = factoryName; + return this; + } + + public ChangeDataCaptureResource create() { + this.innerObject = + serviceManager + .serviceClient() + .getChangeDataCaptures() + .createOrUpdateWithResponse( + resourceGroupName, + factoryName, + changeDataCaptureName, + this.innerModel(), + createIfMatch, + Context.NONE) + .getValue(); + return this; + } + + public ChangeDataCaptureResource create(Context context) { + this.innerObject = + serviceManager + .serviceClient() + .getChangeDataCaptures() + .createOrUpdateWithResponse( + resourceGroupName, factoryName, changeDataCaptureName, this.innerModel(), createIfMatch, context) + .getValue(); + return this; + } + + ChangeDataCaptureResourceImpl( + String name, com.azure.resourcemanager.datafactory.DataFactoryManager serviceManager) { + this.innerObject = new ChangeDataCaptureResourceInner(); + this.serviceManager = serviceManager; + this.changeDataCaptureName = name; + this.createIfMatch = null; + } + + public ChangeDataCaptureResourceImpl update() { + this.updateIfMatch = null; + return this; + } + + public ChangeDataCaptureResource apply() { + this.innerObject = + serviceManager + .serviceClient() + .getChangeDataCaptures() + .createOrUpdateWithResponse( + resourceGroupName, + factoryName, + changeDataCaptureName, + this.innerModel(), + updateIfMatch, + Context.NONE) + .getValue(); + return this; + } + + public ChangeDataCaptureResource apply(Context context) { + this.innerObject = + serviceManager + .serviceClient() + .getChangeDataCaptures() + .createOrUpdateWithResponse( + resourceGroupName, factoryName, changeDataCaptureName, this.innerModel(), updateIfMatch, context) + .getValue(); + return this; + } + + ChangeDataCaptureResourceImpl( + ChangeDataCaptureResourceInner innerObject, + com.azure.resourcemanager.datafactory.DataFactoryManager serviceManager) { + this.innerObject = innerObject; + this.serviceManager = serviceManager; + this.resourceGroupName = Utils.getValueFromIdByName(innerObject.id(), "resourceGroups"); + this.factoryName = Utils.getValueFromIdByName(innerObject.id(), "factories"); + this.changeDataCaptureName = Utils.getValueFromIdByName(innerObject.id(), "adfcdcs"); + } + + public ChangeDataCaptureResource refresh() { + String localIfNoneMatch = null; + this.innerObject = + serviceManager + .serviceClient() + .getChangeDataCaptures() + .getWithResponse(resourceGroupName, factoryName, changeDataCaptureName, localIfNoneMatch, Context.NONE) + .getValue(); + return this; + } + + public ChangeDataCaptureResource refresh(Context context) { + String localIfNoneMatch = null; + this.innerObject = + serviceManager + .serviceClient() + .getChangeDataCaptures() + .getWithResponse(resourceGroupName, factoryName, changeDataCaptureName, localIfNoneMatch, context) + .getValue(); + return this; + } + + public Response startWithResponse(Context context) { + return serviceManager + .changeDataCaptures() + .startWithResponse(resourceGroupName, factoryName, changeDataCaptureName, context); + } + + public void start() { + serviceManager.changeDataCaptures().start(resourceGroupName, factoryName, changeDataCaptureName); + } + + public Response stopWithResponse(Context context) { + return serviceManager + .changeDataCaptures() + .stopWithResponse(resourceGroupName, factoryName, changeDataCaptureName, context); + } + + public void stop() { + serviceManager.changeDataCaptures().stop(resourceGroupName, factoryName, changeDataCaptureName); + } + + public ChangeDataCaptureResourceImpl withSourceConnectionsInfo( + List sourceConnectionsInfo) { + this.innerModel().withSourceConnectionsInfo(sourceConnectionsInfo); + return this; + } + + public ChangeDataCaptureResourceImpl withTargetConnectionsInfo( + List targetConnectionsInfo) { + this.innerModel().withTargetConnectionsInfo(targetConnectionsInfo); + return this; + } + + public ChangeDataCaptureResourceImpl withPolicy(MapperPolicy policy) { + this.innerModel().withPolicy(policy); + return this; + } + + public ChangeDataCaptureResourceImpl withAdditionalProperties(Map additionalProperties) { + this.innerModel().withAdditionalProperties(additionalProperties); + return this; + } + + public ChangeDataCaptureResourceImpl withFolder(ChangeDataCaptureFolder folder) { + this.innerModel().withFolder(folder); + return this; + } + + public ChangeDataCaptureResourceImpl withDescription(String description) { + this.innerModel().withDescription(description); + return this; + } + + public ChangeDataCaptureResourceImpl withAllowVNetOverride(Boolean allowVNetOverride) { + this.innerModel().withAllowVNetOverride(allowVNetOverride); + return this; + } + + public ChangeDataCaptureResourceImpl withStatus(String status) { + this.innerModel().withStatus(status); + return this; + } + + public ChangeDataCaptureResourceImpl withIfMatch(String ifMatch) { + if (isInCreateMode()) { + this.createIfMatch = ifMatch; + return this; + } else { + this.updateIfMatch = ifMatch; + return this; + } + } + + private boolean isInCreateMode() { + return this.innerModel().id() == null; + } +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/ChangeDataCapturesClientImpl.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/ChangeDataCapturesClientImpl.java new file mode 100644 index 0000000000000..fb31b4e10fc29 --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/ChangeDataCapturesClientImpl.java @@ -0,0 +1,1457 @@ +// 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.implementation; + +import com.azure.core.annotation.BodyParam; +import com.azure.core.annotation.Delete; +import com.azure.core.annotation.ExpectedResponses; +import com.azure.core.annotation.Get; +import com.azure.core.annotation.HeaderParam; +import com.azure.core.annotation.Headers; +import com.azure.core.annotation.Host; +import com.azure.core.annotation.HostParam; +import com.azure.core.annotation.PathParam; +import com.azure.core.annotation.Post; +import com.azure.core.annotation.Put; +import com.azure.core.annotation.QueryParam; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceInterface; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.annotation.UnexpectedResponseExceptionType; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.PagedResponse; +import com.azure.core.http.rest.PagedResponseBase; +import com.azure.core.http.rest.Response; +import com.azure.core.http.rest.RestProxy; +import com.azure.core.management.exception.ManagementException; +import com.azure.core.util.Context; +import com.azure.core.util.FluxUtil; +import com.azure.resourcemanager.datafactory.fluent.ChangeDataCapturesClient; +import com.azure.resourcemanager.datafactory.fluent.models.ChangeDataCaptureResourceInner; +import com.azure.resourcemanager.datafactory.models.ChangeDataCaptureListResponse; +import reactor.core.publisher.Mono; + +/** An instance of this class provides access to all the operations defined in ChangeDataCapturesClient. */ +public final class ChangeDataCapturesClientImpl implements ChangeDataCapturesClient { + /** The proxy service used to perform REST calls. */ + private final ChangeDataCapturesService service; + + /** The service client containing this operation class. */ + private final DataFactoryManagementClientImpl client; + + /** + * Initializes an instance of ChangeDataCapturesClientImpl. + * + * @param client the instance of the service client containing this operation class. + */ + ChangeDataCapturesClientImpl(DataFactoryManagementClientImpl client) { + this.service = + RestProxy.create(ChangeDataCapturesService.class, client.getHttpPipeline(), client.getSerializerAdapter()); + this.client = client; + } + + /** + * The interface defining all the services for DataFactoryManagementClientChangeDataCaptures to be used by the proxy + * service to perform REST calls. + */ + @Host("{$host}") + @ServiceInterface(name = "DataFactoryManagemen") + public interface ChangeDataCapturesService { + @Headers({"Content-Type: application/json"}) + @Get( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/adfcdcs") + @ExpectedResponses({200}) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> listByFactory( + @HostParam("$host") String endpoint, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("factoryName") String factoryName, + @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, + Context context); + + @Headers({"Content-Type: application/json"}) + @Put( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/adfcdcs/{changeDataCaptureName}") + @ExpectedResponses({200}) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> createOrUpdate( + @HostParam("$host") String endpoint, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("factoryName") String factoryName, + @PathParam("changeDataCaptureName") String changeDataCaptureName, + @QueryParam("api-version") String apiVersion, + @HeaderParam("If-Match") String ifMatch, + @BodyParam("application/json") ChangeDataCaptureResourceInner changeDataCapture, + @HeaderParam("Accept") String accept, + Context context); + + @Headers({"Content-Type: application/json"}) + @Get( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/adfcdcs/{changeDataCaptureName}") + @ExpectedResponses({200}) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> get( + @HostParam("$host") String endpoint, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("factoryName") String factoryName, + @PathParam("changeDataCaptureName") String changeDataCaptureName, + @QueryParam("api-version") String apiVersion, + @HeaderParam("If-None-Match") String ifNoneMatch, + @HeaderParam("Accept") String accept, + Context context); + + @Headers({"Content-Type: application/json"}) + @Delete( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/adfcdcs/{changeDataCaptureName}") + @ExpectedResponses({200, 204}) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> delete( + @HostParam("$host") String endpoint, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("factoryName") String factoryName, + @PathParam("changeDataCaptureName") String changeDataCaptureName, + @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, + Context context); + + @Headers({"Content-Type: application/json"}) + @Post( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/adfcdcs/{changeDataCaptureName}/start") + @ExpectedResponses({200}) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> start( + @HostParam("$host") String endpoint, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("factoryName") String factoryName, + @PathParam("changeDataCaptureName") String changeDataCaptureName, + @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, + Context context); + + @Headers({"Content-Type: application/json"}) + @Post( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/adfcdcs/{changeDataCaptureName}/stop") + @ExpectedResponses({200}) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> stop( + @HostParam("$host") String endpoint, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("factoryName") String factoryName, + @PathParam("changeDataCaptureName") String changeDataCaptureName, + @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, + Context context); + + @Headers({"Content-Type: application/json"}) + @Get( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/adfcdcs/{changeDataCaptureName}/status") + @ExpectedResponses({200}) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> status( + @HostParam("$host") String endpoint, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("factoryName") String factoryName, + @PathParam("changeDataCaptureName") String changeDataCaptureName, + @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, + Context context); + + @Headers({"Content-Type: application/json"}) + @Get("{nextLink}") + @ExpectedResponses({200}) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> listByFactoryNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, + @HostParam("$host") String endpoint, + @HeaderParam("Accept") String accept, + Context context); + } + + /** + * Lists all resources of type change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a list of change data capture resources along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listByFactorySinglePageAsync( + String resourceGroupName, String factoryName) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (factoryName == null) { + return Mono.error(new IllegalArgumentException("Parameter factoryName is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> + service + .listByFactory( + this.client.getEndpoint(), + this.client.getSubscriptionId(), + resourceGroupName, + factoryName, + this.client.getApiVersion(), + accept, + context)) + .>map( + res -> + new PagedResponseBase<>( + res.getRequest(), + res.getStatusCode(), + res.getHeaders(), + res.getValue().value(), + res.getValue().nextLink(), + null)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Lists all resources of type change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a list of change data capture resources along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listByFactorySinglePageAsync( + String resourceGroupName, String factoryName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (factoryName == null) { + return Mono.error(new IllegalArgumentException("Parameter factoryName is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .listByFactory( + this.client.getEndpoint(), + this.client.getSubscriptionId(), + resourceGroupName, + factoryName, + this.client.getApiVersion(), + accept, + context) + .map( + res -> + new PagedResponseBase<>( + res.getRequest(), + res.getStatusCode(), + res.getHeaders(), + res.getValue().value(), + res.getValue().nextLink(), + null)); + } + + /** + * Lists all resources of type change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a list of change data capture resources as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listByFactoryAsync(String resourceGroupName, String factoryName) { + return new PagedFlux<>( + () -> listByFactorySinglePageAsync(resourceGroupName, factoryName), + nextLink -> listByFactoryNextSinglePageAsync(nextLink)); + } + + /** + * Lists all resources of type change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a list of change data capture resources as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listByFactoryAsync( + String resourceGroupName, String factoryName, Context context) { + return new PagedFlux<>( + () -> listByFactorySinglePageAsync(resourceGroupName, factoryName, context), + nextLink -> listByFactoryNextSinglePageAsync(nextLink, context)); + } + + /** + * Lists all resources of type change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a list of change data capture resources as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listByFactory(String resourceGroupName, String factoryName) { + return new PagedIterable<>(listByFactoryAsync(resourceGroupName, factoryName)); + } + + /** + * Lists all resources of type change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a list of change data capture resources as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listByFactory( + String resourceGroupName, String factoryName, Context context) { + return new PagedIterable<>(listByFactoryAsync(resourceGroupName, factoryName, context)); + } + + /** + * Creates or updates a change data capture resource. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param changeDataCapture Change data capture resource definition. + * @param ifMatch ETag of the change data capture entity. Should only be specified for update, for which it should + * match existing entity or can be * for unconditional update. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return change data capture resource type along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> createOrUpdateWithResponseAsync( + String resourceGroupName, + String factoryName, + String changeDataCaptureName, + ChangeDataCaptureResourceInner changeDataCapture, + String ifMatch) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (factoryName == null) { + return Mono.error(new IllegalArgumentException("Parameter factoryName is required and cannot be null.")); + } + if (changeDataCaptureName == null) { + return Mono + .error(new IllegalArgumentException("Parameter changeDataCaptureName is required and cannot be null.")); + } + if (changeDataCapture == null) { + return Mono + .error(new IllegalArgumentException("Parameter changeDataCapture is required and cannot be null.")); + } else { + changeDataCapture.validate(); + } + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> + service + .createOrUpdate( + this.client.getEndpoint(), + this.client.getSubscriptionId(), + resourceGroupName, + factoryName, + changeDataCaptureName, + this.client.getApiVersion(), + ifMatch, + changeDataCapture, + accept, + context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Creates or updates a change data capture resource. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param changeDataCapture Change data capture resource definition. + * @param ifMatch ETag of the change data capture entity. Should only be specified for update, for which it should + * match existing entity or can be * for unconditional update. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return change data capture resource type along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> createOrUpdateWithResponseAsync( + String resourceGroupName, + String factoryName, + String changeDataCaptureName, + ChangeDataCaptureResourceInner changeDataCapture, + String ifMatch, + Context context) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (factoryName == null) { + return Mono.error(new IllegalArgumentException("Parameter factoryName is required and cannot be null.")); + } + if (changeDataCaptureName == null) { + return Mono + .error(new IllegalArgumentException("Parameter changeDataCaptureName is required and cannot be null.")); + } + if (changeDataCapture == null) { + return Mono + .error(new IllegalArgumentException("Parameter changeDataCapture is required and cannot be null.")); + } else { + changeDataCapture.validate(); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .createOrUpdate( + this.client.getEndpoint(), + this.client.getSubscriptionId(), + resourceGroupName, + factoryName, + changeDataCaptureName, + this.client.getApiVersion(), + ifMatch, + changeDataCapture, + accept, + context); + } + + /** + * Creates or updates a change data capture resource. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param changeDataCapture Change data capture resource definition. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return change data capture resource type on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono createOrUpdateAsync( + String resourceGroupName, + String factoryName, + String changeDataCaptureName, + ChangeDataCaptureResourceInner changeDataCapture) { + final String ifMatch = null; + return createOrUpdateWithResponseAsync( + resourceGroupName, factoryName, changeDataCaptureName, changeDataCapture, ifMatch) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Creates or updates a change data capture resource. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param changeDataCapture Change data capture resource definition. + * @param ifMatch ETag of the change data capture entity. Should only be specified for update, for which it should + * match existing entity or can be * for unconditional update. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return change data capture resource type along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response createOrUpdateWithResponse( + String resourceGroupName, + String factoryName, + String changeDataCaptureName, + ChangeDataCaptureResourceInner changeDataCapture, + String ifMatch, + Context context) { + return createOrUpdateWithResponseAsync( + resourceGroupName, factoryName, changeDataCaptureName, changeDataCapture, ifMatch, context) + .block(); + } + + /** + * Creates or updates a change data capture resource. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param changeDataCapture Change data capture resource definition. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return change data capture resource type. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public ChangeDataCaptureResourceInner createOrUpdate( + String resourceGroupName, + String factoryName, + String changeDataCaptureName, + ChangeDataCaptureResourceInner changeDataCapture) { + final String ifMatch = null; + return createOrUpdateWithResponse( + resourceGroupName, factoryName, changeDataCaptureName, changeDataCapture, ifMatch, Context.NONE) + .getValue(); + } + + /** + * Gets a change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param ifNoneMatch ETag of the change data capture entity. Should only be specified for get. If the ETag matches + * the existing entity tag, or if * was provided, then no content will be returned. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a change data capture along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> getWithResponseAsync( + String resourceGroupName, String factoryName, String changeDataCaptureName, String ifNoneMatch) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (factoryName == null) { + return Mono.error(new IllegalArgumentException("Parameter factoryName is required and cannot be null.")); + } + if (changeDataCaptureName == null) { + return Mono + .error(new IllegalArgumentException("Parameter changeDataCaptureName is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> + service + .get( + this.client.getEndpoint(), + this.client.getSubscriptionId(), + resourceGroupName, + factoryName, + changeDataCaptureName, + this.client.getApiVersion(), + ifNoneMatch, + accept, + context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Gets a change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param ifNoneMatch ETag of the change data capture entity. Should only be specified for get. If the ETag matches + * the existing entity tag, or if * was provided, then no content will be returned. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a change data capture along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> getWithResponseAsync( + String resourceGroupName, + String factoryName, + String changeDataCaptureName, + String ifNoneMatch, + Context context) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (factoryName == null) { + return Mono.error(new IllegalArgumentException("Parameter factoryName is required and cannot be null.")); + } + if (changeDataCaptureName == null) { + return Mono + .error(new IllegalArgumentException("Parameter changeDataCaptureName is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .get( + this.client.getEndpoint(), + this.client.getSubscriptionId(), + resourceGroupName, + factoryName, + changeDataCaptureName, + this.client.getApiVersion(), + ifNoneMatch, + accept, + context); + } + + /** + * Gets a change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a change data capture on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono getAsync( + String resourceGroupName, String factoryName, String changeDataCaptureName) { + final String ifNoneMatch = null; + return getWithResponseAsync(resourceGroupName, factoryName, changeDataCaptureName, ifNoneMatch) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Gets a change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param ifNoneMatch ETag of the change data capture entity. Should only be specified for get. If the ETag matches + * the existing entity tag, or if * was provided, then no content will be returned. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a change data capture along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getWithResponse( + String resourceGroupName, + String factoryName, + String changeDataCaptureName, + String ifNoneMatch, + Context context) { + return getWithResponseAsync(resourceGroupName, factoryName, changeDataCaptureName, ifNoneMatch, context) + .block(); + } + + /** + * Gets a change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a change data capture. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public ChangeDataCaptureResourceInner get( + String resourceGroupName, String factoryName, String changeDataCaptureName) { + final String ifNoneMatch = null; + return getWithResponse(resourceGroupName, factoryName, changeDataCaptureName, ifNoneMatch, Context.NONE) + .getValue(); + } + + /** + * Deletes a change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> deleteWithResponseAsync( + String resourceGroupName, String factoryName, String changeDataCaptureName) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (factoryName == null) { + return Mono.error(new IllegalArgumentException("Parameter factoryName is required and cannot be null.")); + } + if (changeDataCaptureName == null) { + return Mono + .error(new IllegalArgumentException("Parameter changeDataCaptureName is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> + service + .delete( + this.client.getEndpoint(), + this.client.getSubscriptionId(), + resourceGroupName, + factoryName, + changeDataCaptureName, + this.client.getApiVersion(), + accept, + context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Deletes a change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> deleteWithResponseAsync( + String resourceGroupName, String factoryName, String changeDataCaptureName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (factoryName == null) { + return Mono.error(new IllegalArgumentException("Parameter factoryName is required and cannot be null.")); + } + if (changeDataCaptureName == null) { + return Mono + .error(new IllegalArgumentException("Parameter changeDataCaptureName is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .delete( + this.client.getEndpoint(), + this.client.getSubscriptionId(), + resourceGroupName, + factoryName, + changeDataCaptureName, + this.client.getApiVersion(), + accept, + context); + } + + /** + * Deletes a change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteAsync(String resourceGroupName, String factoryName, String changeDataCaptureName) { + return deleteWithResponseAsync(resourceGroupName, factoryName, changeDataCaptureName) + .flatMap(ignored -> Mono.empty()); + } + + /** + * Deletes a change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response deleteWithResponse( + String resourceGroupName, String factoryName, String changeDataCaptureName, Context context) { + return deleteWithResponseAsync(resourceGroupName, factoryName, changeDataCaptureName, context).block(); + } + + /** + * Deletes a change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public void delete(String resourceGroupName, String factoryName, String changeDataCaptureName) { + deleteWithResponse(resourceGroupName, factoryName, changeDataCaptureName, Context.NONE); + } + + /** + * Starts a change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> startWithResponseAsync( + String resourceGroupName, String factoryName, String changeDataCaptureName) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (factoryName == null) { + return Mono.error(new IllegalArgumentException("Parameter factoryName is required and cannot be null.")); + } + if (changeDataCaptureName == null) { + return Mono + .error(new IllegalArgumentException("Parameter changeDataCaptureName is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> + service + .start( + this.client.getEndpoint(), + this.client.getSubscriptionId(), + resourceGroupName, + factoryName, + changeDataCaptureName, + this.client.getApiVersion(), + accept, + context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Starts a change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> startWithResponseAsync( + String resourceGroupName, String factoryName, String changeDataCaptureName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (factoryName == null) { + return Mono.error(new IllegalArgumentException("Parameter factoryName is required and cannot be null.")); + } + if (changeDataCaptureName == null) { + return Mono + .error(new IllegalArgumentException("Parameter changeDataCaptureName is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .start( + this.client.getEndpoint(), + this.client.getSubscriptionId(), + resourceGroupName, + factoryName, + changeDataCaptureName, + this.client.getApiVersion(), + accept, + context); + } + + /** + * Starts a change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono startAsync(String resourceGroupName, String factoryName, String changeDataCaptureName) { + return startWithResponseAsync(resourceGroupName, factoryName, changeDataCaptureName) + .flatMap(ignored -> Mono.empty()); + } + + /** + * Starts a change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response startWithResponse( + String resourceGroupName, String factoryName, String changeDataCaptureName, Context context) { + return startWithResponseAsync(resourceGroupName, factoryName, changeDataCaptureName, context).block(); + } + + /** + * Starts a change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public void start(String resourceGroupName, String factoryName, String changeDataCaptureName) { + startWithResponse(resourceGroupName, factoryName, changeDataCaptureName, Context.NONE); + } + + /** + * Stops a change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> stopWithResponseAsync( + String resourceGroupName, String factoryName, String changeDataCaptureName) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (factoryName == null) { + return Mono.error(new IllegalArgumentException("Parameter factoryName is required and cannot be null.")); + } + if (changeDataCaptureName == null) { + return Mono + .error(new IllegalArgumentException("Parameter changeDataCaptureName is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> + service + .stop( + this.client.getEndpoint(), + this.client.getSubscriptionId(), + resourceGroupName, + factoryName, + changeDataCaptureName, + this.client.getApiVersion(), + accept, + context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Stops a change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> stopWithResponseAsync( + String resourceGroupName, String factoryName, String changeDataCaptureName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (factoryName == null) { + return Mono.error(new IllegalArgumentException("Parameter factoryName is required and cannot be null.")); + } + if (changeDataCaptureName == null) { + return Mono + .error(new IllegalArgumentException("Parameter changeDataCaptureName is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .stop( + this.client.getEndpoint(), + this.client.getSubscriptionId(), + resourceGroupName, + factoryName, + changeDataCaptureName, + this.client.getApiVersion(), + accept, + context); + } + + /** + * Stops a change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono stopAsync(String resourceGroupName, String factoryName, String changeDataCaptureName) { + return stopWithResponseAsync(resourceGroupName, factoryName, changeDataCaptureName) + .flatMap(ignored -> Mono.empty()); + } + + /** + * Stops a change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response stopWithResponse( + String resourceGroupName, String factoryName, String changeDataCaptureName, Context context) { + return stopWithResponseAsync(resourceGroupName, factoryName, changeDataCaptureName, context).block(); + } + + /** + * Stops a change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public void stop(String resourceGroupName, String factoryName, String changeDataCaptureName) { + stopWithResponse(resourceGroupName, factoryName, changeDataCaptureName, Context.NONE); + } + + /** + * Gets the current status for the change data capture resource. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the current status for the change data capture resource along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> statusWithResponseAsync( + String resourceGroupName, String factoryName, String changeDataCaptureName) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (factoryName == null) { + return Mono.error(new IllegalArgumentException("Parameter factoryName is required and cannot be null.")); + } + if (changeDataCaptureName == null) { + return Mono + .error(new IllegalArgumentException("Parameter changeDataCaptureName is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> + service + .status( + this.client.getEndpoint(), + this.client.getSubscriptionId(), + resourceGroupName, + factoryName, + changeDataCaptureName, + this.client.getApiVersion(), + accept, + context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Gets the current status for the change data capture resource. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the current status for the change data capture resource along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> statusWithResponseAsync( + String resourceGroupName, String factoryName, String changeDataCaptureName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (factoryName == null) { + return Mono.error(new IllegalArgumentException("Parameter factoryName is required and cannot be null.")); + } + if (changeDataCaptureName == null) { + return Mono + .error(new IllegalArgumentException("Parameter changeDataCaptureName is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .status( + this.client.getEndpoint(), + this.client.getSubscriptionId(), + resourceGroupName, + factoryName, + changeDataCaptureName, + this.client.getApiVersion(), + accept, + context); + } + + /** + * Gets the current status for the change data capture resource. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the current status for the change data capture resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono statusAsync(String resourceGroupName, String factoryName, String changeDataCaptureName) { + return statusWithResponseAsync(resourceGroupName, factoryName, changeDataCaptureName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Gets the current status for the change data capture resource. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the current status for the change data capture resource along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response statusWithResponse( + String resourceGroupName, String factoryName, String changeDataCaptureName, Context context) { + return statusWithResponseAsync(resourceGroupName, factoryName, changeDataCaptureName, context).block(); + } + + /** + * Gets the current status for the change data capture resource. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the current status for the change data capture resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public String status(String resourceGroupName, String factoryName, String changeDataCaptureName) { + return statusWithResponse(resourceGroupName, factoryName, changeDataCaptureName, Context.NONE).getValue(); + } + + /** + * Get the next page of items. + * + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a list of change data capture resources along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listByFactoryNextSinglePageAsync(String nextLink) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listByFactoryNext(nextLink, this.client.getEndpoint(), accept, context)) + .>map( + res -> + new PagedResponseBase<>( + res.getRequest(), + res.getStatusCode(), + res.getHeaders(), + res.getValue().value(), + res.getValue().nextLink(), + null)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Get the next page of items. + * + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a list of change data capture resources along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listByFactoryNextSinglePageAsync( + String nextLink, Context context) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .listByFactoryNext(nextLink, this.client.getEndpoint(), accept, context) + .map( + res -> + new PagedResponseBase<>( + res.getRequest(), + res.getStatusCode(), + res.getHeaders(), + res.getValue().value(), + res.getValue().nextLink(), + null)); + } +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/ChangeDataCapturesImpl.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/ChangeDataCapturesImpl.java new file mode 100644 index 0000000000000..6c42a7ef82d5e --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/ChangeDataCapturesImpl.java @@ -0,0 +1,228 @@ +// 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.implementation; + +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.Response; +import com.azure.core.http.rest.SimpleResponse; +import com.azure.core.util.Context; +import com.azure.core.util.logging.ClientLogger; +import com.azure.resourcemanager.datafactory.fluent.ChangeDataCapturesClient; +import com.azure.resourcemanager.datafactory.fluent.models.ChangeDataCaptureResourceInner; +import com.azure.resourcemanager.datafactory.models.ChangeDataCaptureResource; +import com.azure.resourcemanager.datafactory.models.ChangeDataCaptures; + +public final class ChangeDataCapturesImpl implements ChangeDataCaptures { + private static final ClientLogger LOGGER = new ClientLogger(ChangeDataCapturesImpl.class); + + private final ChangeDataCapturesClient innerClient; + + private final com.azure.resourcemanager.datafactory.DataFactoryManager serviceManager; + + public ChangeDataCapturesImpl( + ChangeDataCapturesClient innerClient, com.azure.resourcemanager.datafactory.DataFactoryManager serviceManager) { + this.innerClient = innerClient; + this.serviceManager = serviceManager; + } + + public PagedIterable listByFactory(String resourceGroupName, String factoryName) { + PagedIterable inner = + this.serviceClient().listByFactory(resourceGroupName, factoryName); + return Utils.mapPage(inner, inner1 -> new ChangeDataCaptureResourceImpl(inner1, this.manager())); + } + + public PagedIterable listByFactory( + String resourceGroupName, String factoryName, Context context) { + PagedIterable inner = + this.serviceClient().listByFactory(resourceGroupName, factoryName, context); + return Utils.mapPage(inner, inner1 -> new ChangeDataCaptureResourceImpl(inner1, this.manager())); + } + + public Response getWithResponse( + String resourceGroupName, + String factoryName, + String changeDataCaptureName, + String ifNoneMatch, + Context context) { + Response inner = + this + .serviceClient() + .getWithResponse(resourceGroupName, factoryName, changeDataCaptureName, ifNoneMatch, context); + if (inner != null) { + return new SimpleResponse<>( + inner.getRequest(), + inner.getStatusCode(), + inner.getHeaders(), + new ChangeDataCaptureResourceImpl(inner.getValue(), this.manager())); + } else { + return null; + } + } + + public ChangeDataCaptureResource get(String resourceGroupName, String factoryName, String changeDataCaptureName) { + ChangeDataCaptureResourceInner inner = + this.serviceClient().get(resourceGroupName, factoryName, changeDataCaptureName); + if (inner != null) { + return new ChangeDataCaptureResourceImpl(inner, this.manager()); + } else { + return null; + } + } + + public Response deleteWithResponse( + String resourceGroupName, String factoryName, String changeDataCaptureName, Context context) { + return this.serviceClient().deleteWithResponse(resourceGroupName, factoryName, changeDataCaptureName, context); + } + + public void delete(String resourceGroupName, String factoryName, String changeDataCaptureName) { + this.serviceClient().delete(resourceGroupName, factoryName, changeDataCaptureName); + } + + public Response startWithResponse( + String resourceGroupName, String factoryName, String changeDataCaptureName, Context context) { + return this.serviceClient().startWithResponse(resourceGroupName, factoryName, changeDataCaptureName, context); + } + + public void start(String resourceGroupName, String factoryName, String changeDataCaptureName) { + this.serviceClient().start(resourceGroupName, factoryName, changeDataCaptureName); + } + + public Response stopWithResponse( + String resourceGroupName, String factoryName, String changeDataCaptureName, Context context) { + return this.serviceClient().stopWithResponse(resourceGroupName, factoryName, changeDataCaptureName, context); + } + + public void stop(String resourceGroupName, String factoryName, String changeDataCaptureName) { + this.serviceClient().stop(resourceGroupName, factoryName, changeDataCaptureName); + } + + public Response statusWithResponse( + String resourceGroupName, String factoryName, String changeDataCaptureName, Context context) { + return this.serviceClient().statusWithResponse(resourceGroupName, factoryName, changeDataCaptureName, context); + } + + public String status(String resourceGroupName, String factoryName, String changeDataCaptureName) { + return this.serviceClient().status(resourceGroupName, factoryName, changeDataCaptureName); + } + + public ChangeDataCaptureResource getById(String id) { + String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups"); + if (resourceGroupName == null) { + throw LOGGER + .logExceptionAsError( + new IllegalArgumentException( + String + .format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id))); + } + String factoryName = Utils.getValueFromIdByName(id, "factories"); + if (factoryName == null) { + throw LOGGER + .logExceptionAsError( + new IllegalArgumentException( + String.format("The resource ID '%s' is not valid. Missing path segment 'factories'.", id))); + } + String changeDataCaptureName = Utils.getValueFromIdByName(id, "adfcdcs"); + if (changeDataCaptureName == null) { + throw LOGGER + .logExceptionAsError( + new IllegalArgumentException( + String.format("The resource ID '%s' is not valid. Missing path segment 'adfcdcs'.", id))); + } + String localIfNoneMatch = null; + return this + .getWithResponse(resourceGroupName, factoryName, changeDataCaptureName, localIfNoneMatch, Context.NONE) + .getValue(); + } + + public Response getByIdWithResponse(String id, String ifNoneMatch, Context context) { + String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups"); + if (resourceGroupName == null) { + throw LOGGER + .logExceptionAsError( + new IllegalArgumentException( + String + .format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id))); + } + String factoryName = Utils.getValueFromIdByName(id, "factories"); + if (factoryName == null) { + throw LOGGER + .logExceptionAsError( + new IllegalArgumentException( + String.format("The resource ID '%s' is not valid. Missing path segment 'factories'.", id))); + } + String changeDataCaptureName = Utils.getValueFromIdByName(id, "adfcdcs"); + if (changeDataCaptureName == null) { + throw LOGGER + .logExceptionAsError( + new IllegalArgumentException( + String.format("The resource ID '%s' is not valid. Missing path segment 'adfcdcs'.", id))); + } + return this.getWithResponse(resourceGroupName, factoryName, changeDataCaptureName, ifNoneMatch, context); + } + + public void deleteById(String id) { + String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups"); + if (resourceGroupName == null) { + throw LOGGER + .logExceptionAsError( + new IllegalArgumentException( + String + .format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id))); + } + String factoryName = Utils.getValueFromIdByName(id, "factories"); + if (factoryName == null) { + throw LOGGER + .logExceptionAsError( + new IllegalArgumentException( + String.format("The resource ID '%s' is not valid. Missing path segment 'factories'.", id))); + } + String changeDataCaptureName = Utils.getValueFromIdByName(id, "adfcdcs"); + if (changeDataCaptureName == null) { + throw LOGGER + .logExceptionAsError( + new IllegalArgumentException( + String.format("The resource ID '%s' is not valid. Missing path segment 'adfcdcs'.", id))); + } + this.deleteWithResponse(resourceGroupName, factoryName, changeDataCaptureName, Context.NONE); + } + + public Response deleteByIdWithResponse(String id, Context context) { + String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups"); + if (resourceGroupName == null) { + throw LOGGER + .logExceptionAsError( + new IllegalArgumentException( + String + .format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id))); + } + String factoryName = Utils.getValueFromIdByName(id, "factories"); + if (factoryName == null) { + throw LOGGER + .logExceptionAsError( + new IllegalArgumentException( + String.format("The resource ID '%s' is not valid. Missing path segment 'factories'.", id))); + } + String changeDataCaptureName = Utils.getValueFromIdByName(id, "adfcdcs"); + if (changeDataCaptureName == null) { + throw LOGGER + .logExceptionAsError( + new IllegalArgumentException( + String.format("The resource ID '%s' is not valid. Missing path segment 'adfcdcs'.", id))); + } + return this.deleteWithResponse(resourceGroupName, factoryName, changeDataCaptureName, context); + } + + private ChangeDataCapturesClient serviceClient() { + return this.innerClient; + } + + private com.azure.resourcemanager.datafactory.DataFactoryManager manager() { + return this.serviceManager; + } + + public ChangeDataCaptureResourceImpl define(String name) { + return new ChangeDataCaptureResourceImpl(name, this.manager()); + } +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/CredentialOperationsClientImpl.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/CredentialOperationsClientImpl.java index 97bb8c75856cd..27030ee45678d 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/CredentialOperationsClientImpl.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/CredentialOperationsClientImpl.java @@ -62,8 +62,7 @@ public final class CredentialOperationsClientImpl implements CredentialOperation public interface CredentialOperationsService { @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/credentials") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/credentials") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listByFactory( @@ -77,8 +76,7 @@ Mono> listByFactory( @Headers({"Content-Type: application/json"}) @Put( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/credentials/{credentialName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/credentials/{credentialName}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> createOrUpdate( @@ -95,8 +93,7 @@ Mono> createOrUpdate( @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/credentials/{credentialName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/credentials/{credentialName}") @ExpectedResponses({200, 304}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> get( @@ -112,8 +109,7 @@ Mono> get( @Headers({"Content-Type: application/json"}) @Delete( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/credentials/{credentialName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/credentials/{credentialName}") @ExpectedResponses({200, 204}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> delete( diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/DataFactoryManagementClientImpl.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/DataFactoryManagementClientImpl.java index 815b8e875ce7c..f6b86d5fd4575 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/DataFactoryManagementClientImpl.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/DataFactoryManagementClientImpl.java @@ -23,6 +23,7 @@ import com.azure.core.util.serializer.SerializerAdapter; import com.azure.core.util.serializer.SerializerEncoding; import com.azure.resourcemanager.datafactory.fluent.ActivityRunsClient; +import com.azure.resourcemanager.datafactory.fluent.ChangeDataCapturesClient; import com.azure.resourcemanager.datafactory.fluent.CredentialOperationsClient; import com.azure.resourcemanager.datafactory.fluent.DataFactoryManagementClient; import com.azure.resourcemanager.datafactory.fluent.DataFlowDebugSessionsClient; @@ -393,6 +394,18 @@ public GlobalParametersClient getGlobalParameters() { return this.globalParameters; } + /** The ChangeDataCapturesClient object to access its operations. */ + private final ChangeDataCapturesClient changeDataCaptures; + + /** + * Gets the ChangeDataCapturesClient object to access its operations. + * + * @return the ChangeDataCapturesClient object. + */ + public ChangeDataCapturesClient getChangeDataCaptures() { + return this.changeDataCaptures; + } + /** * Initializes an instance of DataFactoryManagementClient client. * @@ -438,6 +451,7 @@ public GlobalParametersClient getGlobalParameters() { this.privateEndpointConnectionOperations = new PrivateEndpointConnectionOperationsClientImpl(this); this.privateLinkResources = new PrivateLinkResourcesClientImpl(this); this.globalParameters = new GlobalParametersClientImpl(this); + this.changeDataCaptures = new ChangeDataCapturesClientImpl(this); } /** diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/DataFlowDebugSessionsClientImpl.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/DataFlowDebugSessionsClientImpl.java index 44032621b4c62..7ca84b0b6820e 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/DataFlowDebugSessionsClientImpl.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/DataFlowDebugSessionsClientImpl.java @@ -73,8 +73,7 @@ public final class DataFlowDebugSessionsClientImpl implements DataFlowDebugSessi public interface DataFlowDebugSessionsService { @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/createDataFlowDebugSession") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/createDataFlowDebugSession") @ExpectedResponses({200, 202}) @UnexpectedResponseExceptionType(ManagementException.class) Mono>> create( @@ -89,8 +88,7 @@ Mono>> create( @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/queryDataFlowDebugSessions") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryDataFlowDebugSessions") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> queryByFactory( @@ -104,8 +102,7 @@ Mono> queryByFactory( @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/addDataFlowToDebugSession") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/addDataFlowToDebugSession") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> addDataFlow( @@ -120,8 +117,7 @@ Mono> addDataFlow( @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/deleteDataFlowDebugSession") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/deleteDataFlowDebugSession") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> delete( @@ -136,8 +132,7 @@ Mono> delete( @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/executeDataFlowDebugCommand") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/executeDataFlowDebugCommand") @ExpectedResponses({200, 202}) @UnexpectedResponseExceptionType(ManagementException.class) Mono>> executeCommand( diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/DataFlowsClientImpl.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/DataFlowsClientImpl.java index 0fcaf831179d3..d7b26a4533af0 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/DataFlowsClientImpl.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/DataFlowsClientImpl.java @@ -61,8 +61,7 @@ public final class DataFlowsClientImpl implements DataFlowsClient { public interface DataFlowsService { @Headers({"Content-Type: application/json"}) @Put( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/dataflows/{dataFlowName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/dataflows/{dataFlowName}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> createOrUpdate( @@ -79,8 +78,7 @@ Mono> createOrUpdate( @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/dataflows/{dataFlowName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/dataflows/{dataFlowName}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> get( @@ -96,8 +94,7 @@ Mono> get( @Headers({"Content-Type: application/json"}) @Delete( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/dataflows/{dataFlowName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/dataflows/{dataFlowName}") @ExpectedResponses({200, 204}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> delete( @@ -112,8 +109,7 @@ Mono> delete( @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/dataflows") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/dataflows") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listByFactory( diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/DatasetsClientImpl.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/DatasetsClientImpl.java index f2b4912504143..b2bcd5ff90e48 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/DatasetsClientImpl.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/DatasetsClientImpl.java @@ -60,8 +60,7 @@ public final class DatasetsClientImpl implements DatasetsClient { public interface DatasetsService { @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/datasets") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/datasets") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listByFactory( @@ -75,8 +74,7 @@ Mono> listByFactory( @Headers({"Content-Type: application/json"}) @Put( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/datasets/{datasetName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/datasets/{datasetName}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> createOrUpdate( @@ -93,8 +91,7 @@ Mono> createOrUpdate( @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/datasets/{datasetName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/datasets/{datasetName}") @ExpectedResponses({200, 304}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> get( @@ -110,8 +107,7 @@ Mono> get( @Headers({"Content-Type: application/json"}) @Delete( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/datasets/{datasetName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/datasets/{datasetName}") @ExpectedResponses({200, 204}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> delete( diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/ExposureControlsClientImpl.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/ExposureControlsClientImpl.java index 3517c04e53cf9..e9ba199edb5e0 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/ExposureControlsClientImpl.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/ExposureControlsClientImpl.java @@ -70,8 +70,7 @@ Mono> getFeatureValue( @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/getFeatureValue") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/getFeatureValue") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> getFeatureValueByFactory( @@ -86,8 +85,7 @@ Mono> getFeatureValueByFactory( @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/queryFeaturesValue") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryFeaturesValue") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> queryFeatureValuesByFactory( diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/FactoriesClientImpl.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/FactoriesClientImpl.java index 4ee52904c94f6..370b6d4346614 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/FactoriesClientImpl.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/FactoriesClientImpl.java @@ -80,8 +80,7 @@ Mono> list( @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/providers/Microsoft.DataFactory/locations/{locationId}" - + "/configureFactoryRepo") + "/subscriptions/{subscriptionId}/providers/Microsoft.DataFactory/locations/{locationId}/configureFactoryRepo") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> configureFactoryRepo( @@ -95,8 +94,7 @@ Mono> configureFactoryRepo( @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listByResourceGroup( @@ -109,8 +107,7 @@ Mono> listByResourceGroup( @Headers({"Content-Type: application/json"}) @Put( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> createOrUpdate( @@ -126,8 +123,7 @@ Mono> createOrUpdate( @Headers({"Content-Type: application/json"}) @Patch( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> update( @@ -142,8 +138,7 @@ Mono> update( @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}") @ExpectedResponses({200, 304}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> getByResourceGroup( @@ -158,8 +153,7 @@ Mono> getByResourceGroup( @Headers({"Content-Type: application/json"}) @Delete( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}") @ExpectedResponses({200, 204}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> delete( @@ -173,8 +167,7 @@ Mono> delete( @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/getGitHubAccessToken") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/getGitHubAccessToken") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> getGitHubAccessToken( @@ -189,8 +182,7 @@ Mono> getGitHubAccessToken( @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/getDataPlaneAccess") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/getDataPlaneAccess") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> getDataPlaneAccess( diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/GlobalParametersClientImpl.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/GlobalParametersClientImpl.java index da4ec73e4f8e0..648498dfc6791 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/GlobalParametersClientImpl.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/GlobalParametersClientImpl.java @@ -61,8 +61,7 @@ public final class GlobalParametersClientImpl implements GlobalParametersClient public interface GlobalParametersService { @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/globalParameters") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/globalParameters") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listByFactory( @@ -76,8 +75,7 @@ Mono> listByFactory( @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/globalParameters/{globalParameterName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/globalParameters/{globalParameterName}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> get( @@ -92,8 +90,7 @@ Mono> get( @Headers({"Content-Type: application/json"}) @Put( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/globalParameters/{globalParameterName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/globalParameters/{globalParameterName}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> createOrUpdate( @@ -109,8 +106,7 @@ Mono> createOrUpdate( @Headers({"Content-Type: application/json"}) @Delete( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/globalParameters/{globalParameterName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/globalParameters/{globalParameterName}") @ExpectedResponses({200, 204}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> delete( diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/IntegrationRuntimeNodesClientImpl.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/IntegrationRuntimeNodesClientImpl.java index ca0e791422477..b108ff26379cc 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/IntegrationRuntimeNodesClientImpl.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/IntegrationRuntimeNodesClientImpl.java @@ -60,8 +60,7 @@ public final class IntegrationRuntimeNodesClientImpl implements IntegrationRunti public interface IntegrationRuntimeNodesService { @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/nodes/{nodeName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/nodes/{nodeName}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> get( @@ -77,8 +76,7 @@ Mono> get( @Headers({"Content-Type: application/json"}) @Delete( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/nodes/{nodeName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/nodes/{nodeName}") @ExpectedResponses({200, 204}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> delete( @@ -94,8 +92,7 @@ Mono> delete( @Headers({"Content-Type: application/json"}) @Patch( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/nodes/{nodeName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/nodes/{nodeName}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> update( @@ -112,8 +109,7 @@ Mono> update( @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/nodes/{nodeName}/ipAddress") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/nodes/{nodeName}/ipAddress") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> getIpAddress( diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/IntegrationRuntimeObjectMetadatasClientImpl.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/IntegrationRuntimeObjectMetadatasClientImpl.java index 7258cf33556af..6133aa8f0a3db 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/IntegrationRuntimeObjectMetadatasClientImpl.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/IntegrationRuntimeObjectMetadatasClientImpl.java @@ -67,8 +67,7 @@ public final class IntegrationRuntimeObjectMetadatasClientImpl implements Integr public interface IntegrationRuntimeObjectMetadatasService { @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/refreshObjectMetadata") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/refreshObjectMetadata") @ExpectedResponses({200, 202}) @UnexpectedResponseExceptionType(ManagementException.class) Mono>> refresh( @@ -83,8 +82,7 @@ Mono>> refresh( @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getObjectMetadata") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getObjectMetadata") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> get( diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/IntegrationRuntimesClientImpl.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/IntegrationRuntimesClientImpl.java index a84cb6976f4a0..06ee9c6acd5e8 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/IntegrationRuntimesClientImpl.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/IntegrationRuntimesClientImpl.java @@ -77,8 +77,7 @@ public final class IntegrationRuntimesClientImpl implements IntegrationRuntimesC public interface IntegrationRuntimesService { @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/integrationRuntimes") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listByFactory( @@ -92,8 +91,7 @@ Mono> listByFactory( @Headers({"Content-Type: application/json"}) @Put( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> createOrUpdate( @@ -110,8 +108,7 @@ Mono> createOrUpdate( @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}") @ExpectedResponses({200, 304}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> get( @@ -127,8 +124,7 @@ Mono> get( @Headers({"Content-Type: application/json"}) @Patch( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> update( @@ -144,8 +140,7 @@ Mono> update( @Headers({"Content-Type: application/json"}) @Delete( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}") @ExpectedResponses({200, 204}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> delete( @@ -160,8 +155,7 @@ Mono> delete( @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getStatus") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getStatus") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> getStatus( @@ -176,9 +170,7 @@ Mono> getStatus( @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}" - + "/outboundNetworkDependenciesEndpoints") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/outboundNetworkDependenciesEndpoints") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> @@ -194,8 +186,7 @@ Mono> getStatus( @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getConnectionInfo") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getConnectionInfo") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> getConnectionInfo( @@ -210,8 +201,7 @@ Mono> getConnectionInfo( @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/regenerateAuthKey") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/regenerateAuthKey") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> regenerateAuthKey( @@ -227,8 +217,7 @@ Mono> regenerateAuthKey( @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/listAuthKeys") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/listAuthKeys") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listAuthKeys( @@ -243,8 +232,7 @@ Mono> listAuthKeys( @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/start") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/start") @ExpectedResponses({200, 202}) @UnexpectedResponseExceptionType(ManagementException.class) Mono>> start( @@ -259,8 +247,7 @@ Mono>> start( @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/stop") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/stop") @ExpectedResponses({200, 202}) @UnexpectedResponseExceptionType(ManagementException.class) Mono>> stop( @@ -275,8 +262,7 @@ Mono>> stop( @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/syncCredentials") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/syncCredentials") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> syncCredentials( @@ -291,8 +277,7 @@ Mono> syncCredentials( @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/monitoringData") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/monitoringData") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> getMonitoringData( @@ -307,8 +292,7 @@ Mono> getMonitoringData( @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/upgrade") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/upgrade") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> upgrade( @@ -323,8 +307,7 @@ Mono> upgrade( @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/removeLinks") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/removeLinks") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> removeLinks( @@ -340,8 +323,7 @@ Mono> removeLinks( @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/linkedIntegrationRuntime") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/linkedIntegrationRuntime") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> createLinkedIntegrationRuntime( diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/LinkedServicesClientImpl.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/LinkedServicesClientImpl.java index 1857becf276de..4e5a63403b27b 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/LinkedServicesClientImpl.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/LinkedServicesClientImpl.java @@ -61,8 +61,7 @@ public final class LinkedServicesClientImpl implements LinkedServicesClient { public interface LinkedServicesService { @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/linkedservices") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/linkedservices") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listByFactory( @@ -76,8 +75,7 @@ Mono> listByFactory( @Headers({"Content-Type: application/json"}) @Put( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/linkedservices/{linkedServiceName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/linkedservices/{linkedServiceName}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> createOrUpdate( @@ -94,8 +92,7 @@ Mono> createOrUpdate( @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/linkedservices/{linkedServiceName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/linkedservices/{linkedServiceName}") @ExpectedResponses({200, 304}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> get( @@ -111,8 +108,7 @@ Mono> get( @Headers({"Content-Type: application/json"}) @Delete( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/linkedservices/{linkedServiceName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/linkedservices/{linkedServiceName}") @ExpectedResponses({200, 204}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> delete( diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/ManagedPrivateEndpointsClientImpl.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/ManagedPrivateEndpointsClientImpl.java index dfea03654002a..ba9877fbd3e74 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/ManagedPrivateEndpointsClientImpl.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/ManagedPrivateEndpointsClientImpl.java @@ -62,8 +62,7 @@ public final class ManagedPrivateEndpointsClientImpl implements ManagedPrivateEn public interface ManagedPrivateEndpointsService { @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listByFactory( @@ -78,9 +77,7 @@ Mono> listByFactory( @Headers({"Content-Type: application/json"}) @Put( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints" - + "/{managedPrivateEndpointName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints/{managedPrivateEndpointName}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> createOrUpdate( @@ -98,9 +95,7 @@ Mono> createOrUpdate( @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints" - + "/{managedPrivateEndpointName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints/{managedPrivateEndpointName}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> get( @@ -117,9 +112,7 @@ Mono> get( @Headers({"Content-Type: application/json"}) @Delete( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints" - + "/{managedPrivateEndpointName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints/{managedPrivateEndpointName}") @ExpectedResponses({200, 204}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> delete( diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/ManagedVirtualNetworksClientImpl.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/ManagedVirtualNetworksClientImpl.java index a146685d2c108..6074976ec7a06 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/ManagedVirtualNetworksClientImpl.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/ManagedVirtualNetworksClientImpl.java @@ -61,8 +61,7 @@ public final class ManagedVirtualNetworksClientImpl implements ManagedVirtualNet public interface ManagedVirtualNetworksService { @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/managedVirtualNetworks") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listByFactory( @@ -76,8 +75,7 @@ Mono> listByFactory( @Headers({"Content-Type: application/json"}) @Put( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> createOrUpdate( @@ -94,8 +92,7 @@ Mono> createOrUpdate( @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> get( diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/PipelineRunsClientImpl.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/PipelineRunsClientImpl.java index 9ab7da9137b71..a398a5aa3ea43 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/PipelineRunsClientImpl.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/PipelineRunsClientImpl.java @@ -57,8 +57,7 @@ public final class PipelineRunsClientImpl implements PipelineRunsClient { public interface PipelineRunsService { @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/queryPipelineRuns") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryPipelineRuns") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> queryByFactory( @@ -73,8 +72,7 @@ Mono> queryByFactory( @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/pipelineruns/{runId}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelineruns/{runId}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> get( @@ -89,8 +87,7 @@ Mono> get( @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/pipelineruns/{runId}/cancel") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelineruns/{runId}/cancel") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> cancel( diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/PipelinesClientImpl.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/PipelinesClientImpl.java index 69ee14b74c28f..f712230c2b964 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/PipelinesClientImpl.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/PipelinesClientImpl.java @@ -64,8 +64,7 @@ public final class PipelinesClientImpl implements PipelinesClient { public interface PipelinesService { @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/pipelines") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listByFactory( @@ -79,8 +78,7 @@ Mono> listByFactory( @Headers({"Content-Type: application/json"}) @Put( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/pipelines/{pipelineName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> createOrUpdate( @@ -97,8 +95,7 @@ Mono> createOrUpdate( @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/pipelines/{pipelineName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}") @ExpectedResponses({200, 304}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> get( @@ -114,8 +111,7 @@ Mono> get( @Headers({"Content-Type: application/json"}) @Delete( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/pipelines/{pipelineName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}") @ExpectedResponses({200, 204}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> delete( @@ -130,8 +126,7 @@ Mono> delete( @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/pipelines/{pipelineName}/createRun") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}/createRun") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> createRun( diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/PrivateEndPointConnectionsClientImpl.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/PrivateEndPointConnectionsClientImpl.java index b3bd1668f0841..45198706d842d 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/PrivateEndPointConnectionsClientImpl.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/PrivateEndPointConnectionsClientImpl.java @@ -60,8 +60,7 @@ public final class PrivateEndPointConnectionsClientImpl implements PrivateEndPoi public interface PrivateEndPointConnectionsService { @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/privateEndPointConnections") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/privateEndPointConnections") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listByFactory( diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/PrivateEndpointConnectionOperationsClientImpl.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/PrivateEndpointConnectionOperationsClientImpl.java index 6d0d098cba818..8b78e880952a3 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/PrivateEndpointConnectionOperationsClientImpl.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/PrivateEndpointConnectionOperationsClientImpl.java @@ -63,8 +63,7 @@ public final class PrivateEndpointConnectionOperationsClientImpl implements Priv public interface PrivateEndpointConnectionOperationsService { @Headers({"Content-Type: application/json"}) @Put( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/privateEndpointConnections/{privateEndpointConnectionName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/privateEndpointConnections/{privateEndpointConnectionName}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> createOrUpdate( @@ -81,8 +80,7 @@ Mono> createOrUpdate( @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/privateEndpointConnections/{privateEndpointConnectionName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/privateEndpointConnections/{privateEndpointConnectionName}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> get( @@ -98,8 +96,7 @@ Mono> get( @Headers({"Content-Type: application/json"}) @Delete( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/privateEndpointConnections/{privateEndpointConnectionName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/privateEndpointConnections/{privateEndpointConnectionName}") @ExpectedResponses({200, 204}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> delete( diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/PrivateLinkResourcesClientImpl.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/PrivateLinkResourcesClientImpl.java index e19bb60c2612a..a5b5c13ae3b1a 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/PrivateLinkResourcesClientImpl.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/PrivateLinkResourcesClientImpl.java @@ -54,8 +54,7 @@ public final class PrivateLinkResourcesClientImpl implements PrivateLinkResource public interface PrivateLinkResourcesService { @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/privateLinkResources") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/privateLinkResources") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> get( diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/TriggerRunsClientImpl.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/TriggerRunsClientImpl.java index 54c0f60d32b20..6784bf269079a 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/TriggerRunsClientImpl.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/TriggerRunsClientImpl.java @@ -55,8 +55,7 @@ public final class TriggerRunsClientImpl implements TriggerRunsClient { public interface TriggerRunsService { @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/triggers/{triggerName}/triggerRuns/{runId}/rerun") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/triggerRuns/{runId}/rerun") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> rerun( @@ -72,8 +71,7 @@ Mono> rerun( @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/triggers/{triggerName}/triggerRuns/{runId}/cancel") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/triggerRuns/{runId}/cancel") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> cancel( @@ -89,8 +87,7 @@ Mono> cancel( @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/queryTriggerRuns") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryTriggerRuns") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> queryByFactory( diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/TriggersClientImpl.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/TriggersClientImpl.java index d0e9f2d2ed78c..d5fc6e439d286 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/TriggersClientImpl.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/implementation/TriggersClientImpl.java @@ -69,8 +69,7 @@ public final class TriggersClientImpl implements TriggersClient { public interface TriggersService { @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/triggers") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listByFactory( @@ -84,8 +83,7 @@ Mono> listByFactory( @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/querytriggers") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/querytriggers") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> queryByFactory( @@ -100,8 +98,7 @@ Mono> queryByFactory( @Headers({"Content-Type: application/json"}) @Put( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/triggers/{triggerName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> createOrUpdate( @@ -118,8 +115,7 @@ Mono> createOrUpdate( @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/triggers/{triggerName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}") @ExpectedResponses({200, 304}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> get( @@ -135,8 +131,7 @@ Mono> get( @Headers({"Content-Type: application/json"}) @Delete( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/triggers/{triggerName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}") @ExpectedResponses({200, 204}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> delete( @@ -151,8 +146,7 @@ Mono> delete( @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/triggers/{triggerName}/subscribeToEvents") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/subscribeToEvents") @ExpectedResponses({200, 202}) @UnexpectedResponseExceptionType(ManagementException.class) Mono>> subscribeToEvents( @@ -167,8 +161,7 @@ Mono>> subscribeToEvents( @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/triggers/{triggerName}/getEventSubscriptionStatus") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/getEventSubscriptionStatus") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> getEventSubscriptionStatus( @@ -183,8 +176,7 @@ Mono> getEventSubscriptionStat @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/triggers/{triggerName}/unsubscribeFromEvents") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/unsubscribeFromEvents") @ExpectedResponses({200, 202}) @UnexpectedResponseExceptionType(ManagementException.class) Mono>> unsubscribeFromEvents( @@ -199,8 +191,7 @@ Mono>> unsubscribeFromEvents( @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/triggers/{triggerName}/start") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/start") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono>> start( @@ -215,8 +206,7 @@ Mono>> start( @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory" - + "/factories/{factoryName}/triggers/{triggerName}/stop") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/stop") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono>> stop( diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/Activity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/Activity.java index 51f6639309052..9c25b97471340 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/Activity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/Activity.java @@ -43,6 +43,19 @@ public class Activity { @JsonProperty(value = "description") private String description; + /* + * Activity state. This is an optional property and if not provided, the state will be Active by default. + */ + @JsonProperty(value = "state") + private ActivityState state; + + /* + * Status result of the activity when the state is set to Inactive. This is an optional property and if not + * provided when the activity is inactive, the status will be Succeeded by default. + */ + @JsonProperty(value = "onInactiveMarkAs") + private ActivityOnInactiveMarkAs onInactiveMarkAs; + /* * Activity depends on condition. */ @@ -104,6 +117,50 @@ public Activity withDescription(String description) { return this; } + /** + * Get the state property: Activity state. This is an optional property and if not provided, the state will be + * Active by default. + * + * @return the state value. + */ + public ActivityState state() { + return this.state; + } + + /** + * Set the state property: Activity state. This is an optional property and if not provided, the state will be + * Active by default. + * + * @param state the state value to set. + * @return the Activity object itself. + */ + public Activity withState(ActivityState state) { + this.state = state; + return this; + } + + /** + * Get the onInactiveMarkAs property: Status result of the activity when the state is set to Inactive. This is an + * optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + * + * @return the onInactiveMarkAs value. + */ + public ActivityOnInactiveMarkAs onInactiveMarkAs() { + return this.onInactiveMarkAs; + } + + /** + * Set the onInactiveMarkAs property: Status result of the activity when the state is set to Inactive. This is an + * optional property and if not provided when the activity is inactive, the status will be Succeeded by default. + * + * @param onInactiveMarkAs the onInactiveMarkAs value to set. + * @return the Activity object itself. + */ + public Activity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + this.onInactiveMarkAs = onInactiveMarkAs; + return this; + } + /** * Get the dependsOn property: Activity depends on condition. * diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ActivityOnInactiveMarkAs.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ActivityOnInactiveMarkAs.java new file mode 100644 index 0000000000000..9de5d43d06970 --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ActivityOnInactiveMarkAs.java @@ -0,0 +1,53 @@ +// 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; + +/** + * Status result of the activity when the state is set to Inactive. This is an optional property and if not provided + * when the activity is inactive, the status will be Succeeded by default. + */ +public final class ActivityOnInactiveMarkAs extends ExpandableStringEnum { + /** Static value Succeeded for ActivityOnInactiveMarkAs. */ + public static final ActivityOnInactiveMarkAs SUCCEEDED = fromString("Succeeded"); + + /** Static value Failed for ActivityOnInactiveMarkAs. */ + public static final ActivityOnInactiveMarkAs FAILED = fromString("Failed"); + + /** Static value Skipped for ActivityOnInactiveMarkAs. */ + public static final ActivityOnInactiveMarkAs SKIPPED = fromString("Skipped"); + + /** + * Creates a new instance of ActivityOnInactiveMarkAs value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public ActivityOnInactiveMarkAs() { + } + + /** + * Creates or finds a ActivityOnInactiveMarkAs from its string representation. + * + * @param name a name to look for. + * @return the corresponding ActivityOnInactiveMarkAs. + */ + @JsonCreator + public static ActivityOnInactiveMarkAs fromString(String name) { + return fromString(name, ActivityOnInactiveMarkAs.class); + } + + /** + * Gets known ActivityOnInactiveMarkAs values. + * + * @return known ActivityOnInactiveMarkAs values. + */ + public static Collection values() { + return values(ActivityOnInactiveMarkAs.class); + } +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ActivityState.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ActivityState.java new file mode 100644 index 0000000000000..c943c9e277646 --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ActivityState.java @@ -0,0 +1,47 @@ +// 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; + +/** Activity state. This is an optional property and if not provided, the state will be Active by default. */ +public final class ActivityState extends ExpandableStringEnum { + /** Static value Active for ActivityState. */ + public static final ActivityState ACTIVE = fromString("Active"); + + /** Static value Inactive for ActivityState. */ + public static final ActivityState INACTIVE = fromString("Inactive"); + + /** + * Creates a new instance of ActivityState value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public ActivityState() { + } + + /** + * Creates or finds a ActivityState from its string representation. + * + * @param name a name to look for. + * @return the corresponding ActivityState. + */ + @JsonCreator + public static ActivityState fromString(String name) { + return fromString(name, ActivityState.class); + } + + /** + * Gets known ActivityState values. + * + * @return known ActivityState values. + */ + public static Collection values() { + return values(ActivityState.class); + } +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AmazonMwsLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AmazonMwsLinkedService.java index 6a2087fe15369..0916a0f67753d 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AmazonMwsLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AmazonMwsLinkedService.java @@ -282,22 +282,22 @@ public AmazonMwsLinkedService withUsePeerVerification(Object usePeerVerification /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AmazonMwsLinkedService object itself. */ - public AmazonMwsLinkedService withEncryptedCredential(Object encryptedCredential) { + public AmazonMwsLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new AmazonMwsLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AmazonRdsForOracleLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AmazonRdsForOracleLinkedService.java index c783862acb04c..55a71c4ca88bd 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AmazonRdsForOracleLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AmazonRdsForOracleLinkedService.java @@ -115,22 +115,22 @@ public AmazonRdsForOracleLinkedService withPassword(SecretBase password) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AmazonRdsForOracleLinkedService object itself. */ - public AmazonRdsForOracleLinkedService withEncryptedCredential(Object encryptedCredential) { + public AmazonRdsForOracleLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new AmazonRdsForLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AmazonRdsForSqlServerLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AmazonRdsForSqlServerLinkedService.java index 6a61dd6ec4253..946a247c74d77 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AmazonRdsForSqlServerLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AmazonRdsForSqlServerLinkedService.java @@ -141,22 +141,22 @@ public AmazonRdsForSqlServerLinkedService withPassword(SecretBase password) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AmazonRdsForSqlServerLinkedService object itself. */ - public AmazonRdsForSqlServerLinkedService withEncryptedCredential(Object encryptedCredential) { + public AmazonRdsForSqlServerLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new AmazonRdsForSqlServerLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AmazonRdsForSqlServerSource.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AmazonRdsForSqlServerSource.java index 85691497948a8..3cba697bb0de3 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AmazonRdsForSqlServerSource.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AmazonRdsForSqlServerSource.java @@ -33,6 +33,14 @@ public final class AmazonRdsForSqlServerSource extends TabularSource { @JsonProperty(value = "storedProcedureParameters") private Object storedProcedureParameters; + /* + * Specifies the transaction locking behavior for the SQL source. Allowed values: + * ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: + * string (or Expression with resultType string). + */ + @JsonProperty(value = "isolationLevel") + private Object isolationLevel; + /* * Which additional types to produce. */ @@ -120,6 +128,30 @@ public AmazonRdsForSqlServerSource withStoredProcedureParameters(Object storedPr return this; } + /** + * Get the isolationLevel property: Specifies the transaction locking behavior for the SQL source. Allowed values: + * ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: + * string (or Expression with resultType string). + * + * @return the isolationLevel value. + */ + public Object isolationLevel() { + return this.isolationLevel; + } + + /** + * Set the isolationLevel property: Specifies the transaction locking behavior for the SQL source. Allowed values: + * ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: + * string (or Expression with resultType string). + * + * @param isolationLevel the isolationLevel value to set. + * @return the AmazonRdsForSqlServerSource object itself. + */ + public AmazonRdsForSqlServerSource withIsolationLevel(Object isolationLevel) { + this.isolationLevel = isolationLevel; + return this; + } + /** * Get the produceAdditionalTypes property: Which additional types to produce. * diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AmazonRedshiftLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AmazonRedshiftLinkedService.java index 160c9a104aebd..cdf28241e9e35 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AmazonRedshiftLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AmazonRedshiftLinkedService.java @@ -191,22 +191,22 @@ public AmazonRedshiftLinkedService withPort(Object port) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AmazonRedshiftLinkedService object itself. */ - public AmazonRedshiftLinkedService withEncryptedCredential(Object encryptedCredential) { + public AmazonRedshiftLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new AmazonRedshiftLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AmazonS3CompatibleLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AmazonS3CompatibleLinkedService.java index e654e644bb25c..0f4b57053734d 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AmazonS3CompatibleLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AmazonS3CompatibleLinkedService.java @@ -170,22 +170,22 @@ public AmazonS3CompatibleLinkedService withForcePathStyle(Object forcePathStyle) /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AmazonS3CompatibleLinkedService object itself. */ - public AmazonS3CompatibleLinkedService withEncryptedCredential(Object encryptedCredential) { + public AmazonS3CompatibleLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new AmazonS3CompatibleLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AmazonS3CompatibleReadSettings.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AmazonS3CompatibleReadSettings.java index d6e62778730ad..13428065a390b 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AmazonS3CompatibleReadSettings.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AmazonS3CompatibleReadSettings.java @@ -47,10 +47,10 @@ public final class AmazonS3CompatibleReadSettings extends StoreReadSettings { private Object fileListPath; /* - * Indicates whether to enable partition discovery. + * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). */ @JsonProperty(value = "enablePartitionDiscovery") - private Boolean enablePartitionDiscovery; + private Object enablePartitionDiscovery; /* * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType @@ -193,21 +193,23 @@ public AmazonS3CompatibleReadSettings withFileListPath(Object fileListPath) { } /** - * Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery. + * Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery. Type: boolean (or + * Expression with resultType boolean). * * @return the enablePartitionDiscovery value. */ - public Boolean enablePartitionDiscovery() { + public Object enablePartitionDiscovery() { return this.enablePartitionDiscovery; } /** - * Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery. + * Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery. Type: boolean (or + * Expression with resultType boolean). * * @param enablePartitionDiscovery the enablePartitionDiscovery value to set. * @return the AmazonS3CompatibleReadSettings object itself. */ - public AmazonS3CompatibleReadSettings withEnablePartitionDiscovery(Boolean enablePartitionDiscovery) { + public AmazonS3CompatibleReadSettings withEnablePartitionDiscovery(Object enablePartitionDiscovery) { this.enablePartitionDiscovery = enablePartitionDiscovery; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AmazonS3LinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AmazonS3LinkedService.java index 42eb1c432d67d..64f09b26e09e9 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AmazonS3LinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AmazonS3LinkedService.java @@ -192,22 +192,22 @@ public AmazonS3LinkedService withSessionToken(SecretBase sessionToken) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AmazonS3LinkedService object itself. */ - public AmazonS3LinkedService withEncryptedCredential(Object encryptedCredential) { + public AmazonS3LinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new AmazonS3LinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AmazonS3ReadSettings.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AmazonS3ReadSettings.java index 30e567498ad46..dc7d9ada8e6db 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AmazonS3ReadSettings.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AmazonS3ReadSettings.java @@ -47,10 +47,10 @@ public final class AmazonS3ReadSettings extends StoreReadSettings { private Object fileListPath; /* - * Indicates whether to enable partition discovery. + * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). */ @JsonProperty(value = "enablePartitionDiscovery") - private Boolean enablePartitionDiscovery; + private Object enablePartitionDiscovery; /* * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType @@ -193,21 +193,23 @@ public AmazonS3ReadSettings withFileListPath(Object fileListPath) { } /** - * Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery. + * Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery. Type: boolean (or + * Expression with resultType boolean). * * @return the enablePartitionDiscovery value. */ - public Boolean enablePartitionDiscovery() { + public Object enablePartitionDiscovery() { return this.enablePartitionDiscovery; } /** - * Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery. + * Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery. Type: boolean (or + * Expression with resultType boolean). * * @param enablePartitionDiscovery the enablePartitionDiscovery value to set. * @return the AmazonS3ReadSettings object itself. */ - public AmazonS3ReadSettings withEnablePartitionDiscovery(Boolean enablePartitionDiscovery) { + public AmazonS3ReadSettings withEnablePartitionDiscovery(Object enablePartitionDiscovery) { this.enablePartitionDiscovery = enablePartitionDiscovery; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AppFiguresLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AppFiguresLinkedService.java index 08165a88ba80a..86ff8ee2bfe0d 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AppFiguresLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AppFiguresLinkedService.java @@ -66,7 +66,8 @@ public AppFiguresLinkedService withAnnotations(List annotations) { } /** - * Get the username property: The username of the Appfigures source. + * Get the username property: The username of the Appfigures source. Type: string (or Expression with resultType + * string). * * @return the username value. */ @@ -75,7 +76,8 @@ public Object username() { } /** - * Set the username property: The username of the Appfigures source. + * Set the username property: The username of the Appfigures source. Type: string (or Expression with resultType + * string). * * @param username the username value to set. * @return the AppFiguresLinkedService object itself. diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AppendVariableActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AppendVariableActivity.java index 8b37755bf04ad..82893c1b37066 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AppendVariableActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AppendVariableActivity.java @@ -50,6 +50,20 @@ public AppendVariableActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public AppendVariableActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public AppendVariableActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public AppendVariableActivity withDependsOn(List dependsOn) { @@ -88,7 +102,8 @@ public AppendVariableActivity withVariableName(String variableName) { } /** - * Get the value property: Value to be appended. Could be a static value or Expression. + * Get the value property: Value to be appended. Type: could be a static value matching type of the variable item or + * Expression with resultType matching type of the variable item. * * @return the value value. */ @@ -97,7 +112,8 @@ public Object value() { } /** - * Set the value property: Value to be appended. Could be a static value or Expression. + * Set the value property: Value to be appended. Type: could be a static value matching type of the variable item or + * Expression with resultType matching type of the variable item. * * @param value the value value to set. * @return the AppendVariableActivity object itself. diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AsanaLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AsanaLinkedService.java index 086c287c20ead..658e0c5fc9dd5 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AsanaLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AsanaLinkedService.java @@ -90,22 +90,22 @@ public AsanaLinkedService withApiToken(SecretBase apiToken) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AsanaLinkedService object itself. */ - public AsanaLinkedService withEncryptedCredential(Object encryptedCredential) { + public AsanaLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new AsanaLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureBatchLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureBatchLinkedService.java index 6a490a34dca30..1f9dc3e3b4f64 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureBatchLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureBatchLinkedService.java @@ -182,22 +182,22 @@ public AzureBatchLinkedService withLinkedServiceName(LinkedServiceReference link /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzureBatchLinkedService object itself. */ - public AzureBatchLinkedService withEncryptedCredential(Object encryptedCredential) { + public AzureBatchLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new AzureBatchLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureBlobFSLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureBlobFSLinkedService.java index 6888052e42ec3..373fb7ea5f441 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureBlobFSLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureBlobFSLinkedService.java @@ -219,22 +219,22 @@ public AzureBlobFSLinkedService withAzureCloudType(Object azureCloudType) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzureBlobFSLinkedService object itself. */ - public AzureBlobFSLinkedService withEncryptedCredential(Object encryptedCredential) { + public AzureBlobFSLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new AzureBlobFSLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureBlobFSReadSettings.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureBlobFSReadSettings.java index cb28f7f1f76c4..2807210b4cf37 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureBlobFSReadSettings.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureBlobFSReadSettings.java @@ -41,10 +41,10 @@ public final class AzureBlobFSReadSettings extends StoreReadSettings { private Object fileListPath; /* - * Indicates whether to enable partition discovery. + * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). */ @JsonProperty(value = "enablePartitionDiscovery") - private Boolean enablePartitionDiscovery; + private Object enablePartitionDiscovery; /* * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType @@ -165,21 +165,23 @@ public AzureBlobFSReadSettings withFileListPath(Object fileListPath) { } /** - * Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery. + * Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery. Type: boolean (or + * Expression with resultType boolean). * * @return the enablePartitionDiscovery value. */ - public Boolean enablePartitionDiscovery() { + public Object enablePartitionDiscovery() { return this.enablePartitionDiscovery; } /** - * Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery. + * Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery. Type: boolean (or + * Expression with resultType boolean). * * @param enablePartitionDiscovery the enablePartitionDiscovery value to set. * @return the AzureBlobFSReadSettings object itself. */ - public AzureBlobFSReadSettings withEnablePartitionDiscovery(Boolean enablePartitionDiscovery) { + public AzureBlobFSReadSettings withEnablePartitionDiscovery(Object enablePartitionDiscovery) { this.enablePartitionDiscovery = enablePartitionDiscovery; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureBlobFSSink.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureBlobFSSink.java index 5fed7a14020db..48e04393332bb 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureBlobFSSink.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureBlobFSSink.java @@ -16,7 +16,7 @@ @Fluent public final class AzureBlobFSSink extends CopySink { /* - * The type of copy behavior for copy sink. + * The type of copy behavior for copy sink. Type: string (or Expression with resultType string). */ @JsonProperty(value = "copyBehavior") private Object copyBehavior; @@ -33,7 +33,8 @@ public AzureBlobFSSink() { } /** - * Get the copyBehavior property: The type of copy behavior for copy sink. + * Get the copyBehavior property: The type of copy behavior for copy sink. Type: string (or Expression with + * resultType string). * * @return the copyBehavior value. */ @@ -42,7 +43,8 @@ public Object copyBehavior() { } /** - * Set the copyBehavior property: The type of copy behavior for copy sink. + * Set the copyBehavior property: The type of copy behavior for copy sink. Type: string (or Expression with + * resultType string). * * @param copyBehavior the copyBehavior value to set. * @return the AzureBlobFSSink object itself. diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureBlobStorageLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureBlobStorageLinkedService.java index 1c11c9947859a..fad3e8b83a3bf 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureBlobStorageLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureBlobStorageLinkedService.java @@ -168,7 +168,7 @@ public AzureBlobStorageLinkedService withSasToken(AzureKeyVaultSecretReference s * * @return the serviceEndpoint value. */ - public String serviceEndpoint() { + public Object serviceEndpoint() { return this.innerTypeProperties() == null ? null : this.innerTypeProperties().serviceEndpoint(); } @@ -179,7 +179,7 @@ public String serviceEndpoint() { * @param serviceEndpoint the serviceEndpoint value to set. * @return the AzureBlobStorageLinkedService object itself. */ - public AzureBlobStorageLinkedService withServiceEndpoint(String serviceEndpoint) { + public AzureBlobStorageLinkedService withServiceEndpoint(Object serviceEndpoint) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new AzureBlobStorageLinkedServiceTypeProperties(); } @@ -296,7 +296,7 @@ public AzureBlobStorageLinkedService withAzureCloudType(Object azureCloudType) { * * @return the accountKind value. */ - public String accountKind() { + public Object accountKind() { return this.innerTypeProperties() == null ? null : this.innerTypeProperties().accountKind(); } @@ -308,7 +308,7 @@ public String accountKind() { * @param accountKind the accountKind value to set. * @return the AzureBlobStorageLinkedService object itself. */ - public AzureBlobStorageLinkedService withAccountKind(String accountKind) { + public AzureBlobStorageLinkedService withAccountKind(Object accountKind) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new AzureBlobStorageLinkedServiceTypeProperties(); } @@ -318,7 +318,7 @@ public AzureBlobStorageLinkedService withAccountKind(String accountKind) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ @@ -328,7 +328,7 @@ public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzureBlobStorageLinkedService object itself. diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureBlobStorageReadSettings.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureBlobStorageReadSettings.java index 1342f0bd876bf..3ef99ae6a0f1d 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureBlobStorageReadSettings.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureBlobStorageReadSettings.java @@ -47,10 +47,10 @@ public final class AzureBlobStorageReadSettings extends StoreReadSettings { private Object fileListPath; /* - * Indicates whether to enable partition discovery. + * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). */ @JsonProperty(value = "enablePartitionDiscovery") - private Boolean enablePartitionDiscovery; + private Object enablePartitionDiscovery; /* * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType @@ -193,21 +193,23 @@ public AzureBlobStorageReadSettings withFileListPath(Object fileListPath) { } /** - * Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery. + * Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery. Type: boolean (or + * Expression with resultType boolean). * * @return the enablePartitionDiscovery value. */ - public Boolean enablePartitionDiscovery() { + public Object enablePartitionDiscovery() { return this.enablePartitionDiscovery; } /** - * Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery. + * Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery. Type: boolean (or + * Expression with resultType boolean). * * @param enablePartitionDiscovery the enablePartitionDiscovery value to set. * @return the AzureBlobStorageReadSettings object itself. */ - public AzureBlobStorageReadSettings withEnablePartitionDiscovery(Boolean enablePartitionDiscovery) { + public AzureBlobStorageReadSettings withEnablePartitionDiscovery(Object enablePartitionDiscovery) { this.enablePartitionDiscovery = enablePartitionDiscovery; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDataExplorerCommandActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDataExplorerCommandActivity.java index e66b32af33fe4..5ed7a9e34ad79 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDataExplorerCommandActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDataExplorerCommandActivity.java @@ -65,6 +65,20 @@ public AzureDataExplorerCommandActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public AzureDataExplorerCommandActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public AzureDataExplorerCommandActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public AzureDataExplorerCommandActivity withDependsOn(List dependsOn) { diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDataLakeAnalyticsLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDataLakeAnalyticsLinkedService.java index 5c08ec732851b..3c63561d13b8f 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDataLakeAnalyticsLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDataLakeAnalyticsLinkedService.java @@ -243,22 +243,22 @@ public AzureDataLakeAnalyticsLinkedService withDataLakeAnalyticsUri(Object dataL /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzureDataLakeAnalyticsLinkedService object itself. */ - public AzureDataLakeAnalyticsLinkedService withEncryptedCredential(Object encryptedCredential) { + public AzureDataLakeAnalyticsLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new AzureDataLakeAnalyticsLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDataLakeStoreLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDataLakeStoreLinkedService.java index 87a0d07828fe1..e7f78d77827f4 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDataLakeStoreLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDataLakeStoreLinkedService.java @@ -268,22 +268,22 @@ public AzureDataLakeStoreLinkedService withResourceGroupName(Object resourceGrou /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzureDataLakeStoreLinkedService object itself. */ - public AzureDataLakeStoreLinkedService withEncryptedCredential(Object encryptedCredential) { + public AzureDataLakeStoreLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new AzureDataLakeStoreLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDataLakeStoreReadSettings.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDataLakeStoreReadSettings.java index e077d6e58edd7..7886ea5b52f92 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDataLakeStoreReadSettings.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDataLakeStoreReadSettings.java @@ -57,10 +57,10 @@ public final class AzureDataLakeStoreReadSettings extends StoreReadSettings { private Object listBefore; /* - * Indicates whether to enable partition discovery. + * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). */ @JsonProperty(value = "enablePartitionDiscovery") - private Boolean enablePartitionDiscovery; + private Object enablePartitionDiscovery; /* * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType @@ -227,21 +227,23 @@ public AzureDataLakeStoreReadSettings withListBefore(Object listBefore) { } /** - * Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery. + * Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery. Type: boolean (or + * Expression with resultType boolean). * * @return the enablePartitionDiscovery value. */ - public Boolean enablePartitionDiscovery() { + public Object enablePartitionDiscovery() { return this.enablePartitionDiscovery; } /** - * Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery. + * Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery. Type: boolean (or + * Expression with resultType boolean). * * @param enablePartitionDiscovery the enablePartitionDiscovery value to set. * @return the AzureDataLakeStoreReadSettings object itself. */ - public AzureDataLakeStoreReadSettings withEnablePartitionDiscovery(Boolean enablePartitionDiscovery) { + public AzureDataLakeStoreReadSettings withEnablePartitionDiscovery(Object enablePartitionDiscovery) { this.enablePartitionDiscovery = enablePartitionDiscovery; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDataLakeStoreSink.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDataLakeStoreSink.java index 79ae114a68570..261e78864b5e8 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDataLakeStoreSink.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDataLakeStoreSink.java @@ -15,7 +15,7 @@ @Fluent public final class AzureDataLakeStoreSink extends CopySink { /* - * The type of copy behavior for copy sink. + * The type of copy behavior for copy sink. Type: string (or Expression with resultType string). */ @JsonProperty(value = "copyBehavior") private Object copyBehavior; @@ -31,7 +31,8 @@ public AzureDataLakeStoreSink() { } /** - * Get the copyBehavior property: The type of copy behavior for copy sink. + * Get the copyBehavior property: The type of copy behavior for copy sink. Type: string (or Expression with + * resultType string). * * @return the copyBehavior value. */ @@ -40,7 +41,8 @@ public Object copyBehavior() { } /** - * Set the copyBehavior property: The type of copy behavior for copy sink. + * Set the copyBehavior property: The type of copy behavior for copy sink. Type: string (or Expression with + * resultType string). * * @param copyBehavior the copyBehavior value to set. * @return the AzureDataLakeStoreSink object itself. diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDataLakeStoreWriteSettings.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDataLakeStoreWriteSettings.java index 221a68357fc72..ff2f995048239 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDataLakeStoreWriteSettings.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDataLakeStoreWriteSettings.java @@ -16,7 +16,7 @@ public final class AzureDataLakeStoreWriteSettings extends StoreWriteSettings { /* * Specifies the expiry time of the written files. The time is applied to the UTC time zone in the format of - * "2018-12-01T05:00:00Z". Default value is NULL. Type: integer (or Expression with resultType integer). + * "2018-12-01T05:00:00Z". Default value is NULL. Type: string (or Expression with resultType string). */ @JsonProperty(value = "expiryDateTime") private Object expiryDateTime; @@ -27,8 +27,8 @@ public AzureDataLakeStoreWriteSettings() { /** * Get the expiryDateTime property: Specifies the expiry time of the written files. The time is applied to the UTC - * time zone in the format of "2018-12-01T05:00:00Z". Default value is NULL. Type: integer (or Expression with - * resultType integer). + * time zone in the format of "2018-12-01T05:00:00Z". Default value is NULL. Type: string (or Expression with + * resultType string). * * @return the expiryDateTime value. */ @@ -38,8 +38,8 @@ public Object expiryDateTime() { /** * Set the expiryDateTime property: Specifies the expiry time of the written files. The time is applied to the UTC - * time zone in the format of "2018-12-01T05:00:00Z". Default value is NULL. Type: integer (or Expression with - * resultType integer). + * time zone in the format of "2018-12-01T05:00:00Z". Default value is NULL. Type: string (or Expression with + * resultType string). * * @param expiryDateTime the expiryDateTime value to set. * @return the AzureDataLakeStoreWriteSettings object itself. diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDatabricksDeltaLakeLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDatabricksDeltaLakeLinkedService.java index 67bcaaba186cd..8201fc9812c13 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDatabricksDeltaLakeLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDatabricksDeltaLakeLinkedService.java @@ -145,22 +145,22 @@ public AzureDatabricksDeltaLakeLinkedService withClusterId(Object clusterId) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzureDatabricksDeltaLakeLinkedService object itself. */ - public AzureDatabricksDeltaLakeLinkedService withEncryptedCredential(Object encryptedCredential) { + public AzureDatabricksDeltaLakeLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new AzureDatabricksDetltaLakeLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDatabricksLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDatabricksLinkedService.java index e0299ddd90cec..b9f4e02a2a776 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDatabricksLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureDatabricksLinkedService.java @@ -480,22 +480,22 @@ public AzureDatabricksLinkedService withNewClusterEnableElasticDisk(Object newCl /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzureDatabricksLinkedService object itself. */ - public AzureDatabricksLinkedService withEncryptedCredential(Object encryptedCredential) { + public AzureDatabricksLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new AzureDatabricksLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureFileStorageLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureFileStorageLinkedService.java index 2f7661e118147..11fe68df9e350 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureFileStorageLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureFileStorageLinkedService.java @@ -283,22 +283,22 @@ public AzureFileStorageLinkedService withSnapshot(Object snapshot) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzureFileStorageLinkedService object itself. */ - public AzureFileStorageLinkedService withEncryptedCredential(Object encryptedCredential) { + public AzureFileStorageLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new AzureFileStorageLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureFileStorageReadSettings.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureFileStorageReadSettings.java index c56c0cf57e3f3..d8f674e7faa86 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureFileStorageReadSettings.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureFileStorageReadSettings.java @@ -48,10 +48,10 @@ public final class AzureFileStorageReadSettings extends StoreReadSettings { private Object fileListPath; /* - * Indicates whether to enable partition discovery. + * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). */ @JsonProperty(value = "enablePartitionDiscovery") - private Boolean enablePartitionDiscovery; + private Object enablePartitionDiscovery; /* * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType @@ -194,21 +194,23 @@ public AzureFileStorageReadSettings withFileListPath(Object fileListPath) { } /** - * Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery. + * Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery. Type: boolean (or + * Expression with resultType boolean). * * @return the enablePartitionDiscovery value. */ - public Boolean enablePartitionDiscovery() { + public Object enablePartitionDiscovery() { return this.enablePartitionDiscovery; } /** - * Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery. + * Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery. Type: boolean (or + * Expression with resultType boolean). * * @param enablePartitionDiscovery the enablePartitionDiscovery value to set. * @return the AzureFileStorageReadSettings object itself. */ - public AzureFileStorageReadSettings withEnablePartitionDiscovery(Boolean enablePartitionDiscovery) { + public AzureFileStorageReadSettings withEnablePartitionDiscovery(Object enablePartitionDiscovery) { this.enablePartitionDiscovery = enablePartitionDiscovery; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureFunctionActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureFunctionActivity.java index d2bd98cddb1cf..709e890f6b9f8 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureFunctionActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureFunctionActivity.java @@ -64,6 +64,20 @@ public AzureFunctionActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public AzureFunctionActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public AzureFunctionActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public AzureFunctionActivity withDependsOn(List dependsOn) { diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureFunctionLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureFunctionLinkedService.java index 77d79d3d3b4b5..9f5d4e6f569b2 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureFunctionLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureFunctionLinkedService.java @@ -116,22 +116,22 @@ public AzureFunctionLinkedService withFunctionKey(SecretBase functionKey) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzureFunctionLinkedService object itself. */ - public AzureFunctionLinkedService withEncryptedCredential(Object encryptedCredential) { + public AzureFunctionLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new AzureFunctionLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureMLBatchExecutionActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureMLBatchExecutionActivity.java index 3356c342efa2a..7ecd8252ba66a 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureMLBatchExecutionActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureMLBatchExecutionActivity.java @@ -66,6 +66,20 @@ public AzureMLBatchExecutionActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public AzureMLBatchExecutionActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public AzureMLBatchExecutionActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public AzureMLBatchExecutionActivity withDependsOn(List dependsOn) { diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureMLExecutePipelineActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureMLExecutePipelineActivity.java index ca477591ad06a..3d2ebf21b842f 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureMLExecutePipelineActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureMLExecutePipelineActivity.java @@ -65,6 +65,20 @@ public AzureMLExecutePipelineActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public AzureMLExecutePipelineActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public AzureMLExecutePipelineActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public AzureMLExecutePipelineActivity withDependsOn(List dependsOn) { diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureMLLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureMLLinkedService.java index 02fe1eeb4d89a..c467ed771459d 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureMLLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureMLLinkedService.java @@ -215,22 +215,22 @@ public AzureMLLinkedService withTenant(Object tenant) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzureMLLinkedService object itself. */ - public AzureMLLinkedService withEncryptedCredential(Object encryptedCredential) { + public AzureMLLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new AzureMLLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureMLServiceLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureMLServiceLinkedService.java index ffb58af5887d7..1c5c1cbb5dc16 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureMLServiceLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureMLServiceLinkedService.java @@ -141,6 +141,31 @@ public AzureMLServiceLinkedService withMlWorkspaceName(Object mlWorkspaceName) { return this; } + /** + * Get the authentication property: Type of authentication (Required to specify MSI) used to connect to AzureML. + * Type: string (or Expression with resultType string). + * + * @return the authentication value. + */ + public Object authentication() { + return this.innerTypeProperties() == null ? null : this.innerTypeProperties().authentication(); + } + + /** + * Set the authentication property: Type of authentication (Required to specify MSI) used to connect to AzureML. + * Type: string (or Expression with resultType string). + * + * @param authentication the authentication value to set. + * @return the AzureMLServiceLinkedService object itself. + */ + public AzureMLServiceLinkedService withAuthentication(Object authentication) { + if (this.innerTypeProperties() == null) { + this.innerTypeProperties = new AzureMLServiceLinkedServiceTypeProperties(); + } + this.innerTypeProperties().withAuthentication(authentication); + return this; + } + /** * Get the servicePrincipalId property: The ID of the service principal used to authenticate against the endpoint of * a published Azure ML Service pipeline. Type: string (or Expression with resultType string). @@ -218,22 +243,22 @@ public AzureMLServiceLinkedService withTenant(Object tenant) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzureMLServiceLinkedService object itself. */ - public AzureMLServiceLinkedService withEncryptedCredential(Object encryptedCredential) { + public AzureMLServiceLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new AzureMLServiceLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureMLUpdateResourceActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureMLUpdateResourceActivity.java index 1549b4c31086d..06a3fe68c0825 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureMLUpdateResourceActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureMLUpdateResourceActivity.java @@ -65,6 +65,20 @@ public AzureMLUpdateResourceActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public AzureMLUpdateResourceActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public AzureMLUpdateResourceActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public AzureMLUpdateResourceActivity withDependsOn(List dependsOn) { diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureMariaDBLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureMariaDBLinkedService.java index ca0e2e9315724..3ed3957a2dbe0 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureMariaDBLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureMariaDBLinkedService.java @@ -115,22 +115,22 @@ public AzureMariaDBLinkedService withPwd(AzureKeyVaultSecretReference pwd) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzureMariaDBLinkedService object itself. */ - public AzureMariaDBLinkedService withEncryptedCredential(Object encryptedCredential) { + public AzureMariaDBLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new AzureMariaDBLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureMySqlLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureMySqlLinkedService.java index 031ea72be1491..894c3fd3328e6 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureMySqlLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureMySqlLinkedService.java @@ -115,22 +115,22 @@ public AzureMySqlLinkedService withPassword(AzureKeyVaultSecretReference passwor /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzureMySqlLinkedService object itself. */ - public AzureMySqlLinkedService withEncryptedCredential(Object encryptedCredential) { + public AzureMySqlLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new AzureMySqlLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzurePostgreSqlLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzurePostgreSqlLinkedService.java index 19d88ce285698..91a8ec6676c55 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzurePostgreSqlLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzurePostgreSqlLinkedService.java @@ -116,22 +116,22 @@ public AzurePostgreSqlLinkedService withPassword(AzureKeyVaultSecretReference pa /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzurePostgreSqlLinkedService object itself. */ - public AzurePostgreSqlLinkedService withEncryptedCredential(Object encryptedCredential) { + public AzurePostgreSqlLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new AzurePostgreSqlLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureSearchLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureSearchLinkedService.java index d18c3497b2c79..af429ddc4c190 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureSearchLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureSearchLinkedService.java @@ -113,22 +113,22 @@ public AzureSearchLinkedService withKey(SecretBase key) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzureSearchLinkedService object itself. */ - public AzureSearchLinkedService withEncryptedCredential(Object encryptedCredential) { + public AzureSearchLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new AzureSearchLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureSqlDWLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureSqlDWLinkedService.java index c5b75a329daf0..dc839fc5f3386 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureSqlDWLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureSqlDWLinkedService.java @@ -217,22 +217,22 @@ public AzureSqlDWLinkedService withAzureCloudType(Object azureCloudType) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzureSqlDWLinkedService object itself. */ - public AzureSqlDWLinkedService withEncryptedCredential(Object encryptedCredential) { + public AzureSqlDWLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new AzureSqlDWLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureSqlDatabaseLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureSqlDatabaseLinkedService.java index 5e42e39f2b1f7..d8687397ff717 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureSqlDatabaseLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureSqlDatabaseLinkedService.java @@ -218,22 +218,22 @@ public AzureSqlDatabaseLinkedService withAzureCloudType(Object azureCloudType) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzureSqlDatabaseLinkedService object itself. */ - public AzureSqlDatabaseLinkedService withEncryptedCredential(Object encryptedCredential) { + public AzureSqlDatabaseLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new AzureSqlDatabaseLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureSqlMILinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureSqlMILinkedService.java index 368c018a39e69..a03a23f3b0eb0 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureSqlMILinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureSqlMILinkedService.java @@ -217,22 +217,22 @@ public AzureSqlMILinkedService withAzureCloudType(Object azureCloudType) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzureSqlMILinkedService object itself. */ - public AzureSqlMILinkedService withEncryptedCredential(Object encryptedCredential) { + public AzureSqlMILinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new AzureSqlMILinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureSqlSource.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureSqlSource.java index 36dd564bbcff1..cd1e072e4394b 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureSqlSource.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureSqlSource.java @@ -33,6 +33,14 @@ public final class AzureSqlSource extends TabularSource { @JsonProperty(value = "storedProcedureParameters") private Object storedProcedureParameters; + /* + * Specifies the transaction locking behavior for the SQL source. Allowed values: + * ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: + * string (or Expression with resultType string). + */ + @JsonProperty(value = "isolationLevel") + private Object isolationLevel; + /* * Which additional types to produce. */ @@ -120,6 +128,30 @@ public AzureSqlSource withStoredProcedureParameters(Object storedProcedureParame return this; } + /** + * Get the isolationLevel property: Specifies the transaction locking behavior for the SQL source. Allowed values: + * ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: + * string (or Expression with resultType string). + * + * @return the isolationLevel value. + */ + public Object isolationLevel() { + return this.isolationLevel; + } + + /** + * Set the isolationLevel property: Specifies the transaction locking behavior for the SQL source. Allowed values: + * ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: + * string (or Expression with resultType string). + * + * @param isolationLevel the isolationLevel value to set. + * @return the AzureSqlSource object itself. + */ + public AzureSqlSource withIsolationLevel(Object isolationLevel) { + this.isolationLevel = isolationLevel; + return this; + } + /** * Get the produceAdditionalTypes property: Which additional types to produce. * diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureStorageLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureStorageLinkedService.java index 4fedc99a8fdc5..64762633b0f4b 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureStorageLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureStorageLinkedService.java @@ -163,7 +163,7 @@ public AzureStorageLinkedService withSasToken(AzureKeyVaultSecretReference sasTo /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ @@ -173,7 +173,7 @@ public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzureStorageLinkedService object itself. diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureTableStorageLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureTableStorageLinkedService.java index 2e710399308aa..fe386d567f0c9 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureTableStorageLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/AzureTableStorageLinkedService.java @@ -163,7 +163,7 @@ public AzureTableStorageLinkedService withSasToken(AzureKeyVaultSecretReference /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ @@ -173,7 +173,7 @@ public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the AzureTableStorageLinkedService object itself. diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/CassandraLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/CassandraLinkedService.java index 7eca5914f903a..c0ac1bb113956 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/CassandraLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/CassandraLinkedService.java @@ -184,22 +184,22 @@ public CassandraLinkedService withPassword(SecretBase password) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the CassandraLinkedService object itself. */ - public CassandraLinkedService withEncryptedCredential(Object encryptedCredential) { + public CassandraLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new CassandraLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ChangeDataCaptureFolder.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ChangeDataCaptureFolder.java new file mode 100644 index 0000000000000..807ec01aa45f8 --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ChangeDataCaptureFolder.java @@ -0,0 +1,50 @@ +// 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; + +/** The folder that this CDC is in. If not specified, CDC will appear at the root level. */ +@Fluent +public final class ChangeDataCaptureFolder { + /* + * The name of the folder that this CDC is in. + */ + @JsonProperty(value = "name") + private String name; + + /** Creates an instance of ChangeDataCaptureFolder class. */ + public ChangeDataCaptureFolder() { + } + + /** + * Get the name property: The name of the folder that this CDC is in. + * + * @return the name value. + */ + public String name() { + return this.name; + } + + /** + * Set the name property: The name of the folder that this CDC is in. + * + * @param name the name value to set. + * @return the ChangeDataCaptureFolder object itself. + */ + public ChangeDataCaptureFolder withName(String name) { + this.name = name; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ChangeDataCaptureListResponse.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ChangeDataCaptureListResponse.java new file mode 100644 index 0000000000000..e55eb16d0a50e --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ChangeDataCaptureListResponse.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.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.util.logging.ClientLogger; +import com.azure.resourcemanager.datafactory.fluent.models.ChangeDataCaptureResourceInner; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** A list of change data capture resources. */ +@Fluent +public final class ChangeDataCaptureListResponse { + /* + * Lists all resources of type change data capture. + */ + @JsonProperty(value = "value", required = true) + private List value; + + /* + * The link to the next page of results, if any remaining results exist. + */ + @JsonProperty(value = "nextLink") + private String nextLink; + + /** Creates an instance of ChangeDataCaptureListResponse class. */ + public ChangeDataCaptureListResponse() { + } + + /** + * Get the value property: Lists all resources of type change data capture. + * + * @return the value value. + */ + public List value() { + return this.value; + } + + /** + * Set the value property: Lists all resources of type change data capture. + * + * @param value the value value to set. + * @return the ChangeDataCaptureListResponse object itself. + */ + public ChangeDataCaptureListResponse withValue(List value) { + this.value = value; + return this; + } + + /** + * Get the nextLink property: The link to the next page of results, if any remaining results exist. + * + * @return the nextLink value. + */ + public String nextLink() { + return this.nextLink; + } + + /** + * Set the nextLink property: The link to the next page of results, if any remaining results exist. + * + * @param nextLink the nextLink value to set. + * @return the ChangeDataCaptureListResponse object itself. + */ + public ChangeDataCaptureListResponse withNextLink(String nextLink) { + this.nextLink = nextLink; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (value() == null) { + throw LOGGER + .logExceptionAsError( + new IllegalArgumentException( + "Missing required property value in model ChangeDataCaptureListResponse")); + } else { + value().forEach(e -> e.validate()); + } + } + + private static final ClientLogger LOGGER = new ClientLogger(ChangeDataCaptureListResponse.class); +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ChangeDataCaptureResource.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ChangeDataCaptureResource.java new file mode 100644 index 0000000000000..79c923c5549bc --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ChangeDataCaptureResource.java @@ -0,0 +1,446 @@ +// 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.http.rest.Response; +import com.azure.core.util.Context; +import com.azure.resourcemanager.datafactory.fluent.models.ChangeDataCaptureResourceInner; +import java.util.List; +import java.util.Map; + +/** An immutable client-side representation of ChangeDataCaptureResource. */ +public interface ChangeDataCaptureResource { + /** + * Gets the id property: Fully qualified resource Id for the resource. + * + * @return the id value. + */ + String id(); + + /** + * Gets the name property: The resource name. + * + * @return the name value. + */ + String name(); + + /** + * Gets the type property: The resource type. + * + * @return the type value. + */ + String type(); + + /** + * Gets the etag property: Etag identifies change in the resource. + * + * @return the etag value. + */ + String etag(); + + /** + * Gets the additionalProperties property: Change data capture resource type. + * + * @return the additionalProperties value. + */ + Map additionalProperties(); + + /** + * Gets the folder property: The folder that this CDC is in. If not specified, CDC will appear at the root level. + * + * @return the folder value. + */ + ChangeDataCaptureFolder folder(); + + /** + * Gets the description property: The description of the change data capture. + * + * @return the description value. + */ + String description(); + + /** + * Gets the sourceConnectionsInfo property: List of sources connections that can be used as sources in the CDC. + * + * @return the sourceConnectionsInfo value. + */ + List sourceConnectionsInfo(); + + /** + * Gets the targetConnectionsInfo property: List of target connections that can be used as sources in the CDC. + * + * @return the targetConnectionsInfo value. + */ + List targetConnectionsInfo(); + + /** + * Gets the policy property: CDC policy. + * + * @return the policy value. + */ + MapperPolicy policy(); + + /** + * Gets the allowVNetOverride property: A boolean to determine if the vnet configuration needs to be overwritten. + * + * @return the allowVNetOverride value. + */ + Boolean allowVNetOverride(); + + /** + * Gets the status property: Status of the CDC as to if it is running or stopped. + * + * @return the status value. + */ + String status(); + + /** + * Gets the name of the resource group. + * + * @return the name of the resource group. + */ + String resourceGroupName(); + + /** + * Gets the inner com.azure.resourcemanager.datafactory.fluent.models.ChangeDataCaptureResourceInner object. + * + * @return the inner object. + */ + ChangeDataCaptureResourceInner innerModel(); + + /** The entirety of the ChangeDataCaptureResource definition. */ + interface Definition + extends DefinitionStages.Blank, + DefinitionStages.WithParentResource, + DefinitionStages.WithSourceConnectionsInfo, + DefinitionStages.WithTargetConnectionsInfo, + DefinitionStages.WithPolicy, + DefinitionStages.WithCreate { + } + /** The ChangeDataCaptureResource definition stages. */ + interface DefinitionStages { + /** The first stage of the ChangeDataCaptureResource definition. */ + interface Blank extends WithParentResource { + } + /** The stage of the ChangeDataCaptureResource definition allowing to specify parent resource. */ + interface WithParentResource { + /** + * Specifies resourceGroupName, factoryName. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @return the next definition stage. + */ + WithSourceConnectionsInfo withExistingFactory(String resourceGroupName, String factoryName); + } + /** The stage of the ChangeDataCaptureResource definition allowing to specify sourceConnectionsInfo. */ + interface WithSourceConnectionsInfo { + /** + * Specifies the sourceConnectionsInfo property: List of sources connections that can be used as sources in + * the CDC.. + * + * @param sourceConnectionsInfo List of sources connections that can be used as sources in the CDC. + * @return the next definition stage. + */ + WithTargetConnectionsInfo withSourceConnectionsInfo( + List sourceConnectionsInfo); + } + /** The stage of the ChangeDataCaptureResource definition allowing to specify targetConnectionsInfo. */ + interface WithTargetConnectionsInfo { + /** + * Specifies the targetConnectionsInfo property: List of target connections that can be used as sources in + * the CDC.. + * + * @param targetConnectionsInfo List of target connections that can be used as sources in the CDC. + * @return the next definition stage. + */ + WithPolicy withTargetConnectionsInfo(List targetConnectionsInfo); + } + /** The stage of the ChangeDataCaptureResource definition allowing to specify policy. */ + interface WithPolicy { + /** + * Specifies the policy property: CDC policy. + * + * @param policy CDC policy. + * @return the next definition stage. + */ + WithCreate withPolicy(MapperPolicy policy); + } + /** + * The stage of the ChangeDataCaptureResource definition which contains all the minimum required properties for + * the resource to be created, but also allows for any other optional properties to be specified. + */ + interface WithCreate + extends DefinitionStages.WithAdditionalProperties, + DefinitionStages.WithFolder, + DefinitionStages.WithDescription, + DefinitionStages.WithAllowVNetOverride, + DefinitionStages.WithStatus, + DefinitionStages.WithIfMatch { + /** + * Executes the create request. + * + * @return the created resource. + */ + ChangeDataCaptureResource create(); + + /** + * Executes the create request. + * + * @param context The context to associate with this operation. + * @return the created resource. + */ + ChangeDataCaptureResource create(Context context); + } + /** The stage of the ChangeDataCaptureResource definition allowing to specify additionalProperties. */ + interface WithAdditionalProperties { + /** + * Specifies the additionalProperties property: Change data capture resource type.. + * + * @param additionalProperties Change data capture resource type. + * @return the next definition stage. + */ + WithCreate withAdditionalProperties(Map additionalProperties); + } + /** The stage of the ChangeDataCaptureResource definition allowing to specify folder. */ + interface WithFolder { + /** + * Specifies the folder property: The folder that this CDC is in. If not specified, CDC will appear at the + * root level.. + * + * @param folder The folder that this CDC is in. If not specified, CDC will appear at the root level. + * @return the next definition stage. + */ + WithCreate withFolder(ChangeDataCaptureFolder folder); + } + /** The stage of the ChangeDataCaptureResource definition allowing to specify description. */ + interface WithDescription { + /** + * Specifies the description property: The description of the change data capture.. + * + * @param description The description of the change data capture. + * @return the next definition stage. + */ + WithCreate withDescription(String description); + } + /** The stage of the ChangeDataCaptureResource definition allowing to specify allowVNetOverride. */ + interface WithAllowVNetOverride { + /** + * Specifies the allowVNetOverride property: A boolean to determine if the vnet configuration needs to be + * overwritten.. + * + * @param allowVNetOverride A boolean to determine if the vnet configuration needs to be overwritten. + * @return the next definition stage. + */ + WithCreate withAllowVNetOverride(Boolean allowVNetOverride); + } + /** The stage of the ChangeDataCaptureResource definition allowing to specify status. */ + interface WithStatus { + /** + * Specifies the status property: Status of the CDC as to if it is running or stopped.. + * + * @param status Status of the CDC as to if it is running or stopped. + * @return the next definition stage. + */ + WithCreate withStatus(String status); + } + /** The stage of the ChangeDataCaptureResource definition allowing to specify ifMatch. */ + interface WithIfMatch { + /** + * Specifies the ifMatch property: ETag of the change data capture entity. Should only be specified for + * update, for which it should match existing entity or can be * for unconditional update.. + * + * @param ifMatch ETag of the change data capture entity. Should only be specified for update, for which it + * should match existing entity or can be * for unconditional update. + * @return the next definition stage. + */ + WithCreate withIfMatch(String ifMatch); + } + } + /** + * Begins update for the ChangeDataCaptureResource resource. + * + * @return the stage of resource update. + */ + ChangeDataCaptureResource.Update update(); + + /** The template for ChangeDataCaptureResource update. */ + interface Update + extends UpdateStages.WithAdditionalProperties, + UpdateStages.WithFolder, + UpdateStages.WithDescription, + UpdateStages.WithSourceConnectionsInfo, + UpdateStages.WithTargetConnectionsInfo, + UpdateStages.WithPolicy, + UpdateStages.WithAllowVNetOverride, + UpdateStages.WithStatus, + UpdateStages.WithIfMatch { + /** + * Executes the update request. + * + * @return the updated resource. + */ + ChangeDataCaptureResource apply(); + + /** + * Executes the update request. + * + * @param context The context to associate with this operation. + * @return the updated resource. + */ + ChangeDataCaptureResource apply(Context context); + } + /** The ChangeDataCaptureResource update stages. */ + interface UpdateStages { + /** The stage of the ChangeDataCaptureResource update allowing to specify additionalProperties. */ + interface WithAdditionalProperties { + /** + * Specifies the additionalProperties property: Change data capture resource type.. + * + * @param additionalProperties Change data capture resource type. + * @return the next definition stage. + */ + Update withAdditionalProperties(Map additionalProperties); + } + /** The stage of the ChangeDataCaptureResource update allowing to specify folder. */ + interface WithFolder { + /** + * Specifies the folder property: The folder that this CDC is in. If not specified, CDC will appear at the + * root level.. + * + * @param folder The folder that this CDC is in. If not specified, CDC will appear at the root level. + * @return the next definition stage. + */ + Update withFolder(ChangeDataCaptureFolder folder); + } + /** The stage of the ChangeDataCaptureResource update allowing to specify description. */ + interface WithDescription { + /** + * Specifies the description property: The description of the change data capture.. + * + * @param description The description of the change data capture. + * @return the next definition stage. + */ + Update withDescription(String description); + } + /** The stage of the ChangeDataCaptureResource update allowing to specify sourceConnectionsInfo. */ + interface WithSourceConnectionsInfo { + /** + * Specifies the sourceConnectionsInfo property: List of sources connections that can be used as sources in + * the CDC.. + * + * @param sourceConnectionsInfo List of sources connections that can be used as sources in the CDC. + * @return the next definition stage. + */ + Update withSourceConnectionsInfo(List sourceConnectionsInfo); + } + /** The stage of the ChangeDataCaptureResource update allowing to specify targetConnectionsInfo. */ + interface WithTargetConnectionsInfo { + /** + * Specifies the targetConnectionsInfo property: List of target connections that can be used as sources in + * the CDC.. + * + * @param targetConnectionsInfo List of target connections that can be used as sources in the CDC. + * @return the next definition stage. + */ + Update withTargetConnectionsInfo(List targetConnectionsInfo); + } + /** The stage of the ChangeDataCaptureResource update allowing to specify policy. */ + interface WithPolicy { + /** + * Specifies the policy property: CDC policy. + * + * @param policy CDC policy. + * @return the next definition stage. + */ + Update withPolicy(MapperPolicy policy); + } + /** The stage of the ChangeDataCaptureResource update allowing to specify allowVNetOverride. */ + interface WithAllowVNetOverride { + /** + * Specifies the allowVNetOverride property: A boolean to determine if the vnet configuration needs to be + * overwritten.. + * + * @param allowVNetOverride A boolean to determine if the vnet configuration needs to be overwritten. + * @return the next definition stage. + */ + Update withAllowVNetOverride(Boolean allowVNetOverride); + } + /** The stage of the ChangeDataCaptureResource update allowing to specify status. */ + interface WithStatus { + /** + * Specifies the status property: Status of the CDC as to if it is running or stopped.. + * + * @param status Status of the CDC as to if it is running or stopped. + * @return the next definition stage. + */ + Update withStatus(String status); + } + /** The stage of the ChangeDataCaptureResource update allowing to specify ifMatch. */ + interface WithIfMatch { + /** + * Specifies the ifMatch property: ETag of the change data capture entity. Should only be specified for + * update, for which it should match existing entity or can be * for unconditional update.. + * + * @param ifMatch ETag of the change data capture entity. Should only be specified for update, for which it + * should match existing entity or can be * for unconditional update. + * @return the next definition stage. + */ + Update withIfMatch(String ifMatch); + } + } + /** + * Refreshes the resource to sync with Azure. + * + * @return the refreshed resource. + */ + ChangeDataCaptureResource refresh(); + + /** + * Refreshes the resource to sync with Azure. + * + * @param context The context to associate with this operation. + * @return the refreshed resource. + */ + ChangeDataCaptureResource refresh(Context context); + + /** + * Starts a change data capture. + * + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link Response}. + */ + Response startWithResponse(Context context); + + /** + * Starts a change data capture. + * + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + void start(); + + /** + * Stops a change data capture. + * + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link Response}. + */ + Response stopWithResponse(Context context); + + /** + * Stops a change data capture. + * + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + void stop(); +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ChangeDataCaptures.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ChangeDataCaptures.java new file mode 100644 index 0000000000000..ef8c3363215bb --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ChangeDataCaptures.java @@ -0,0 +1,236 @@ +// 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.http.rest.PagedIterable; +import com.azure.core.http.rest.Response; +import com.azure.core.util.Context; + +/** Resource collection API of ChangeDataCaptures. */ +public interface ChangeDataCaptures { + /** + * Lists all resources of type change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a list of change data capture resources as paginated response with {@link PagedIterable}. + */ + PagedIterable listByFactory(String resourceGroupName, String factoryName); + + /** + * Lists all resources of type change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a list of change data capture resources as paginated response with {@link PagedIterable}. + */ + PagedIterable listByFactory( + String resourceGroupName, String factoryName, Context context); + + /** + * Gets a change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param ifNoneMatch ETag of the change data capture entity. Should only be specified for get. If the ETag matches + * the existing entity tag, or if * was provided, then no content will be returned. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a change data capture along with {@link Response}. + */ + Response getWithResponse( + String resourceGroupName, + String factoryName, + String changeDataCaptureName, + String ifNoneMatch, + Context context); + + /** + * Gets a change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a change data capture. + */ + ChangeDataCaptureResource get(String resourceGroupName, String factoryName, String changeDataCaptureName); + + /** + * Deletes a change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link Response}. + */ + Response deleteWithResponse( + String resourceGroupName, String factoryName, String changeDataCaptureName, Context context); + + /** + * Deletes a change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + void delete(String resourceGroupName, String factoryName, String changeDataCaptureName); + + /** + * Starts a change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link Response}. + */ + Response startWithResponse( + String resourceGroupName, String factoryName, String changeDataCaptureName, Context context); + + /** + * Starts a change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + void start(String resourceGroupName, String factoryName, String changeDataCaptureName); + + /** + * Stops a change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link Response}. + */ + Response stopWithResponse( + String resourceGroupName, String factoryName, String changeDataCaptureName, Context context); + + /** + * Stops a change data capture. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + void stop(String resourceGroupName, String factoryName, String changeDataCaptureName); + + /** + * Gets the current status for the change data capture resource. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the current status for the change data capture resource along with {@link Response}. + */ + Response statusWithResponse( + String resourceGroupName, String factoryName, String changeDataCaptureName, Context context); + + /** + * Gets the current status for the change data capture resource. + * + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param changeDataCaptureName The change data capture name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the current status for the change data capture resource. + */ + String status(String resourceGroupName, String factoryName, String changeDataCaptureName); + + /** + * Gets a change data capture. + * + * @param id the resource ID. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a change data capture along with {@link Response}. + */ + ChangeDataCaptureResource getById(String id); + + /** + * Gets a change data capture. + * + * @param id the resource ID. + * @param ifNoneMatch ETag of the change data capture entity. Should only be specified for get. If the ETag matches + * the existing entity tag, or if * was provided, then no content will be returned. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a change data capture along with {@link Response}. + */ + Response getByIdWithResponse(String id, String ifNoneMatch, Context context); + + /** + * Deletes a change data capture. + * + * @param id the resource ID. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + void deleteById(String id); + + /** + * Deletes a change data capture. + * + * @param id the resource ID. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link Response}. + */ + Response deleteByIdWithResponse(String id, Context context); + + /** + * Begins definition for a new ChangeDataCaptureResource resource. + * + * @param name resource name. + * @return the first stage of the new ChangeDataCaptureResource definition. + */ + ChangeDataCaptureResource.DefinitionStages.Blank define(String name); +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/CommonDataServiceForAppsLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/CommonDataServiceForAppsLinkedService.java index 4f08ed50cb662..41cd5eaa3bbc4 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/CommonDataServiceForAppsLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/CommonDataServiceForAppsLinkedService.java @@ -356,22 +356,22 @@ public CommonDataServiceForAppsLinkedService withServicePrincipalCredential(Secr /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the CommonDataServiceForAppsLinkedService object itself. */ - public CommonDataServiceForAppsLinkedService withEncryptedCredential(Object encryptedCredential) { + public CommonDataServiceForAppsLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new CommonDataServiceForAppsLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ConcurLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ConcurLinkedService.java index 20bbf38c0397c..ffeddcbf39062 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ConcurLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ConcurLinkedService.java @@ -236,22 +236,22 @@ public ConcurLinkedService withUsePeerVerification(Object usePeerVerification) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the ConcurLinkedService object itself. */ - public ConcurLinkedService withEncryptedCredential(Object encryptedCredential) { + public ConcurLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new ConcurLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ConnectionType.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ConnectionType.java new file mode 100644 index 0000000000000..b453bd1c84ffa --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ConnectionType.java @@ -0,0 +1,44 @@ +// 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; + +/** Type of connection via linked service or dataset. */ +public final class ConnectionType extends ExpandableStringEnum { + /** Static value linkedservicetype for ConnectionType. */ + public static final ConnectionType LINKEDSERVICETYPE = fromString("linkedservicetype"); + + /** + * Creates a new instance of ConnectionType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public ConnectionType() { + } + + /** + * Creates or finds a ConnectionType from its string representation. + * + * @param name a name to look for. + * @return the corresponding ConnectionType. + */ + @JsonCreator + public static ConnectionType fromString(String name) { + return fromString(name, ConnectionType.class); + } + + /** + * Gets known ConnectionType values. + * + * @return known ConnectionType values. + */ + public static Collection values() { + return values(ConnectionType.class); + } +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ControlActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ControlActivity.java index 4e84d8885179c..3162d9bc6c643 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ControlActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ControlActivity.java @@ -51,6 +51,20 @@ public ControlActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public ControlActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public ControlActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public ControlActivity withDependsOn(List dependsOn) { diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/CopyActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/CopyActivity.java index 000fae65d27b4..13aeeb05ff17e 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/CopyActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/CopyActivity.java @@ -116,6 +116,20 @@ public CopyActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public CopyActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public CopyActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public CopyActivity withDependsOn(List dependsOn) { diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/CosmosDbConnectionMode.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/CosmosDbConnectionMode.java index e4796c502f300..ea74231a560b5 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/CosmosDbConnectionMode.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/CosmosDbConnectionMode.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** The connection mode used to access CosmosDB account. Type: string (or Expression with resultType string). */ +/** The connection mode used to access CosmosDB account. Type: string. */ public final class CosmosDbConnectionMode extends ExpandableStringEnum { /** Static value Gateway for CosmosDbConnectionMode. */ public static final CosmosDbConnectionMode GATEWAY = fromString("Gateway"); diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/CosmosDbLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/CosmosDbLinkedService.java index 3985303262522..b74b27ed7beca 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/CosmosDbLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/CosmosDbLinkedService.java @@ -190,25 +190,22 @@ public CosmosDbLinkedService withServicePrincipalId(Object servicePrincipalId) { /** * Get the servicePrincipalCredentialType property: The service principal credential type to use in Server-To-Server - * authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or - * Expression with resultType string). + * authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string. * * @return the servicePrincipalCredentialType value. */ - public CosmosDbServicePrincipalCredentialType servicePrincipalCredentialType() { + public Object servicePrincipalCredentialType() { return this.innerTypeProperties() == null ? null : this.innerTypeProperties().servicePrincipalCredentialType(); } /** * Set the servicePrincipalCredentialType property: The service principal credential type to use in Server-To-Server - * authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or - * Expression with resultType string). + * authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string. * * @param servicePrincipalCredentialType the servicePrincipalCredentialType value to set. * @return the CosmosDbLinkedService object itself. */ - public CosmosDbLinkedService withServicePrincipalCredentialType( - CosmosDbServicePrincipalCredentialType servicePrincipalCredentialType) { + public CosmosDbLinkedService withServicePrincipalCredentialType(Object servicePrincipalCredentialType) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new CosmosDbLinkedServiceTypeProperties(); } @@ -298,8 +295,7 @@ public CosmosDbLinkedService withAzureCloudType(Object azureCloudType) { } /** - * Get the connectionMode property: The connection mode used to access CosmosDB account. Type: string (or Expression - * with resultType string). + * Get the connectionMode property: The connection mode used to access CosmosDB account. Type: string. * * @return the connectionMode value. */ @@ -308,8 +304,7 @@ public CosmosDbConnectionMode connectionMode() { } /** - * Set the connectionMode property: The connection mode used to access CosmosDB account. Type: string (or Expression - * with resultType string). + * Set the connectionMode property: The connection mode used to access CosmosDB account. Type: string. * * @param connectionMode the connectionMode value to set. * @return the CosmosDbLinkedService object itself. @@ -324,22 +319,22 @@ public CosmosDbLinkedService withConnectionMode(CosmosDbConnectionMode connectio /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the CosmosDbLinkedService object itself. */ - public CosmosDbLinkedService withEncryptedCredential(Object encryptedCredential) { + public CosmosDbLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new CosmosDbLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/CosmosDbServicePrincipalCredentialType.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/CosmosDbServicePrincipalCredentialType.java deleted file mode 100644 index 448a9ca37383f..0000000000000 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/CosmosDbServicePrincipalCredentialType.java +++ /dev/null @@ -1,53 +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; - -/** - * The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for - * key/secret, 'ServicePrincipalCert' for certificate. Type: string (or Expression with resultType string). - */ -public final class CosmosDbServicePrincipalCredentialType - extends ExpandableStringEnum { - /** Static value ServicePrincipalKey for CosmosDbServicePrincipalCredentialType. */ - public static final CosmosDbServicePrincipalCredentialType SERVICE_PRINCIPAL_KEY = - fromString("ServicePrincipalKey"); - - /** Static value ServicePrincipalCert for CosmosDbServicePrincipalCredentialType. */ - public static final CosmosDbServicePrincipalCredentialType SERVICE_PRINCIPAL_CERT = - fromString("ServicePrincipalCert"); - - /** - * Creates a new instance of CosmosDbServicePrincipalCredentialType value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Deprecated - public CosmosDbServicePrincipalCredentialType() { - } - - /** - * Creates or finds a CosmosDbServicePrincipalCredentialType from its string representation. - * - * @param name a name to look for. - * @return the corresponding CosmosDbServicePrincipalCredentialType. - */ - @JsonCreator - public static CosmosDbServicePrincipalCredentialType fromString(String name) { - return fromString(name, CosmosDbServicePrincipalCredentialType.class); - } - - /** - * Gets known CosmosDbServicePrincipalCredentialType values. - * - * @return known CosmosDbServicePrincipalCredentialType values. - */ - public static Collection values() { - return values(CosmosDbServicePrincipalCredentialType.class); - } -} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/CouchbaseLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/CouchbaseLinkedService.java index 973bf846c38b9..8cc678106dc95 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/CouchbaseLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/CouchbaseLinkedService.java @@ -115,22 +115,22 @@ public CouchbaseLinkedService withCredString(AzureKeyVaultSecretReference credSt /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the CouchbaseLinkedService object itself. */ - public CouchbaseLinkedService withEncryptedCredential(Object encryptedCredential) { + public CouchbaseLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new CouchbaseLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/CustomActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/CustomActivity.java index 68e198198d01c..dc3bf72911264 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/CustomActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/CustomActivity.java @@ -65,6 +65,20 @@ public CustomActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public CustomActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public CustomActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public CustomActivity withDependsOn(List dependsOn) { diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DataLakeAnalyticsUsqlActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DataLakeAnalyticsUsqlActivity.java index 6f3619f2ae4d8..d016b2640ee3d 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DataLakeAnalyticsUsqlActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DataLakeAnalyticsUsqlActivity.java @@ -66,6 +66,20 @@ public DataLakeAnalyticsUsqlActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public DataLakeAnalyticsUsqlActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public DataLakeAnalyticsUsqlActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public DataLakeAnalyticsUsqlActivity withDependsOn(List dependsOn) { diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DataMapperMapping.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DataMapperMapping.java new file mode 100644 index 0000000000000..fedf454ef16e3 --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DataMapperMapping.java @@ -0,0 +1,162 @@ +// 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; + +/** Source and target table mapping details. */ +@Fluent +public final class DataMapperMapping { + /* + * Name of the target table + */ + @JsonProperty(value = "targetEntityName") + private String targetEntityName; + + /* + * Name of the source table + */ + @JsonProperty(value = "sourceEntityName") + private String sourceEntityName; + + /* + * The connection reference for the source connection. + */ + @JsonProperty(value = "sourceConnectionReference") + private MapperConnectionReference sourceConnectionReference; + + /* + * This holds the user provided attribute mapping information. + */ + @JsonProperty(value = "attributeMappingInfo") + private MapperAttributeMappings attributeMappingInfo; + + /* + * This holds the source denormalization information used while joining multiple sources. + */ + @JsonProperty(value = "sourceDenormalizeInfo") + private Object sourceDenormalizeInfo; + + /** Creates an instance of DataMapperMapping class. */ + public DataMapperMapping() { + } + + /** + * Get the targetEntityName property: Name of the target table. + * + * @return the targetEntityName value. + */ + public String targetEntityName() { + return this.targetEntityName; + } + + /** + * Set the targetEntityName property: Name of the target table. + * + * @param targetEntityName the targetEntityName value to set. + * @return the DataMapperMapping object itself. + */ + public DataMapperMapping withTargetEntityName(String targetEntityName) { + this.targetEntityName = targetEntityName; + return this; + } + + /** + * Get the sourceEntityName property: Name of the source table. + * + * @return the sourceEntityName value. + */ + public String sourceEntityName() { + return this.sourceEntityName; + } + + /** + * Set the sourceEntityName property: Name of the source table. + * + * @param sourceEntityName the sourceEntityName value to set. + * @return the DataMapperMapping object itself. + */ + public DataMapperMapping withSourceEntityName(String sourceEntityName) { + this.sourceEntityName = sourceEntityName; + return this; + } + + /** + * Get the sourceConnectionReference property: The connection reference for the source connection. + * + * @return the sourceConnectionReference value. + */ + public MapperConnectionReference sourceConnectionReference() { + return this.sourceConnectionReference; + } + + /** + * Set the sourceConnectionReference property: The connection reference for the source connection. + * + * @param sourceConnectionReference the sourceConnectionReference value to set. + * @return the DataMapperMapping object itself. + */ + public DataMapperMapping withSourceConnectionReference(MapperConnectionReference sourceConnectionReference) { + this.sourceConnectionReference = sourceConnectionReference; + return this; + } + + /** + * Get the attributeMappingInfo property: This holds the user provided attribute mapping information. + * + * @return the attributeMappingInfo value. + */ + public MapperAttributeMappings attributeMappingInfo() { + return this.attributeMappingInfo; + } + + /** + * Set the attributeMappingInfo property: This holds the user provided attribute mapping information. + * + * @param attributeMappingInfo the attributeMappingInfo value to set. + * @return the DataMapperMapping object itself. + */ + public DataMapperMapping withAttributeMappingInfo(MapperAttributeMappings attributeMappingInfo) { + this.attributeMappingInfo = attributeMappingInfo; + return this; + } + + /** + * Get the sourceDenormalizeInfo property: This holds the source denormalization information used while joining + * multiple sources. + * + * @return the sourceDenormalizeInfo value. + */ + public Object sourceDenormalizeInfo() { + return this.sourceDenormalizeInfo; + } + + /** + * Set the sourceDenormalizeInfo property: This holds the source denormalization information used while joining + * multiple sources. + * + * @param sourceDenormalizeInfo the sourceDenormalizeInfo value to set. + * @return the DataMapperMapping object itself. + */ + public DataMapperMapping withSourceDenormalizeInfo(Object sourceDenormalizeInfo) { + this.sourceDenormalizeInfo = sourceDenormalizeInfo; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (sourceConnectionReference() != null) { + sourceConnectionReference().validate(); + } + if (attributeMappingInfo() != null) { + attributeMappingInfo().validate(); + } + } +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DatabricksNotebookActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DatabricksNotebookActivity.java index 7baf3619f797f..aba9c71eaa96b 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DatabricksNotebookActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DatabricksNotebookActivity.java @@ -66,6 +66,20 @@ public DatabricksNotebookActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public DatabricksNotebookActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public DatabricksNotebookActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public DatabricksNotebookActivity withDependsOn(List dependsOn) { diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DatabricksSparkJarActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DatabricksSparkJarActivity.java index 19cb7feaab105..ded91fdd0b7f8 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DatabricksSparkJarActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DatabricksSparkJarActivity.java @@ -66,6 +66,20 @@ public DatabricksSparkJarActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public DatabricksSparkJarActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public DatabricksSparkJarActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public DatabricksSparkJarActivity withDependsOn(List dependsOn) { diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DatabricksSparkPythonActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DatabricksSparkPythonActivity.java index df87ddcc228da..b4350bc1e191d 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DatabricksSparkPythonActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DatabricksSparkPythonActivity.java @@ -66,6 +66,20 @@ public DatabricksSparkPythonActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public DatabricksSparkPythonActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public DatabricksSparkPythonActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public DatabricksSparkPythonActivity withDependsOn(List dependsOn) { diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DataworldLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DataworldLinkedService.java index 647447e607184..7e659387bfd87 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DataworldLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DataworldLinkedService.java @@ -90,22 +90,22 @@ public DataworldLinkedService withApiToken(SecretBase apiToken) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the DataworldLinkedService object itself. */ - public DataworldLinkedService withEncryptedCredential(Object encryptedCredential) { + public DataworldLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new DataworldLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/Db2LinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/Db2LinkedService.java index dc9aca7dd0e15..2b531f6a09d09 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/Db2LinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/Db2LinkedService.java @@ -268,23 +268,23 @@ public Db2LinkedService withCertificateCommonName(Object certificateCommonName) /** * Get the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted * using the integration runtime credential manager. It is mutually exclusive with connectionString property. Type: - * string (or Expression with resultType string). + * string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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. It is mutually exclusive with connectionString property. Type: - * string (or Expression with resultType string). + * string. * * @param encryptedCredential the encryptedCredential value to set. * @return the Db2LinkedService object itself. */ - public Db2LinkedService withEncryptedCredential(Object encryptedCredential) { + public Db2LinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new Db2LinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DeleteActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DeleteActivity.java index e2f91b7c1a31d..d1ac8a3b08d89 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DeleteActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DeleteActivity.java @@ -64,6 +64,20 @@ public DeleteActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public DeleteActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public DeleteActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public DeleteActivity withDependsOn(List dependsOn) { diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DrillLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DrillLinkedService.java index e6426515af14f..e37d2e6054c87 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DrillLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DrillLinkedService.java @@ -115,22 +115,22 @@ public DrillLinkedService withPwd(AzureKeyVaultSecretReference pwd) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the DrillLinkedService object itself. */ - public DrillLinkedService withEncryptedCredential(Object encryptedCredential) { + public DrillLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new DrillLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DynamicsAXLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DynamicsAXLinkedService.java index 2f0c97c8fced6..9f7f8e470bdfb 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DynamicsAXLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DynamicsAXLinkedService.java @@ -194,22 +194,22 @@ public DynamicsAXLinkedService withAadResourceId(Object aadResourceId) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the DynamicsAXLinkedService object itself. */ - public DynamicsAXLinkedService withEncryptedCredential(Object encryptedCredential) { + public DynamicsAXLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new DynamicsAXLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DynamicsCrmLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DynamicsCrmLinkedService.java index 0c3099ebf6e15..c0339de8fe3c4 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DynamicsCrmLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DynamicsCrmLinkedService.java @@ -352,22 +352,22 @@ public DynamicsCrmLinkedService withServicePrincipalCredential(SecretBase servic /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the DynamicsCrmLinkedService object itself. */ - public DynamicsCrmLinkedService withEncryptedCredential(Object encryptedCredential) { + public DynamicsCrmLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new DynamicsCrmLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DynamicsLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DynamicsLinkedService.java index 3bd5380d471c8..b3ab2a3e0dfa5 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DynamicsLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/DynamicsLinkedService.java @@ -350,22 +350,22 @@ public DynamicsLinkedService withServicePrincipalCredential(SecretBase servicePr /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the DynamicsLinkedService object itself. */ - public DynamicsLinkedService withEncryptedCredential(Object encryptedCredential) { + public DynamicsLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new DynamicsLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/EloquaLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/EloquaLinkedService.java index 6fe5a106b65c5..6aed59ae04f01 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/EloquaLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/EloquaLinkedService.java @@ -213,22 +213,22 @@ public EloquaLinkedService withUsePeerVerification(Object usePeerVerification) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the EloquaLinkedService object itself. */ - public EloquaLinkedService withEncryptedCredential(Object encryptedCredential) { + public EloquaLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new EloquaLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ExecuteDataFlowActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ExecuteDataFlowActivity.java index 050bc796c4d83..999b508ee63fb 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ExecuteDataFlowActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ExecuteDataFlowActivity.java @@ -64,6 +64,20 @@ public ExecuteDataFlowActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public ExecuteDataFlowActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public ExecuteDataFlowActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public ExecuteDataFlowActivity withDependsOn(List dependsOn) { diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ExecutePipelineActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ExecutePipelineActivity.java index babf94b0d7142..595f2172de27b 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ExecutePipelineActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ExecutePipelineActivity.java @@ -77,6 +77,20 @@ public ExecutePipelineActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public ExecutePipelineActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public ExecutePipelineActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public ExecutePipelineActivity withDependsOn(List dependsOn) { diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ExecuteSsisPackageActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ExecuteSsisPackageActivity.java index c883c6bc17999..69b372f90633c 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ExecuteSsisPackageActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ExecuteSsisPackageActivity.java @@ -66,6 +66,20 @@ public ExecuteSsisPackageActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public ExecuteSsisPackageActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public ExecuteSsisPackageActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public ExecuteSsisPackageActivity withDependsOn(List dependsOn) { diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ExecuteWranglingDataflowActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ExecuteWranglingDataflowActivity.java index 6b3648416704c..541c69476ebf6 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ExecuteWranglingDataflowActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ExecuteWranglingDataflowActivity.java @@ -77,6 +77,20 @@ public ExecuteWranglingDataflowActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public ExecuteWranglingDataflowActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public ExecuteWranglingDataflowActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public ExecuteWranglingDataflowActivity withDependsOn(List dependsOn) { diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ExecutionActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ExecutionActivity.java index 8f2de0776d87a..bb18a6982a5f6 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ExecutionActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ExecutionActivity.java @@ -118,6 +118,20 @@ public ExecutionActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public ExecutionActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public ExecutionActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public ExecutionActivity withDependsOn(List dependsOn) { diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/FactoryIdentity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/FactoryIdentity.java index 950a13e96a610..67dc4a5aa07b0 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/FactoryIdentity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/FactoryIdentity.java @@ -13,7 +13,7 @@ /** Identity properties of the factory resource. */ @Fluent -public class FactoryIdentity { +public final class FactoryIdentity { /* * The identity type. */ diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/FailActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/FailActivity.java index 09e31da01d426..d6a6963a5e73a 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/FailActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/FailActivity.java @@ -55,6 +55,20 @@ public FailActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public FailActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public FailActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public FailActivity withDependsOn(List dependsOn) { diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/FileServerLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/FileServerLinkedService.java index f7d89be149d28..e09693ed297d3 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/FileServerLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/FileServerLinkedService.java @@ -136,22 +136,22 @@ public FileServerLinkedService withPassword(SecretBase password) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the FileServerLinkedService object itself. */ - public FileServerLinkedService withEncryptedCredential(Object encryptedCredential) { + public FileServerLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new FileServerLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/FileServerReadSettings.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/FileServerReadSettings.java index f1f59990ab646..3f5856a62b582 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/FileServerReadSettings.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/FileServerReadSettings.java @@ -41,10 +41,10 @@ public final class FileServerReadSettings extends StoreReadSettings { private Object fileListPath; /* - * Indicates whether to enable partition discovery. + * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). */ @JsonProperty(value = "enablePartitionDiscovery") - private Boolean enablePartitionDiscovery; + private Object enablePartitionDiscovery; /* * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType @@ -172,21 +172,23 @@ public FileServerReadSettings withFileListPath(Object fileListPath) { } /** - * Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery. + * Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery. Type: boolean (or + * Expression with resultType boolean). * * @return the enablePartitionDiscovery value. */ - public Boolean enablePartitionDiscovery() { + public Object enablePartitionDiscovery() { return this.enablePartitionDiscovery; } /** - * Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery. + * Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery. Type: boolean (or + * Expression with resultType boolean). * * @param enablePartitionDiscovery the enablePartitionDiscovery value to set. * @return the FileServerReadSettings object itself. */ - public FileServerReadSettings withEnablePartitionDiscovery(Boolean enablePartitionDiscovery) { + public FileServerReadSettings withEnablePartitionDiscovery(Object enablePartitionDiscovery) { this.enablePartitionDiscovery = enablePartitionDiscovery; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/FilterActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/FilterActivity.java index b0a943d774cbb..d59157a6379b7 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/FilterActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/FilterActivity.java @@ -50,6 +50,20 @@ public FilterActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public FilterActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public FilterActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public FilterActivity withDependsOn(List dependsOn) { diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ForEachActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ForEachActivity.java index 6dedfe0d94f34..f12c3d00f09f7 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ForEachActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ForEachActivity.java @@ -50,6 +50,20 @@ public ForEachActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public ForEachActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public ForEachActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public ForEachActivity withDependsOn(List dependsOn) { diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/FrequencyType.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/FrequencyType.java new file mode 100644 index 0000000000000..66fa75b69b99b --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/FrequencyType.java @@ -0,0 +1,50 @@ +// 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; + +/** Frequency of period in terms of 'Hour', 'Minute' or 'Second'. */ +public final class FrequencyType extends ExpandableStringEnum { + /** Static value Hour for FrequencyType. */ + public static final FrequencyType HOUR = fromString("Hour"); + + /** Static value Minute for FrequencyType. */ + public static final FrequencyType MINUTE = fromString("Minute"); + + /** Static value Second for FrequencyType. */ + public static final FrequencyType SECOND = fromString("Second"); + + /** + * Creates a new instance of FrequencyType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public FrequencyType() { + } + + /** + * Creates or finds a FrequencyType from its string representation. + * + * @param name a name to look for. + * @return the corresponding FrequencyType. + */ + @JsonCreator + public static FrequencyType fromString(String name) { + return fromString(name, FrequencyType.class); + } + + /** + * Gets known FrequencyType values. + * + * @return known FrequencyType values. + */ + public static Collection values() { + return values(FrequencyType.class); + } +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/FtpReadSettings.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/FtpReadSettings.java index 1715e2b6a1220..0d328e494a567 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/FtpReadSettings.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/FtpReadSettings.java @@ -34,10 +34,10 @@ public final class FtpReadSettings extends StoreReadSettings { private Object wildcardFileName; /* - * Indicates whether to enable partition discovery. + * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). */ @JsonProperty(value = "enablePartitionDiscovery") - private Boolean enablePartitionDiscovery; + private Object enablePartitionDiscovery; /* * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType @@ -61,10 +61,11 @@ public final class FtpReadSettings extends StoreReadSettings { private Object fileListPath; /* - * Specify whether to use binary transfer mode for FTP stores. + * Specify whether to use binary transfer mode for FTP stores. Type: boolean (or Expression with resultType + * boolean). */ @JsonProperty(value = "useBinaryTransfer") - private Boolean useBinaryTransfer; + private Object useBinaryTransfer; /* * If true, disable parallel reading within each file. Default is false. Type: boolean (or Expression with @@ -140,21 +141,23 @@ public FtpReadSettings withWildcardFileName(Object wildcardFileName) { } /** - * Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery. + * Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery. Type: boolean (or + * Expression with resultType boolean). * * @return the enablePartitionDiscovery value. */ - public Boolean enablePartitionDiscovery() { + public Object enablePartitionDiscovery() { return this.enablePartitionDiscovery; } /** - * Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery. + * Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery. Type: boolean (or + * Expression with resultType boolean). * * @param enablePartitionDiscovery the enablePartitionDiscovery value to set. * @return the FtpReadSettings object itself. */ - public FtpReadSettings withEnablePartitionDiscovery(Boolean enablePartitionDiscovery) { + public FtpReadSettings withEnablePartitionDiscovery(Object enablePartitionDiscovery) { this.enablePartitionDiscovery = enablePartitionDiscovery; return this; } @@ -226,21 +229,23 @@ public FtpReadSettings withFileListPath(Object fileListPath) { } /** - * Get the useBinaryTransfer property: Specify whether to use binary transfer mode for FTP stores. + * Get the useBinaryTransfer property: Specify whether to use binary transfer mode for FTP stores. Type: boolean (or + * Expression with resultType boolean). * * @return the useBinaryTransfer value. */ - public Boolean useBinaryTransfer() { + public Object useBinaryTransfer() { return this.useBinaryTransfer; } /** - * Set the useBinaryTransfer property: Specify whether to use binary transfer mode for FTP stores. + * Set the useBinaryTransfer property: Specify whether to use binary transfer mode for FTP stores. Type: boolean (or + * Expression with resultType boolean). * * @param useBinaryTransfer the useBinaryTransfer value to set. * @return the FtpReadSettings object itself. */ - public FtpReadSettings withUseBinaryTransfer(Boolean useBinaryTransfer) { + public FtpReadSettings withUseBinaryTransfer(Object useBinaryTransfer) { this.useBinaryTransfer = useBinaryTransfer; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/FtpServerLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/FtpServerLinkedService.java index 2d4d3f6c7b17f..1a3c7d57f0ba0 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/FtpServerLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/FtpServerLinkedService.java @@ -184,22 +184,22 @@ public FtpServerLinkedService withPassword(SecretBase password) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the FtpServerLinkedService object itself. */ - public FtpServerLinkedService withEncryptedCredential(Object encryptedCredential) { + public FtpServerLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new FtpServerLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/GetMetadataActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/GetMetadataActivity.java index 625fada46fee1..146c6556dcc63 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/GetMetadataActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/GetMetadataActivity.java @@ -64,6 +64,20 @@ public GetMetadataActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public GetMetadataActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public GetMetadataActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public GetMetadataActivity withDependsOn(List dependsOn) { diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/GoogleAdWordsLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/GoogleAdWordsLinkedService.java index 8e8b987d8964a..bd35c8de7c847 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/GoogleAdWordsLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/GoogleAdWordsLinkedService.java @@ -93,7 +93,7 @@ public GoogleAdWordsLinkedService withConnectionProperties(Object connectionProp /** * Get the clientCustomerId property: The Client customer ID of the AdWords account that you want to fetch report - * data for. + * data for. Type: string (or Expression with resultType string). * * @return the clientCustomerId value. */ @@ -103,7 +103,7 @@ public Object clientCustomerId() { /** * Set the clientCustomerId property: The Client customer ID of the AdWords account that you want to fetch report - * data for. + * data for. Type: string (or Expression with resultType string). * * @param clientCustomerId the clientCustomerId value to set. * @return the GoogleAdWordsLinkedService object itself. @@ -241,7 +241,7 @@ public GoogleAdWordsLinkedService withClientSecret(SecretBase clientSecret) { /** * Get the email property: The service account email ID that is used for ServiceAuthentication and can only be used - * on self-hosted IR. + * on self-hosted IR. Type: string (or Expression with resultType string). * * @return the email value. */ @@ -251,7 +251,7 @@ public Object email() { /** * Set the email property: The service account email ID that is used for ServiceAuthentication and can only be used - * on self-hosted IR. + * on self-hosted IR. Type: string (or Expression with resultType string). * * @param email the email value to set. * @return the GoogleAdWordsLinkedService object itself. @@ -266,7 +266,7 @@ public GoogleAdWordsLinkedService withEmail(Object email) { /** * Get the keyFilePath property: The full path to the .p12 key file that is used to authenticate the service account - * email address and can only be used on self-hosted IR. + * email address and can only be used on self-hosted IR. Type: string (or Expression with resultType string). * * @return the keyFilePath value. */ @@ -276,7 +276,7 @@ public Object keyFilePath() { /** * Set the keyFilePath property: The full path to the .p12 key file that is used to authenticate the service account - * email address and can only be used on self-hosted IR. + * email address and can only be used on self-hosted IR. Type: string (or Expression with resultType string). * * @param keyFilePath the keyFilePath value to set. * @return the GoogleAdWordsLinkedService object itself. @@ -292,7 +292,7 @@ public GoogleAdWordsLinkedService withKeyFilePath(Object keyFilePath) { /** * Get the trustedCertPath property: The full path of the .pem file containing trusted CA certificates for verifying * the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default - * value is the cacerts.pem file installed with the IR. + * value is the cacerts.pem file installed with the IR. Type: string (or Expression with resultType string). * * @return the trustedCertPath value. */ @@ -303,7 +303,7 @@ public Object trustedCertPath() { /** * Set the trustedCertPath property: The full path of the .pem file containing trusted CA certificates for verifying * the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default - * value is the cacerts.pem file installed with the IR. + * value is the cacerts.pem file installed with the IR. Type: string (or Expression with resultType string). * * @param trustedCertPath the trustedCertPath value to set. * @return the GoogleAdWordsLinkedService object itself. @@ -318,7 +318,7 @@ public GoogleAdWordsLinkedService withTrustedCertPath(Object trustedCertPath) { /** * Get the useSystemTrustStore property: Specifies whether to use a CA certificate from the system trust store or - * from a specified PEM file. The default value is false. + * from a specified PEM file. The default value is false. Type: boolean (or Expression with resultType boolean). * * @return the useSystemTrustStore value. */ @@ -328,7 +328,7 @@ public Object useSystemTrustStore() { /** * Set the useSystemTrustStore property: Specifies whether to use a CA certificate from the system trust store or - * from a specified PEM file. The default value is false. + * from a specified PEM file. The default value is false. Type: boolean (or Expression with resultType boolean). * * @param useSystemTrustStore the useSystemTrustStore value to set. * @return the GoogleAdWordsLinkedService object itself. @@ -343,22 +343,22 @@ public GoogleAdWordsLinkedService withUseSystemTrustStore(Object useSystemTrustS /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the GoogleAdWordsLinkedService object itself. */ - public GoogleAdWordsLinkedService withEncryptedCredential(Object encryptedCredential) { + public GoogleAdWordsLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new GoogleAdWordsLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/GoogleBigQueryLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/GoogleBigQueryLinkedService.java index accbd940e831e..6ddff477344d2 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/GoogleBigQueryLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/GoogleBigQueryLinkedService.java @@ -67,7 +67,8 @@ public GoogleBigQueryLinkedService withAnnotations(List annotations) { } /** - * Get the project property: The default BigQuery project to query against. + * Get the project property: The default BigQuery project to query against. Type: string (or Expression with + * resultType string). * * @return the project value. */ @@ -76,7 +77,8 @@ public Object project() { } /** - * Set the project property: The default BigQuery project to query against. + * Set the project property: The default BigQuery project to query against. Type: string (or Expression with + * resultType string). * * @param project the project value to set. * @return the GoogleBigQueryLinkedService object itself. @@ -90,7 +92,8 @@ public GoogleBigQueryLinkedService withProject(Object project) { } /** - * Get the additionalProjects property: A comma-separated list of public BigQuery projects to access. + * Get the additionalProjects property: A comma-separated list of public BigQuery projects to access. Type: string + * (or Expression with resultType string). * * @return the additionalProjects value. */ @@ -99,7 +102,8 @@ public Object additionalProjects() { } /** - * Set the additionalProjects property: A comma-separated list of public BigQuery projects to access. + * Set the additionalProjects property: A comma-separated list of public BigQuery projects to access. Type: string + * (or Expression with resultType string). * * @param additionalProjects the additionalProjects value to set. * @return the GoogleBigQueryLinkedService object itself. @@ -115,7 +119,7 @@ public GoogleBigQueryLinkedService withAdditionalProjects(Object additionalProje /** * Get the requestGoogleDriveScope property: Whether to request access to Google Drive. Allowing Google Drive access * enables support for federated tables that combine BigQuery data with data from Google Drive. The default value is - * false. + * false. Type: string (or Expression with resultType string). * * @return the requestGoogleDriveScope value. */ @@ -126,7 +130,7 @@ public Object requestGoogleDriveScope() { /** * Set the requestGoogleDriveScope property: Whether to request access to Google Drive. Allowing Google Drive access * enables support for federated tables that combine BigQuery data with data from Google Drive. The default value is - * false. + * false. Type: string (or Expression with resultType string). * * @param requestGoogleDriveScope the requestGoogleDriveScope value to set. * @return the GoogleBigQueryLinkedService object itself. @@ -239,7 +243,7 @@ public GoogleBigQueryLinkedService withClientSecret(SecretBase clientSecret) { /** * Get the email property: The service account email ID that is used for ServiceAuthentication and can only be used - * on self-hosted IR. + * on self-hosted IR. Type: string (or Expression with resultType string). * * @return the email value. */ @@ -249,7 +253,7 @@ public Object email() { /** * Set the email property: The service account email ID that is used for ServiceAuthentication and can only be used - * on self-hosted IR. + * on self-hosted IR. Type: string (or Expression with resultType string). * * @param email the email value to set. * @return the GoogleBigQueryLinkedService object itself. @@ -264,7 +268,7 @@ public GoogleBigQueryLinkedService withEmail(Object email) { /** * Get the keyFilePath property: The full path to the .p12 key file that is used to authenticate the service account - * email address and can only be used on self-hosted IR. + * email address and can only be used on self-hosted IR. Type: string (or Expression with resultType string). * * @return the keyFilePath value. */ @@ -274,7 +278,7 @@ public Object keyFilePath() { /** * Set the keyFilePath property: The full path to the .p12 key file that is used to authenticate the service account - * email address and can only be used on self-hosted IR. + * email address and can only be used on self-hosted IR. Type: string (or Expression with resultType string). * * @param keyFilePath the keyFilePath value to set. * @return the GoogleBigQueryLinkedService object itself. @@ -290,7 +294,7 @@ public GoogleBigQueryLinkedService withKeyFilePath(Object keyFilePath) { /** * Get the trustedCertPath property: The full path of the .pem file containing trusted CA certificates for verifying * the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default - * value is the cacerts.pem file installed with the IR. + * value is the cacerts.pem file installed with the IR. Type: string (or Expression with resultType string). * * @return the trustedCertPath value. */ @@ -301,7 +305,7 @@ public Object trustedCertPath() { /** * Set the trustedCertPath property: The full path of the .pem file containing trusted CA certificates for verifying * the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default - * value is the cacerts.pem file installed with the IR. + * value is the cacerts.pem file installed with the IR. Type: string (or Expression with resultType string). * * @param trustedCertPath the trustedCertPath value to set. * @return the GoogleBigQueryLinkedService object itself. @@ -316,7 +320,7 @@ public GoogleBigQueryLinkedService withTrustedCertPath(Object trustedCertPath) { /** * Get the useSystemTrustStore property: Specifies whether to use a CA certificate from the system trust store or - * from a specified PEM file. The default value is false. + * from a specified PEM file. The default value is false.Type: boolean (or Expression with resultType boolean). * * @return the useSystemTrustStore value. */ @@ -326,7 +330,7 @@ public Object useSystemTrustStore() { /** * Set the useSystemTrustStore property: Specifies whether to use a CA certificate from the system trust store or - * from a specified PEM file. The default value is false. + * from a specified PEM file. The default value is false.Type: boolean (or Expression with resultType boolean). * * @param useSystemTrustStore the useSystemTrustStore value to set. * @return the GoogleBigQueryLinkedService object itself. @@ -341,22 +345,22 @@ public GoogleBigQueryLinkedService withUseSystemTrustStore(Object useSystemTrust /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the GoogleBigQueryLinkedService object itself. */ - public GoogleBigQueryLinkedService withEncryptedCredential(Object encryptedCredential) { + public GoogleBigQueryLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new GoogleBigQueryLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/GoogleCloudStorageLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/GoogleCloudStorageLinkedService.java index 4ce68ac96e350..c746f2e98878e 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/GoogleCloudStorageLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/GoogleCloudStorageLinkedService.java @@ -145,22 +145,22 @@ public GoogleCloudStorageLinkedService withServiceUrl(Object serviceUrl) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the GoogleCloudStorageLinkedService object itself. */ - public GoogleCloudStorageLinkedService withEncryptedCredential(Object encryptedCredential) { + public GoogleCloudStorageLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new GoogleCloudStorageLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/GoogleCloudStorageReadSettings.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/GoogleCloudStorageReadSettings.java index 40e1fe5641166..d8fa91a026fc5 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/GoogleCloudStorageReadSettings.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/GoogleCloudStorageReadSettings.java @@ -47,10 +47,10 @@ public final class GoogleCloudStorageReadSettings extends StoreReadSettings { private Object fileListPath; /* - * Indicates whether to enable partition discovery. + * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). */ @JsonProperty(value = "enablePartitionDiscovery") - private Boolean enablePartitionDiscovery; + private Object enablePartitionDiscovery; /* * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType @@ -193,21 +193,23 @@ public GoogleCloudStorageReadSettings withFileListPath(Object fileListPath) { } /** - * Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery. + * Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery. Type: boolean (or + * Expression with resultType boolean). * * @return the enablePartitionDiscovery value. */ - public Boolean enablePartitionDiscovery() { + public Object enablePartitionDiscovery() { return this.enablePartitionDiscovery; } /** - * Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery. + * Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery. Type: boolean (or + * Expression with resultType boolean). * * @param enablePartitionDiscovery the enablePartitionDiscovery value to set. * @return the GoogleCloudStorageReadSettings object itself. */ - public GoogleCloudStorageReadSettings withEnablePartitionDiscovery(Boolean enablePartitionDiscovery) { + public GoogleCloudStorageReadSettings withEnablePartitionDiscovery(Object enablePartitionDiscovery) { this.enablePartitionDiscovery = enablePartitionDiscovery; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/GoogleSheetsLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/GoogleSheetsLinkedService.java index c7dfd71690640..4ddfbb808e36e 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/GoogleSheetsLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/GoogleSheetsLinkedService.java @@ -90,22 +90,22 @@ public GoogleSheetsLinkedService withApiToken(SecretBase apiToken) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the GoogleSheetsLinkedService object itself. */ - public GoogleSheetsLinkedService withEncryptedCredential(Object encryptedCredential) { + public GoogleSheetsLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new GoogleSheetsLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/GreenplumLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/GreenplumLinkedService.java index a910e534c3c09..c34d27c1e7d5e 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/GreenplumLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/GreenplumLinkedService.java @@ -115,22 +115,22 @@ public GreenplumLinkedService withPwd(AzureKeyVaultSecretReference pwd) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the GreenplumLinkedService object itself. */ - public GreenplumLinkedService withEncryptedCredential(Object encryptedCredential) { + public GreenplumLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new GreenplumLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HBaseLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HBaseLinkedService.java index 1782907b016f7..f2791ae145541 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HBaseLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HBaseLinkedService.java @@ -311,22 +311,22 @@ public HBaseLinkedService withAllowSelfSignedServerCert(Object allowSelfSignedSe /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the HBaseLinkedService object itself. */ - public HBaseLinkedService withEncryptedCredential(Object encryptedCredential) { + public HBaseLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new HBaseLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HDInsightHiveActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HDInsightHiveActivity.java index 3d17edc45e209..5b58d2781203c 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HDInsightHiveActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HDInsightHiveActivity.java @@ -65,6 +65,20 @@ public HDInsightHiveActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public HDInsightHiveActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public HDInsightHiveActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public HDInsightHiveActivity withDependsOn(List dependsOn) { @@ -222,7 +236,7 @@ public HDInsightHiveActivity withDefines(Map defines) { * * @return the variables value. */ - public List variables() { + public Map variables() { return this.innerTypeProperties() == null ? null : this.innerTypeProperties().variables(); } @@ -232,7 +246,7 @@ public List variables() { * @param variables the variables value to set. * @return the HDInsightHiveActivity object itself. */ - public HDInsightHiveActivity withVariables(List variables) { + public HDInsightHiveActivity withVariables(Map variables) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new HDInsightHiveActivityTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HDInsightLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HDInsightLinkedService.java index c903e0e6a6bb3..f616906152a72 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HDInsightLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HDInsightLinkedService.java @@ -184,22 +184,22 @@ public HDInsightLinkedService withHcatalogLinkedServiceName(LinkedServiceReferen /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the HDInsightLinkedService object itself. */ - public HDInsightLinkedService withEncryptedCredential(Object encryptedCredential) { + public HDInsightLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new HDInsightLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HDInsightMapReduceActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HDInsightMapReduceActivity.java index 2a383f31ad3c7..9187fc914e923 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HDInsightMapReduceActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HDInsightMapReduceActivity.java @@ -66,6 +66,20 @@ public HDInsightMapReduceActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public HDInsightMapReduceActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public HDInsightMapReduceActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public HDInsightMapReduceActivity withDependsOn(List dependsOn) { diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HDInsightOnDemandLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HDInsightOnDemandLinkedService.java index 479b91c37d636..b507b96f5899a 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HDInsightOnDemandLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HDInsightOnDemandLinkedService.java @@ -712,22 +712,22 @@ public HDInsightOnDemandLinkedService withYarnConfiguration(Object yarnConfigura /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the HDInsightOnDemandLinkedService object itself. */ - public HDInsightOnDemandLinkedService withEncryptedCredential(Object encryptedCredential) { + public HDInsightOnDemandLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new HDInsightOnDemandLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HDInsightPigActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HDInsightPigActivity.java index d7425fc59cc78..bbf65fba7a206 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HDInsightPigActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HDInsightPigActivity.java @@ -65,6 +65,20 @@ public HDInsightPigActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public HDInsightPigActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public HDInsightPigActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public HDInsightPigActivity withDependsOn(List dependsOn) { diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HDInsightSparkActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HDInsightSparkActivity.java index c6bcf8a82b5fe..ebdcf390d4f21 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HDInsightSparkActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HDInsightSparkActivity.java @@ -65,6 +65,20 @@ public HDInsightSparkActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public HDInsightSparkActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public HDInsightSparkActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public HDInsightSparkActivity withDependsOn(List dependsOn) { diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HDInsightStreamingActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HDInsightStreamingActivity.java index f3260572e6329..8a3cc14f0b491 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HDInsightStreamingActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HDInsightStreamingActivity.java @@ -66,6 +66,20 @@ public HDInsightStreamingActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public HDInsightStreamingActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public HDInsightStreamingActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public HDInsightStreamingActivity withDependsOn(List dependsOn) { diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HdfsLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HdfsLinkedService.java index d5af5086aba84..65fc74f6c868c 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HdfsLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HdfsLinkedService.java @@ -117,22 +117,22 @@ public HdfsLinkedService withAuthenticationType(Object authenticationType) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the HdfsLinkedService object itself. */ - public HdfsLinkedService withEncryptedCredential(Object encryptedCredential) { + public HdfsLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new HdfsLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HdfsReadSettings.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HdfsReadSettings.java index 7464ac4413ef1..5657384d17be8 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HdfsReadSettings.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HdfsReadSettings.java @@ -41,10 +41,10 @@ public final class HdfsReadSettings extends StoreReadSettings { private Object fileListPath; /* - * Indicates whether to enable partition discovery. + * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). */ @JsonProperty(value = "enablePartitionDiscovery") - private Boolean enablePartitionDiscovery; + private Object enablePartitionDiscovery; /* * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType @@ -169,21 +169,23 @@ public HdfsReadSettings withFileListPath(Object fileListPath) { } /** - * Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery. + * Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery. Type: boolean (or + * Expression with resultType boolean). * * @return the enablePartitionDiscovery value. */ - public Boolean enablePartitionDiscovery() { + public Object enablePartitionDiscovery() { return this.enablePartitionDiscovery; } /** - * Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery. + * Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery. Type: boolean (or + * Expression with resultType boolean). * * @param enablePartitionDiscovery the enablePartitionDiscovery value to set. * @return the HdfsReadSettings object itself. */ - public HdfsReadSettings withEnablePartitionDiscovery(Boolean enablePartitionDiscovery) { + public HdfsReadSettings withEnablePartitionDiscovery(Object enablePartitionDiscovery) { this.enablePartitionDiscovery = enablePartitionDiscovery; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HiveLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HiveLinkedService.java index 33a8874e085bc..d805453802bcf 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HiveLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HiveLinkedService.java @@ -451,22 +451,22 @@ public HiveLinkedService withAllowSelfSignedServerCert(Object allowSelfSignedSer /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the HiveLinkedService object itself. */ - public HiveLinkedService withEncryptedCredential(Object encryptedCredential) { + public HiveLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new HiveLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HttpLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HttpLinkedService.java index 80260e9c48ad6..15308bec4defb 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HttpLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HttpLinkedService.java @@ -244,22 +244,22 @@ public HttpLinkedService withCertThumbprint(Object certThumbprint) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the HttpLinkedService object itself. */ - public HttpLinkedService withEncryptedCredential(Object encryptedCredential) { + public HttpLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new HttpLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HttpReadSettings.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HttpReadSettings.java index 09b86532d2bf6..222a90ecaea1b 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HttpReadSettings.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HttpReadSettings.java @@ -9,7 +9,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; -/** Sftp read settings. */ +/** Http read settings. */ @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") @JsonTypeName("HttpReadSettings") @Fluent @@ -36,23 +36,18 @@ public final class HttpReadSettings extends StoreReadSettings { private Object additionalHeaders; /* - * Specifies the timeout for a HTTP client to get HTTP response from HTTP server. + * Specifies the timeout for a HTTP client to get HTTP response from HTTP server. Type: string (or Expression with + * resultType string). */ @JsonProperty(value = "requestTimeout") private Object requestTimeout; /* - * Indicates whether to enable partition discovery. + * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or + * Expression with resultType array of objects). */ - @JsonProperty(value = "enablePartitionDiscovery") - private Boolean enablePartitionDiscovery; - - /* - * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType - * string). - */ - @JsonProperty(value = "partitionRootPath") - private Object partitionRootPath; + @JsonProperty(value = "additionalColumns") + private Object additionalColumns; /** Creates an instance of HttpReadSettings class. */ public HttpReadSettings() { @@ -126,6 +121,7 @@ public HttpReadSettings withAdditionalHeaders(Object additionalHeaders) { /** * Get the requestTimeout property: Specifies the timeout for a HTTP client to get HTTP response from HTTP server. + * Type: string (or Expression with resultType string). * * @return the requestTimeout value. */ @@ -135,6 +131,7 @@ public Object requestTimeout() { /** * Set the requestTimeout property: Specifies the timeout for a HTTP client to get HTTP response from HTTP server. + * Type: string (or Expression with resultType string). * * @param requestTimeout the requestTimeout value to set. * @return the HttpReadSettings object itself. @@ -145,44 +142,24 @@ public HttpReadSettings withRequestTimeout(Object requestTimeout) { } /** - * Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery. - * - * @return the enablePartitionDiscovery value. - */ - public Boolean enablePartitionDiscovery() { - return this.enablePartitionDiscovery; - } - - /** - * Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery. - * - * @param enablePartitionDiscovery the enablePartitionDiscovery value to set. - * @return the HttpReadSettings object itself. - */ - public HttpReadSettings withEnablePartitionDiscovery(Boolean enablePartitionDiscovery) { - this.enablePartitionDiscovery = enablePartitionDiscovery; - return this; - } - - /** - * Get the partitionRootPath property: Specify the root path where partition discovery starts from. Type: string (or - * Expression with resultType string). + * Get the additionalColumns property: Specifies the additional columns to be added to source data. Type: array of + * objects(AdditionalColumns) (or Expression with resultType array of objects). * - * @return the partitionRootPath value. + * @return the additionalColumns value. */ - public Object partitionRootPath() { - return this.partitionRootPath; + public Object additionalColumns() { + return this.additionalColumns; } /** - * Set the partitionRootPath property: Specify the root path where partition discovery starts from. Type: string (or - * Expression with resultType string). + * Set the additionalColumns property: Specifies the additional columns to be added to source data. Type: array of + * objects(AdditionalColumns) (or Expression with resultType array of objects). * - * @param partitionRootPath the partitionRootPath value to set. + * @param additionalColumns the additionalColumns value to set. * @return the HttpReadSettings object itself. */ - public HttpReadSettings withPartitionRootPath(Object partitionRootPath) { - this.partitionRootPath = partitionRootPath; + public HttpReadSettings withAdditionalColumns(Object additionalColumns) { + this.additionalColumns = additionalColumns; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HubspotLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HubspotLinkedService.java index bb6e940347b87..3c70e3e84f313 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HubspotLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/HubspotLinkedService.java @@ -234,22 +234,22 @@ public HubspotLinkedService withUsePeerVerification(Object usePeerVerification) /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the HubspotLinkedService object itself. */ - public HubspotLinkedService withEncryptedCredential(Object encryptedCredential) { + public HubspotLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new HubspotLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/IfConditionActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/IfConditionActivity.java index 28030a3ee3ff9..c5faa0e7c650d 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/IfConditionActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/IfConditionActivity.java @@ -53,6 +53,20 @@ public IfConditionActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public IfConditionActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public IfConditionActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public IfConditionActivity withDependsOn(List dependsOn) { diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ImpalaLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ImpalaLinkedService.java index ec4e11bbcdb44..91c64f66e29ad 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ImpalaLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ImpalaLinkedService.java @@ -313,22 +313,22 @@ public ImpalaLinkedService withAllowSelfSignedServerCert(Object allowSelfSignedS /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the ImpalaLinkedService object itself. */ - public ImpalaLinkedService withEncryptedCredential(Object encryptedCredential) { + public ImpalaLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new ImpalaLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/InformixLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/InformixLinkedService.java index c32e0485c7950..0fe4a27072959 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/InformixLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/InformixLinkedService.java @@ -67,7 +67,8 @@ public InformixLinkedService withAnnotations(List annotations) { /** * Get the connectionString property: The non-access credential portion of the connection string as well as an - * optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference. + * optional encrypted credential. Type: string, or SecureString, or AzureKeyVaultSecretReference, or Expression with + * resultType string. * * @return the connectionString value. */ @@ -77,7 +78,8 @@ public Object connectionString() { /** * Set the connectionString property: The non-access credential portion of the connection string as well as an - * optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference. + * optional encrypted credential. Type: string, or SecureString, or AzureKeyVaultSecretReference, or Expression with + * resultType string. * * @param connectionString the connectionString value to set. * @return the InformixLinkedService object itself. @@ -190,22 +192,22 @@ public InformixLinkedService withPassword(SecretBase password) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the InformixLinkedService object itself. */ - public InformixLinkedService withEncryptedCredential(Object encryptedCredential) { + public InformixLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new InformixLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/IntegrationRuntimeDataFlowProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/IntegrationRuntimeDataFlowProperties.java index c2bf6564726a1..1e9f2054470f7 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/IntegrationRuntimeDataFlowProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/IntegrationRuntimeDataFlowProperties.java @@ -10,6 +10,7 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.HashMap; +import java.util.List; import java.util.Map; /** Data flow properties for managed integration runtime. */ @@ -41,6 +42,12 @@ public final class IntegrationRuntimeDataFlowProperties { @JsonProperty(value = "cleanup") private Boolean cleanup; + /* + * Custom properties are used to tune the data flow runtime performance. + */ + @JsonProperty(value = "customProperties") + private List customProperties; + /* * Data flow properties for managed integration runtime. */ @@ -134,6 +141,27 @@ public IntegrationRuntimeDataFlowProperties withCleanup(Boolean cleanup) { return this; } + /** + * Get the customProperties property: Custom properties are used to tune the data flow runtime performance. + * + * @return the customProperties value. + */ + public List customProperties() { + return this.customProperties; + } + + /** + * Set the customProperties property: Custom properties are used to tune the data flow runtime performance. + * + * @param customProperties the customProperties value to set. + * @return the IntegrationRuntimeDataFlowProperties object itself. + */ + public IntegrationRuntimeDataFlowProperties withCustomProperties( + List customProperties) { + this.customProperties = customProperties; + return this; + } + /** * Get the additionalProperties property: Data flow properties for managed integration runtime. * @@ -169,5 +197,8 @@ void withAdditionalProperties(String key, Object value) { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { + if (customProperties() != null) { + customProperties().forEach(e -> e.validate()); + } } } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/IntegrationRuntimeDataFlowPropertiesCustomPropertiesItem.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/IntegrationRuntimeDataFlowPropertiesCustomPropertiesItem.java new file mode 100644 index 0000000000000..a434f6fc50ff1 --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/IntegrationRuntimeDataFlowPropertiesCustomPropertiesItem.java @@ -0,0 +1,76 @@ +// 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; + +/** The IntegrationRuntimeDataFlowPropertiesCustomPropertiesItem model. */ +@Fluent +public final class IntegrationRuntimeDataFlowPropertiesCustomPropertiesItem { + /* + * Name of custom property. + */ + @JsonProperty(value = "name") + private String name; + + /* + * Value of custom property. + */ + @JsonProperty(value = "value") + private String value; + + /** Creates an instance of IntegrationRuntimeDataFlowPropertiesCustomPropertiesItem class. */ + public IntegrationRuntimeDataFlowPropertiesCustomPropertiesItem() { + } + + /** + * Get the name property: Name of custom property. + * + * @return the name value. + */ + public String name() { + return this.name; + } + + /** + * Set the name property: Name of custom property. + * + * @param name the name value to set. + * @return the IntegrationRuntimeDataFlowPropertiesCustomPropertiesItem object itself. + */ + public IntegrationRuntimeDataFlowPropertiesCustomPropertiesItem withName(String name) { + this.name = name; + return this; + } + + /** + * Get the value property: Value of custom property. + * + * @return the value value. + */ + public String value() { + return this.value; + } + + /** + * Set the value property: Value of custom property. + * + * @param value the value value to set. + * @return the IntegrationRuntimeDataFlowPropertiesCustomPropertiesItem object itself. + */ + public IntegrationRuntimeDataFlowPropertiesCustomPropertiesItem withValue(String value) { + this.value = value; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/JiraLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/JiraLinkedService.java index cbc0b0645d5ee..b48042ba1a436 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/JiraLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/JiraLinkedService.java @@ -236,22 +236,22 @@ public JiraLinkedService withUsePeerVerification(Object usePeerVerification) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the JiraLinkedService object itself. */ - public JiraLinkedService withEncryptedCredential(Object encryptedCredential) { + public JiraLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new JiraLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/LookupActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/LookupActivity.java index e9ea9d50a2f37..fd373ee88ee7c 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/LookupActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/LookupActivity.java @@ -64,6 +64,20 @@ public LookupActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public LookupActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public LookupActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public LookupActivity withDependsOn(List dependsOn) { diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MagentoLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MagentoLinkedService.java index dece753a5e978..8d4af48c5b1d0 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MagentoLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MagentoLinkedService.java @@ -188,22 +188,22 @@ public MagentoLinkedService withUsePeerVerification(Object usePeerVerification) /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the MagentoLinkedService object itself. */ - public MagentoLinkedService withEncryptedCredential(Object encryptedCredential) { + public MagentoLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new MagentoLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperAttributeMapping.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperAttributeMapping.java new file mode 100644 index 0000000000000..99202168f364d --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperAttributeMapping.java @@ -0,0 +1,195 @@ +// 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 java.util.List; + +/** Source and target column mapping details. */ +@Fluent +public final class MapperAttributeMapping { + /* + * Name of the target column. + */ + @JsonProperty(value = "name") + private String name; + + /* + * Type of the CDC attribute mapping. Note: 'Advanced' mapping type is also saved as 'Derived'. + */ + @JsonProperty(value = "type") + private MappingType type; + + /* + * Name of the function used for 'Aggregate' and 'Derived' (except 'Advanced') type mapping. + */ + @JsonProperty(value = "functionName") + private String functionName; + + /* + * Expression used for 'Aggregate' and 'Derived' type mapping. + */ + @JsonProperty(value = "expression") + private String expression; + + /* + * Reference of the source column used in the mapping. It is used for 'Direct' mapping type only. + */ + @JsonProperty(value = "attributeReference") + private MapperAttributeReference attributeReference; + + /* + * List of references for source columns. It is used for 'Derived' and 'Aggregate' type mappings only. + */ + @JsonProperty(value = "attributeReferences") + private List attributeReferences; + + /** Creates an instance of MapperAttributeMapping class. */ + public MapperAttributeMapping() { + } + + /** + * Get the name property: Name of the target column. + * + * @return the name value. + */ + public String name() { + return this.name; + } + + /** + * Set the name property: Name of the target column. + * + * @param name the name value to set. + * @return the MapperAttributeMapping object itself. + */ + public MapperAttributeMapping withName(String name) { + this.name = name; + return this; + } + + /** + * Get the type property: Type of the CDC attribute mapping. Note: 'Advanced' mapping type is also saved as + * 'Derived'. + * + * @return the type value. + */ + public MappingType type() { + return this.type; + } + + /** + * Set the type property: Type of the CDC attribute mapping. Note: 'Advanced' mapping type is also saved as + * 'Derived'. + * + * @param type the type value to set. + * @return the MapperAttributeMapping object itself. + */ + public MapperAttributeMapping withType(MappingType type) { + this.type = type; + return this; + } + + /** + * Get the functionName property: Name of the function used for 'Aggregate' and 'Derived' (except 'Advanced') type + * mapping. + * + * @return the functionName value. + */ + public String functionName() { + return this.functionName; + } + + /** + * Set the functionName property: Name of the function used for 'Aggregate' and 'Derived' (except 'Advanced') type + * mapping. + * + * @param functionName the functionName value to set. + * @return the MapperAttributeMapping object itself. + */ + public MapperAttributeMapping withFunctionName(String functionName) { + this.functionName = functionName; + return this; + } + + /** + * Get the expression property: Expression used for 'Aggregate' and 'Derived' type mapping. + * + * @return the expression value. + */ + public String expression() { + return this.expression; + } + + /** + * Set the expression property: Expression used for 'Aggregate' and 'Derived' type mapping. + * + * @param expression the expression value to set. + * @return the MapperAttributeMapping object itself. + */ + public MapperAttributeMapping withExpression(String expression) { + this.expression = expression; + return this; + } + + /** + * Get the attributeReference property: Reference of the source column used in the mapping. It is used for 'Direct' + * mapping type only. + * + * @return the attributeReference value. + */ + public MapperAttributeReference attributeReference() { + return this.attributeReference; + } + + /** + * Set the attributeReference property: Reference of the source column used in the mapping. It is used for 'Direct' + * mapping type only. + * + * @param attributeReference the attributeReference value to set. + * @return the MapperAttributeMapping object itself. + */ + public MapperAttributeMapping withAttributeReference(MapperAttributeReference attributeReference) { + this.attributeReference = attributeReference; + return this; + } + + /** + * Get the attributeReferences property: List of references for source columns. It is used for 'Derived' and + * 'Aggregate' type mappings only. + * + * @return the attributeReferences value. + */ + public List attributeReferences() { + return this.attributeReferences; + } + + /** + * Set the attributeReferences property: List of references for source columns. It is used for 'Derived' and + * 'Aggregate' type mappings only. + * + * @param attributeReferences the attributeReferences value to set. + * @return the MapperAttributeMapping object itself. + */ + public MapperAttributeMapping withAttributeReferences(List attributeReferences) { + this.attributeReferences = attributeReferences; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (attributeReference() != null) { + attributeReference().validate(); + } + if (attributeReferences() != null) { + attributeReferences().forEach(e -> e.validate()); + } + } +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperAttributeMappings.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperAttributeMappings.java new file mode 100644 index 0000000000000..a74556a54ffd8 --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperAttributeMappings.java @@ -0,0 +1,54 @@ +// 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 java.util.List; + +/** Attribute mapping details. */ +@Fluent +public final class MapperAttributeMappings { + /* + * List of attribute mappings. + */ + @JsonProperty(value = "attributeMappings") + private List attributeMappings; + + /** Creates an instance of MapperAttributeMappings class. */ + public MapperAttributeMappings() { + } + + /** + * Get the attributeMappings property: List of attribute mappings. + * + * @return the attributeMappings value. + */ + public List attributeMappings() { + return this.attributeMappings; + } + + /** + * Set the attributeMappings property: List of attribute mappings. + * + * @param attributeMappings the attributeMappings value to set. + * @return the MapperAttributeMappings object itself. + */ + public MapperAttributeMappings withAttributeMappings(List attributeMappings) { + this.attributeMappings = attributeMappings; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (attributeMappings() != null) { + attributeMappings().forEach(e -> e.validate()); + } + } +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperAttributeReference.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperAttributeReference.java new file mode 100644 index 0000000000000..fc0a3b10e710c --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperAttributeReference.java @@ -0,0 +1,105 @@ +// 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; + +/** Attribute reference details for the referred column. */ +@Fluent +public final class MapperAttributeReference { + /* + * Name of the column. + */ + @JsonProperty(value = "name") + private String name; + + /* + * Name of the table. + */ + @JsonProperty(value = "entity") + private String entity; + + /* + * The connection reference for the connection. + */ + @JsonProperty(value = "entityConnectionReference") + private MapperConnectionReference entityConnectionReference; + + /** Creates an instance of MapperAttributeReference class. */ + public MapperAttributeReference() { + } + + /** + * Get the name property: Name of the column. + * + * @return the name value. + */ + public String name() { + return this.name; + } + + /** + * Set the name property: Name of the column. + * + * @param name the name value to set. + * @return the MapperAttributeReference object itself. + */ + public MapperAttributeReference withName(String name) { + this.name = name; + return this; + } + + /** + * Get the entity property: Name of the table. + * + * @return the entity value. + */ + public String entity() { + return this.entity; + } + + /** + * Set the entity property: Name of the table. + * + * @param entity the entity value to set. + * @return the MapperAttributeReference object itself. + */ + public MapperAttributeReference withEntity(String entity) { + this.entity = entity; + return this; + } + + /** + * Get the entityConnectionReference property: The connection reference for the connection. + * + * @return the entityConnectionReference value. + */ + public MapperConnectionReference entityConnectionReference() { + return this.entityConnectionReference; + } + + /** + * Set the entityConnectionReference property: The connection reference for the connection. + * + * @param entityConnectionReference the entityConnectionReference value to set. + * @return the MapperAttributeReference object itself. + */ + public MapperAttributeReference withEntityConnectionReference(MapperConnectionReference entityConnectionReference) { + this.entityConnectionReference = entityConnectionReference; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (entityConnectionReference() != null) { + entityConnectionReference().validate(); + } + } +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperConnection.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperConnection.java new file mode 100644 index 0000000000000..7967e63b52139 --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperConnection.java @@ -0,0 +1,173 @@ +// 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.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** Source connection details. */ +@Fluent +public final class MapperConnection { + /* + * Linked service reference. + */ + @JsonProperty(value = "linkedService") + private LinkedServiceReference linkedService; + + /* + * Type of the linked service e.g.: AzureBlobFS. + */ + @JsonProperty(value = "linkedServiceType") + private String linkedServiceType; + + /* + * Type of connection via linked service or dataset. + */ + @JsonProperty(value = "type", required = true) + private ConnectionType type; + + /* + * A boolean indicating whether linked service is of type inline dataset. Currently only inline datasets are + * supported. + */ + @JsonProperty(value = "isInlineDataset") + private Boolean isInlineDataset; + + /* + * List of name/value pairs for connection properties. + */ + @JsonProperty(value = "commonDslConnectorProperties") + private List commonDslConnectorProperties; + + /** Creates an instance of MapperConnection class. */ + public MapperConnection() { + } + + /** + * Get the linkedService property: Linked service reference. + * + * @return the linkedService value. + */ + public LinkedServiceReference linkedService() { + return this.linkedService; + } + + /** + * Set the linkedService property: Linked service reference. + * + * @param linkedService the linkedService value to set. + * @return the MapperConnection object itself. + */ + public MapperConnection withLinkedService(LinkedServiceReference linkedService) { + this.linkedService = linkedService; + return this; + } + + /** + * Get the linkedServiceType property: Type of the linked service e.g.: AzureBlobFS. + * + * @return the linkedServiceType value. + */ + public String linkedServiceType() { + return this.linkedServiceType; + } + + /** + * Set the linkedServiceType property: Type of the linked service e.g.: AzureBlobFS. + * + * @param linkedServiceType the linkedServiceType value to set. + * @return the MapperConnection object itself. + */ + public MapperConnection withLinkedServiceType(String linkedServiceType) { + this.linkedServiceType = linkedServiceType; + return this; + } + + /** + * Get the type property: Type of connection via linked service or dataset. + * + * @return the type value. + */ + public ConnectionType type() { + return this.type; + } + + /** + * Set the type property: Type of connection via linked service or dataset. + * + * @param type the type value to set. + * @return the MapperConnection object itself. + */ + public MapperConnection withType(ConnectionType type) { + this.type = type; + return this; + } + + /** + * Get the isInlineDataset property: A boolean indicating whether linked service is of type inline dataset. + * Currently only inline datasets are supported. + * + * @return the isInlineDataset value. + */ + public Boolean isInlineDataset() { + return this.isInlineDataset; + } + + /** + * Set the isInlineDataset property: A boolean indicating whether linked service is of type inline dataset. + * Currently only inline datasets are supported. + * + * @param isInlineDataset the isInlineDataset value to set. + * @return the MapperConnection object itself. + */ + public MapperConnection withIsInlineDataset(Boolean isInlineDataset) { + this.isInlineDataset = isInlineDataset; + return this; + } + + /** + * Get the commonDslConnectorProperties property: List of name/value pairs for connection properties. + * + * @return the commonDslConnectorProperties value. + */ + public List commonDslConnectorProperties() { + return this.commonDslConnectorProperties; + } + + /** + * Set the commonDslConnectorProperties property: List of name/value pairs for connection properties. + * + * @param commonDslConnectorProperties the commonDslConnectorProperties value to set. + * @return the MapperConnection object itself. + */ + public MapperConnection withCommonDslConnectorProperties( + List commonDslConnectorProperties) { + this.commonDslConnectorProperties = commonDslConnectorProperties; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (linkedService() != null) { + linkedService().validate(); + } + if (type() == null) { + throw LOGGER + .logExceptionAsError( + new IllegalArgumentException("Missing required property type in model MapperConnection")); + } + if (commonDslConnectorProperties() != null) { + commonDslConnectorProperties().forEach(e -> e.validate()); + } + } + + private static final ClientLogger LOGGER = new ClientLogger(MapperConnection.class); +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperConnectionReference.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperConnectionReference.java new file mode 100644 index 0000000000000..90bc806103314 --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperConnectionReference.java @@ -0,0 +1,76 @@ +// 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; + +/** Source or target connection reference details. */ +@Fluent +public final class MapperConnectionReference { + /* + * Name of the connection + */ + @JsonProperty(value = "connectionName") + private String connectionName; + + /* + * Type of connection via linked service or dataset. + */ + @JsonProperty(value = "type") + private ConnectionType type; + + /** Creates an instance of MapperConnectionReference class. */ + public MapperConnectionReference() { + } + + /** + * Get the connectionName property: Name of the connection. + * + * @return the connectionName value. + */ + public String connectionName() { + return this.connectionName; + } + + /** + * Set the connectionName property: Name of the connection. + * + * @param connectionName the connectionName value to set. + * @return the MapperConnectionReference object itself. + */ + public MapperConnectionReference withConnectionName(String connectionName) { + this.connectionName = connectionName; + return this; + } + + /** + * Get the type property: Type of connection via linked service or dataset. + * + * @return the type value. + */ + public ConnectionType type() { + return this.type; + } + + /** + * Set the type property: Type of connection via linked service or dataset. + * + * @param type the type value to set. + * @return the MapperConnectionReference object itself. + */ + public MapperConnectionReference withType(ConnectionType type) { + this.type = type; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperDslConnectorProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperDslConnectorProperties.java new file mode 100644 index 0000000000000..ec0da7444545a --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperDslConnectorProperties.java @@ -0,0 +1,76 @@ +// 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; + +/** Connector properties of a CDC table in terms of name / value pairs. */ +@Fluent +public final class MapperDslConnectorProperties { + /* + * Name of the property. + */ + @JsonProperty(value = "name") + private String name; + + /* + * Value of the property. + */ + @JsonProperty(value = "value") + private Object value; + + /** Creates an instance of MapperDslConnectorProperties class. */ + public MapperDslConnectorProperties() { + } + + /** + * Get the name property: Name of the property. + * + * @return the name value. + */ + public String name() { + return this.name; + } + + /** + * Set the name property: Name of the property. + * + * @param name the name value to set. + * @return the MapperDslConnectorProperties object itself. + */ + public MapperDslConnectorProperties withName(String name) { + this.name = name; + return this; + } + + /** + * Get the value property: Value of the property. + * + * @return the value value. + */ + public Object value() { + return this.value; + } + + /** + * Set the value property: Value of the property. + * + * @param value the value value to set. + * @return the MapperDslConnectorProperties object itself. + */ + public MapperDslConnectorProperties withValue(Object value) { + this.value = value; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperPolicy.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperPolicy.java new file mode 100644 index 0000000000000..0bc8933d4f9b3 --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperPolicy.java @@ -0,0 +1,79 @@ +// 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; + +/** CDC Policy. */ +@Fluent +public final class MapperPolicy { + /* + * Mode of running the CDC: batch vs continuous. + */ + @JsonProperty(value = "mode") + private String mode; + + /* + * Defines the frequency and interval for running the CDC for batch mode. + */ + @JsonProperty(value = "recurrence") + private MapperPolicyRecurrence recurrence; + + /** Creates an instance of MapperPolicy class. */ + public MapperPolicy() { + } + + /** + * Get the mode property: Mode of running the CDC: batch vs continuous. + * + * @return the mode value. + */ + public String mode() { + return this.mode; + } + + /** + * Set the mode property: Mode of running the CDC: batch vs continuous. + * + * @param mode the mode value to set. + * @return the MapperPolicy object itself. + */ + public MapperPolicy withMode(String mode) { + this.mode = mode; + return this; + } + + /** + * Get the recurrence property: Defines the frequency and interval for running the CDC for batch mode. + * + * @return the recurrence value. + */ + public MapperPolicyRecurrence recurrence() { + return this.recurrence; + } + + /** + * Set the recurrence property: Defines the frequency and interval for running the CDC for batch mode. + * + * @param recurrence the recurrence value to set. + * @return the MapperPolicy object itself. + */ + public MapperPolicy withRecurrence(MapperPolicyRecurrence recurrence) { + this.recurrence = recurrence; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (recurrence() != null) { + recurrence().validate(); + } + } +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperPolicyRecurrence.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperPolicyRecurrence.java new file mode 100644 index 0000000000000..5fd77c70aa37f --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperPolicyRecurrence.java @@ -0,0 +1,76 @@ +// 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; + +/** CDC policy recurrence details. */ +@Fluent +public final class MapperPolicyRecurrence { + /* + * Frequency of period in terms of 'Hour', 'Minute' or 'Second'. + */ + @JsonProperty(value = "frequency") + private FrequencyType frequency; + + /* + * Actual interval value as per chosen frequency. + */ + @JsonProperty(value = "interval") + private Integer interval; + + /** Creates an instance of MapperPolicyRecurrence class. */ + public MapperPolicyRecurrence() { + } + + /** + * Get the frequency property: Frequency of period in terms of 'Hour', 'Minute' or 'Second'. + * + * @return the frequency value. + */ + public FrequencyType frequency() { + return this.frequency; + } + + /** + * Set the frequency property: Frequency of period in terms of 'Hour', 'Minute' or 'Second'. + * + * @param frequency the frequency value to set. + * @return the MapperPolicyRecurrence object itself. + */ + public MapperPolicyRecurrence withFrequency(FrequencyType frequency) { + this.frequency = frequency; + return this; + } + + /** + * Get the interval property: Actual interval value as per chosen frequency. + * + * @return the interval value. + */ + public Integer interval() { + return this.interval; + } + + /** + * Set the interval property: Actual interval value as per chosen frequency. + * + * @param interval the interval value to set. + * @return the MapperPolicyRecurrence object itself. + */ + public MapperPolicyRecurrence withInterval(Integer interval) { + this.interval = interval; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperSourceConnectionsInfo.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperSourceConnectionsInfo.java new file mode 100644 index 0000000000000..4a6d6cd5b9015 --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperSourceConnectionsInfo.java @@ -0,0 +1,83 @@ +// 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 java.util.List; + +/** A object which contains list of tables and connection details for a source connection. */ +@Fluent +public final class MapperSourceConnectionsInfo { + /* + * List of source tables for a source connection. + */ + @JsonProperty(value = "SourceEntities") + private List sourceEntities; + + /* + * Source connection details. + */ + @JsonProperty(value = "Connection") + private MapperConnection connection; + + /** Creates an instance of MapperSourceConnectionsInfo class. */ + public MapperSourceConnectionsInfo() { + } + + /** + * Get the sourceEntities property: List of source tables for a source connection. + * + * @return the sourceEntities value. + */ + public List sourceEntities() { + return this.sourceEntities; + } + + /** + * Set the sourceEntities property: List of source tables for a source connection. + * + * @param sourceEntities the sourceEntities value to set. + * @return the MapperSourceConnectionsInfo object itself. + */ + public MapperSourceConnectionsInfo withSourceEntities(List sourceEntities) { + this.sourceEntities = sourceEntities; + return this; + } + + /** + * Get the connection property: Source connection details. + * + * @return the connection value. + */ + public MapperConnection connection() { + return this.connection; + } + + /** + * Set the connection property: Source connection details. + * + * @param connection the connection value to set. + * @return the MapperSourceConnectionsInfo object itself. + */ + public MapperSourceConnectionsInfo withConnection(MapperConnection connection) { + this.connection = connection; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (sourceEntities() != null) { + sourceEntities().forEach(e -> e.validate()); + } + if (connection() != null) { + connection().validate(); + } + } +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperTable.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperTable.java new file mode 100644 index 0000000000000..4ac30812316f0 --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperTable.java @@ -0,0 +1,116 @@ +// 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.resourcemanager.datafactory.fluent.models.MapperTableProperties; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** CDC table details. */ +@Fluent +public final class MapperTable { + /* + * Name of the table. + */ + @JsonProperty(value = "name") + private String name; + + /* + * Table properties. + */ + @JsonProperty(value = "properties") + private MapperTableProperties innerProperties; + + /** Creates an instance of MapperTable class. */ + public MapperTable() { + } + + /** + * Get the name property: Name of the table. + * + * @return the name value. + */ + public String name() { + return this.name; + } + + /** + * Set the name property: Name of the table. + * + * @param name the name value to set. + * @return the MapperTable object itself. + */ + public MapperTable withName(String name) { + this.name = name; + return this; + } + + /** + * Get the innerProperties property: Table properties. + * + * @return the innerProperties value. + */ + private MapperTableProperties innerProperties() { + return this.innerProperties; + } + + /** + * Get the schema property: List of columns for the source table. + * + * @return the schema value. + */ + public List schema() { + return this.innerProperties() == null ? null : this.innerProperties().schema(); + } + + /** + * Set the schema property: List of columns for the source table. + * + * @param schema the schema value to set. + * @return the MapperTable object itself. + */ + public MapperTable withSchema(List schema) { + if (this.innerProperties() == null) { + this.innerProperties = new MapperTableProperties(); + } + this.innerProperties().withSchema(schema); + return this; + } + + /** + * Get the dslConnectorProperties property: List of name/value pairs for connection properties. + * + * @return the dslConnectorProperties value. + */ + public List dslConnectorProperties() { + return this.innerProperties() == null ? null : this.innerProperties().dslConnectorProperties(); + } + + /** + * Set the dslConnectorProperties property: List of name/value pairs for connection properties. + * + * @param dslConnectorProperties the dslConnectorProperties value to set. + * @return the MapperTable object itself. + */ + public MapperTable withDslConnectorProperties(List dslConnectorProperties) { + if (this.innerProperties() == null) { + this.innerProperties = new MapperTableProperties(); + } + this.innerProperties().withDslConnectorProperties(dslConnectorProperties); + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (innerProperties() != null) { + innerProperties().validate(); + } + } +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperTableSchema.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperTableSchema.java new file mode 100644 index 0000000000000..fc6ac60a47dfd --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperTableSchema.java @@ -0,0 +1,76 @@ +// 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; + +/** Schema of a CDC table in terms of column names and their corresponding data types. */ +@Fluent +public final class MapperTableSchema { + /* + * Name of the column. + */ + @JsonProperty(value = "name") + private String name; + + /* + * Data type of the column. + */ + @JsonProperty(value = "dataType") + private String dataType; + + /** Creates an instance of MapperTableSchema class. */ + public MapperTableSchema() { + } + + /** + * Get the name property: Name of the column. + * + * @return the name value. + */ + public String name() { + return this.name; + } + + /** + * Set the name property: Name of the column. + * + * @param name the name value to set. + * @return the MapperTableSchema object itself. + */ + public MapperTableSchema withName(String name) { + this.name = name; + return this; + } + + /** + * Get the dataType property: Data type of the column. + * + * @return the dataType value. + */ + public String dataType() { + return this.dataType; + } + + /** + * Set the dataType property: Data type of the column. + * + * @param dataType the dataType value to set. + * @return the MapperTableSchema object itself. + */ + public MapperTableSchema withDataType(String dataType) { + this.dataType = dataType; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperTargetConnectionsInfo.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperTargetConnectionsInfo.java new file mode 100644 index 0000000000000..fa0f983e9c7e1 --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MapperTargetConnectionsInfo.java @@ -0,0 +1,138 @@ +// 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 java.util.List; + +/** A object which contains list of tables and connection details for a target connection. */ +@Fluent +public final class MapperTargetConnectionsInfo { + /* + * List of source tables for a target connection. + */ + @JsonProperty(value = "TargetEntities") + private List targetEntities; + + /* + * Source connection details. + */ + @JsonProperty(value = "Connection") + private MapperConnection connection; + + /* + * List of table mappings. + */ + @JsonProperty(value = "DataMapperMappings") + private List dataMapperMappings; + + /* + * List of relationship info among the tables. + */ + @JsonProperty(value = "Relationships") + private List relationships; + + /** Creates an instance of MapperTargetConnectionsInfo class. */ + public MapperTargetConnectionsInfo() { + } + + /** + * Get the targetEntities property: List of source tables for a target connection. + * + * @return the targetEntities value. + */ + public List targetEntities() { + return this.targetEntities; + } + + /** + * Set the targetEntities property: List of source tables for a target connection. + * + * @param targetEntities the targetEntities value to set. + * @return the MapperTargetConnectionsInfo object itself. + */ + public MapperTargetConnectionsInfo withTargetEntities(List targetEntities) { + this.targetEntities = targetEntities; + return this; + } + + /** + * Get the connection property: Source connection details. + * + * @return the connection value. + */ + public MapperConnection connection() { + return this.connection; + } + + /** + * Set the connection property: Source connection details. + * + * @param connection the connection value to set. + * @return the MapperTargetConnectionsInfo object itself. + */ + public MapperTargetConnectionsInfo withConnection(MapperConnection connection) { + this.connection = connection; + return this; + } + + /** + * Get the dataMapperMappings property: List of table mappings. + * + * @return the dataMapperMappings value. + */ + public List dataMapperMappings() { + return this.dataMapperMappings; + } + + /** + * Set the dataMapperMappings property: List of table mappings. + * + * @param dataMapperMappings the dataMapperMappings value to set. + * @return the MapperTargetConnectionsInfo object itself. + */ + public MapperTargetConnectionsInfo withDataMapperMappings(List dataMapperMappings) { + this.dataMapperMappings = dataMapperMappings; + return this; + } + + /** + * Get the relationships property: List of relationship info among the tables. + * + * @return the relationships value. + */ + public List relationships() { + return this.relationships; + } + + /** + * Set the relationships property: List of relationship info among the tables. + * + * @param relationships the relationships value to set. + * @return the MapperTargetConnectionsInfo object itself. + */ + public MapperTargetConnectionsInfo withRelationships(List relationships) { + this.relationships = relationships; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (targetEntities() != null) { + targetEntities().forEach(e -> e.validate()); + } + if (connection() != null) { + connection().validate(); + } + if (dataMapperMappings() != null) { + dataMapperMappings().forEach(e -> e.validate()); + } + } +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MappingType.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MappingType.java new file mode 100644 index 0000000000000..f3eb1eb7ff594 --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MappingType.java @@ -0,0 +1,50 @@ +// 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; + +/** Type of the CDC attribute mapping. Note: 'Advanced' mapping type is also saved as 'Derived'. */ +public final class MappingType extends ExpandableStringEnum { + /** Static value Direct for MappingType. */ + public static final MappingType DIRECT = fromString("Direct"); + + /** Static value Derived for MappingType. */ + public static final MappingType DERIVED = fromString("Derived"); + + /** Static value Aggregate for MappingType. */ + public static final MappingType AGGREGATE = fromString("Aggregate"); + + /** + * Creates a new instance of MappingType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public MappingType() { + } + + /** + * Creates or finds a MappingType from its string representation. + * + * @param name a name to look for. + * @return the corresponding MappingType. + */ + @JsonCreator + public static MappingType fromString(String name) { + return fromString(name, MappingType.class); + } + + /** + * Gets known MappingType values. + * + * @return known MappingType values. + */ + public static Collection values() { + return values(MappingType.class); + } +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MariaDBLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MariaDBLinkedService.java index cee1758f2162b..5905b3a652c8f 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MariaDBLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MariaDBLinkedService.java @@ -115,22 +115,22 @@ public MariaDBLinkedService withPwd(AzureKeyVaultSecretReference pwd) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the MariaDBLinkedService object itself. */ - public MariaDBLinkedService withEncryptedCredential(Object encryptedCredential) { + public MariaDBLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new MariaDBLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MarketoLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MarketoLinkedService.java index 690a3f397241c..ba8373865ba80 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MarketoLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MarketoLinkedService.java @@ -211,22 +211,22 @@ public MarketoLinkedService withUsePeerVerification(Object usePeerVerification) /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the MarketoLinkedService object itself. */ - public MarketoLinkedService withEncryptedCredential(Object encryptedCredential) { + public MarketoLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new MarketoLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MicrosoftAccessLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MicrosoftAccessLinkedService.java index 7daa2d2308722..9d543c4c2377f 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MicrosoftAccessLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MicrosoftAccessLinkedService.java @@ -68,7 +68,8 @@ public MicrosoftAccessLinkedService withAnnotations(List annotations) { /** * Get the connectionString property: The non-access credential portion of the connection string as well as an - * optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference. + * optional encrypted credential. Type: string, or SecureString, or AzureKeyVaultSecretReference, or Expression with + * resultType string. * * @return the connectionString value. */ @@ -78,7 +79,8 @@ public Object connectionString() { /** * Set the connectionString property: The non-access credential portion of the connection string as well as an - * optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference. + * optional encrypted credential. Type: string, or SecureString, or AzureKeyVaultSecretReference, or Expression with + * resultType string. * * @param connectionString the connectionString value to set. * @return the MicrosoftAccessLinkedService object itself. @@ -191,22 +193,22 @@ public MicrosoftAccessLinkedService withPassword(SecretBase password) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the MicrosoftAccessLinkedService object itself. */ - public MicrosoftAccessLinkedService withEncryptedCredential(Object encryptedCredential) { + public MicrosoftAccessLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new MicrosoftAccessLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MongoDbAtlasLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MongoDbAtlasLinkedService.java index a93577a8138ee..2ae249c9b31de 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MongoDbAtlasLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MongoDbAtlasLinkedService.java @@ -115,6 +115,31 @@ public MongoDbAtlasLinkedService withDatabase(Object database) { return this; } + /** + * Get the mongoDbAtlasDriverVersion property: The MongoDB Atlas Driver version that you want to choose. Allowed + * value are 2.10.4 and 2.19.0. Type: string (or Expression with resultType string). + * + * @return the mongoDbAtlasDriverVersion value. + */ + public Object mongoDbAtlasDriverVersion() { + return this.innerTypeProperties() == null ? null : this.innerTypeProperties().mongoDbAtlasDriverVersion(); + } + + /** + * Set the mongoDbAtlasDriverVersion property: The MongoDB Atlas Driver version that you want to choose. Allowed + * value are 2.10.4 and 2.19.0. Type: string (or Expression with resultType string). + * + * @param mongoDbAtlasDriverVersion the mongoDbAtlasDriverVersion value to set. + * @return the MongoDbAtlasLinkedService object itself. + */ + public MongoDbAtlasLinkedService withMongoDbAtlasDriverVersion(Object mongoDbAtlasDriverVersion) { + if (this.innerTypeProperties() == null) { + this.innerTypeProperties = new MongoDbAtlasLinkedServiceTypeProperties(); + } + this.innerTypeProperties().withMongoDbAtlasDriverVersion(mongoDbAtlasDriverVersion); + return this; + } + /** * Validates the instance. * diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MongoDbLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MongoDbLinkedService.java index 570265d292f47..b882bcdf14cf8 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MongoDbLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MongoDbLinkedService.java @@ -286,22 +286,22 @@ public MongoDbLinkedService withAllowSelfSignedServerCert(Object allowSelfSigned /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the MongoDbLinkedService object itself. */ - public MongoDbLinkedService withEncryptedCredential(Object encryptedCredential) { + public MongoDbLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new MongoDbLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MySqlLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MySqlLinkedService.java index 69e1cf5bdc65c..37aa79cc23bc5 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MySqlLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/MySqlLinkedService.java @@ -66,7 +66,8 @@ public MySqlLinkedService withAnnotations(List annotations) { } /** - * Get the connectionString property: The connection string. + * Get the connectionString property: The connection string. Type: string, SecureString or + * AzureKeyVaultSecretReference. * * @return the connectionString value. */ @@ -75,7 +76,8 @@ public Object connectionString() { } /** - * Set the connectionString property: The connection string. + * Set the connectionString property: The connection string. Type: string, SecureString or + * AzureKeyVaultSecretReference. * * @param connectionString the connectionString value to set. * @return the MySqlLinkedService object itself. @@ -113,22 +115,22 @@ public MySqlLinkedService withPassword(AzureKeyVaultSecretReference password) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the MySqlLinkedService object itself. */ - public MySqlLinkedService withEncryptedCredential(Object encryptedCredential) { + public MySqlLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new MySqlLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/NetezzaLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/NetezzaLinkedService.java index baff29e148a90..12d6ae10b0eac 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/NetezzaLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/NetezzaLinkedService.java @@ -115,22 +115,22 @@ public NetezzaLinkedService withPwd(AzureKeyVaultSecretReference pwd) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the NetezzaLinkedService object itself. */ - public NetezzaLinkedService withEncryptedCredential(Object encryptedCredential) { + public NetezzaLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new NetezzaLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ODataLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ODataLinkedService.java index c50751bbe48b0..0726cab4b2da8 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ODataLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ODataLinkedService.java @@ -394,22 +394,22 @@ public ODataLinkedService withServicePrincipalEmbeddedCertPassword( /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the ODataLinkedService object itself. */ - public ODataLinkedService withEncryptedCredential(Object encryptedCredential) { + public ODataLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new ODataLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/OdbcLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/OdbcLinkedService.java index 77f5129bf7cd0..0386a3480bce1 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/OdbcLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/OdbcLinkedService.java @@ -67,7 +67,8 @@ public OdbcLinkedService withAnnotations(List annotations) { /** * Get the connectionString property: The non-access credential portion of the connection string as well as an - * optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference. + * optional encrypted credential. Type: string, or SecureString, or AzureKeyVaultSecretReference, or Expression with + * resultType string. * * @return the connectionString value. */ @@ -77,7 +78,8 @@ public Object connectionString() { /** * Set the connectionString property: The non-access credential portion of the connection string as well as an - * optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference. + * optional encrypted credential. Type: string, or SecureString, or AzureKeyVaultSecretReference, or Expression with + * resultType string. * * @param connectionString the connectionString value to set. * @return the OdbcLinkedService object itself. @@ -190,22 +192,22 @@ public OdbcLinkedService withPassword(SecretBase password) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the OdbcLinkedService object itself. */ - public OdbcLinkedService withEncryptedCredential(Object encryptedCredential) { + public OdbcLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new OdbcLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/Office365LinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/Office365LinkedService.java index 041764d920760..a79adbfc37606 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/Office365LinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/Office365LinkedService.java @@ -165,22 +165,22 @@ public Office365LinkedService withServicePrincipalKey(SecretBase servicePrincipa /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the Office365LinkedService object itself. */ - public Office365LinkedService withEncryptedCredential(Object encryptedCredential) { + public Office365LinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new Office365LinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/Office365Source.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/Office365Source.java index 7a7117ed9b8d2..177c408c98f3b 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/Office365Source.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/Office365Source.java @@ -47,7 +47,7 @@ public final class Office365Source extends CopySource { /* * The columns to be read out from the Office 365 table. Type: array of objects (or Expression with resultType - * array of objects). Example: [ { "name": "Id" }, { "name": "CreatedDateTime" } ] + * array of objects). itemType: OutputColumn. Example: [ { "name": "Id" }, { "name": "CreatedDateTime" } ] */ @JsonProperty(value = "outputColumns") private Object outputColumns; @@ -166,7 +166,8 @@ public Office365Source withEndTime(Object endTime) { /** * Get the outputColumns property: The columns to be read out from the Office 365 table. Type: array of objects (or - * Expression with resultType array of objects). Example: [ { "name": "Id" }, { "name": "CreatedDateTime" } ]. + * Expression with resultType array of objects). itemType: OutputColumn. Example: [ { "name": "Id" }, { "name": + * "CreatedDateTime" } ]. * * @return the outputColumns value. */ @@ -176,7 +177,8 @@ public Object outputColumns() { /** * Set the outputColumns property: The columns to be read out from the Office 365 table. Type: array of objects (or - * Expression with resultType array of objects). Example: [ { "name": "Id" }, { "name": "CreatedDateTime" } ]. + * Expression with resultType array of objects). itemType: OutputColumn. Example: [ { "name": "Id" }, { "name": + * "CreatedDateTime" } ]. * * @param outputColumns the outputColumns value to set. * @return the Office365Source object itself. diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/OracleCloudStorageLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/OracleCloudStorageLinkedService.java index 6eed1447bee35..e005e5c575c85 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/OracleCloudStorageLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/OracleCloudStorageLinkedService.java @@ -145,22 +145,22 @@ public OracleCloudStorageLinkedService withServiceUrl(Object serviceUrl) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the OracleCloudStorageLinkedService object itself. */ - public OracleCloudStorageLinkedService withEncryptedCredential(Object encryptedCredential) { + public OracleCloudStorageLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new OracleCloudStorageLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/OracleCloudStorageReadSettings.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/OracleCloudStorageReadSettings.java index ccd2c3242f950..abe910e0e33e8 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/OracleCloudStorageReadSettings.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/OracleCloudStorageReadSettings.java @@ -47,10 +47,10 @@ public final class OracleCloudStorageReadSettings extends StoreReadSettings { private Object fileListPath; /* - * Indicates whether to enable partition discovery. + * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). */ @JsonProperty(value = "enablePartitionDiscovery") - private Boolean enablePartitionDiscovery; + private Object enablePartitionDiscovery; /* * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType @@ -193,21 +193,23 @@ public OracleCloudStorageReadSettings withFileListPath(Object fileListPath) { } /** - * Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery. + * Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery. Type: boolean (or + * Expression with resultType boolean). * * @return the enablePartitionDiscovery value. */ - public Boolean enablePartitionDiscovery() { + public Object enablePartitionDiscovery() { return this.enablePartitionDiscovery; } /** - * Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery. + * Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery. Type: boolean (or + * Expression with resultType boolean). * * @param enablePartitionDiscovery the enablePartitionDiscovery value to set. * @return the OracleCloudStorageReadSettings object itself. */ - public OracleCloudStorageReadSettings withEnablePartitionDiscovery(Boolean enablePartitionDiscovery) { + public OracleCloudStorageReadSettings withEnablePartitionDiscovery(Object enablePartitionDiscovery) { this.enablePartitionDiscovery = enablePartitionDiscovery; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/OracleLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/OracleLinkedService.java index d3ce64429310a..b9f63fbbff06a 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/OracleLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/OracleLinkedService.java @@ -115,22 +115,22 @@ public OracleLinkedService withPassword(AzureKeyVaultSecretReference password) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the OracleLinkedService object itself. */ - public OracleLinkedService withEncryptedCredential(Object encryptedCredential) { + public OracleLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new OracleLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/OracleServiceCloudLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/OracleServiceCloudLinkedService.java index 94c75b40892c9..978648aefedcc 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/OracleServiceCloudLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/OracleServiceCloudLinkedService.java @@ -214,22 +214,22 @@ public OracleServiceCloudLinkedService withUsePeerVerification(Object usePeerVer /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the OracleServiceCloudLinkedService object itself. */ - public OracleServiceCloudLinkedService withEncryptedCredential(Object encryptedCredential) { + public OracleServiceCloudLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new OracleServiceCloudLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/PaypalLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/PaypalLinkedService.java index db52f8c4712e4..41504b6cfdcb4 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/PaypalLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/PaypalLinkedService.java @@ -66,7 +66,7 @@ public PaypalLinkedService withAnnotations(List annotations) { } /** - * Get the host property: The URL of the PayPal instance. (i.e. api.sandbox.paypal.com). + * Get the host property: The URL of the PayPal instance. (i.e. api.sandbox.paypal.com). * * @return the host value. */ @@ -75,7 +75,7 @@ public Object host() { } /** - * Set the host property: The URL of the PayPal instance. (i.e. api.sandbox.paypal.com). + * Set the host property: The URL of the PayPal instance. (i.e. api.sandbox.paypal.com). * * @param host the host value to set. * @return the PaypalLinkedService object itself. @@ -211,22 +211,22 @@ public PaypalLinkedService withUsePeerVerification(Object usePeerVerification) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the PaypalLinkedService object itself. */ - public PaypalLinkedService withEncryptedCredential(Object encryptedCredential) { + public PaypalLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new PaypalLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/PhoenixLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/PhoenixLinkedService.java index 755bd6344a480..1508bd04ba2d3 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/PhoenixLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/PhoenixLinkedService.java @@ -336,22 +336,22 @@ public PhoenixLinkedService withAllowSelfSignedServerCert(Object allowSelfSigned /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the PhoenixLinkedService object itself. */ - public PhoenixLinkedService withEncryptedCredential(Object encryptedCredential) { + public PhoenixLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new PhoenixLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/PostgreSqlLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/PostgreSqlLinkedService.java index eeeb718ca127a..d778e3462471b 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/PostgreSqlLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/PostgreSqlLinkedService.java @@ -66,7 +66,8 @@ public PostgreSqlLinkedService withAnnotations(List annotations) { } /** - * Get the connectionString property: The connection string. + * Get the connectionString property: The connection string. Type: string, SecureString or + * AzureKeyVaultSecretReference. * * @return the connectionString value. */ @@ -75,7 +76,8 @@ public Object connectionString() { } /** - * Set the connectionString property: The connection string. + * Set the connectionString property: The connection string. Type: string, SecureString or + * AzureKeyVaultSecretReference. * * @param connectionString the connectionString value to set. * @return the PostgreSqlLinkedService object itself. @@ -113,22 +115,22 @@ public PostgreSqlLinkedService withPassword(AzureKeyVaultSecretReference passwor /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the PostgreSqlLinkedService object itself. */ - public PostgreSqlLinkedService withEncryptedCredential(Object encryptedCredential) { + public PostgreSqlLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new PostgreSqlLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/PrestoLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/PrestoLinkedService.java index 1d2552114a216..c775e66fd1245 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/PrestoLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/PrestoLinkedService.java @@ -382,22 +382,22 @@ public PrestoLinkedService withTimeZoneId(Object timeZoneId) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the PrestoLinkedService object itself. */ - public PrestoLinkedService withEncryptedCredential(Object encryptedCredential) { + public PrestoLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new PrestoLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/QuickBooksLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/QuickBooksLinkedService.java index c1d5a1e321a03..49832dbcd7282 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/QuickBooksLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/QuickBooksLinkedService.java @@ -255,22 +255,22 @@ public QuickBooksLinkedService withUseEncryptedEndpoints(Object useEncryptedEndp /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the QuickBooksLinkedService object itself. */ - public QuickBooksLinkedService withEncryptedCredential(Object encryptedCredential) { + public QuickBooksLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new QuickBooksLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/QuickbaseLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/QuickbaseLinkedService.java index f44441f80d7b8..25129b21a4fb9 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/QuickbaseLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/QuickbaseLinkedService.java @@ -113,22 +113,22 @@ public QuickbaseLinkedService withUserToken(SecretBase userToken) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the QuickbaseLinkedService object itself. */ - public QuickbaseLinkedService withEncryptedCredential(Object encryptedCredential) { + public QuickbaseLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new QuickbaseLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ResponsysLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ResponsysLinkedService.java index 9ee52cf4b546c..ee639a66e70ad 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ResponsysLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ResponsysLinkedService.java @@ -217,22 +217,22 @@ public ResponsysLinkedService withUsePeerVerification(Object usePeerVerification /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the ResponsysLinkedService object itself. */ - public ResponsysLinkedService withEncryptedCredential(Object encryptedCredential) { + public ResponsysLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new ResponsysLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/RestResourceDataset.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/RestResourceDataset.java index 1e5064b92bb1b..05bae80753837 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/RestResourceDataset.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/RestResourceDataset.java @@ -161,23 +161,21 @@ public RestResourceDataset withRequestBody(Object requestBody) { } /** - * Get the additionalHeaders property: The additional HTTP headers in the request to the RESTful API. Type: string - * (or Expression with resultType string). + * Get the additionalHeaders property: The additional HTTP headers in the request to the RESTful API. * * @return the additionalHeaders value. */ - public Object additionalHeaders() { + public Map additionalHeaders() { return this.innerTypeProperties() == null ? null : this.innerTypeProperties().additionalHeaders(); } /** - * Set the additionalHeaders property: The additional HTTP headers in the request to the RESTful API. Type: string - * (or Expression with resultType string). + * Set the additionalHeaders property: The additional HTTP headers in the request to the RESTful API. * * @param additionalHeaders the additionalHeaders value to set. * @return the RestResourceDataset object itself. */ - public RestResourceDataset withAdditionalHeaders(Object additionalHeaders) { + public RestResourceDataset withAdditionalHeaders(Map additionalHeaders) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new RestResourceDatasetTypeProperties(); } @@ -186,23 +184,21 @@ public RestResourceDataset withAdditionalHeaders(Object additionalHeaders) { } /** - * Get the paginationRules property: The pagination rules to compose next page requests. Type: string (or Expression - * with resultType string). + * Get the paginationRules property: The pagination rules to compose next page requests. * * @return the paginationRules value. */ - public Object paginationRules() { + public Map paginationRules() { return this.innerTypeProperties() == null ? null : this.innerTypeProperties().paginationRules(); } /** - * Set the paginationRules property: The pagination rules to compose next page requests. Type: string (or Expression - * with resultType string). + * Set the paginationRules property: The pagination rules to compose next page requests. * * @param paginationRules the paginationRules value to set. * @return the RestResourceDataset object itself. */ - public RestResourceDataset withPaginationRules(Object paginationRules) { + public RestResourceDataset withPaginationRules(Map paginationRules) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new RestResourceDatasetTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/RestServiceLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/RestServiceLinkedService.java index 9f4c15421eaf1..4471a52f12474 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/RestServiceLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/RestServiceLinkedService.java @@ -66,7 +66,7 @@ public RestServiceLinkedService withAnnotations(List annotations) { } /** - * Get the url property: The base URL of the REST service. + * Get the url property: The base URL of the REST service. Type: string (or Expression with resultType string). * * @return the url value. */ @@ -75,7 +75,7 @@ public Object url() { } /** - * Set the url property: The base URL of the REST service. + * Set the url property: The base URL of the REST service. Type: string (or Expression with resultType string). * * @param url the url value to set. * @return the RestServiceLinkedService object itself. @@ -139,7 +139,8 @@ public RestServiceLinkedService withAuthenticationType(RestServiceAuthentication } /** - * Get the username property: The user name used in Basic authentication type. + * Get the username property: The user name used in Basic authentication type. Type: string (or Expression with + * resultType string). * * @return the username value. */ @@ -148,7 +149,8 @@ public Object username() { } /** - * Set the username property: The user name used in Basic authentication type. + * Set the username property: The user name used in Basic authentication type. Type: string (or Expression with + * resultType string). * * @param username the username value to set. * @return the RestServiceLinkedService object itself. @@ -211,6 +213,7 @@ public RestServiceLinkedService withAuthHeaders(Object authHeaders) { /** * Get the servicePrincipalId property: The application's client ID used in AadServicePrincipal authentication type. + * Type: string (or Expression with resultType string). * * @return the servicePrincipalId value. */ @@ -220,6 +223,7 @@ public Object servicePrincipalId() { /** * Set the servicePrincipalId property: The application's client ID used in AadServicePrincipal authentication type. + * Type: string (or Expression with resultType string). * * @param servicePrincipalId the servicePrincipalId value to set. * @return the RestServiceLinkedService object itself. @@ -257,7 +261,7 @@ public RestServiceLinkedService withServicePrincipalKey(SecretBase servicePrinci /** * Get the tenant property: The tenant information (domain name or tenant ID) used in AadServicePrincipal - * authentication type under which your application resides. + * authentication type under which your application resides. Type: string (or Expression with resultType string). * * @return the tenant value. */ @@ -267,7 +271,7 @@ public Object tenant() { /** * Set the tenant property: The tenant information (domain name or tenant ID) used in AadServicePrincipal - * authentication type under which your application resides. + * authentication type under which your application resides. Type: string (or Expression with resultType string). * * @param tenant the tenant value to set. * @return the RestServiceLinkedService object itself. @@ -308,7 +312,8 @@ public RestServiceLinkedService withAzureCloudType(Object azureCloudType) { } /** - * Get the aadResourceId property: The resource you are requesting authorization to use. + * Get the aadResourceId property: The resource you are requesting authorization to use. Type: string (or Expression + * with resultType string). * * @return the aadResourceId value. */ @@ -317,7 +322,8 @@ public Object aadResourceId() { } /** - * Set the aadResourceId property: The resource you are requesting authorization to use. + * Set the aadResourceId property: The resource you are requesting authorization to use. Type: string (or Expression + * with resultType string). * * @param aadResourceId the aadResourceId value to set. * @return the RestServiceLinkedService object itself. @@ -332,22 +338,22 @@ public RestServiceLinkedService withAadResourceId(Object aadResourceId) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the RestServiceLinkedService object itself. */ - public RestServiceLinkedService withEncryptedCredential(Object encryptedCredential) { + public RestServiceLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new RestServiceLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SalesforceLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SalesforceLinkedService.java index 5fe9ed9b8f725..37db64478747c 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SalesforceLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SalesforceLinkedService.java @@ -190,22 +190,22 @@ public SalesforceLinkedService withApiVersion(Object apiVersion) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the SalesforceLinkedService object itself. */ - public SalesforceLinkedService withEncryptedCredential(Object encryptedCredential) { + public SalesforceLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new SalesforceLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SalesforceMarketingCloudLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SalesforceMarketingCloudLinkedService.java index d1f1701e0f553..a1ead9cf86435 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SalesforceMarketingCloudLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SalesforceMarketingCloudLinkedService.java @@ -220,22 +220,22 @@ public SalesforceMarketingCloudLinkedService withUsePeerVerification(Object useP /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the SalesforceMarketingCloudLinkedService object itself. */ - public SalesforceMarketingCloudLinkedService withEncryptedCredential(Object encryptedCredential) { + public SalesforceMarketingCloudLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new SalesforceMarketingCloudLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SalesforceServiceCloudLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SalesforceServiceCloudLinkedService.java index 383752e4a01ca..e9b246cf35a32 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SalesforceServiceCloudLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SalesforceServiceCloudLinkedService.java @@ -218,22 +218,22 @@ public SalesforceServiceCloudLinkedService withExtendedProperties(Object extende /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the SalesforceServiceCloudLinkedService object itself. */ - public SalesforceServiceCloudLinkedService withEncryptedCredential(Object encryptedCredential) { + public SalesforceServiceCloudLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new SalesforceServiceCloudLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SalesforceServiceCloudSource.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SalesforceServiceCloudSource.java index 5edd5bd8e8a34..0ca7277fe5908 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SalesforceServiceCloudSource.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SalesforceServiceCloudSource.java @@ -21,10 +21,11 @@ public final class SalesforceServiceCloudSource extends CopySource { private Object query; /* - * The read behavior for the operation. Default is Query. + * The read behavior for the operation. Default is Query. Allowed values: Query/QueryAll. Type: string (or + * Expression with resultType string). */ @JsonProperty(value = "readBehavior") - private SalesforceSourceReadBehavior readBehavior; + private Object readBehavior; /* * Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or @@ -58,21 +59,23 @@ public SalesforceServiceCloudSource withQuery(Object query) { } /** - * Get the readBehavior property: The read behavior for the operation. Default is Query. + * Get the readBehavior property: The read behavior for the operation. Default is Query. Allowed values: + * Query/QueryAll. Type: string (or Expression with resultType string). * * @return the readBehavior value. */ - public SalesforceSourceReadBehavior readBehavior() { + public Object readBehavior() { return this.readBehavior; } /** - * Set the readBehavior property: The read behavior for the operation. Default is Query. + * Set the readBehavior property: The read behavior for the operation. Default is Query. Allowed values: + * Query/QueryAll. Type: string (or Expression with resultType string). * * @param readBehavior the readBehavior value to set. * @return the SalesforceServiceCloudSource object itself. */ - public SalesforceServiceCloudSource withReadBehavior(SalesforceSourceReadBehavior readBehavior) { + public SalesforceServiceCloudSource withReadBehavior(Object readBehavior) { this.readBehavior = readBehavior; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SalesforceSource.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SalesforceSource.java index 12d77668c0b7a..d6afb08cdd206 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SalesforceSource.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SalesforceSource.java @@ -21,10 +21,11 @@ public final class SalesforceSource extends TabularSource { private Object query; /* - * The read behavior for the operation. Default is Query. + * The read behavior for the operation. Default is Query. Allowed values: Query/QueryAll. Type: string (or + * Expression with resultType string). */ @JsonProperty(value = "readBehavior") - private SalesforceSourceReadBehavior readBehavior; + private Object readBehavior; /** Creates an instance of SalesforceSource class. */ public SalesforceSource() { @@ -51,21 +52,23 @@ public SalesforceSource withQuery(Object query) { } /** - * Get the readBehavior property: The read behavior for the operation. Default is Query. + * Get the readBehavior property: The read behavior for the operation. Default is Query. Allowed values: + * Query/QueryAll. Type: string (or Expression with resultType string). * * @return the readBehavior value. */ - public SalesforceSourceReadBehavior readBehavior() { + public Object readBehavior() { return this.readBehavior; } /** - * Set the readBehavior property: The read behavior for the operation. Default is Query. + * Set the readBehavior property: The read behavior for the operation. Default is Query. Allowed values: + * Query/QueryAll. Type: string (or Expression with resultType string). * * @param readBehavior the readBehavior value to set. * @return the SalesforceSource object itself. */ - public SalesforceSource withReadBehavior(SalesforceSourceReadBehavior readBehavior) { + public SalesforceSource withReadBehavior(Object readBehavior) { this.readBehavior = readBehavior; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SalesforceSourceReadBehavior.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SalesforceSourceReadBehavior.java deleted file mode 100644 index 3634a37767373..0000000000000 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SalesforceSourceReadBehavior.java +++ /dev/null @@ -1,47 +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; - -/** The read behavior for the operation. Default is Query. */ -public final class SalesforceSourceReadBehavior extends ExpandableStringEnum { - /** Static value Query for SalesforceSourceReadBehavior. */ - public static final SalesforceSourceReadBehavior QUERY = fromString("Query"); - - /** Static value QueryAll for SalesforceSourceReadBehavior. */ - public static final SalesforceSourceReadBehavior QUERY_ALL = fromString("QueryAll"); - - /** - * Creates a new instance of SalesforceSourceReadBehavior value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Deprecated - public SalesforceSourceReadBehavior() { - } - - /** - * Creates or finds a SalesforceSourceReadBehavior from its string representation. - * - * @param name a name to look for. - * @return the corresponding SalesforceSourceReadBehavior. - */ - @JsonCreator - public static SalesforceSourceReadBehavior fromString(String name) { - return fromString(name, SalesforceSourceReadBehavior.class); - } - - /** - * Gets known SalesforceSourceReadBehavior values. - * - * @return known SalesforceSourceReadBehavior values. - */ - public static Collection values() { - return values(SalesforceSourceReadBehavior.class); - } -} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SapBWLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SapBWLinkedService.java index a98382cb5a934..39e7bed54672d 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SapBWLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SapBWLinkedService.java @@ -188,22 +188,22 @@ public SapBWLinkedService withPassword(SecretBase password) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the SapBWLinkedService object itself. */ - public SapBWLinkedService withEncryptedCredential(Object encryptedCredential) { + public SapBWLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new SapBWLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SapCloudForCustomerLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SapCloudForCustomerLinkedService.java index d2d8fa73d29ef..c0730067edd5b 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SapCloudForCustomerLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SapCloudForCustomerLinkedService.java @@ -142,23 +142,23 @@ public SapCloudForCustomerLinkedService withPassword(SecretBase password) { /** * Get the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted * using the integration runtime credential manager. Either encryptedCredential or username/password must be - * provided. Type: string (or Expression with resultType string). + * provided. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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. Either encryptedCredential or username/password must be - * provided. Type: string (or Expression with resultType string). + * provided. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the SapCloudForCustomerLinkedService object itself. */ - public SapCloudForCustomerLinkedService withEncryptedCredential(Object encryptedCredential) { + public SapCloudForCustomerLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new SapCloudForCustomerLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SapEccLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SapEccLinkedService.java index 50ad01a8251ff..3e3f6a6a50f1d 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SapEccLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SapEccLinkedService.java @@ -71,7 +71,7 @@ public SapEccLinkedService withAnnotations(List annotations) { * * @return the url value. */ - public String url() { + public Object url() { return this.innerTypeProperties() == null ? null : this.innerTypeProperties().url(); } @@ -82,7 +82,7 @@ public String url() { * @param url the url value to set. * @return the SapEccLinkedService object itself. */ - public SapEccLinkedService withUrl(String url) { + public SapEccLinkedService withUrl(Object url) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new SapEccLinkedServiceTypeProperties(); } @@ -96,7 +96,7 @@ public SapEccLinkedService withUrl(String url) { * * @return the username value. */ - public String username() { + public Object username() { return this.innerTypeProperties() == null ? null : this.innerTypeProperties().username(); } @@ -107,7 +107,7 @@ public String username() { * @param username the username value to set. * @return the SapEccLinkedService object itself. */ - public SapEccLinkedService withUsername(String username) { + public SapEccLinkedService withUsername(Object username) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new SapEccLinkedServiceTypeProperties(); } @@ -141,7 +141,7 @@ public SapEccLinkedService withPassword(SecretBase password) { /** * Get the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted * using the integration runtime credential manager. Either encryptedCredential or username/password must be - * provided. Type: string (or Expression with resultType string). + * provided. Type: string. * * @return the encryptedCredential value. */ @@ -152,7 +152,7 @@ public String encryptedCredential() { /** * Set the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted * using the integration runtime credential manager. Either encryptedCredential or username/password must be - * provided. Type: string (or Expression with resultType string). + * provided. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the SapEccLinkedService object itself. diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SapHanaLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SapHanaLinkedService.java index fdb8fe73aab6f..15223dbba5dcf 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SapHanaLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SapHanaLinkedService.java @@ -186,22 +186,22 @@ public SapHanaLinkedService withPassword(SecretBase password) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the SapHanaLinkedService object itself. */ - public SapHanaLinkedService withEncryptedCredential(Object encryptedCredential) { + public SapHanaLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new SapHanaLinkedServiceProperties(); } 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 index 81ae10762d294..e14ad461b487f 100644 --- 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 @@ -488,22 +488,22 @@ public SapOdpLinkedService withSubscriberName(Object subscriberName) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the SapOdpLinkedService object itself. */ - public SapOdpLinkedService withEncryptedCredential(Object encryptedCredential) { + public SapOdpLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new SapOdpLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SapOpenHubLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SapOpenHubLinkedService.java index 1b6062e96cabb..14df19432ca4e 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SapOpenHubLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SapOpenHubLinkedService.java @@ -318,22 +318,22 @@ public SapOpenHubLinkedService withLogonGroup(Object logonGroup) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the SapOpenHubLinkedService object itself. */ - public SapOpenHubLinkedService withEncryptedCredential(Object encryptedCredential) { + public SapOpenHubLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new SapOpenHubLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SapTableLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SapTableLinkedService.java index 6b9ac5d7dd381..d0c83ca6256df 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SapTableLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SapTableLinkedService.java @@ -440,22 +440,22 @@ public SapTableLinkedService withLogonGroup(Object logonGroup) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the SapTableLinkedService object itself. */ - public SapTableLinkedService withEncryptedCredential(Object encryptedCredential) { + public SapTableLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new SapTableLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ScriptActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ScriptActivity.java index c4245ab748579..e48d890428a9c 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ScriptActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ScriptActivity.java @@ -64,6 +64,20 @@ public ScriptActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public ScriptActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public ScriptActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public ScriptActivity withDependsOn(List dependsOn) { diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ScriptActivityParameter.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ScriptActivityParameter.java index 59479b82d42f5..5ce97a1ea1266 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ScriptActivityParameter.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ScriptActivityParameter.java @@ -23,7 +23,7 @@ public final class ScriptActivityParameter { private ScriptActivityParameterType type; /* - * The value of the parameter. + * The value of the parameter. Type: string (or Expression with resultType string). */ @JsonProperty(value = "value") private Object value; @@ -85,7 +85,7 @@ public ScriptActivityParameter withType(ScriptActivityParameterType type) { } /** - * Get the value property: The value of the parameter. + * Get the value property: The value of the parameter. Type: string (or Expression with resultType string). * * @return the value value. */ @@ -94,7 +94,7 @@ public Object value() { } /** - * Set the value property: The value of the parameter. + * Set the value property: The value of the parameter. Type: string (or Expression with resultType string). * * @param value the value value to set. * @return the ScriptActivityParameter object itself. diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ServiceNowLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ServiceNowLinkedService.java index 2534752b97548..9dc3815b48c1e 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ServiceNowLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ServiceNowLinkedService.java @@ -282,22 +282,22 @@ public ServiceNowLinkedService withUsePeerVerification(Object usePeerVerificatio /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the ServiceNowLinkedService object itself. */ - public ServiceNowLinkedService withEncryptedCredential(Object encryptedCredential) { + public ServiceNowLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new ServiceNowLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SetVariableActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SetVariableActivity.java index 5de2209926fa1..c01ecef67fb49 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SetVariableActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SetVariableActivity.java @@ -50,6 +50,20 @@ public SetVariableActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public SetVariableActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public SetVariableActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public SetVariableActivity withDependsOn(List dependsOn) { @@ -110,6 +124,29 @@ public SetVariableActivity withValue(Object value) { return this; } + /** + * Get the setSystemVariable property: If set to true, it sets the pipeline run return value. + * + * @return the setSystemVariable value. + */ + public Boolean setSystemVariable() { + return this.innerTypeProperties() == null ? null : this.innerTypeProperties().setSystemVariable(); + } + + /** + * Set the setSystemVariable property: If set to true, it sets the pipeline run return value. + * + * @param setSystemVariable the setSystemVariable value to set. + * @return the SetVariableActivity object itself. + */ + public SetVariableActivity withSetSystemVariable(Boolean setSystemVariable) { + if (this.innerTypeProperties() == null) { + this.innerTypeProperties = new SetVariableActivityTypeProperties(); + } + this.innerTypeProperties().withSetSystemVariable(setSystemVariable); + return this; + } + /** * Validates the instance. * diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SftpReadSettings.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SftpReadSettings.java index 0659c1b38a7f5..87e2e1e4c1f7a 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SftpReadSettings.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SftpReadSettings.java @@ -34,10 +34,10 @@ public final class SftpReadSettings extends StoreReadSettings { private Object wildcardFileName; /* - * Indicates whether to enable partition discovery. + * Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). */ @JsonProperty(value = "enablePartitionDiscovery") - private Boolean enablePartitionDiscovery; + private Object enablePartitionDiscovery; /* * Specify the root path where partition discovery starts from. Type: string (or Expression with resultType @@ -148,21 +148,23 @@ public SftpReadSettings withWildcardFileName(Object wildcardFileName) { } /** - * Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery. + * Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery. Type: boolean (or + * Expression with resultType boolean). * * @return the enablePartitionDiscovery value. */ - public Boolean enablePartitionDiscovery() { + public Object enablePartitionDiscovery() { return this.enablePartitionDiscovery; } /** - * Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery. + * Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery. Type: boolean (or + * Expression with resultType boolean). * * @param enablePartitionDiscovery the enablePartitionDiscovery value to set. * @return the SftpReadSettings object itself. */ - public SftpReadSettings withEnablePartitionDiscovery(Boolean enablePartitionDiscovery) { + public SftpReadSettings withEnablePartitionDiscovery(Object enablePartitionDiscovery) { this.enablePartitionDiscovery = enablePartitionDiscovery; return this; } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SftpServerLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SftpServerLinkedService.java index 88128e0e391b7..01a1e268ccbec 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SftpServerLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SftpServerLinkedService.java @@ -186,22 +186,22 @@ public SftpServerLinkedService withPassword(SecretBase password) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the SftpServerLinkedService object itself. */ - public SftpServerLinkedService withEncryptedCredential(Object encryptedCredential) { + public SftpServerLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new SftpServerLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SharePointOnlineListLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SharePointOnlineListLinkedService.java index 8ac2ea7062c5f..2cbcc7eff4e00 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SharePointOnlineListLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SharePointOnlineListLinkedService.java @@ -170,22 +170,22 @@ public SharePointOnlineListLinkedService withServicePrincipalKey(SecretBase serv /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the SharePointOnlineListLinkedService object itself. */ - public SharePointOnlineListLinkedService withEncryptedCredential(Object encryptedCredential) { + public SharePointOnlineListLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new SharePointOnlineListLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ShopifyLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ShopifyLinkedService.java index fd5a464285b86..7058a5de624e8 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ShopifyLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ShopifyLinkedService.java @@ -190,22 +190,22 @@ public ShopifyLinkedService withUsePeerVerification(Object usePeerVerification) /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the ShopifyLinkedService object itself. */ - public ShopifyLinkedService withEncryptedCredential(Object encryptedCredential) { + public ShopifyLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new ShopifyLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SmartsheetLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SmartsheetLinkedService.java index 6cbf010f1803b..f158372828e4f 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SmartsheetLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SmartsheetLinkedService.java @@ -90,22 +90,22 @@ public SmartsheetLinkedService withApiToken(SecretBase apiToken) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the SmartsheetLinkedService object itself. */ - public SmartsheetLinkedService withEncryptedCredential(Object encryptedCredential) { + public SmartsheetLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new SmartsheetLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SnowflakeLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SnowflakeLinkedService.java index 03dd9663f6911..01b2d20aa6668 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SnowflakeLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SnowflakeLinkedService.java @@ -113,22 +113,22 @@ public SnowflakeLinkedService withPassword(AzureKeyVaultSecretReference password /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the SnowflakeLinkedService object itself. */ - public SnowflakeLinkedService withEncryptedCredential(Object encryptedCredential) { + public SnowflakeLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new SnowflakeLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SparkLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SparkLinkedService.java index e7889ae9fb6ff..f5d330ff2ce66 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SparkLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SparkLinkedService.java @@ -378,22 +378,22 @@ public SparkLinkedService withAllowSelfSignedServerCert(Object allowSelfSignedSe /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the SparkLinkedService object itself. */ - public SparkLinkedService withEncryptedCredential(Object encryptedCredential) { + public SparkLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new SparkLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SqlAlwaysEncryptedAkvAuthType.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SqlAlwaysEncryptedAkvAuthType.java index 74d66c345f752..205191b457191 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SqlAlwaysEncryptedAkvAuthType.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SqlAlwaysEncryptedAkvAuthType.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Sql always encrypted AKV authentication type. Type: string (or Expression with resultType string). */ +/** Sql always encrypted AKV authentication type. Type: string. */ public final class SqlAlwaysEncryptedAkvAuthType extends ExpandableStringEnum { /** Static value ServicePrincipal for SqlAlwaysEncryptedAkvAuthType. */ public static final SqlAlwaysEncryptedAkvAuthType SERVICE_PRINCIPAL = fromString("ServicePrincipal"); diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SqlAlwaysEncryptedProperties.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SqlAlwaysEncryptedProperties.java index 993c7d2d7d617..8873ea52b2aa4 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SqlAlwaysEncryptedProperties.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SqlAlwaysEncryptedProperties.java @@ -12,7 +12,7 @@ @Fluent public final class SqlAlwaysEncryptedProperties { /* - * Sql always encrypted AKV authentication type. Type: string (or Expression with resultType string). + * Sql always encrypted AKV authentication type. Type: string. */ @JsonProperty(value = "alwaysEncryptedAkvAuthType", required = true) private SqlAlwaysEncryptedAkvAuthType alwaysEncryptedAkvAuthType; @@ -41,8 +41,7 @@ public SqlAlwaysEncryptedProperties() { } /** - * Get the alwaysEncryptedAkvAuthType property: Sql always encrypted AKV authentication type. Type: string (or - * Expression with resultType string). + * Get the alwaysEncryptedAkvAuthType property: Sql always encrypted AKV authentication type. Type: string. * * @return the alwaysEncryptedAkvAuthType value. */ @@ -51,8 +50,7 @@ public SqlAlwaysEncryptedAkvAuthType alwaysEncryptedAkvAuthType() { } /** - * Set the alwaysEncryptedAkvAuthType property: Sql always encrypted AKV authentication type. Type: string (or - * Expression with resultType string). + * Set the alwaysEncryptedAkvAuthType property: Sql always encrypted AKV authentication type. Type: string. * * @param alwaysEncryptedAkvAuthType the alwaysEncryptedAkvAuthType value to set. * @return the SqlAlwaysEncryptedProperties object itself. diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SqlDWSource.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SqlDWSource.java index ff748e5057ce4..7f1bbaffabfb9 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SqlDWSource.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SqlDWSource.java @@ -34,6 +34,14 @@ public final class SqlDWSource extends TabularSource { @JsonProperty(value = "storedProcedureParameters") private Object storedProcedureParameters; + /* + * Specifies the transaction locking behavior for the SQL source. Allowed values: + * ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: + * string (or Expression with resultType string). + */ + @JsonProperty(value = "isolationLevel") + private Object isolationLevel; + /* * The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", * "PhysicalPartitionsOfTable", "DynamicRange". @@ -119,6 +127,30 @@ public SqlDWSource withStoredProcedureParameters(Object storedProcedureParameter return this; } + /** + * Get the isolationLevel property: Specifies the transaction locking behavior for the SQL source. Allowed values: + * ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: + * string (or Expression with resultType string). + * + * @return the isolationLevel value. + */ + public Object isolationLevel() { + return this.isolationLevel; + } + + /** + * Set the isolationLevel property: Specifies the transaction locking behavior for the SQL source. Allowed values: + * ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: + * string (or Expression with resultType string). + * + * @param isolationLevel the isolationLevel value to set. + * @return the SqlDWSource object itself. + */ + public SqlDWSource withIsolationLevel(Object isolationLevel) { + this.isolationLevel = isolationLevel; + return this; + } + /** * Get the partitionOption property: The partition mechanism that will be used for Sql read in parallel. Possible * values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SqlMISource.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SqlMISource.java index e4b85afed7f3f..6b58f098b8d8d 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SqlMISource.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SqlMISource.java @@ -33,6 +33,14 @@ public final class SqlMISource extends TabularSource { @JsonProperty(value = "storedProcedureParameters") private Object storedProcedureParameters; + /* + * Specifies the transaction locking behavior for the SQL source. Allowed values: + * ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: + * string (or Expression with resultType string). + */ + @JsonProperty(value = "isolationLevel") + private Object isolationLevel; + /* * Which additional types to produce. */ @@ -122,6 +130,30 @@ public SqlMISource withStoredProcedureParameters(Object storedProcedureParameter return this; } + /** + * Get the isolationLevel property: Specifies the transaction locking behavior for the SQL source. Allowed values: + * ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: + * string (or Expression with resultType string). + * + * @return the isolationLevel value. + */ + public Object isolationLevel() { + return this.isolationLevel; + } + + /** + * Set the isolationLevel property: Specifies the transaction locking behavior for the SQL source. Allowed values: + * ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: + * string (or Expression with resultType string). + * + * @param isolationLevel the isolationLevel value to set. + * @return the SqlMISource object itself. + */ + public SqlMISource withIsolationLevel(Object isolationLevel) { + this.isolationLevel = isolationLevel; + return this; + } + /** * Get the produceAdditionalTypes property: Which additional types to produce. * diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SqlServerLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SqlServerLinkedService.java index 3d11571a9d635..116243f470448 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SqlServerLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SqlServerLinkedService.java @@ -140,22 +140,22 @@ public SqlServerLinkedService withPassword(SecretBase password) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the SqlServerLinkedService object itself. */ - public SqlServerLinkedService withEncryptedCredential(Object encryptedCredential) { + public SqlServerLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new SqlServerLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SqlServerSource.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SqlServerSource.java index 3ecde0df125e7..fd90966012f93 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SqlServerSource.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SqlServerSource.java @@ -33,6 +33,14 @@ public final class SqlServerSource extends TabularSource { @JsonProperty(value = "storedProcedureParameters") private Object storedProcedureParameters; + /* + * Specifies the transaction locking behavior for the SQL source. Allowed values: + * ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: + * string (or Expression with resultType string). + */ + @JsonProperty(value = "isolationLevel") + private Object isolationLevel; + /* * Which additional types to produce. */ @@ -120,6 +128,30 @@ public SqlServerSource withStoredProcedureParameters(Object storedProcedureParam return this; } + /** + * Get the isolationLevel property: Specifies the transaction locking behavior for the SQL source. Allowed values: + * ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: + * string (or Expression with resultType string). + * + * @return the isolationLevel value. + */ + public Object isolationLevel() { + return this.isolationLevel; + } + + /** + * Set the isolationLevel property: Specifies the transaction locking behavior for the SQL source. Allowed values: + * ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: + * string (or Expression with resultType string). + * + * @param isolationLevel the isolationLevel value to set. + * @return the SqlServerSource object itself. + */ + public SqlServerSource withIsolationLevel(Object isolationLevel) { + this.isolationLevel = isolationLevel; + return this; + } + /** * Get the produceAdditionalTypes property: Which additional types to produce. * diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SqlServerStoredProcedureActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SqlServerStoredProcedureActivity.java index 256df10779721..5ae7a8083e23a 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SqlServerStoredProcedureActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SqlServerStoredProcedureActivity.java @@ -65,6 +65,20 @@ public SqlServerStoredProcedureActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public SqlServerStoredProcedureActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public SqlServerStoredProcedureActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public SqlServerStoredProcedureActivity withDependsOn(List dependsOn) { diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SquareLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SquareLinkedService.java index 16edbc3cdfa54..71b2ba47f4ac8 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SquareLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SquareLinkedService.java @@ -91,7 +91,7 @@ public SquareLinkedService withConnectionProperties(Object connectionProperties) } /** - * Get the host property: The URL of the Square instance. (i.e. mystore.mysquare.com). + * Get the host property: The URL of the Square instance. (i.e. mystore.mysquare.com). * * @return the host value. */ @@ -100,7 +100,7 @@ public Object host() { } /** - * Set the host property: The URL of the Square instance. (i.e. mystore.mysquare.com). + * Set the host property: The URL of the Square instance. (i.e. mystore.mysquare.com). * * @param host the host value to set. * @return the SquareLinkedService object itself. @@ -261,22 +261,22 @@ public SquareLinkedService withUsePeerVerification(Object usePeerVerification) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the SquareLinkedService object itself. */ - public SquareLinkedService withEncryptedCredential(Object encryptedCredential) { + public SquareLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new SquareLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SsisAccessCredential.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SsisAccessCredential.java index b8d115b9132fc..4e7c75ae9a694 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SsisAccessCredential.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SsisAccessCredential.java @@ -12,13 +12,13 @@ @Fluent public final class SsisAccessCredential { /* - * Domain for windows authentication. + * Domain for windows authentication. Type: string (or Expression with resultType string). */ @JsonProperty(value = "domain", required = true) private Object domain; /* - * UseName for windows authentication. + * UseName for windows authentication. Type: string (or Expression with resultType string). */ @JsonProperty(value = "userName", required = true) private Object username; @@ -34,7 +34,7 @@ public SsisAccessCredential() { } /** - * Get the domain property: Domain for windows authentication. + * Get the domain property: Domain for windows authentication. Type: string (or Expression with resultType string). * * @return the domain value. */ @@ -43,7 +43,7 @@ public Object domain() { } /** - * Set the domain property: Domain for windows authentication. + * Set the domain property: Domain for windows authentication. Type: string (or Expression with resultType string). * * @param domain the domain value to set. * @return the SsisAccessCredential object itself. @@ -54,7 +54,8 @@ public SsisAccessCredential withDomain(Object domain) { } /** - * Get the username property: UseName for windows authentication. + * Get the username property: UseName for windows authentication. Type: string (or Expression with resultType + * string). * * @return the username value. */ @@ -63,7 +64,8 @@ public Object username() { } /** - * Set the username property: UseName for windows authentication. + * Set the username property: UseName for windows authentication. Type: string (or Expression with resultType + * string). * * @param username the username value to set. * @return the SsisAccessCredential object itself. diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SsisExecutionCredential.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SsisExecutionCredential.java index 677402c560d64..a5b40dbe9be32 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SsisExecutionCredential.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SsisExecutionCredential.java @@ -12,13 +12,13 @@ @Fluent public final class SsisExecutionCredential { /* - * Domain for windows authentication. + * Domain for windows authentication. Type: string (or Expression with resultType string). */ @JsonProperty(value = "domain", required = true) private Object domain; /* - * UseName for windows authentication. + * UseName for windows authentication. Type: string (or Expression with resultType string). */ @JsonProperty(value = "userName", required = true) private Object username; @@ -34,7 +34,7 @@ public SsisExecutionCredential() { } /** - * Get the domain property: Domain for windows authentication. + * Get the domain property: Domain for windows authentication. Type: string (or Expression with resultType string). * * @return the domain value. */ @@ -43,7 +43,7 @@ public Object domain() { } /** - * Set the domain property: Domain for windows authentication. + * Set the domain property: Domain for windows authentication. Type: string (or Expression with resultType string). * * @param domain the domain value to set. * @return the SsisExecutionCredential object itself. @@ -54,7 +54,8 @@ public SsisExecutionCredential withDomain(Object domain) { } /** - * Get the username property: UseName for windows authentication. + * Get the username property: UseName for windows authentication. Type: string (or Expression with resultType + * string). * * @return the username value. */ @@ -63,7 +64,8 @@ public Object username() { } /** - * Set the username property: UseName for windows authentication. + * Set the username property: UseName for windows authentication. Type: string (or Expression with resultType + * string). * * @param username the username value to set. * @return the SsisExecutionCredential object itself. diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SwitchActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SwitchActivity.java index 5edb6bc72f9a9..c3d6a6efdaf5b 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SwitchActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SwitchActivity.java @@ -53,6 +53,20 @@ public SwitchActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public SwitchActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public SwitchActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public SwitchActivity withDependsOn(List dependsOn) { diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SybaseLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SybaseLinkedService.java index 4304cc89ee961..ca1c06b0a6ed8 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SybaseLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SybaseLinkedService.java @@ -205,22 +205,22 @@ public SybaseLinkedService withPassword(SecretBase password) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the SybaseLinkedService object itself. */ - public SybaseLinkedService withEncryptedCredential(Object encryptedCredential) { + public SybaseLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new SybaseLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SynapseNotebookActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SynapseNotebookActivity.java index 8093f468fe46b..d31a85eb3eb99 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SynapseNotebookActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SynapseNotebookActivity.java @@ -65,6 +65,20 @@ public SynapseNotebookActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public SynapseNotebookActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public SynapseNotebookActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public SynapseNotebookActivity withDependsOn(List dependsOn) { @@ -229,22 +243,22 @@ public SynapseNotebookActivity withDriverSize(Object driverSize) { /** * Get the numExecutors property: Number of executors to launch for this session, which will override the - * 'numExecutors' of the notebook you provide. + * 'numExecutors' of the notebook you provide. Type: integer (or Expression with resultType integer). * * @return the numExecutors value. */ - public Integer numExecutors() { + public Object numExecutors() { return this.innerTypeProperties() == null ? null : this.innerTypeProperties().numExecutors(); } /** * Set the numExecutors property: Number of executors to launch for this session, which will override the - * 'numExecutors' of the notebook you provide. + * 'numExecutors' of the notebook you provide. Type: integer (or Expression with resultType integer). * * @param numExecutors the numExecutors value to set. * @return the SynapseNotebookActivity object itself. */ - public SynapseNotebookActivity withNumExecutors(Integer numExecutors) { + public SynapseNotebookActivity withNumExecutors(Object numExecutors) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new SynapseNotebookActivityTypeProperties(); } @@ -252,6 +266,76 @@ public SynapseNotebookActivity withNumExecutors(Integer numExecutors) { return this; } + /** + * Get the configurationType property: The type of the spark config. + * + * @return the configurationType value. + */ + public ConfigurationType configurationType() { + return this.innerTypeProperties() == null ? null : this.innerTypeProperties().configurationType(); + } + + /** + * Set the configurationType property: The type of the spark config. + * + * @param configurationType the configurationType value to set. + * @return the SynapseNotebookActivity object itself. + */ + public SynapseNotebookActivity withConfigurationType(ConfigurationType configurationType) { + if (this.innerTypeProperties() == null) { + this.innerTypeProperties = new SynapseNotebookActivityTypeProperties(); + } + this.innerTypeProperties().withConfigurationType(configurationType); + return this; + } + + /** + * Get the targetSparkConfiguration property: The spark configuration of the spark job. + * + * @return the targetSparkConfiguration value. + */ + public SparkConfigurationParametrizationReference targetSparkConfiguration() { + return this.innerTypeProperties() == null ? null : this.innerTypeProperties().targetSparkConfiguration(); + } + + /** + * Set the targetSparkConfiguration property: The spark configuration of the spark job. + * + * @param targetSparkConfiguration the targetSparkConfiguration value to set. + * @return the SynapseNotebookActivity object itself. + */ + public SynapseNotebookActivity withTargetSparkConfiguration( + SparkConfigurationParametrizationReference targetSparkConfiguration) { + if (this.innerTypeProperties() == null) { + this.innerTypeProperties = new SynapseNotebookActivityTypeProperties(); + } + this.innerTypeProperties().withTargetSparkConfiguration(targetSparkConfiguration); + return this; + } + + /** + * Get the sparkConfig property: Spark configuration property. + * + * @return the sparkConfig value. + */ + public Map sparkConfig() { + return this.innerTypeProperties() == null ? null : this.innerTypeProperties().sparkConfig(); + } + + /** + * Set the sparkConfig property: Spark configuration property. + * + * @param sparkConfig the sparkConfig value to set. + * @return the SynapseNotebookActivity object itself. + */ + public SynapseNotebookActivity withSparkConfig(Map sparkConfig) { + if (this.innerTypeProperties() == null) { + this.innerTypeProperties = new SynapseNotebookActivityTypeProperties(); + } + this.innerTypeProperties().withSparkConfig(sparkConfig); + return this; + } + /** * Validates the instance. * diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SynapseSparkJobDefinitionActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SynapseSparkJobDefinitionActivity.java index 21ae566aa65f6..e4ca263b61161 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SynapseSparkJobDefinitionActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/SynapseSparkJobDefinitionActivity.java @@ -65,6 +65,20 @@ public SynapseSparkJobDefinitionActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public SynapseSparkJobDefinitionActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public SynapseSparkJobDefinitionActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public SynapseSparkJobDefinitionActivity withDependsOn(List dependsOn) { diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/TabularTranslator.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/TabularTranslator.java index badce7e3669e8..796062cd57f20 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/TabularTranslator.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/TabularTranslator.java @@ -45,12 +45,9 @@ public final class TabularTranslator extends CopyTranslator { /* * Column mappings with logical types. Tabular->tabular example: - * [{"source":{"name":"CustomerName","type":"String"},"sink":{"name":"ClientName","type":"String"}}" - + ",{"source":{"name":"CustomerAddress","type":"String"},"sink":{"name":"ClientAddress","type":"String"}}]. + * [{"source":{"name":"CustomerName","type":"String"},"sink":{"name":"ClientName","type":"String"}},{"source":{"name":"CustomerAddress","type":"String"},"sink":{"name":"ClientAddress","type":"String"}}]. * Hierarchical->tabular example: - * [{"source":{"path":"$" - + ".CustomerName","type":"String"},"sink":{"name":"ClientName","type":"String"}},{"source":{"path":"$" - + ".CustomerAddress","type":"String"},"sink":{"name":"ClientAddress","type":"String"}}]. + * [{"source":{"path":"$.CustomerName","type":"String"},"sink":{"name":"ClientName","type":"String"}},{"source":{"path":"$.CustomerAddress","type":"String"},"sink":{"name":"ClientAddress","type":"String"}}]. * Type: object (or Expression with resultType object). */ @JsonProperty(value = "mappings") @@ -165,12 +162,9 @@ public TabularTranslator withMapComplexValuesToString(Object mapComplexValuesToS /** * Get the mappings property: Column mappings with logical types. Tabular->tabular example: - * [{"source":{"name":"CustomerName","type":"String"},"sink":{"name":"ClientName","type":"String"}}" - + ",{"source":{"name":"CustomerAddress","type":"String"},"sink":{"name":"ClientAddress","type":"String"}}]. + * [{"source":{"name":"CustomerName","type":"String"},"sink":{"name":"ClientName","type":"String"}},{"source":{"name":"CustomerAddress","type":"String"},"sink":{"name":"ClientAddress","type":"String"}}]. * Hierarchical->tabular example: - * [{"source":{"path":"$" - + ".CustomerName","type":"String"},"sink":{"name":"ClientName","type":"String"}},{"source":{"path":"$" - + ".CustomerAddress","type":"String"},"sink":{"name":"ClientAddress","type":"String"}}]. + * [{"source":{"path":"$.CustomerName","type":"String"},"sink":{"name":"ClientName","type":"String"}},{"source":{"path":"$.CustomerAddress","type":"String"},"sink":{"name":"ClientAddress","type":"String"}}]. * Type: object (or Expression with resultType object). * * @return the mappings value. @@ -181,12 +175,9 @@ public Object mappings() { /** * Set the mappings property: Column mappings with logical types. Tabular->tabular example: - * [{"source":{"name":"CustomerName","type":"String"},"sink":{"name":"ClientName","type":"String"}}" - + ",{"source":{"name":"CustomerAddress","type":"String"},"sink":{"name":"ClientAddress","type":"String"}}]. + * [{"source":{"name":"CustomerName","type":"String"},"sink":{"name":"ClientName","type":"String"}},{"source":{"name":"CustomerAddress","type":"String"},"sink":{"name":"ClientAddress","type":"String"}}]. * Hierarchical->tabular example: - * [{"source":{"path":"$" - + ".CustomerName","type":"String"},"sink":{"name":"ClientName","type":"String"}},{"source":{"path":"$" - + ".CustomerAddress","type":"String"},"sink":{"name":"ClientAddress","type":"String"}}]. + * [{"source":{"path":"$.CustomerName","type":"String"},"sink":{"name":"ClientName","type":"String"}},{"source":{"path":"$.CustomerAddress","type":"String"},"sink":{"name":"ClientAddress","type":"String"}}]. * Type: object (or Expression with resultType object). * * @param mappings the mappings value to set. diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/TeamDeskLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/TeamDeskLinkedService.java index 8554c90f366de..8f0832e709bc0 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/TeamDeskLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/TeamDeskLinkedService.java @@ -184,22 +184,22 @@ public TeamDeskLinkedService withApiToken(SecretBase apiToken) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the TeamDeskLinkedService object itself. */ - public TeamDeskLinkedService withEncryptedCredential(Object encryptedCredential) { + public TeamDeskLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new TeamDeskLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/TeradataLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/TeradataLinkedService.java index aa79812dbffe7..a4ed2c0dcde6a 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/TeradataLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/TeradataLinkedService.java @@ -184,22 +184,22 @@ public TeradataLinkedService withPassword(SecretBase password) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the TeradataLinkedService object itself. */ - public TeradataLinkedService withEncryptedCredential(Object encryptedCredential) { + public TeradataLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new TeradataLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/TwilioLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/TwilioLinkedService.java index 8b62018c37c71..6533954c65f16 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/TwilioLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/TwilioLinkedService.java @@ -66,7 +66,8 @@ public TwilioLinkedService withAnnotations(List annotations) { } /** - * Get the username property: The Account SID of Twilio service. + * Get the username property: The Account SID of Twilio service. Type: string (or Expression with resultType + * string). * * @return the username value. */ @@ -75,7 +76,8 @@ public Object username() { } /** - * Set the username property: The Account SID of Twilio service. + * Set the username property: The Account SID of Twilio service. Type: string (or Expression with resultType + * string). * * @param username the username value to set. * @return the TwilioLinkedService object itself. diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/UntilActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/UntilActivity.java index 871c07cd08bbb..96bf79ebc7075 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/UntilActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/UntilActivity.java @@ -53,6 +53,20 @@ public UntilActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public UntilActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public UntilActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public UntilActivity withDependsOn(List dependsOn) { @@ -95,8 +109,7 @@ public UntilActivity withExpression(Expression expression) { /** * Get the timeout property: Specifies the timeout for the activity to run. If there is no value specified, it takes * the value of TimeSpan.FromDays(7) which is 1 week as default. Type: string (or Expression with resultType - * string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). Type: string (or Expression with - * resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). * * @return the timeout value. */ @@ -107,8 +120,7 @@ public Object timeout() { /** * Set the timeout property: Specifies the timeout for the activity to run. If there is no value specified, it takes * the value of TimeSpan.FromDays(7) which is 1 week as default. Type: string (or Expression with resultType - * string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). Type: string (or Expression with - * resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). * * @param timeout the timeout value to set. * @return the UntilActivity object itself. diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ValidationActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ValidationActivity.java index ed4a530b433ea..a560ab991eae0 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ValidationActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ValidationActivity.java @@ -50,6 +50,20 @@ public ValidationActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public ValidationActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public ValidationActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public ValidationActivity withDependsOn(List dependsOn) { diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/VerticaLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/VerticaLinkedService.java index e85dd516d7abf..d4a9efadbc002 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/VerticaLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/VerticaLinkedService.java @@ -115,22 +115,22 @@ public VerticaLinkedService withPwd(AzureKeyVaultSecretReference pwd) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the VerticaLinkedService object itself. */ - public VerticaLinkedService withEncryptedCredential(Object encryptedCredential) { + public VerticaLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new VerticaLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/WaitActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/WaitActivity.java index 25bd9866eb55a..1d6926acb4c44 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/WaitActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/WaitActivity.java @@ -50,6 +50,20 @@ public WaitActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public WaitActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public WaitActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public WaitActivity withDependsOn(List dependsOn) { @@ -65,7 +79,7 @@ public WaitActivity withUserProperties(List userProperties) { } /** - * Get the waitTimeInSeconds property: Duration in seconds. + * Get the waitTimeInSeconds property: Duration in seconds. Type: integer (or Expression with resultType integer). * * @return the waitTimeInSeconds value. */ @@ -74,7 +88,7 @@ public Object waitTimeInSeconds() { } /** - * Set the waitTimeInSeconds property: Duration in seconds. + * Set the waitTimeInSeconds property: Duration in seconds. Type: integer (or Expression with resultType integer). * * @param waitTimeInSeconds the waitTimeInSeconds value to set. * @return the WaitActivity object itself. diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/WebActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/WebActivity.java index acd55e9732577..b3cedc246c041 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/WebActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/WebActivity.java @@ -64,6 +64,20 @@ public WebActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public WebActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public WebActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public WebActivity withDependsOn(List dependsOn) { diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/WebhookActivity.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/WebhookActivity.java index db9c398fbbd1e..c472ee502cc63 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/WebhookActivity.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/WebhookActivity.java @@ -50,6 +50,20 @@ public WebhookActivity withDescription(String description) { return this; } + /** {@inheritDoc} */ + @Override + public WebhookActivity withState(ActivityState state) { + super.withState(state); + return this; + } + + /** {@inheritDoc} */ + @Override + public WebhookActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs) { + super.withOnInactiveMarkAs(onInactiveMarkAs); + return this; + } + /** {@inheritDoc} */ @Override public WebhookActivity withDependsOn(List dependsOn) { diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/XeroLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/XeroLinkedService.java index 4fd0992adbf4a..7a33e8dc1d997 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/XeroLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/XeroLinkedService.java @@ -238,22 +238,22 @@ public XeroLinkedService withUsePeerVerification(Object usePeerVerification) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the XeroLinkedService object itself. */ - public XeroLinkedService withEncryptedCredential(Object encryptedCredential) { + public XeroLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new XeroLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ZendeskLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ZendeskLinkedService.java index 2fa7c1fc6c7fe..e73eb39b81053 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ZendeskLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ZendeskLinkedService.java @@ -184,22 +184,22 @@ public ZendeskLinkedService withApiToken(SecretBase apiToken) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the ZendeskLinkedService object itself. */ - public ZendeskLinkedService withEncryptedCredential(Object encryptedCredential) { + public ZendeskLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new ZendeskLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ZohoLinkedService.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ZohoLinkedService.java index cc5509bb9fffc..a48c1533c5ab0 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ZohoLinkedService.java +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/models/ZohoLinkedService.java @@ -213,22 +213,22 @@ public ZohoLinkedService withUsePeerVerification(Object usePeerVerification) { /** * 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). + * using the integration runtime credential manager. Type: string. * * @return the encryptedCredential value. */ - public Object encryptedCredential() { + public String 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). + * using the integration runtime credential manager. Type: string. * * @param encryptedCredential the encryptedCredential value to set. * @return the ZohoLinkedService object itself. */ - public ZohoLinkedService withEncryptedCredential(Object encryptedCredential) { + public ZohoLinkedService withEncryptedCredential(String encryptedCredential) { if (this.innerTypeProperties() == null) { this.innerTypeProperties = new ZohoLinkedServiceTypeProperties(); } diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/samples/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureCreateOrUpdateSamples.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/samples/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureCreateOrUpdateSamples.java new file mode 100644 index 0000000000000..6d8f86a68dfb5 --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/samples/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureCreateOrUpdateSamples.java @@ -0,0 +1,1215 @@ +// 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.generated; + +import com.azure.core.management.serializer.SerializerFactory; +import com.azure.core.util.serializer.SerializerEncoding; +import com.azure.resourcemanager.datafactory.models.ChangeDataCaptureResource; +import com.azure.resourcemanager.datafactory.models.ConnectionType; +import com.azure.resourcemanager.datafactory.models.DataMapperMapping; +import com.azure.resourcemanager.datafactory.models.FrequencyType; +import com.azure.resourcemanager.datafactory.models.LinkedServiceReference; +import com.azure.resourcemanager.datafactory.models.MapperAttributeMapping; +import com.azure.resourcemanager.datafactory.models.MapperAttributeMappings; +import com.azure.resourcemanager.datafactory.models.MapperAttributeReference; +import com.azure.resourcemanager.datafactory.models.MapperConnection; +import com.azure.resourcemanager.datafactory.models.MapperConnectionReference; +import com.azure.resourcemanager.datafactory.models.MapperDslConnectorProperties; +import com.azure.resourcemanager.datafactory.models.MapperPolicy; +import com.azure.resourcemanager.datafactory.models.MapperPolicyRecurrence; +import com.azure.resourcemanager.datafactory.models.MapperSourceConnectionsInfo; +import com.azure.resourcemanager.datafactory.models.MapperTable; +import com.azure.resourcemanager.datafactory.models.MapperTableSchema; +import com.azure.resourcemanager.datafactory.models.MapperTargetConnectionsInfo; +import com.azure.resourcemanager.datafactory.models.MappingType; +import java.io.IOException; +import java.util.Arrays; + +/** Samples for ChangeDataCapture CreateOrUpdate. */ +public final class ChangeDataCaptureCreateOrUpdateSamples { + /* + * x-ms-original-file: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Create.json + */ + /** + * Sample code: ChangeDataCapture_Create. + * + * @param manager Entry point to DataFactoryManager. + */ + public static void changeDataCaptureCreate(com.azure.resourcemanager.datafactory.DataFactoryManager manager) + throws IOException { + manager + .changeDataCaptures() + .define("exampleChangeDataCapture") + .withExistingFactory("exampleResourceGroup", "exampleFactoryName") + .withSourceConnectionsInfo( + Arrays + .asList( + new MapperSourceConnectionsInfo() + .withSourceEntities( + Arrays + .asList( + new MapperTable() + .withName("source/customer") + .withSchema( + Arrays + .asList( + new MapperTableSchema() + .withName("CustId") + .withDataType("short"), + new MapperTableSchema() + .withName("CustName") + .withDataType("string"), + new MapperTableSchema() + .withName("CustAddres") + .withDataType("string"), + new MapperTableSchema() + .withName("CustDepName") + .withDataType("string"), + new MapperTableSchema() + .withName("CustDepLoc") + .withDataType("string"))) + .withDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("container") + .withValue("source"), + new MapperDslConnectorProperties() + .withName("fileSystem") + .withValue("source"), + new MapperDslConnectorProperties() + .withName("folderPath") + .withValue("customer"), + new MapperDslConnectorProperties() + .withName("allowSchemaDrift") + .withValue(false), + new MapperDslConnectorProperties() + .withName("inferDriftedColumnTypes") + .withValue(false))), + new MapperTable() + .withName("source/employee") + .withSchema(Arrays.asList()) + .withDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("container") + .withValue("source"), + new MapperDslConnectorProperties() + .withName("fileSystem") + .withValue("source"), + new MapperDslConnectorProperties() + .withName("folderPath") + .withValue("employee"))), + new MapperTable() + .withName("lookup") + .withSchema( + Arrays + .asList( + new MapperTableSchema().withName("EmpId").withDataType("short"), + new MapperTableSchema() + .withName("EmpName") + .withDataType("string"), + new MapperTableSchema() + .withName("HomeAddress") + .withDataType("string"), + new MapperTableSchema() + .withName("OfficeAddress") + .withDataType("string"), + new MapperTableSchema() + .withName("EmpPhoneNumber") + .withDataType("integer"), + new MapperTableSchema() + .withName("DepName") + .withDataType("string"), + new MapperTableSchema() + .withName("DepLoc") + .withDataType("string"), + new MapperTableSchema() + .withName("DecimalCol") + .withDataType("double"))) + .withDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("container") + .withValue("lookup"), + new MapperDslConnectorProperties() + .withName("fileSystem") + .withValue("lookup"), + new MapperDslConnectorProperties() + .withName("allowSchemaDrift") + .withValue(false), + new MapperDslConnectorProperties() + .withName("inferDriftedColumnTypes") + .withValue(false))), + new MapperTable() + .withName("source/justSchema") + .withSchema( + Arrays + .asList( + new MapperTableSchema() + .withName("CustId") + .withDataType("string"), + new MapperTableSchema() + .withName("CustName") + .withDataType("string"), + new MapperTableSchema() + .withName("CustAddres") + .withDataType("string"), + new MapperTableSchema() + .withName("CustDepName") + .withDataType("string"), + new MapperTableSchema() + .withName("CustDepLoc") + .withDataType("string"))) + .withDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("container") + .withValue("source"), + new MapperDslConnectorProperties() + .withName("fileSystem") + .withValue("source"), + new MapperDslConnectorProperties() + .withName("folderPath") + .withValue("justSchema"), + new MapperDslConnectorProperties() + .withName("allowSchemaDrift") + .withValue(false), + new MapperDslConnectorProperties() + .withName("inferDriftedColumnTypes") + .withValue(false))))) + .withConnection( + new MapperConnection() + .withLinkedService(new LinkedServiceReference().withReferenceName("amjaAdls03")) + .withLinkedServiceType("AzureBlobFS") + .withType(ConnectionType.LINKEDSERVICETYPE) + .withIsInlineDataset(true) + .withCommonDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("allowSchemaDrift") + .withValue(true), + new MapperDslConnectorProperties() + .withName("inferDriftedColumnTypes") + .withValue(true), + new MapperDslConnectorProperties() + .withName("format") + .withValue("delimited"), + new MapperDslConnectorProperties() + .withName("dateFormats") + .withValue( + SerializerFactory + .createDefaultManagementSerializerAdapter() + .deserialize( + "[\"MM/dd/yyyy\",\"dd/MM/yyyy\",\"yyyy/MM/dd\",\"MM-dd-yyyy\",\"dd-MM-yyyy\",\"yyyy-MM-dd\",\"dd.MM.yyyy\",\"MM.dd.yyyy\",\"yyyy.MM.dd\"]", + Object.class, + SerializerEncoding.JSON)), + new MapperDslConnectorProperties() + .withName("timestampFormats") + .withValue( + SerializerFactory + .createDefaultManagementSerializerAdapter() + .deserialize( + "[\"yyyyMMddHHmm\",\"yyyyMMdd" + + " HHmm\",\"yyyyMMddHHmmss\",\"yyyyMMdd" + + " HHmmss\",\"dd-MM-yyyy HH:mm:ss\",\"dd-MM-yyyy" + + " HH:mm\",\"yyyy-M-d" + + " H:m:s\",\"yyyy-MM-dd\\\\'T\\\\'HH:mm:ss\\\\'Z\\\\'\",\"yyyy-M-d\\\\'T\\\\'H:m:s\\\\'Z\\\\'\",\"yyyy-M-d\\\\'T\\\\'H:m:s\",\"yyyy-MM-dd\\\\'T\\\\'HH:mm:ss\",\"yyyy-MM-dd" + + " HH:mm:ss\",\"yyyy-MM-dd HH:mm\",\"yyyy.MM.dd" + + " HH:mm:ss\",\"MM/dd/yyyy HH:mm:ss\",\"M/d/yyyy" + + " H:m:s\",\"yyyy/MM/dd HH:mm:ss\",\"yyyy/M/d" + + " H:m:s\",\"dd MMM yyyy HH:mm:ss\",\"dd MMMM yyyy" + + " HH:mm:ss\",\"d MMM yyyy H:m:s\",\"d MMMM yyyy" + + " H:m:s\",\"d-M-yyyy H:m:s\",\"d-M-yyyy" + + " H:m\",\"yyyy-M-d H:m\",\"MM/dd/yyyy" + + " HH:mm\",\"M/d/yyyy H:m\",\"yyyy/MM/dd" + + " HH:mm\",\"yyyy/M/d H:m\",\"dd MMMM yyyy" + + " HH:mm\",\"dd MMM yyyy HH:mm\",\"d MMMM yyyy" + + " H:m\",\"d MMM yyyy H:m\",\"MM-dd-yyyy hh:mm:ss" + + " a\",\"MM-dd-yyyy HH:mm:ss\",\"MM/dd/yyyy" + + " hh:mm:ss a\",\"yyyy.MM.dd hh:mm:ss" + + " a\",\"MM/dd/yyyy\",\"dd/MM/yyyy\",\"yyyy/MM/dd\",\"MM-dd-yyyy\",\"dd-MM-yyyy\",\"yyyy-MM-dd\",\"dd.MM.yyyy\",\"MM.dd.yyyy\",\"yyyy.MM.dd\"]", + Object.class, + SerializerEncoding.JSON)), + new MapperDslConnectorProperties() + .withName("enableCdc") + .withValue(true), + new MapperDslConnectorProperties() + .withName("skipInitialLoad") + .withValue(true), + new MapperDslConnectorProperties() + .withName("columnNamesAsHeader") + .withValue(true), + new MapperDslConnectorProperties() + .withName("columnDelimiter") + .withValue(","), + new MapperDslConnectorProperties() + .withName("escapeChar") + .withValue("\\\\"), + new MapperDslConnectorProperties() + .withName("quoteChar") + .withValue("\\\"")))))) + .withTargetConnectionsInfo( + Arrays + .asList( + new MapperTargetConnectionsInfo() + .withTargetEntities( + Arrays + .asList( + new MapperTable() + .withName("dbo.employee") + .withSchema(Arrays.asList()) + .withDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("schemaName") + .withValue("dbo"), + new MapperDslConnectorProperties() + .withName("tableName") + .withValue("employee"))), + new MapperTable() + .withName("dbo.justSchema") + .withSchema(Arrays.asList()) + .withDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("schemaName") + .withValue("dbo"), + new MapperDslConnectorProperties() + .withName("tableName") + .withValue("justSchema"), + new MapperDslConnectorProperties() + .withName("allowSchemaDrift") + .withValue(true), + new MapperDslConnectorProperties() + .withName("inferDriftedColumnTypes") + .withValue(true))), + new MapperTable() + .withName("dbo.customer") + .withSchema( + Arrays + .asList( + new MapperTableSchema() + .withName("CustId") + .withDataType("integer"), + new MapperTableSchema() + .withName("CustName") + .withDataType("string"), + new MapperTableSchema() + .withName("CustAddres") + .withDataType("string"), + new MapperTableSchema() + .withName("CustDeptName") + .withDataType("string"), + new MapperTableSchema() + .withName("CustEmail") + .withDataType("string"))) + .withDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("schemaName") + .withValue("dbo"), + new MapperDslConnectorProperties() + .withName("tableName") + .withValue("customer"), + new MapperDslConnectorProperties() + .withName("allowSchemaDrift") + .withValue(false), + new MapperDslConnectorProperties() + .withName("inferDriftedColumnTypes") + .withValue(false))), + new MapperTable() + .withName("dbo.data_source_table") + .withSchema( + Arrays + .asList( + new MapperTableSchema() + .withName("PersonID") + .withDataType("integer"), + new MapperTableSchema().withName("Name").withDataType("string"), + new MapperTableSchema() + .withName("LastModifytime") + .withDataType("timestamp"))) + .withDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("schemaName") + .withValue("dbo"), + new MapperDslConnectorProperties() + .withName("tableName") + .withValue("data_source_table"), + new MapperDslConnectorProperties() + .withName("allowSchemaDrift") + .withValue(false), + new MapperDslConnectorProperties() + .withName("inferDriftedColumnTypes") + .withValue(false), + new MapperDslConnectorProperties() + .withName("defaultToUpsert") + .withValue(false))))) + .withConnection( + new MapperConnection() + .withLinkedService(new LinkedServiceReference().withReferenceName("amjaSql")) + .withLinkedServiceType("AzureSqlDatabase") + .withType(ConnectionType.LINKEDSERVICETYPE) + .withIsInlineDataset(true) + .withCommonDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("allowSchemaDrift") + .withValue(true), + new MapperDslConnectorProperties() + .withName("inferDriftedColumnTypes") + .withValue(true), + new MapperDslConnectorProperties() + .withName("format") + .withValue("table"), + new MapperDslConnectorProperties() + .withName("store") + .withValue("sqlserver"), + new MapperDslConnectorProperties() + .withName("databaseType") + .withValue("databaseType"), + new MapperDslConnectorProperties() + .withName("database") + .withValue("database"), + new MapperDslConnectorProperties() + .withName("deletable") + .withValue(false), + new MapperDslConnectorProperties() + .withName("insertable") + .withValue(true), + new MapperDslConnectorProperties() + .withName("updateable") + .withValue(false), + new MapperDslConnectorProperties() + .withName("upsertable") + .withValue(false), + new MapperDslConnectorProperties() + .withName("skipDuplicateMapInputs") + .withValue(true), + new MapperDslConnectorProperties() + .withName("skipDuplicateMapOutputs") + .withValue(true)))) + .withDataMapperMappings( + Arrays + .asList( + new DataMapperMapping() + .withTargetEntityName("dbo.customer") + .withSourceEntityName("source/customer") + .withSourceConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType(ConnectionType.LINKEDSERVICETYPE)) + .withAttributeMappingInfo( + new MapperAttributeMappings().withAttributeMappings(Arrays.asList())), + new DataMapperMapping() + .withTargetEntityName("dbo.data_source_table") + .withSourceEntityName("lookup") + .withSourceConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType(ConnectionType.LINKEDSERVICETYPE)) + .withAttributeMappingInfo( + new MapperAttributeMappings() + .withAttributeMappings( + Arrays + .asList( + new MapperAttributeMapping() + .withName("Name") + .withType(MappingType.DERIVED) + .withFunctionName("upper") + .withExpression("upper(EmpName)") + .withAttributeReferences( + Arrays + .asList( + new MapperAttributeReference() + .withName("EmpName") + .withEntity("lookup") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName( + "amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE)))), + new MapperAttributeMapping() + .withName("PersonID") + .withType(MappingType.DIRECT) + .withFunctionName("") + .withAttributeReference( + new MapperAttributeReference() + .withName("EmpId") + .withEntity("lookup") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE)))))), + new DataMapperMapping() + .withTargetEntityName("dbo.employee") + .withSourceEntityName("source/employee") + .withSourceConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType(ConnectionType.LINKEDSERVICETYPE)) + .withAttributeMappingInfo( + new MapperAttributeMappings().withAttributeMappings(Arrays.asList())), + new DataMapperMapping() + .withTargetEntityName("dbo.justSchema") + .withSourceEntityName("source/justSchema") + .withSourceConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType(ConnectionType.LINKEDSERVICETYPE)) + .withAttributeMappingInfo( + new MapperAttributeMappings() + .withAttributeMappings( + Arrays + .asList( + new MapperAttributeMapping() + .withName("CustAddres") + .withType(MappingType.DERIVED) + .withFunctionName("trim") + .withExpression("trim(CustAddres)") + .withAttributeReferences( + Arrays + .asList( + new MapperAttributeReference() + .withName("CustAddres") + .withEntity("source/justSchema") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName( + "amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE)))), + new MapperAttributeMapping() + .withName("CustDepLoc") + .withType(MappingType.DIRECT) + .withAttributeReference( + new MapperAttributeReference() + .withName("CustDepLoc") + .withEntity("source/justSchema") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE))), + new MapperAttributeMapping() + .withName("CustDepName") + .withType(MappingType.DERIVED) + .withFunctionName("") + .withExpression( + "concat(CustName, \" -> \", CustDepName)") + .withAttributeReferences( + Arrays + .asList( + new MapperAttributeReference() + .withName("CustName") + .withEntity("source/justSchema") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName( + "amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE)), + new MapperAttributeReference() + .withName("CustDepName") + .withEntity("source/justSchema") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName( + "amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE)))), + new MapperAttributeMapping() + .withName("CustId") + .withType(MappingType.DIRECT) + .withFunctionName("") + .withAttributeReference( + new MapperAttributeReference() + .withName("CustId") + .withEntity("source/justSchema") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE))), + new MapperAttributeMapping() + .withName("CustName") + .withType(MappingType.DIRECT) + .withAttributeReference( + new MapperAttributeReference() + .withName("CustName") + .withEntity("source/justSchema") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE)))))))) + .withRelationships(Arrays.asList()))) + .withPolicy( + new MapperPolicy() + .withMode("Microbatch") + .withRecurrence(new MapperPolicyRecurrence().withFrequency(FrequencyType.MINUTE).withInterval(15))) + .withDescription( + "Sample demo change data capture to transfer data from delimited (csv) to Azure SQL Database with" + + " automapped and non-automapped mappings.") + .withAllowVNetOverride(false) + .create(); + } + + /* + * x-ms-original-file: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Update.json + */ + /** + * Sample code: ChangeDataCapture_Update. + * + * @param manager Entry point to DataFactoryManager. + */ + public static void changeDataCaptureUpdate(com.azure.resourcemanager.datafactory.DataFactoryManager manager) + throws IOException { + ChangeDataCaptureResource resource = + manager + .changeDataCaptures() + .getWithResponse( + "exampleResourceGroup", + "exampleFactoryName", + "exampleChangeDataCapture", + null, + com.azure.core.util.Context.NONE) + .getValue(); + resource + .update() + .withDescription( + "Sample demo change data capture to transfer data from delimited (csv) to Azure SQL Database. Updating" + + " table mappings.") + .withSourceConnectionsInfo( + Arrays + .asList( + new MapperSourceConnectionsInfo() + .withSourceEntities( + Arrays + .asList( + new MapperTable() + .withName("source/customer") + .withSchema( + Arrays + .asList( + new MapperTableSchema() + .withName("CustId") + .withDataType("short"), + new MapperTableSchema() + .withName("CustName") + .withDataType("string"), + new MapperTableSchema() + .withName("CustAddres") + .withDataType("string"), + new MapperTableSchema() + .withName("CustDepName") + .withDataType("string"), + new MapperTableSchema() + .withName("CustDepLoc") + .withDataType("string"))) + .withDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("container") + .withValue("source"), + new MapperDslConnectorProperties() + .withName("fileSystem") + .withValue("source"), + new MapperDslConnectorProperties() + .withName("folderPath") + .withValue("customer"), + new MapperDslConnectorProperties() + .withName("allowSchemaDrift") + .withValue(false), + new MapperDslConnectorProperties() + .withName("inferDriftedColumnTypes") + .withValue(false))), + new MapperTable() + .withName("source/employee") + .withSchema(Arrays.asList()) + .withDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("container") + .withValue("source"), + new MapperDslConnectorProperties() + .withName("fileSystem") + .withValue("source"), + new MapperDslConnectorProperties() + .withName("folderPath") + .withValue("employee"))), + new MapperTable() + .withName("lookup") + .withSchema( + Arrays + .asList( + new MapperTableSchema().withName("EmpId").withDataType("short"), + new MapperTableSchema() + .withName("EmpName") + .withDataType("string"), + new MapperTableSchema() + .withName("HomeAddress") + .withDataType("string"), + new MapperTableSchema() + .withName("OfficeAddress") + .withDataType("string"), + new MapperTableSchema() + .withName("EmpPhoneNumber") + .withDataType("integer"), + new MapperTableSchema() + .withName("DepName") + .withDataType("string"), + new MapperTableSchema() + .withName("DepLoc") + .withDataType("string"), + new MapperTableSchema() + .withName("DecimalCol") + .withDataType("double"))) + .withDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("container") + .withValue("lookup"), + new MapperDslConnectorProperties() + .withName("fileSystem") + .withValue("lookup"), + new MapperDslConnectorProperties() + .withName("allowSchemaDrift") + .withValue(false), + new MapperDslConnectorProperties() + .withName("inferDriftedColumnTypes") + .withValue(false))), + new MapperTable() + .withName("source/justSchema") + .withSchema( + Arrays + .asList( + new MapperTableSchema() + .withName("CustId") + .withDataType("string"), + new MapperTableSchema() + .withName("CustName") + .withDataType("string"), + new MapperTableSchema() + .withName("CustAddres") + .withDataType("string"), + new MapperTableSchema() + .withName("CustDepName") + .withDataType("string"), + new MapperTableSchema() + .withName("CustDepLoc") + .withDataType("string"))) + .withDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("container") + .withValue("source"), + new MapperDslConnectorProperties() + .withName("fileSystem") + .withValue("source"), + new MapperDslConnectorProperties() + .withName("folderPath") + .withValue("justSchema"), + new MapperDslConnectorProperties() + .withName("allowSchemaDrift") + .withValue(false), + new MapperDslConnectorProperties() + .withName("inferDriftedColumnTypes") + .withValue(false))))) + .withConnection( + new MapperConnection() + .withLinkedService(new LinkedServiceReference().withReferenceName("amjaAdls03")) + .withLinkedServiceType("AzureBlobFS") + .withType(ConnectionType.LINKEDSERVICETYPE) + .withIsInlineDataset(true) + .withCommonDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("allowSchemaDrift") + .withValue(true), + new MapperDslConnectorProperties() + .withName("inferDriftedColumnTypes") + .withValue(true), + new MapperDslConnectorProperties() + .withName("format") + .withValue("delimited"), + new MapperDslConnectorProperties() + .withName("dateFormats") + .withValue( + SerializerFactory + .createDefaultManagementSerializerAdapter() + .deserialize( + "[\"MM/dd/yyyy\",\"dd/MM/yyyy\",\"yyyy/MM/dd\",\"MM-dd-yyyy\",\"dd-MM-yyyy\",\"yyyy-MM-dd\",\"dd.MM.yyyy\",\"MM.dd.yyyy\",\"yyyy.MM.dd\"]", + Object.class, + SerializerEncoding.JSON)), + new MapperDslConnectorProperties() + .withName("timestampFormats") + .withValue( + SerializerFactory + .createDefaultManagementSerializerAdapter() + .deserialize( + "[\"yyyyMMddHHmm\",\"yyyyMMdd" + + " HHmm\",\"yyyyMMddHHmmss\",\"yyyyMMdd" + + " HHmmss\",\"dd-MM-yyyy HH:mm:ss\",\"dd-MM-yyyy" + + " HH:mm\",\"yyyy-M-d" + + " H:m:s\",\"yyyy-MM-dd\\\\'T\\\\'HH:mm:ss\\\\'Z\\\\'\",\"yyyy-M-d\\\\'T\\\\'H:m:s\\\\'Z\\\\'\",\"yyyy-M-d\\\\'T\\\\'H:m:s\",\"yyyy-MM-dd\\\\'T\\\\'HH:mm:ss\",\"yyyy-MM-dd" + + " HH:mm:ss\",\"yyyy-MM-dd HH:mm\",\"yyyy.MM.dd" + + " HH:mm:ss\",\"MM/dd/yyyy HH:mm:ss\",\"M/d/yyyy" + + " H:m:s\",\"yyyy/MM/dd HH:mm:ss\",\"yyyy/M/d" + + " H:m:s\",\"dd MMM yyyy HH:mm:ss\",\"dd MMMM yyyy" + + " HH:mm:ss\",\"d MMM yyyy H:m:s\",\"d MMMM yyyy" + + " H:m:s\",\"d-M-yyyy H:m:s\",\"d-M-yyyy" + + " H:m\",\"yyyy-M-d H:m\",\"MM/dd/yyyy" + + " HH:mm\",\"M/d/yyyy H:m\",\"yyyy/MM/dd" + + " HH:mm\",\"yyyy/M/d H:m\",\"dd MMMM yyyy" + + " HH:mm\",\"dd MMM yyyy HH:mm\",\"d MMMM yyyy" + + " H:m\",\"d MMM yyyy H:m\",\"MM-dd-yyyy hh:mm:ss" + + " a\",\"MM-dd-yyyy HH:mm:ss\",\"MM/dd/yyyy" + + " hh:mm:ss a\",\"yyyy.MM.dd hh:mm:ss" + + " a\",\"MM/dd/yyyy\",\"dd/MM/yyyy\",\"yyyy/MM/dd\",\"MM-dd-yyyy\",\"dd-MM-yyyy\",\"yyyy-MM-dd\",\"dd.MM.yyyy\",\"MM.dd.yyyy\",\"yyyy.MM.dd\"]", + Object.class, + SerializerEncoding.JSON)), + new MapperDslConnectorProperties() + .withName("enableCdc") + .withValue(true), + new MapperDslConnectorProperties() + .withName("skipInitialLoad") + .withValue(true), + new MapperDslConnectorProperties() + .withName("columnNamesAsHeader") + .withValue(true), + new MapperDslConnectorProperties() + .withName("columnDelimiter") + .withValue(","), + new MapperDslConnectorProperties() + .withName("escapeChar") + .withValue("\\\\"), + new MapperDslConnectorProperties() + .withName("quoteChar") + .withValue("\\\"")))))) + .withTargetConnectionsInfo( + Arrays + .asList( + new MapperTargetConnectionsInfo() + .withTargetEntities( + Arrays + .asList( + new MapperTable() + .withName("dbo.employee") + .withSchema(Arrays.asList()) + .withDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("schemaName") + .withValue("dbo"), + new MapperDslConnectorProperties() + .withName("tableName") + .withValue("employee"))), + new MapperTable() + .withName("dbo.justSchema") + .withSchema(Arrays.asList()) + .withDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("schemaName") + .withValue("dbo"), + new MapperDslConnectorProperties() + .withName("tableName") + .withValue("justSchema"), + new MapperDslConnectorProperties() + .withName("allowSchemaDrift") + .withValue(true), + new MapperDslConnectorProperties() + .withName("inferDriftedColumnTypes") + .withValue(true))), + new MapperTable() + .withName("dbo.customer") + .withSchema( + Arrays + .asList( + new MapperTableSchema() + .withName("CustId") + .withDataType("integer"), + new MapperTableSchema() + .withName("CustName") + .withDataType("string"), + new MapperTableSchema() + .withName("CustAddres") + .withDataType("string"), + new MapperTableSchema() + .withName("CustDeptName") + .withDataType("string"), + new MapperTableSchema() + .withName("CustEmail") + .withDataType("string"))) + .withDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("schemaName") + .withValue("dbo"), + new MapperDslConnectorProperties() + .withName("tableName") + .withValue("customer"), + new MapperDslConnectorProperties() + .withName("allowSchemaDrift") + .withValue(false), + new MapperDslConnectorProperties() + .withName("inferDriftedColumnTypes") + .withValue(false))), + new MapperTable() + .withName("dbo.data_source_table") + .withSchema( + Arrays + .asList( + new MapperTableSchema() + .withName("PersonID") + .withDataType("integer"), + new MapperTableSchema().withName("Name").withDataType("string"), + new MapperTableSchema() + .withName("LastModifytime") + .withDataType("timestamp"))) + .withDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("schemaName") + .withValue("dbo"), + new MapperDslConnectorProperties() + .withName("tableName") + .withValue("data_source_table"), + new MapperDslConnectorProperties() + .withName("allowSchemaDrift") + .withValue(false), + new MapperDslConnectorProperties() + .withName("inferDriftedColumnTypes") + .withValue(false), + new MapperDslConnectorProperties() + .withName("defaultToUpsert") + .withValue(false))))) + .withConnection( + new MapperConnection() + .withLinkedService(new LinkedServiceReference().withReferenceName("amjaSql")) + .withLinkedServiceType("AzureSqlDatabase") + .withType(ConnectionType.LINKEDSERVICETYPE) + .withIsInlineDataset(true) + .withCommonDslConnectorProperties( + Arrays + .asList( + new MapperDslConnectorProperties() + .withName("allowSchemaDrift") + .withValue(true), + new MapperDslConnectorProperties() + .withName("inferDriftedColumnTypes") + .withValue(true), + new MapperDslConnectorProperties() + .withName("format") + .withValue("table"), + new MapperDslConnectorProperties() + .withName("store") + .withValue("sqlserver"), + new MapperDslConnectorProperties() + .withName("databaseType") + .withValue("databaseType"), + new MapperDslConnectorProperties() + .withName("database") + .withValue("database"), + new MapperDslConnectorProperties() + .withName("deletable") + .withValue(false), + new MapperDslConnectorProperties() + .withName("insertable") + .withValue(true), + new MapperDslConnectorProperties() + .withName("updateable") + .withValue(false), + new MapperDslConnectorProperties() + .withName("upsertable") + .withValue(false), + new MapperDslConnectorProperties() + .withName("skipDuplicateMapInputs") + .withValue(true), + new MapperDslConnectorProperties() + .withName("skipDuplicateMapOutputs") + .withValue(true)))) + .withDataMapperMappings( + Arrays + .asList( + new DataMapperMapping() + .withTargetEntityName("dbo.customer") + .withSourceEntityName("source/customer") + .withSourceConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType(ConnectionType.LINKEDSERVICETYPE)) + .withAttributeMappingInfo( + new MapperAttributeMappings() + .withAttributeMappings( + Arrays + .asList( + new MapperAttributeMapping() + .withName("CustAddres") + .withType(MappingType.DERIVED) + .withFunctionName("trim") + .withExpression("trim(CustAddres)") + .withAttributeReferences( + Arrays + .asList( + new MapperAttributeReference() + .withName("CustAddres") + .withEntity("source/customer") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName( + "amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE)))), + new MapperAttributeMapping() + .withName("CustDeptName") + .withType(MappingType.DIRECT) + .withFunctionName("") + .withAttributeReference( + new MapperAttributeReference() + .withName("CustDepName") + .withEntity("source/customer") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE))), + new MapperAttributeMapping() + .withName("CustEmail") + .withType(MappingType.DIRECT) + .withFunctionName("") + .withAttributeReference( + new MapperAttributeReference() + .withName("CustName") + .withEntity("source/customer") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE))), + new MapperAttributeMapping() + .withName("CustId") + .withType(MappingType.DIRECT) + .withFunctionName("") + .withAttributeReference( + new MapperAttributeReference() + .withName("CustId") + .withEntity("source/customer") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE))), + new MapperAttributeMapping() + .withName("CustName") + .withType(MappingType.DIRECT) + .withFunctionName("") + .withAttributeReference( + new MapperAttributeReference() + .withName("CustName") + .withEntity("source/customer") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE)))))), + new DataMapperMapping() + .withTargetEntityName("dbo.data_source_table") + .withSourceEntityName("lookup") + .withSourceConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType(ConnectionType.LINKEDSERVICETYPE)) + .withAttributeMappingInfo( + new MapperAttributeMappings() + .withAttributeMappings( + Arrays + .asList( + new MapperAttributeMapping() + .withName("Name") + .withType(MappingType.DERIVED) + .withFunctionName("upper") + .withExpression("upper(EmpName)") + .withAttributeReferences( + Arrays + .asList( + new MapperAttributeReference() + .withName("EmpName") + .withEntity("lookup") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName( + "amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE)))), + new MapperAttributeMapping() + .withName("PersonID") + .withType(MappingType.DIRECT) + .withFunctionName("") + .withAttributeReference( + new MapperAttributeReference() + .withName("EmpId") + .withEntity("lookup") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE)))))), + new DataMapperMapping() + .withTargetEntityName("dbo.employee") + .withSourceEntityName("source/employee") + .withSourceConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType(ConnectionType.LINKEDSERVICETYPE)) + .withAttributeMappingInfo( + new MapperAttributeMappings().withAttributeMappings(Arrays.asList())), + new DataMapperMapping() + .withTargetEntityName("dbo.justSchema") + .withSourceEntityName("source/justSchema") + .withSourceConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType(ConnectionType.LINKEDSERVICETYPE)) + .withAttributeMappingInfo( + new MapperAttributeMappings() + .withAttributeMappings( + Arrays + .asList( + new MapperAttributeMapping() + .withName("CustAddres") + .withType(MappingType.DERIVED) + .withFunctionName("trim") + .withExpression("trim(CustAddres)") + .withAttributeReferences( + Arrays + .asList( + new MapperAttributeReference() + .withName("CustAddres") + .withEntity("source/justSchema") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName( + "amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE)))), + new MapperAttributeMapping() + .withName("CustDepLoc") + .withType(MappingType.DIRECT) + .withAttributeReference( + new MapperAttributeReference() + .withName("CustDepLoc") + .withEntity("source/justSchema") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE))), + new MapperAttributeMapping() + .withName("CustDepName") + .withType(MappingType.DERIVED) + .withFunctionName("") + .withExpression( + "concat(CustName, \" -> \", CustDepName)") + .withAttributeReferences( + Arrays + .asList( + new MapperAttributeReference() + .withName("CustName") + .withEntity("source/justSchema") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName( + "amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE)), + new MapperAttributeReference() + .withName("CustDepName") + .withEntity("source/justSchema") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName( + "amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE)))), + new MapperAttributeMapping() + .withName("CustId") + .withType(MappingType.DIRECT) + .withFunctionName("") + .withAttributeReference( + new MapperAttributeReference() + .withName("CustId") + .withEntity("source/justSchema") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE))), + new MapperAttributeMapping() + .withName("CustName") + .withType(MappingType.DIRECT) + .withAttributeReference( + new MapperAttributeReference() + .withName("CustName") + .withEntity("source/justSchema") + .withEntityConnectionReference( + new MapperConnectionReference() + .withConnectionName("amjaAdls03") + .withType( + ConnectionType + .LINKEDSERVICETYPE)))))))) + .withRelationships(Arrays.asList()))) + .withPolicy( + new MapperPolicy() + .withMode("Microbatch") + .withRecurrence(new MapperPolicyRecurrence().withFrequency(FrequencyType.MINUTE).withInterval(15))) + .withAllowVNetOverride(false) + .withStatus("Stopped") + .apply(); + } +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/samples/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureDeleteSamples.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/samples/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureDeleteSamples.java new file mode 100644 index 0000000000000..e1aecb090ab90 --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/samples/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureDeleteSamples.java @@ -0,0 +1,26 @@ +// 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.generated; + +/** Samples for ChangeDataCapture Delete. */ +public final class ChangeDataCaptureDeleteSamples { + /* + * x-ms-original-file: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Delete.json + */ + /** + * Sample code: ChangeDataCapture_Delete. + * + * @param manager Entry point to DataFactoryManager. + */ + public static void changeDataCaptureDelete(com.azure.resourcemanager.datafactory.DataFactoryManager manager) { + manager + .changeDataCaptures() + .deleteWithResponse( + "exampleResourceGroup", + "exampleFactoryName", + "exampleChangeDataCapture", + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/samples/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureGetSamples.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/samples/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureGetSamples.java new file mode 100644 index 0000000000000..13fe5bf1582bd --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/samples/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureGetSamples.java @@ -0,0 +1,27 @@ +// 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.generated; + +/** Samples for ChangeDataCapture Get. */ +public final class ChangeDataCaptureGetSamples { + /* + * x-ms-original-file: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Get.json + */ + /** + * Sample code: ChangeDataCapture_Get. + * + * @param manager Entry point to DataFactoryManager. + */ + public static void changeDataCaptureGet(com.azure.resourcemanager.datafactory.DataFactoryManager manager) { + manager + .changeDataCaptures() + .getWithResponse( + "exampleResourceGroup", + "exampleFactoryName", + "exampleChangeDataCapture", + null, + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/samples/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureListByFactorySamples.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/samples/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureListByFactorySamples.java new file mode 100644 index 0000000000000..b133005a02d73 --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/samples/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureListByFactorySamples.java @@ -0,0 +1,23 @@ +// 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.generated; + +/** Samples for ChangeDataCapture ListByFactory. */ +public final class ChangeDataCaptureListByFactorySamples { + /* + * x-ms-original-file: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_ListByFactory.json + */ + /** + * Sample code: ChangeDataCapture_ListByFactory. + * + * @param manager Entry point to DataFactoryManager. + */ + public static void changeDataCaptureListByFactory( + com.azure.resourcemanager.datafactory.DataFactoryManager manager) { + manager + .changeDataCaptures() + .listByFactory("exampleResourceGroup", "exampleFactoryName", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/samples/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureStartSamples.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/samples/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureStartSamples.java new file mode 100644 index 0000000000000..962d708e7b451 --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/samples/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureStartSamples.java @@ -0,0 +1,26 @@ +// 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.generated; + +/** Samples for ChangeDataCapture Start. */ +public final class ChangeDataCaptureStartSamples { + /* + * x-ms-original-file: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Start.json + */ + /** + * Sample code: ChangeDataCapture_Start. + * + * @param manager Entry point to DataFactoryManager. + */ + public static void changeDataCaptureStart(com.azure.resourcemanager.datafactory.DataFactoryManager manager) { + manager + .changeDataCaptures() + .startWithResponse( + "exampleResourceGroup", + "exampleFactoryName", + "exampleChangeDataCapture", + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/samples/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureStatusSamples.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/samples/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureStatusSamples.java new file mode 100644 index 0000000000000..362f5fba7caad --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/samples/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureStatusSamples.java @@ -0,0 +1,26 @@ +// 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.generated; + +/** Samples for ChangeDataCapture Status. */ +public final class ChangeDataCaptureStatusSamples { + /* + * x-ms-original-file: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Status.json + */ + /** + * Sample code: ChangeDataCapture_Start. + * + * @param manager Entry point to DataFactoryManager. + */ + public static void changeDataCaptureStart(com.azure.resourcemanager.datafactory.DataFactoryManager manager) { + manager + .changeDataCaptures() + .statusWithResponse( + "exampleResourceGroup", + "exampleFactoryName", + "exampleChangeDataCapture", + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/src/samples/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureStopSamples.java b/sdk/datafactory/azure-resourcemanager-datafactory/src/samples/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureStopSamples.java new file mode 100644 index 0000000000000..c23081a533524 --- /dev/null +++ b/sdk/datafactory/azure-resourcemanager-datafactory/src/samples/java/com/azure/resourcemanager/datafactory/generated/ChangeDataCaptureStopSamples.java @@ -0,0 +1,26 @@ +// 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.generated; + +/** Samples for ChangeDataCapture Stop. */ +public final class ChangeDataCaptureStopSamples { + /* + * x-ms-original-file: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Stop.json + */ + /** + * Sample code: ChangeDataCapture_Stop. + * + * @param manager Entry point to DataFactoryManager. + */ + public static void changeDataCaptureStop(com.azure.resourcemanager.datafactory.DataFactoryManager manager) { + manager + .changeDataCaptures() + .stopWithResponse( + "exampleResourceGroup", + "exampleFactoryName", + "exampleChangeDataCapture", + com.azure.core.util.Context.NONE); + } +}