From bf2227bb9fc381e204b57a3b8924816ac2920b6f Mon Sep 17 00:00:00 2001 From: hvermis Date: Tue, 21 Nov 2017 18:08:39 -0800 Subject: [PATCH 1/2] Adding additionalProperties to roundtrip new properties --- .../Generated/Models/Activity.cs | 12 +- .../Generated/Models/ActivityDependency.cs | 12 +- .../Generated/Models/ActivityPolicy.cs | 14 +- .../Generated/Models/ActivityRun.cs | 14 +- .../Models/AmazonMWSLinkedService.cs | 183 ++++++++++++ .../Models/AmazonMWSObjectDataset.cs | 66 +++++ .../Generated/Models/AmazonMWSSource.cs | 63 +++++ .../Models/AmazonRedshiftLinkedService.cs | 8 +- .../Generated/Models/AmazonRedshiftSource.cs | 8 +- .../Generated/Models/AmazonS3Dataset.cs | 6 +- .../Generated/Models/AmazonS3LinkedService.cs | 8 +- .../Generated/Models/AvroFormat.cs | 8 +- .../Models/AzureBatchLinkedService.cs | 8 +- .../Generated/Models/AzureBlobDataset.cs | 6 +- .../AzureDataLakeAnalyticsLinkedService.cs | 8 +- .../Models/AzureDataLakeStoreDataset.cs | 6 +- .../Models/AzureDataLakeStoreLinkedService.cs | 8 +- .../Models/AzureDataLakeStoreSink.cs | 8 +- .../Models/AzureDataLakeStoreSource.cs | 8 +- .../Models/AzureKeyVaultLinkedService.cs | 8 +- .../Models/AzureMLBatchExecutionActivity.cs | 6 +- .../Generated/Models/AzureMLLinkedService.cs | 8 +- .../Models/AzureMLUpdateResourceActivity.cs | 6 +- .../Models/AzureMySqlLinkedService.cs | 8 +- .../Generated/Models/AzureMySqlSource.cs | 8 +- .../Models/AzureMySqlTableDataset.cs | 6 +- .../Models/AzurePostgreSqlLinkedService.cs | 87 ++++++ .../Generated/Models/AzurePostgreSqlSource.cs | 63 +++++ .../Models/AzurePostgreSqlTableDataset.cs | 68 +++++ .../Generated/Models/AzureQueueSink.cs | 8 +- .../Models/AzureSearchIndexDataset.cs | 6 +- .../Generated/Models/AzureSearchIndexSink.cs | 8 +- .../Models/AzureSearchLinkedService.cs | 8 +- .../Models/AzureSqlDWLinkedService.cs | 8 +- .../Models/AzureSqlDWTableDataset.cs | 6 +- .../Models/AzureSqlDatabaseLinkedService.cs | 8 +- .../Generated/Models/AzureSqlTableDataset.cs | 6 +- .../Models/AzureStorageLinkedService.cs | 8 +- .../Generated/Models/AzureTableDataset.cs | 6 +- .../Generated/Models/AzureTableSink.cs | 8 +- .../Generated/Models/AzureTableSource.cs | 8 +- .../Generated/Models/BlobSink.cs | 8 +- .../Generated/Models/BlobSource.cs | 8 +- .../Generated/Models/BlobTrigger.cs | 6 +- .../Models/CassandraLinkedService.cs | 8 +- .../Generated/Models/CassandraSource.cs | 8 +- .../Generated/Models/CassandraTableDataset.cs | 6 +- .../Generated/Models/ConcurLinkedService.cs | 148 ++++++++++ .../Generated/Models/ConcurObjectDataset.cs | 66 +++++ .../Generated/Models/ConcurSource.cs | 63 +++++ .../Generated/Models/ControlActivity.cs | 6 +- .../Generated/Models/CopyActivity.cs | 6 +- .../Generated/Models/CopySink.cs | 14 +- .../Generated/Models/CopySource.cs | 14 +- .../Generated/Models/CopyTranslator.cs | 20 ++ .../Generated/Models/CosmosDbLinkedService.cs | 8 +- .../Models/CouchbaseLinkedService.cs | 85 ++++++ .../Generated/Models/CouchbaseSource.cs | 63 +++++ .../Generated/Models/CouchbaseTableDataset.cs | 66 +++++ .../Generated/Models/CustomActivity.cs | 6 +- .../Models/CustomDataSourceLinkedService.cs | 8 +- .../Generated/Models/CustomDataset.cs | 6 +- .../Models/DataLakeAnalyticsUSQLActivity.cs | 6 +- .../Generated/Models/Dataset.cs | 12 +- .../Models/DatasetBZip2Compression.cs | 12 + .../Generated/Models/DatasetCompression.cs | 20 ++ .../Models/DatasetDeflateCompression.cs | 7 +- .../Models/DatasetGZipCompression.cs | 7 +- .../Generated/Models/DatasetStorageFormat.cs | 14 +- .../Models/DatasetZipDeflateCompression.cs | 7 +- .../Generated/Models/Db2LinkedService.cs | 8 +- .../Models/DocumentDbCollectionDataset.cs | 6 +- .../Models/DocumentDbCollectionSink.cs | 8 +- .../Models/DocumentDbCollectionSource.cs | 8 +- .../Generated/Models/DrillLinkedService.cs | 85 ++++++ .../Generated/Models/DrillSource.cs | 63 +++++ .../Generated/Models/DrillTableDataset.cs | 66 +++++ .../Generated/Models/DynamicsEntityDataset.cs | 6 +- .../Generated/Models/DynamicsLinkedService.cs | 8 +- .../Generated/Models/DynamicsSink.cs | 8 +- .../Generated/Models/DynamicsSource.cs | 8 +- .../Generated/Models/EloquaLinkedService.cs | 148 ++++++++++ .../Generated/Models/EloquaObjectDataset.cs | 66 +++++ .../Generated/Models/EloquaSource.cs | 63 +++++ .../Models/ExecutePipelineActivity.cs | 6 +- .../Generated/Models/ExecutionActivity.cs | 6 +- .../Generated/Models/Factory.cs | 12 +- .../Models/FileServerLinkedService.cs | 8 +- .../Generated/Models/FileShareDataset.cs | 6 +- .../Generated/Models/FileSystemSink.cs | 8 +- .../Generated/Models/FileSystemSource.cs | 8 +- .../Generated/Models/ForEachActivity.cs | 6 +- .../Models/FtpServerLinkedService.cs | 8 +- .../Generated/Models/GetMetadataActivity.cs | 6 +- .../GoogleBigQueryAuthenticationType.cs | 22 ++ .../Models/GoogleBigQueryLinkedService.cs | 194 +++++++++++++ .../Models/GoogleBigQueryObjectDataset.cs | 68 +++++ .../Generated/Models/GoogleBigQuerySource.cs | 63 +++++ .../Models/GreenplumLinkedService.cs | 85 ++++++ .../Generated/Models/GreenplumSource.cs | 63 +++++ .../Generated/Models/GreenplumTableDataset.cs | 66 +++++ .../Models/HBaseAuthenticationType.cs | 22 ++ .../Generated/Models/HBaseLinkedService.cs | 193 +++++++++++++ .../Generated/Models/HBaseObjectDataset.cs | 66 +++++ .../Generated/Models/HBaseSource.cs | 63 +++++ .../Generated/Models/HDInsightHiveActivity.cs | 6 +- .../Models/HDInsightLinkedService.cs | 8 +- .../Models/HDInsightMapReduceActivity.cs | 6 +- .../Models/HDInsightOnDemandLinkedService.cs | 6 +- .../Generated/Models/HDInsightPigActivity.cs | 6 +- .../Models/HDInsightSparkActivity.cs | 6 +- .../Models/HDInsightStreamingActivity.cs | 6 +- .../Generated/Models/HdfsLinkedService.cs | 8 +- .../Generated/Models/HdfsSource.cs | 8 +- .../Models/HiveAuthenticationType.cs | 24 ++ .../Generated/Models/HiveLinkedService.cs | 261 ++++++++++++++++++ .../Generated/Models/HiveObjectDataset.cs | 66 +++++ .../Generated/Models/HiveServerType.cs | 23 ++ .../Generated/Models/HiveSource.cs | 63 +++++ .../Models/HiveThriftTransportProtocol.cs | 23 ++ .../Generated/Models/HttpDataset.cs | 6 +- .../Generated/Models/HttpLinkedService.cs | 8 +- .../Generated/Models/HttpSource.cs | 8 +- .../Generated/Models/HubspotLinkedService.cs | 155 +++++++++++ .../Generated/Models/HubspotObjectDataset.cs | 66 +++++ .../Generated/Models/HubspotSource.cs | 63 +++++ .../Generated/Models/IfConditionActivity.cs | 6 +- .../Models/ImpalaAuthenticationType.cs | 23 ++ .../Generated/Models/ImpalaLinkedService.cs | 198 +++++++++++++ .../Generated/Models/ImpalaObjectDataset.cs | 66 +++++ .../Generated/Models/ImpalaSource.cs | 63 +++++ .../Generated/Models/IntegrationRuntime.cs | 14 +- .../IntegrationRuntimeComputeProperties.cs | 14 +- .../IntegrationRuntimeConnectionInfo.cs | 14 +- .../IntegrationRuntimeNodeMonitoringData.cs | 14 +- .../IntegrationRuntimeRemoveNodeRequest.cs | 14 +- .../IntegrationRuntimeSsisCatalogInfo.cs | 14 +- .../IntegrationRuntimeSsisProperties.cs | 14 +- .../Models/IntegrationRuntimeStatus.cs | 14 +- .../IntegrationRuntimeVNetProperties.cs | 14 +- .../Generated/Models/JiraLinkedService.cs | 160 +++++++++++ .../Generated/Models/JiraObjectDataset.cs | 66 +++++ .../Generated/Models/JiraSource.cs | 63 +++++ .../Generated/Models/JsonFormat.cs | 8 +- .../Generated/Models/LinkedService.cs | 14 +- .../Generated/Models/LookupActivity.cs | 6 +- .../Generated/Models/MagentoLinkedService.cs | 133 +++++++++ .../Generated/Models/MagentoObjectDataset.cs | 66 +++++ .../Generated/Models/MagentoSource.cs | 63 +++++ .../Models/ManagedIntegrationRuntime.cs | 8 +- .../Models/ManagedIntegrationRuntimeStatus.cs | 6 +- .../Generated/Models/MariaDBLinkedService.cs | 85 ++++++ .../Generated/Models/MariaDBSource.cs | 63 +++++ .../Generated/Models/MariaDBTableDataset.cs | 66 +++++ .../Generated/Models/MarketoLinkedService.cs | 147 ++++++++++ .../Generated/Models/MarketoObjectDataset.cs | 66 +++++ .../Generated/Models/MarketoSource.cs | 63 +++++ .../Models/MongoDbCollectionDataset.cs | 6 +- .../Generated/Models/MongoDbLinkedService.cs | 8 +- .../Generated/Models/MongoDbSource.cs | 8 +- .../Models/MultiplePipelineTrigger.cs | 6 +- .../Generated/Models/MySqlLinkedService.cs | 8 +- .../Generated/Models/ODataLinkedService.cs | 8 +- .../Generated/Models/ODataResourceDataset.cs | 6 +- .../Generated/Models/OdbcLinkedService.cs | 8 +- .../Generated/Models/OdbcSink.cs | 8 +- .../Generated/Models/OracleLinkedService.cs | 8 +- .../Generated/Models/OracleSink.cs | 8 +- .../Generated/Models/OracleSource.cs | 8 +- .../Generated/Models/OracleTableDataset.cs | 6 +- .../Generated/Models/OrcFormat.cs | 8 +- .../Generated/Models/ParquetFormat.cs | 8 +- .../Generated/Models/PaypalLinkedService.cs | 148 ++++++++++ .../Generated/Models/PaypalObjectDataset.cs | 66 +++++ .../Generated/Models/PaypalSource.cs | 63 +++++ .../Models/PhoenixAuthenticationType.cs | 23 ++ .../Generated/Models/PhoenixLinkedService.cs | 209 ++++++++++++++ .../Generated/Models/PhoenixObjectDataset.cs | 66 +++++ .../Generated/Models/PhoenixSource.cs | 63 +++++ .../Generated/Models/PipelineResource.cs | 12 +- .../Generated/Models/PipelineRun.cs | 12 +- .../Generated/Models/PolybaseSettings.cs | 14 +- .../Models/PostgreSqlLinkedService.cs | 8 +- .../Models/PrestoAuthenticationType.cs | 22 ++ .../Generated/Models/PrestoLinkedService.cs | 235 ++++++++++++++++ .../Generated/Models/PrestoObjectDataset.cs | 66 +++++ .../Generated/Models/PrestoSource.cs | 63 +++++ .../Models/QuickBooksLinkedService.cs | 133 +++++++++ .../Models/QuickBooksObjectDataset.cs | 66 +++++ .../Generated/Models/QuickBooksSource.cs | 63 +++++ .../Generated/Models/RecurrenceSchedule.cs | 12 +- .../Models/RecurrenceScheduleOccurrence.cs | 14 +- .../Models/RedirectIncompatibleRowSettings.cs | 14 +- .../Generated/Models/RelationalSource.cs | 8 +- .../Models/RelationalTableDataset.cs | 6 +- .../Models/SalesforceLinkedService.cs | 8 +- .../Models/SalesforceObjectDataset.cs | 6 +- .../Generated/Models/SalesforceSink.cs | 8 +- .../Generated/Models/SalesforceSource.cs | 8 +- .../Generated/Models/SapBWLinkedService.cs | 8 +- .../SapCloudForCustomerLinkedService.cs | 8 +- .../SapCloudForCustomerResourceDataset.cs | 6 +- .../Models/SapCloudForCustomerSink.cs | 8 +- .../Models/SapCloudForCustomerSource.cs | 8 +- .../Generated/Models/SapHanaLinkedService.cs | 8 +- .../Generated/Models/ScheduleTrigger.cs | 6 +- .../Models/ScheduleTriggerRecurrence.cs | 14 +- .../Models/SelfHostedIntegrationRuntime.cs | 8 +- .../SelfHostedIntegrationRuntimeStatus.cs | 6 +- .../Models/ServiceNowAuthenticationType.cs | 22 ++ .../Models/ServiceNowLinkedService.cs | 177 ++++++++++++ .../Models/ServiceNowObjectDataset.cs | 66 +++++ .../Generated/Models/ServiceNowSource.cs | 63 +++++ .../Models/SftpServerLinkedService.cs | 8 +- .../Generated/Models/ShopifyLinkedService.cs | 136 +++++++++ .../Generated/Models/ShopifyObjectDataset.cs | 66 +++++ .../Generated/Models/ShopifySource.cs | 63 +++++ .../Models/SparkAuthenticationType.cs | 24 ++ .../Generated/Models/SparkLinkedService.cs | 231 ++++++++++++++++ .../Generated/Models/SparkObjectDataset.cs | 66 +++++ .../Generated/Models/SparkServerType.cs | 23 ++ .../Generated/Models/SparkSource.cs | 63 +++++ .../Models/SparkThriftTransportProtocol.cs | 23 ++ .../Generated/Models/SqlDWSink.cs | 8 +- .../Generated/Models/SqlDWSource.cs | 8 +- .../Models/SqlServerLinkedService.cs | 8 +- .../SqlServerStoredProcedureActivity.cs | 6 +- .../Generated/Models/SqlServerTableDataset.cs | 6 +- .../Generated/Models/SqlSink.cs | 6 +- .../Generated/Models/SqlSource.cs | 6 +- .../Generated/Models/SquareLinkedService.cs | 162 +++++++++++ .../Generated/Models/SquareObjectDataset.cs | 66 +++++ .../Generated/Models/SquareSource.cs | 63 +++++ .../Generated/Models/StagingSettings.cs | 14 +- .../Generated/Models/SybaseLinkedService.cs | 8 +- .../Generated/Models/TabularTranslator.cs | 7 +- .../Generated/Models/TeradataLinkedService.cs | 8 +- .../Generated/Models/TextFormat.cs | 8 +- .../Generated/Models/Trigger.cs | 14 +- .../Generated/Models/TriggerRun.cs | 12 +- .../Generated/Models/TumblingWindowTrigger.cs | 8 +- .../Generated/Models/UntilActivity.cs | 6 +- .../Generated/Models/WaitActivity.cs | 6 +- .../Generated/Models/WebActivity.cs | 6 +- .../Generated/Models/WebLinkedService.cs | 8 +- .../Generated/Models/WebSource.cs | 8 +- .../Generated/Models/WebTableDataset.cs | 6 +- .../Generated/Models/XeroLinkedService.cs | 147 ++++++++++ .../Generated/Models/XeroObjectDataset.cs | 66 +++++ .../Generated/Models/XeroSource.cs | 63 +++++ .../Generated/Models/ZohoLinkedService.cs | 134 +++++++++ .../Generated/Models/ZohoObjectDataset.cs | 66 +++++ .../Generated/Models/ZohoSource.cs | 63 +++++ 253 files changed, 8788 insertions(+), 287 deletions(-) create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonMWSLinkedService.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonMWSObjectDataset.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonMWSSource.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzurePostgreSqlLinkedService.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzurePostgreSqlSource.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzurePostgreSqlTableDataset.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ConcurLinkedService.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ConcurObjectDataset.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ConcurSource.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CouchbaseLinkedService.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CouchbaseSource.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CouchbaseTableDataset.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DrillLinkedService.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DrillSource.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DrillTableDataset.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/EloquaLinkedService.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/EloquaObjectDataset.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/EloquaSource.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GoogleBigQueryAuthenticationType.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GoogleBigQueryLinkedService.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GoogleBigQueryObjectDataset.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GoogleBigQuerySource.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GreenplumLinkedService.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GreenplumSource.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GreenplumTableDataset.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HBaseAuthenticationType.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HBaseLinkedService.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HBaseObjectDataset.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HBaseSource.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HiveAuthenticationType.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HiveLinkedService.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HiveObjectDataset.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HiveServerType.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HiveSource.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HiveThriftTransportProtocol.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HubspotLinkedService.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HubspotObjectDataset.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HubspotSource.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ImpalaAuthenticationType.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ImpalaLinkedService.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ImpalaObjectDataset.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ImpalaSource.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/JiraLinkedService.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/JiraObjectDataset.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/JiraSource.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MagentoLinkedService.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MagentoObjectDataset.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MagentoSource.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MariaDBLinkedService.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MariaDBSource.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MariaDBTableDataset.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MarketoLinkedService.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MarketoObjectDataset.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MarketoSource.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PaypalLinkedService.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PaypalObjectDataset.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PaypalSource.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PhoenixAuthenticationType.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PhoenixLinkedService.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PhoenixObjectDataset.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PhoenixSource.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PrestoAuthenticationType.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PrestoLinkedService.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PrestoObjectDataset.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PrestoSource.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/QuickBooksLinkedService.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/QuickBooksObjectDataset.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/QuickBooksSource.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ServiceNowAuthenticationType.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ServiceNowLinkedService.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ServiceNowObjectDataset.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ServiceNowSource.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ShopifyLinkedService.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ShopifyObjectDataset.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ShopifySource.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SparkAuthenticationType.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SparkLinkedService.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SparkObjectDataset.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SparkServerType.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SparkSource.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SparkThriftTransportProtocol.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SquareLinkedService.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SquareObjectDataset.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SquareSource.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/XeroLinkedService.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/XeroObjectDataset.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/XeroSource.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ZohoLinkedService.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ZohoObjectDataset.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ZohoSource.cs diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Activity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Activity.cs index 51a901ef2002..ab3f3e522dcf 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Activity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Activity.cs @@ -33,10 +33,13 @@ public Activity() /// Initializes a new instance of the Activity class. /// /// Activity name. + /// Unmatched properties from the + /// message are deserialized this collection /// Activity description. /// Activity depends on condition. - public Activity(string name, string description = default(string), IList dependsOn = default(IList)) + public Activity(string name, IDictionary additionalProperties = default(IDictionary), string description = default(string), IList dependsOn = default(IList)) { + AdditionalProperties = additionalProperties; Name = name; Description = description; DependsOn = dependsOn; @@ -48,6 +51,13 @@ public Activity() /// partial void CustomInit(); + /// + /// Gets or sets unmatched properties from the message are deserialized + /// this collection + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + /// /// Gets or sets activity name. /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ActivityDependency.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ActivityDependency.cs index 436836e60f30..c2d28c0a175b 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ActivityDependency.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ActivityDependency.cs @@ -35,8 +35,11 @@ public ActivityDependency() /// Activity name. /// Match-Condition for the /// dependency. - public ActivityDependency(string activity, IList dependencyConditions) + /// Unmatched properties from the + /// message are deserialized this collection + public ActivityDependency(string activity, IList dependencyConditions, IDictionary additionalProperties = default(IDictionary)) { + AdditionalProperties = additionalProperties; Activity = activity; DependencyConditions = dependencyConditions; CustomInit(); @@ -47,6 +50,13 @@ public ActivityDependency(string activity, IList dependencyConditions) /// partial void CustomInit(); + /// + /// Gets or sets unmatched properties from the message are deserialized + /// this collection + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + /// /// Gets or sets activity name. /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ActivityPolicy.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ActivityPolicy.cs index 8003e5b3478c..558fa81cedb2 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ActivityPolicy.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ActivityPolicy.cs @@ -12,6 +12,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Microsoft.Rest; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -30,6 +32,8 @@ public ActivityPolicy() /// /// Initializes a new instance of the ActivityPolicy class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Specifies the timeout for the activity to /// run. The default timeout is 7 days. Type: string (or Expression /// with resultType string), pattern: @@ -39,8 +43,9 @@ public ActivityPolicy() /// 0. /// Interval between each retry /// attempt (in seconds). The default is 30 sec. - public ActivityPolicy(object timeout = default(object), object retry = default(object), int? retryIntervalInSeconds = default(int?)) + public ActivityPolicy(IDictionary additionalProperties = default(IDictionary), object timeout = default(object), object retry = default(object), int? retryIntervalInSeconds = default(int?)) { + AdditionalProperties = additionalProperties; Timeout = timeout; Retry = retry; RetryIntervalInSeconds = retryIntervalInSeconds; @@ -52,6 +57,13 @@ public ActivityPolicy() /// partial void CustomInit(); + /// + /// Gets or sets unmatched properties from the message are deserialized + /// this collection + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + /// /// Gets or sets specifies the timeout for the activity to run. The /// default timeout is 7 days. Type: string (or Expression with diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ActivityRun.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ActivityRun.cs index 91732a903b1d..c5360bf73a9c 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ActivityRun.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ActivityRun.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,6 +31,8 @@ public ActivityRun() /// /// Initializes a new instance of the ActivityRun class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// The name of the pipeline. /// The id of the pipeline run. /// The name of the activity. @@ -46,8 +50,9 @@ public ActivityRun() /// The input for the activity. /// The output for the activity. /// The error if any from the activity run. - public ActivityRun(string pipelineName = default(string), string pipelineRunId = default(string), string activityName = default(string), string activityType = default(string), string activityRunId = default(string), string linkedServiceName = default(string), string status = default(string), System.DateTime? activityRunStart = default(System.DateTime?), System.DateTime? activityRunEnd = default(System.DateTime?), int? durationInMs = default(int?), object input = default(object), object output = default(object), object error = default(object)) + public ActivityRun(IDictionary additionalProperties = default(IDictionary), string pipelineName = default(string), string pipelineRunId = default(string), string activityName = default(string), string activityType = default(string), string activityRunId = default(string), string linkedServiceName = default(string), string status = default(string), System.DateTime? activityRunStart = default(System.DateTime?), System.DateTime? activityRunEnd = default(System.DateTime?), int? durationInMs = default(int?), object input = default(object), object output = default(object), object error = default(object)) { + AdditionalProperties = additionalProperties; PipelineName = pipelineName; PipelineRunId = pipelineRunId; ActivityName = activityName; @@ -69,6 +74,13 @@ public ActivityRun() /// partial void CustomInit(); + /// + /// Gets or sets unmatched properties from the message are deserialized + /// this collection + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + /// /// Gets the name of the pipeline. /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonMWSLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonMWSLinkedService.cs new file mode 100644 index 000000000000..9cb82d8ebd41 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonMWSLinkedService.cs @@ -0,0 +1,183 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Amazon Marketplace Web Service linked service. + /// + [Newtonsoft.Json.JsonObject("AmazonMWS")] + [Rest.Serialization.JsonTransformation] + public partial class AmazonMWSLinkedService : LinkedService + { + /// + /// Initializes a new instance of the AmazonMWSLinkedService class. + /// + public AmazonMWSLinkedService() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the AmazonMWSLinkedService class. + /// + /// The endpoint of the Amazon MWS server, (i.e. + /// mws.amazonservices.com) + /// The Amazon Marketplace ID you want to + /// retrieve data from. To retrive data from multiple Marketplace IDs, + /// seperate them with a comma (,). (i.e. A2EUQ1WTGCTBG2) + /// The Amazon seller ID. + /// The access key id used to access + /// data. + /// Unmatched properties from the + /// message are deserialized this collection + /// The integration runtime reference. + /// Linked service description. + /// The Amazon MWS authentication + /// token. + /// The secret key used to access data. + /// Specifies whether the data + /// source endpoints are encrypted using HTTPS. The default value is + /// true. + /// Specifies whether to require the + /// host name in the server's certificate to match the host name of the + /// server when connecting over SSL. The default value is true. + /// Specifies whether to verify the + /// identity of the server when connecting over SSL. The default value + /// is true. + /// The encrypted credential used for + /// authentication. Credentials are encrypted using the integration + /// runtime credential manager. Type: string (or Expression with + /// resultType string). + public AmazonMWSLinkedService(object endpoint, object marketplaceID, object sellerID, object accessKeyId, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), SecretBase mwsAuthToken = default(SecretBase), SecretBase secretKey = default(SecretBase), object useEncryptedEndpoints = default(object), object useHostVerification = default(object), object usePeerVerification = default(object), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) + { + Endpoint = endpoint; + MarketplaceID = marketplaceID; + SellerID = sellerID; + MwsAuthToken = mwsAuthToken; + AccessKeyId = accessKeyId; + SecretKey = secretKey; + UseEncryptedEndpoints = useEncryptedEndpoints; + UseHostVerification = useHostVerification; + UsePeerVerification = usePeerVerification; + EncryptedCredential = encryptedCredential; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the endpoint of the Amazon MWS server, (i.e. + /// mws.amazonservices.com) + /// + [JsonProperty(PropertyName = "typeProperties.endpoint")] + public object Endpoint { get; set; } + + /// + /// Gets or sets the Amazon Marketplace ID you want to retrieve data + /// from. To retrive data from multiple Marketplace IDs, seperate them + /// with a comma (,). (i.e. A2EUQ1WTGCTBG2) + /// + [JsonProperty(PropertyName = "typeProperties.marketplaceID")] + public object MarketplaceID { get; set; } + + /// + /// Gets or sets the Amazon seller ID. + /// + [JsonProperty(PropertyName = "typeProperties.sellerID")] + public object SellerID { get; set; } + + /// + /// Gets or sets the Amazon MWS authentication token. + /// + [JsonProperty(PropertyName = "typeProperties.mwsAuthToken")] + public SecretBase MwsAuthToken { get; set; } + + /// + /// Gets or sets the access key id used to access data. + /// + [JsonProperty(PropertyName = "typeProperties.accessKeyId")] + public object AccessKeyId { get; set; } + + /// + /// Gets or sets the secret key used to access data. + /// + [JsonProperty(PropertyName = "typeProperties.secretKey")] + public SecretBase SecretKey { get; set; } + + /// + /// Gets or sets specifies whether the data source endpoints are + /// encrypted using HTTPS. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.useEncryptedEndpoints")] + public object UseEncryptedEndpoints { get; set; } + + /// + /// Gets or sets specifies whether to require the host name in the + /// server's certificate to match the host name of the server when + /// connecting over SSL. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.useHostVerification")] + public object UseHostVerification { get; set; } + + /// + /// Gets or sets specifies whether to verify the identity of the server + /// when connecting over SSL. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.usePeerVerification")] + public object UsePeerVerification { get; set; } + + /// + /// Gets or sets the encrypted credential used for authentication. + /// Credentials are encrypted using the integration runtime credential + /// manager. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.encryptedCredential")] + public object EncryptedCredential { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (Endpoint == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Endpoint"); + } + if (MarketplaceID == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "MarketplaceID"); + } + if (SellerID == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "SellerID"); + } + if (AccessKeyId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "AccessKeyId"); + } + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonMWSObjectDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonMWSObjectDataset.cs new file mode 100644 index 000000000000..da62556b3e1f --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonMWSObjectDataset.cs @@ -0,0 +1,66 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Amazon Marketplace Web Service dataset. + /// + [Newtonsoft.Json.JsonObject("AmazonMWSObject")] + public partial class AmazonMWSObjectDataset : Dataset + { + /// + /// Initializes a new instance of the AmazonMWSObjectDataset class. + /// + public AmazonMWSObjectDataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the AmazonMWSObjectDataset class. + /// + /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// Parameters for dataset. + public AmazonMWSObjectDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) + { + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonMWSSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonMWSSource.cs new file mode 100644 index 000000000000..94bd9954eba5 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonMWSSource.cs @@ -0,0 +1,63 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity Amazon Marketplace Web Service source. + /// + public partial class AmazonMWSSource : CopySource + { + /// + /// Initializes a new instance of the AmazonMWSSource class. + /// + public AmazonMWSSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the AmazonMWSSource class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Source retry count. Type: integer + /// (or Expression with resultType integer). + /// Source retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// A query to retrieve data from source. Type: + /// string (or Expression with resultType string). + public AmazonMWSSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) + { + Query = query; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets a query to retrieve data from source. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "query")] + public object Query { get; set; } + + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonRedshiftLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonRedshiftLinkedService.cs index f71b2e71a736..58d8bf445fa7 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonRedshiftLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonRedshiftLinkedService.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -40,6 +42,8 @@ public AmazonRedshiftLinkedService() /// The database name of the Amazon Redshift /// source. Type: string (or Expression with resultType /// string). + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. /// The username of the Amazon Redshift source. @@ -54,8 +58,8 @@ public AmazonRedshiftLinkedService() /// authentication. Credentials are encrypted using the integration /// runtime credential manager. Type: string (or Expression with /// resultType string). - public AmazonRedshiftLinkedService(object server, object database, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object username = default(object), SecureString password = default(SecureString), object port = default(object), object encryptedCredential = default(object)) - : base(connectVia, description) + public AmazonRedshiftLinkedService(object server, object database, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object username = default(object), SecureString password = default(SecureString), object port = default(object), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) { Server = server; Username = username; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonRedshiftSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonRedshiftSource.cs index 95093a0ae9ad..47a54fe6d738 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonRedshiftSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonRedshiftSource.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,6 +31,8 @@ public AmazonRedshiftSource() /// /// Initializes a new instance of the AmazonRedshiftSource class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Source retry count. Type: integer /// (or Expression with resultType integer). /// Source retry wait. Type: string (or @@ -41,8 +45,8 @@ public AmazonRedshiftSource() /// unload. With this, data from Amazon Redshift source will be /// unloaded into S3 first and then copied into the targeted sink from /// the interim S3. - public AmazonRedshiftSource(object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object), RedshiftUnloadSettings redshiftUnloadSettings = default(RedshiftUnloadSettings)) - : base(sourceRetryCount, sourceRetryWait) + public AmazonRedshiftSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object), RedshiftUnloadSettings redshiftUnloadSettings = default(RedshiftUnloadSettings)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) { Query = query; RedshiftUnloadSettings = redshiftUnloadSettings; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonS3Dataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonS3Dataset.cs index b42598329165..4dd7b6dc0f80 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonS3Dataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonS3Dataset.cs @@ -40,6 +40,8 @@ public AmazonS3Dataset() /// Linked service reference. /// The name of the Amazon S3 bucket. Type: /// string (or Expression with resultType string). + /// Unmatched properties from the + /// message are deserialized this collection /// Dataset description. /// Columns that define the structure of the /// dataset. Type: array (or Expression with resultType array), @@ -54,8 +56,8 @@ public AmazonS3Dataset() /// The format of files. /// The data compression method used for the /// Amazon S3 object. - public AmazonS3Dataset(LinkedServiceReference linkedServiceName, object bucketName, string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary), object key = default(object), object prefix = default(object), object version = default(object), DatasetStorageFormat format = default(DatasetStorageFormat), DatasetCompression compression = default(DatasetCompression)) - : base(linkedServiceName, description, structure, parameters) + public AmazonS3Dataset(LinkedServiceReference linkedServiceName, object bucketName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary), object key = default(object), object prefix = default(object), object version = default(object), DatasetStorageFormat format = default(DatasetStorageFormat), DatasetCompression compression = default(DatasetCompression)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) { BucketName = bucketName; Key = key; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonS3LinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonS3LinkedService.cs index 4fcb9b77e67f..be56654b72cb 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonS3LinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonS3LinkedService.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -33,6 +35,8 @@ public AmazonS3LinkedService() /// /// Initializes a new instance of the AmazonS3LinkedService class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. /// The access key identifier of the Amazon @@ -44,8 +48,8 @@ public AmazonS3LinkedService() /// authentication. Credentials are encrypted using the integration /// runtime credential manager. Type: string (or Expression with /// resultType string). - public AmazonS3LinkedService(IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object accessKeyId = default(object), SecureString secretAccessKey = default(SecureString), object encryptedCredential = default(object)) - : base(connectVia, description) + public AmazonS3LinkedService(IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object accessKeyId = default(object), SecureString secretAccessKey = default(SecureString), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) { AccessKeyId = accessKeyId; SecretAccessKey = secretAccessKey; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AvroFormat.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AvroFormat.cs index a250096a2ffe..1dc691a10489 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AvroFormat.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AvroFormat.cs @@ -10,6 +10,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -28,12 +30,14 @@ public AvroFormat() /// /// Initializes a new instance of the AvroFormat class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Serializer. Type: string (or Expression /// with resultType string). /// Deserializer. Type: string (or /// Expression with resultType string). - public AvroFormat(object serializer = default(object), object deserializer = default(object)) - : base(serializer, deserializer) + public AvroFormat(IDictionary additionalProperties = default(IDictionary), object serializer = default(object), object deserializer = default(object)) + : base(additionalProperties, serializer, deserializer) { CustomInit(); } diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureBatchLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureBatchLinkedService.cs index 5f4d56c6a072..f50d7be0dde3 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureBatchLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureBatchLinkedService.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -42,6 +44,8 @@ public AzureBatchLinkedService() /// Expression with resultType string). /// The Azure Storage linked service /// reference. + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. /// The Azure Batch account access key. @@ -49,8 +53,8 @@ public AzureBatchLinkedService() /// authentication. Credentials are encrypted using the integration /// runtime credential manager. Type: string (or Expression with /// resultType string). - public AzureBatchLinkedService(object accountName, object batchUri, object poolName, LinkedServiceReference linkedServiceName, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), SecureString accessKey = default(SecureString), object encryptedCredential = default(object)) - : base(connectVia, description) + public AzureBatchLinkedService(object accountName, object batchUri, object poolName, LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), SecureString accessKey = default(SecureString), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) { AccountName = accountName; AccessKey = accessKey; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureBlobDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureBlobDataset.cs index fe1c0d3c2b0f..ac0daa0ab2f5 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureBlobDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureBlobDataset.cs @@ -37,6 +37,8 @@ public AzureBlobDataset() /// Initializes a new instance of the AzureBlobDataset class. /// /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection /// Dataset description. /// Columns that define the structure of the /// dataset. Type: array (or Expression with resultType array), @@ -51,8 +53,8 @@ public AzureBlobDataset() /// The format of the Azure Blob storage. /// The data compression method used for the /// blob storage. - public AzureBlobDataset(LinkedServiceReference linkedServiceName, string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary), object folderPath = default(object), object tableRootLocation = default(object), object fileName = default(object), DatasetStorageFormat format = default(DatasetStorageFormat), DatasetCompression compression = default(DatasetCompression)) - : base(linkedServiceName, description, structure, parameters) + public AzureBlobDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary), object folderPath = default(object), object tableRootLocation = default(object), object fileName = default(object), DatasetStorageFormat format = default(DatasetStorageFormat), DatasetCompression compression = default(DatasetCompression)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) { FolderPath = folderPath; TableRootLocation = tableRootLocation; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeAnalyticsLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeAnalyticsLinkedService.cs index cb4a1fa73eb1..7277a5d65814 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeAnalyticsLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeAnalyticsLinkedService.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -40,6 +42,8 @@ public AzureDataLakeAnalyticsLinkedService() /// The name or ID of the tenant to which the /// service principal belongs. Type: string (or Expression with /// resultType string). + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. /// The ID of the application used to @@ -60,8 +64,8 @@ public AzureDataLakeAnalyticsLinkedService() /// authentication. Credentials are encrypted using the integration /// runtime credential manager. Type: string (or Expression with /// resultType string). - public AzureDataLakeAnalyticsLinkedService(object accountName, object tenant, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object servicePrincipalId = default(object), SecureString servicePrincipalKey = default(SecureString), object subscriptionId = default(object), object resourceGroupName = default(object), object dataLakeAnalyticsUri = default(object), object encryptedCredential = default(object)) - : base(connectVia, description) + public AzureDataLakeAnalyticsLinkedService(object accountName, object tenant, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object servicePrincipalId = default(object), SecureString servicePrincipalKey = default(SecureString), object subscriptionId = default(object), object resourceGroupName = default(object), object dataLakeAnalyticsUri = default(object), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) { AccountName = accountName; ServicePrincipalId = servicePrincipalId; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreDataset.cs index e1a27320a047..d9a5c7a3341f 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreDataset.cs @@ -39,6 +39,8 @@ public AzureDataLakeStoreDataset() /// Linked service reference. /// Path to the folder in the Azure Data Lake /// Store. Type: string (or Expression with resultType string). + /// Unmatched properties from the + /// message are deserialized this collection /// Dataset description. /// Columns that define the structure of the /// dataset. Type: array (or Expression with resultType array), @@ -49,8 +51,8 @@ public AzureDataLakeStoreDataset() /// The format of the Data Lake Store. /// The data compression method used for the /// item(s) in the Azure Data Lake Store. - public AzureDataLakeStoreDataset(LinkedServiceReference linkedServiceName, object folderPath, string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary), object fileName = default(object), DatasetStorageFormat format = default(DatasetStorageFormat), DatasetCompression compression = default(DatasetCompression)) - : base(linkedServiceName, description, structure, parameters) + public AzureDataLakeStoreDataset(LinkedServiceReference linkedServiceName, object folderPath, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary), object fileName = default(object), DatasetStorageFormat format = default(DatasetStorageFormat), DatasetCompression compression = default(DatasetCompression)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) { FolderPath = folderPath; FileName = fileName; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreLinkedService.cs index 9bc326801444..d039e59feb8e 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreLinkedService.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -37,6 +39,8 @@ public AzureDataLakeStoreLinkedService() /// /// Data Lake Store service URI. Type: /// string (or Expression with resultType string). + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. /// The ID of the application used to @@ -59,8 +63,8 @@ public AzureDataLakeStoreLinkedService() /// authentication. Credentials are encrypted using the integration /// runtime credential manager. Type: string (or Expression with /// resultType string). - public AzureDataLakeStoreLinkedService(object dataLakeStoreUri, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object servicePrincipalId = default(object), SecureString servicePrincipalKey = default(SecureString), object tenant = default(object), object accountName = default(object), object subscriptionId = default(object), object resourceGroupName = default(object), object encryptedCredential = default(object)) - : base(connectVia, description) + public AzureDataLakeStoreLinkedService(object dataLakeStoreUri, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object servicePrincipalId = default(object), SecureString servicePrincipalKey = default(SecureString), object tenant = default(object), object accountName = default(object), object subscriptionId = default(object), object resourceGroupName = default(object), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) { DataLakeStoreUri = dataLakeStoreUri; ServicePrincipalId = servicePrincipalId; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreSink.cs index 43cb19cdfcec..99c67f05d95d 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreSink.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,6 +31,8 @@ public AzureDataLakeStoreSink() /// /// Initializes a new instance of the AzureDataLakeStoreSink class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Write batch size. Type: integer (or /// Expression with resultType integer), minimum: 0. /// Write batch timeout. Type: string @@ -42,8 +46,8 @@ public AzureDataLakeStoreSink() /// The type of copy behavior for copy sink. /// Possible values include: 'PreserveHierarchy', 'FlattenHierarchy', /// 'MergeFiles' - public AzureDataLakeStoreSink(object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), string copyBehavior = default(string)) - : base(writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) + public AzureDataLakeStoreSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), string copyBehavior = default(string)) + : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) { CopyBehavior = copyBehavior; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreSource.cs index 8ac9eba081f2..0cff267b5a9f 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreSource.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,6 +31,8 @@ public AzureDataLakeStoreSource() /// /// Initializes a new instance of the AzureDataLakeStoreSource class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Source retry count. Type: integer /// (or Expression with resultType integer). /// Source retry wait. Type: string (or @@ -37,8 +41,8 @@ public AzureDataLakeStoreSource() /// If true, files under the folder path will /// be read recursively. Default is true. Type: boolean (or Expression /// with resultType boolean). - public AzureDataLakeStoreSource(object sourceRetryCount = default(object), object sourceRetryWait = default(object), object recursive = default(object)) - : base(sourceRetryCount, sourceRetryWait) + public AzureDataLakeStoreSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object recursive = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) { Recursive = recursive; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureKeyVaultLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureKeyVaultLinkedService.cs index 378ffb4d7138..b22a523789a2 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureKeyVaultLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureKeyVaultLinkedService.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -36,10 +38,12 @@ public AzureKeyVaultLinkedService() /// The base URL of the Azure Key Vault. e.g. /// https://myakv.vault.azure.net Type: string (or Expression with /// resultType string). + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. - public AzureKeyVaultLinkedService(object baseUrl, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string)) - : base(connectVia, description) + public AzureKeyVaultLinkedService(object baseUrl, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string)) + : base(additionalProperties, connectVia, description) { BaseUrl = baseUrl; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMLBatchExecutionActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMLBatchExecutionActivity.cs index 068cb805b1c6..94491b1be69d 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMLBatchExecutionActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMLBatchExecutionActivity.cs @@ -38,6 +38,8 @@ public AzureMLBatchExecutionActivity() /// class. /// /// Activity name. + /// Unmatched properties from the + /// message are deserialized this collection /// Activity description. /// Activity depends on condition. /// Linked service reference. @@ -57,8 +59,8 @@ public AzureMLBatchExecutionActivity() /// objects specifying the input Blob locations.. This information will /// be passed in the WebServiceInputs property of the Azure ML batch /// execution request. - public AzureMLBatchExecutionActivity(string name, string description = default(string), IList dependsOn = default(IList), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), ActivityPolicy policy = default(ActivityPolicy), IDictionary globalParameters = default(IDictionary), IDictionary webServiceOutputs = default(IDictionary), IDictionary webServiceInputs = default(IDictionary)) - : base(name, description, dependsOn, linkedServiceName, policy) + public AzureMLBatchExecutionActivity(string name, IDictionary additionalProperties = default(IDictionary), string description = default(string), IList dependsOn = default(IList), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), ActivityPolicy policy = default(ActivityPolicy), IDictionary globalParameters = default(IDictionary), IDictionary webServiceOutputs = default(IDictionary), IDictionary webServiceInputs = default(IDictionary)) + : base(name, additionalProperties, description, dependsOn, linkedServiceName, policy) { GlobalParameters = globalParameters; WebServiceOutputs = webServiceOutputs; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMLLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMLLinkedService.cs index 25bfb1840412..2744b247ff2c 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMLLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMLLinkedService.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -38,6 +40,8 @@ public AzureMLLinkedService() /// resultType string). /// The API key for accessing the Azure ML model /// endpoint. + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. /// The Update Resource REST URL @@ -57,8 +61,8 @@ public AzureMLLinkedService() /// authentication. Credentials are encrypted using the integration /// runtime credential manager. Type: string (or Expression with /// resultType string). - public AzureMLLinkedService(object mlEndpoint, SecureString apiKey, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object updateResourceEndpoint = default(object), object servicePrincipalId = default(object), SecureString servicePrincipalKey = default(SecureString), object tenant = default(object), object encryptedCredential = default(object)) - : base(connectVia, description) + public AzureMLLinkedService(object mlEndpoint, SecureString apiKey, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object updateResourceEndpoint = default(object), object servicePrincipalId = default(object), SecureString servicePrincipalKey = default(SecureString), object tenant = default(object), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) { MlEndpoint = mlEndpoint; ApiKey = apiKey; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMLUpdateResourceActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMLUpdateResourceActivity.cs index e084ec374b11..fb607f048fd6 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMLUpdateResourceActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMLUpdateResourceActivity.cs @@ -49,12 +49,14 @@ public AzureMLUpdateResourceActivity() /// trainedModelLinkedService to represent the .ilearner file that will /// be uploaded by the update operation. Type: string (or Expression /// with resultType string). + /// Unmatched properties from the + /// message are deserialized this collection /// Activity description. /// Activity depends on condition. /// Linked service reference. /// Activity policy. - public AzureMLUpdateResourceActivity(string name, object trainedModelName, LinkedServiceReference trainedModelLinkedServiceName, object trainedModelFilePath, string description = default(string), IList dependsOn = default(IList), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), ActivityPolicy policy = default(ActivityPolicy)) - : base(name, description, dependsOn, linkedServiceName, policy) + public AzureMLUpdateResourceActivity(string name, object trainedModelName, LinkedServiceReference trainedModelLinkedServiceName, object trainedModelFilePath, IDictionary additionalProperties = default(IDictionary), string description = default(string), IList dependsOn = default(IList), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), ActivityPolicy policy = default(ActivityPolicy)) + : base(name, additionalProperties, description, dependsOn, linkedServiceName, policy) { TrainedModelName = trainedModelName; TrainedModelLinkedServiceName = trainedModelLinkedServiceName; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMySqlLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMySqlLinkedService.cs index f7b9042084dd..b2e9fa051306 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMySqlLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMySqlLinkedService.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -34,14 +36,16 @@ public AzureMySqlLinkedService() /// Initializes a new instance of the AzureMySqlLinkedService class. /// /// The connection string. + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. /// The encrypted credential used for /// authentication. Credentials are encrypted using the integration /// runtime credential manager. Type: string (or Expression with /// resultType string). - public AzureMySqlLinkedService(SecureString connectionString, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object encryptedCredential = default(object)) - : base(connectVia, description) + public AzureMySqlLinkedService(SecureString connectionString, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) { ConnectionString = connectionString; EncryptedCredential = encryptedCredential; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMySqlSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMySqlSource.cs index 241670a82a19..037c4242055e 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMySqlSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMySqlSource.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,6 +31,8 @@ public AzureMySqlSource() /// /// Initializes a new instance of the AzureMySqlSource class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Source retry count. Type: integer /// (or Expression with resultType integer). /// Source retry wait. Type: string (or @@ -36,8 +40,8 @@ public AzureMySqlSource() /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Database query. Type: string (or Expression /// with resultType string). - public AzureMySqlSource(object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(sourceRetryCount, sourceRetryWait) + public AzureMySqlSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMySqlTableDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMySqlTableDataset.cs index 4a595ee1676f..4236733666da 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMySqlTableDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMySqlTableDataset.cs @@ -37,6 +37,8 @@ public AzureMySqlTableDataset() /// Initializes a new instance of the AzureMySqlTableDataset class. /// /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection /// Dataset description. /// Columns that define the structure of the /// dataset. Type: array (or Expression with resultType array), @@ -44,8 +46,8 @@ public AzureMySqlTableDataset() /// Parameters for dataset. /// The Azure MySQL database table name. Type: /// string (or Expression with resultType string). - public AzureMySqlTableDataset(LinkedServiceReference linkedServiceName, string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary), object tableName = default(object)) - : base(linkedServiceName, description, structure, parameters) + public AzureMySqlTableDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary), object tableName = default(object)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) { TableName = tableName; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzurePostgreSqlLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzurePostgreSqlLinkedService.cs new file mode 100644 index 000000000000..21a3f3cba44b --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzurePostgreSqlLinkedService.cs @@ -0,0 +1,87 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Azure PostgreSQL linked service. + /// + [Newtonsoft.Json.JsonObject("AzurePostgreSql")] + [Rest.Serialization.JsonTransformation] + public partial class AzurePostgreSqlLinkedService : LinkedService + { + /// + /// Initializes a new instance of the AzurePostgreSqlLinkedService + /// class. + /// + public AzurePostgreSqlLinkedService() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the AzurePostgreSqlLinkedService + /// class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// The integration runtime reference. + /// Linked service description. + /// An ODBC connection string. + /// The encrypted credential used for + /// authentication. Credentials are encrypted using the integration + /// runtime credential manager. Type: string (or Expression with + /// resultType string). + public AzurePostgreSqlLinkedService(IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), SecretBase connectionString = default(SecretBase), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) + { + ConnectionString = connectionString; + EncryptedCredential = encryptedCredential; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets an ODBC connection string. + /// + [JsonProperty(PropertyName = "typeProperties.connectionString")] + public SecretBase ConnectionString { get; set; } + + /// + /// Gets or sets the encrypted credential used for authentication. + /// Credentials are encrypted using the integration runtime credential + /// manager. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.encryptedCredential")] + public object EncryptedCredential { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzurePostgreSqlSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzurePostgreSqlSource.cs new file mode 100644 index 000000000000..59d040d07025 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzurePostgreSqlSource.cs @@ -0,0 +1,63 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity Azure PostgreSQL source. + /// + public partial class AzurePostgreSqlSource : CopySource + { + /// + /// Initializes a new instance of the AzurePostgreSqlSource class. + /// + public AzurePostgreSqlSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the AzurePostgreSqlSource class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Source retry count. Type: integer + /// (or Expression with resultType integer). + /// Source retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// A query to retrieve data from source. Type: + /// string (or Expression with resultType string). + public AzurePostgreSqlSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) + { + Query = query; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets a query to retrieve data from source. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "query")] + public object Query { get; set; } + + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzurePostgreSqlTableDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzurePostgreSqlTableDataset.cs new file mode 100644 index 000000000000..e3ea6ae086d6 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzurePostgreSqlTableDataset.cs @@ -0,0 +1,68 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Azure PostgreSQL dataset. + /// + [Newtonsoft.Json.JsonObject("AzurePostgreSqlTable")] + public partial class AzurePostgreSqlTableDataset : Dataset + { + /// + /// Initializes a new instance of the AzurePostgreSqlTableDataset + /// class. + /// + public AzurePostgreSqlTableDataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the AzurePostgreSqlTableDataset + /// class. + /// + /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// Parameters for dataset. + public AzurePostgreSqlTableDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) + { + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureQueueSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureQueueSink.cs index a3135382f469..57627661fb9b 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureQueueSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureQueueSink.cs @@ -10,6 +10,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -28,6 +30,8 @@ public AzureQueueSink() /// /// Initializes a new instance of the AzureQueueSink class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Write batch size. Type: integer (or /// Expression with resultType integer), minimum: 0. /// Write batch timeout. Type: string @@ -38,8 +42,8 @@ public AzureQueueSink() /// Sink retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - public AzureQueueSink(object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object)) - : base(writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) + public AzureQueueSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object)) + : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) { CustomInit(); } diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSearchIndexDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSearchIndexDataset.cs index 466cb3f1511d..32ebec6f2125 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSearchIndexDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSearchIndexDataset.cs @@ -39,13 +39,15 @@ public AzureSearchIndexDataset() /// Linked service reference. /// The name of the Azure Search Index. Type: /// string (or Expression with resultType string). + /// Unmatched properties from the + /// message are deserialized this collection /// Dataset description. /// Columns that define the structure of the /// dataset. Type: array (or Expression with resultType array), /// itemType: DatasetDataElement. /// Parameters for dataset. - public AzureSearchIndexDataset(LinkedServiceReference linkedServiceName, object indexName, string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) - : base(linkedServiceName, description, structure, parameters) + public AzureSearchIndexDataset(LinkedServiceReference linkedServiceName, object indexName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) { IndexName = indexName; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSearchIndexSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSearchIndexSink.cs index 32fd079b9b20..ead570494f63 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSearchIndexSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSearchIndexSink.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,6 +31,8 @@ public AzureSearchIndexSink() /// /// Initializes a new instance of the AzureSearchIndexSink class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Write batch size. Type: integer (or /// Expression with resultType integer), minimum: 0. /// Write batch timeout. Type: string @@ -42,8 +46,8 @@ public AzureSearchIndexSink() /// Specify the write behavior when /// upserting documents into Azure Search Index. Possible values /// include: 'Merge', 'Upload' - public AzureSearchIndexSink(object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), string writeBehavior = default(string)) - : base(writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) + public AzureSearchIndexSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), string writeBehavior = default(string)) + : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) { WriteBehavior = writeBehavior; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSearchLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSearchLinkedService.cs index cd3b00db153b..9f781fc1034b 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSearchLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSearchLinkedService.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -35,6 +37,8 @@ public AzureSearchLinkedService() /// /// URL for Azure Search service. Type: string (or /// Expression with resultType string). + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. /// Admin Key for Azure Search service @@ -42,8 +46,8 @@ public AzureSearchLinkedService() /// authentication. Credentials are encrypted using the integration /// runtime credential manager. Type: string (or Expression with /// resultType string). - public AzureSearchLinkedService(object url, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), SecureString key = default(SecureString), object encryptedCredential = default(object)) - : base(connectVia, description) + public AzureSearchLinkedService(object url, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), SecureString key = default(SecureString), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) { Url = url; Key = key; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSqlDWLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSqlDWLinkedService.cs index 0e2e2bc64a4c..9b9413bb563d 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSqlDWLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSqlDWLinkedService.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -34,14 +36,16 @@ public AzureSqlDWLinkedService() /// Initializes a new instance of the AzureSqlDWLinkedService class. /// /// The connection string. + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. /// The encrypted credential used for /// authentication. Credentials are encrypted using the integration /// runtime credential manager. Type: string (or Expression with /// resultType string). - public AzureSqlDWLinkedService(SecureString connectionString, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object encryptedCredential = default(object)) - : base(connectVia, description) + public AzureSqlDWLinkedService(SecureString connectionString, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) { ConnectionString = connectionString; EncryptedCredential = encryptedCredential; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSqlDWTableDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSqlDWTableDataset.cs index 5d1e84999717..959da2dfe3be 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSqlDWTableDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSqlDWTableDataset.cs @@ -40,13 +40,15 @@ public AzureSqlDWTableDataset() /// The table name of the Azure SQL Data /// Warehouse. Type: string (or Expression with resultType /// string). + /// Unmatched properties from the + /// message are deserialized this collection /// Dataset description. /// Columns that define the structure of the /// dataset. Type: array (or Expression with resultType array), /// itemType: DatasetDataElement. /// Parameters for dataset. - public AzureSqlDWTableDataset(LinkedServiceReference linkedServiceName, object tableName, string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) - : base(linkedServiceName, description, structure, parameters) + public AzureSqlDWTableDataset(LinkedServiceReference linkedServiceName, object tableName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) { TableName = tableName; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSqlDatabaseLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSqlDatabaseLinkedService.cs index 4155b9a3b86c..e85fbcad5e2a 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSqlDatabaseLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSqlDatabaseLinkedService.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -36,14 +38,16 @@ public AzureSqlDatabaseLinkedService() /// class. /// /// The connection string. + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. /// The encrypted credential used for /// authentication. Credentials are encrypted using the integration /// runtime credential manager. Type: string (or Expression with /// resultType string). - public AzureSqlDatabaseLinkedService(SecureString connectionString, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object encryptedCredential = default(object)) - : base(connectVia, description) + public AzureSqlDatabaseLinkedService(SecureString connectionString, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) { ConnectionString = connectionString; EncryptedCredential = encryptedCredential; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSqlTableDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSqlTableDataset.cs index df2fae12161d..a77131328db5 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSqlTableDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSqlTableDataset.cs @@ -39,13 +39,15 @@ public AzureSqlTableDataset() /// Linked service reference. /// The table name of the Azure SQL database. /// Type: string (or Expression with resultType string). + /// Unmatched properties from the + /// message are deserialized this collection /// Dataset description. /// Columns that define the structure of the /// dataset. Type: array (or Expression with resultType array), /// itemType: DatasetDataElement. /// Parameters for dataset. - public AzureSqlTableDataset(LinkedServiceReference linkedServiceName, object tableName, string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) - : base(linkedServiceName, description, structure, parameters) + public AzureSqlTableDataset(LinkedServiceReference linkedServiceName, object tableName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) { TableName = tableName; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureStorageLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureStorageLinkedService.cs index 4fa4cdcd87a4..a7e6bebcc32c 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureStorageLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureStorageLinkedService.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -33,6 +35,8 @@ public AzureStorageLinkedService() /// /// Initializes a new instance of the AzureStorageLinkedService class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. /// The connection string. It is @@ -43,8 +47,8 @@ public AzureStorageLinkedService() /// authentication. Credentials are encrypted using the integration /// runtime credential manager. Type: string (or Expression with /// resultType string). - public AzureStorageLinkedService(IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), SecureString connectionString = default(SecureString), SecureString sasUri = default(SecureString), object encryptedCredential = default(object)) - : base(connectVia, description) + public AzureStorageLinkedService(IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), SecureString connectionString = default(SecureString), SecureString sasUri = default(SecureString), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) { ConnectionString = connectionString; SasUri = sasUri; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureTableDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureTableDataset.cs index c86db27b573e..0d0731128a9b 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureTableDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureTableDataset.cs @@ -39,13 +39,15 @@ public AzureTableDataset() /// Linked service reference. /// The table name of the Azure Table storage. /// Type: string (or Expression with resultType string). + /// Unmatched properties from the + /// message are deserialized this collection /// Dataset description. /// Columns that define the structure of the /// dataset. Type: array (or Expression with resultType array), /// itemType: DatasetDataElement. /// Parameters for dataset. - public AzureTableDataset(LinkedServiceReference linkedServiceName, object tableName, string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) - : base(linkedServiceName, description, structure, parameters) + public AzureTableDataset(LinkedServiceReference linkedServiceName, object tableName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) { TableName = tableName; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureTableSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureTableSink.cs index 29cbe93ae93a..07d98c428594 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureTableSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureTableSink.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,6 +31,8 @@ public AzureTableSink() /// /// Initializes a new instance of the AzureTableSink class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Write batch size. Type: integer (or /// Expression with resultType integer), minimum: 0. /// Write batch timeout. Type: string @@ -48,8 +52,8 @@ public AzureTableSink() /// string (or Expression with resultType string). /// Azure Table insert type. Type: /// string (or Expression with resultType string). - public AzureTableSink(object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object azureTableDefaultPartitionKeyValue = default(object), object azureTablePartitionKeyName = default(object), object azureTableRowKeyName = default(object), object azureTableInsertType = default(object)) - : base(writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) + public AzureTableSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object azureTableDefaultPartitionKeyValue = default(object), object azureTablePartitionKeyName = default(object), object azureTableRowKeyName = default(object), object azureTableInsertType = default(object)) + : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) { AzureTableDefaultPartitionKeyValue = azureTableDefaultPartitionKeyValue; AzureTablePartitionKeyName = azureTablePartitionKeyName; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureTableSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureTableSource.cs index 2b3bbf78f905..2f51fc76743d 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureTableSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureTableSource.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,6 +31,8 @@ public AzureTableSource() /// /// Initializes a new instance of the AzureTableSource class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Source retry count. Type: integer /// (or Expression with resultType integer). /// Source retry wait. Type: string (or @@ -39,8 +43,8 @@ public AzureTableSource() /// Azure Table /// source ignore table not found. Type: boolean (or Expression with /// resultType boolean). - public AzureTableSource(object sourceRetryCount = default(object), object sourceRetryWait = default(object), object azureTableSourceQuery = default(object), object azureTableSourceIgnoreTableNotFound = default(object)) - : base(sourceRetryCount, sourceRetryWait) + public AzureTableSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object azureTableSourceQuery = default(object), object azureTableSourceIgnoreTableNotFound = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) { AzureTableSourceQuery = azureTableSourceQuery; AzureTableSourceIgnoreTableNotFound = azureTableSourceIgnoreTableNotFound; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/BlobSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/BlobSink.cs index 0176d43e9891..be57e588391b 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/BlobSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/BlobSink.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,6 +31,8 @@ public BlobSink() /// /// Initializes a new instance of the BlobSink class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Write batch size. Type: integer (or /// Expression with resultType integer), minimum: 0. /// Write batch timeout. Type: string @@ -49,8 +53,8 @@ public BlobSink() /// The type of copy behavior for copy sink. /// Possible values include: 'PreserveHierarchy', 'FlattenHierarchy', /// 'MergeFiles' - public BlobSink(object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object blobWriterOverwriteFiles = default(object), object blobWriterDateTimeFormat = default(object), object blobWriterAddHeader = default(object), string copyBehavior = default(string)) - : base(writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) + public BlobSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object blobWriterOverwriteFiles = default(object), object blobWriterDateTimeFormat = default(object), object blobWriterAddHeader = default(object), string copyBehavior = default(string)) + : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) { BlobWriterOverwriteFiles = blobWriterOverwriteFiles; BlobWriterDateTimeFormat = blobWriterDateTimeFormat; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/BlobSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/BlobSource.cs index 0def60f71afe..d9e0909576cb 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/BlobSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/BlobSource.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,6 +31,8 @@ public BlobSource() /// /// Initializes a new instance of the BlobSource class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Source retry count. Type: integer /// (or Expression with resultType integer). /// Source retry wait. Type: string (or @@ -42,8 +46,8 @@ public BlobSource() /// If true, files under the folder path will /// be read recursively. Default is true. Type: boolean (or Expression /// with resultType boolean). - public BlobSource(object sourceRetryCount = default(object), object sourceRetryWait = default(object), object treatEmptyAsNull = default(object), object skipHeaderLineCount = default(object), object recursive = default(object)) - : base(sourceRetryCount, sourceRetryWait) + public BlobSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object treatEmptyAsNull = default(object), object skipHeaderLineCount = default(object), object recursive = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) { TreatEmptyAsNull = treatEmptyAsNull; SkipHeaderLineCount = skipHeaderLineCount; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/BlobTrigger.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/BlobTrigger.cs index 456c00cb2baa..09eaed5bbd8d 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/BlobTrigger.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/BlobTrigger.cs @@ -34,6 +34,8 @@ public BlobTrigger() /// /// Initializes a new instance of the BlobTrigger class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Trigger description. /// Indicates if trigger is running or not. /// Updated when Start/Stop APIs are called on the Trigger. Possible @@ -45,8 +47,8 @@ public BlobTrigger() /// handle when it is triggered. /// The Azure Storage linked service /// reference. - public BlobTrigger(string description = default(string), string runtimeState = default(string), IList pipelines = default(IList), string folderPath = default(string), int? maxConcurrency = default(int?), LinkedServiceReference linkedService = default(LinkedServiceReference)) - : base(description, runtimeState, pipelines) + public BlobTrigger(IDictionary additionalProperties = default(IDictionary), string description = default(string), string runtimeState = default(string), IList pipelines = default(IList), string folderPath = default(string), int? maxConcurrency = default(int?), LinkedServiceReference linkedService = default(LinkedServiceReference)) + : base(additionalProperties, description, runtimeState, pipelines) { FolderPath = folderPath; MaxConcurrency = maxConcurrency; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CassandraLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CassandraLinkedService.cs index ce7f131b6165..195bce1052a5 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CassandraLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CassandraLinkedService.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -35,6 +37,8 @@ public CassandraLinkedService() /// /// Host name for connection. Type: string (or /// Expression with resultType string). + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. /// AuthenticationType to be used for @@ -49,8 +53,8 @@ public CassandraLinkedService() /// authentication. Credentials are encrypted using the integration /// runtime credential manager. Type: string (or Expression with /// resultType string). - public CassandraLinkedService(object host, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object authenticationType = default(object), object port = default(object), object username = default(object), SecureString password = default(SecureString), object encryptedCredential = default(object)) - : base(connectVia, description) + public CassandraLinkedService(object host, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object authenticationType = default(object), object port = default(object), object username = default(object), SecureString password = default(SecureString), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) { Host = host; AuthenticationType = authenticationType; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CassandraSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CassandraSource.cs index c0320b1c8974..42b9330e3a72 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CassandraSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CassandraSource.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,6 +31,8 @@ public CassandraSource() /// /// Initializes a new instance of the CassandraSource class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Source retry count. Type: integer /// (or Expression with resultType integer). /// Source retry wait. Type: string (or @@ -45,8 +49,8 @@ public CassandraSource() /// default value is 'ONE'. It is case-insensitive. Possible values /// include: 'ALL', 'EACH_QUORUM', 'QUORUM', 'LOCAL_QUORUM', 'ONE', /// 'TWO', 'THREE', 'LOCAL_ONE', 'SERIAL', 'LOCAL_SERIAL' - public CassandraSource(object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object), string consistencyLevel = default(string)) - : base(sourceRetryCount, sourceRetryWait) + public CassandraSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object), string consistencyLevel = default(string)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) { Query = query; ConsistencyLevel = consistencyLevel; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CassandraTableDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CassandraTableDataset.cs index 2f6a14dcb423..183833584c20 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CassandraTableDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CassandraTableDataset.cs @@ -37,6 +37,8 @@ public CassandraTableDataset() /// Initializes a new instance of the CassandraTableDataset class. /// /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection /// Dataset description. /// Columns that define the structure of the /// dataset. Type: array (or Expression with resultType array), @@ -46,8 +48,8 @@ public CassandraTableDataset() /// Type: string (or Expression with resultType string). /// The keyspace of the Cassandra database. /// Type: string (or Expression with resultType string). - public CassandraTableDataset(LinkedServiceReference linkedServiceName, string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary), object tableName = default(object), object keyspace = default(object)) - : base(linkedServiceName, description, structure, parameters) + public CassandraTableDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary), object tableName = default(object), object keyspace = default(object)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) { TableName = tableName; Keyspace = keyspace; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ConcurLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ConcurLinkedService.cs new file mode 100644 index 000000000000..0d8e4f5b174c --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ConcurLinkedService.cs @@ -0,0 +1,148 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Concur Serivce linked service. + /// + [Newtonsoft.Json.JsonObject("Concur")] + [Rest.Serialization.JsonTransformation] + public partial class ConcurLinkedService : LinkedService + { + /// + /// Initializes a new instance of the ConcurLinkedService class. + /// + public ConcurLinkedService() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ConcurLinkedService class. + /// + /// Application client_id supplied by Concur App + /// Management. + /// The user name that you use to access Concur + /// Service. + /// Unmatched properties from the + /// message are deserialized this collection + /// The integration runtime reference. + /// Linked service description. + /// The password corresponding to the user name + /// that you provided in the username field. + /// Specifies whether the data + /// source endpoints are encrypted using HTTPS. The default value is + /// true. + /// Specifies whether to require the + /// host name in the server's certificate to match the host name of the + /// server when connecting over SSL. The default value is true. + /// Specifies whether to verify the + /// identity of the server when connecting over SSL. The default value + /// is true. + /// The encrypted credential used for + /// authentication. Credentials are encrypted using the integration + /// runtime credential manager. Type: string (or Expression with + /// resultType string). + public ConcurLinkedService(object clientId, object username, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), SecretBase password = default(SecretBase), object useEncryptedEndpoints = default(object), object useHostVerification = default(object), object usePeerVerification = default(object), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) + { + ClientId = clientId; + Username = username; + Password = password; + UseEncryptedEndpoints = useEncryptedEndpoints; + UseHostVerification = useHostVerification; + UsePeerVerification = usePeerVerification; + EncryptedCredential = encryptedCredential; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets application client_id supplied by Concur App + /// Management. + /// + [JsonProperty(PropertyName = "typeProperties.clientId")] + public object ClientId { get; set; } + + /// + /// Gets or sets the user name that you use to access Concur Service. + /// + [JsonProperty(PropertyName = "typeProperties.username")] + public object Username { get; set; } + + /// + /// Gets or sets the password corresponding to the user name that you + /// provided in the username field. + /// + [JsonProperty(PropertyName = "typeProperties.password")] + public SecretBase Password { get; set; } + + /// + /// Gets or sets specifies whether the data source endpoints are + /// encrypted using HTTPS. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.useEncryptedEndpoints")] + public object UseEncryptedEndpoints { get; set; } + + /// + /// Gets or sets specifies whether to require the host name in the + /// server's certificate to match the host name of the server when + /// connecting over SSL. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.useHostVerification")] + public object UseHostVerification { get; set; } + + /// + /// Gets or sets specifies whether to verify the identity of the server + /// when connecting over SSL. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.usePeerVerification")] + public object UsePeerVerification { get; set; } + + /// + /// Gets or sets the encrypted credential used for authentication. + /// Credentials are encrypted using the integration runtime credential + /// manager. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.encryptedCredential")] + public object EncryptedCredential { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (ClientId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ClientId"); + } + if (Username == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Username"); + } + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ConcurObjectDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ConcurObjectDataset.cs new file mode 100644 index 000000000000..eb1773d13170 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ConcurObjectDataset.cs @@ -0,0 +1,66 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Concur Serivce dataset. + /// + [Newtonsoft.Json.JsonObject("ConcurObject")] + public partial class ConcurObjectDataset : Dataset + { + /// + /// Initializes a new instance of the ConcurObjectDataset class. + /// + public ConcurObjectDataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the ConcurObjectDataset class. + /// + /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// Parameters for dataset. + public ConcurObjectDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) + { + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ConcurSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ConcurSource.cs new file mode 100644 index 000000000000..939337d404d7 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ConcurSource.cs @@ -0,0 +1,63 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity Concur Serivce source. + /// + public partial class ConcurSource : CopySource + { + /// + /// Initializes a new instance of the ConcurSource class. + /// + public ConcurSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ConcurSource class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Source retry count. Type: integer + /// (or Expression with resultType integer). + /// Source retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// A query to retrieve data from source. Type: + /// string (or Expression with resultType string). + public ConcurSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) + { + Query = query; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets a query to retrieve data from source. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "query")] + public object Query { get; set; } + + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ControlActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ControlActivity.cs index 50ed8fb3edb8..fac72d90d874 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ControlActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ControlActivity.cs @@ -34,10 +34,12 @@ public ControlActivity() /// Initializes a new instance of the ControlActivity class. /// /// Activity name. + /// Unmatched properties from the + /// message are deserialized this collection /// Activity description. /// Activity depends on condition. - public ControlActivity(string name, string description = default(string), IList dependsOn = default(IList)) - : base(name, description, dependsOn) + public ControlActivity(string name, IDictionary additionalProperties = default(IDictionary), string description = default(string), IList dependsOn = default(IList)) + : base(name, additionalProperties, description, dependsOn) { CustomInit(); } diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopyActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopyActivity.cs index 483836199d49..0083503ecb41 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopyActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopyActivity.cs @@ -38,6 +38,8 @@ public CopyActivity() /// Activity name. /// Copy activity source. /// Copy activity sink. + /// Unmatched properties from the + /// message are deserialized this collection /// Activity description. /// Activity depends on condition. /// Linked service reference. @@ -64,8 +66,8 @@ public CopyActivity() /// row settings when EnableSkipIncompatibleRow is true. /// List of inputs for the activity. /// List of outputs for the activity. - public CopyActivity(string name, CopySource source, CopySink sink, string description = default(string), IList dependsOn = default(IList), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), ActivityPolicy policy = default(ActivityPolicy), CopyTranslator translator = default(CopyTranslator), object enableStaging = default(object), StagingSettings stagingSettings = default(StagingSettings), object parallelCopies = default(object), object cloudDataMovementUnits = default(object), object enableSkipIncompatibleRow = default(object), RedirectIncompatibleRowSettings redirectIncompatibleRowSettings = default(RedirectIncompatibleRowSettings), IList inputs = default(IList), IList outputs = default(IList)) - : base(name, description, dependsOn, linkedServiceName, policy) + public CopyActivity(string name, CopySource source, CopySink sink, IDictionary additionalProperties = default(IDictionary), string description = default(string), IList dependsOn = default(IList), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), ActivityPolicy policy = default(ActivityPolicy), CopyTranslator translator = default(CopyTranslator), object enableStaging = default(object), StagingSettings stagingSettings = default(StagingSettings), object parallelCopies = default(object), object cloudDataMovementUnits = default(object), object enableSkipIncompatibleRow = default(object), RedirectIncompatibleRowSettings redirectIncompatibleRowSettings = default(RedirectIncompatibleRowSettings), IList inputs = default(IList), IList outputs = default(IList)) + : base(name, additionalProperties, description, dependsOn, linkedServiceName, policy) { Source = source; Sink = sink; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopySink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopySink.cs index bc5d4830f5d1..ca7515783ccd 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopySink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopySink.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,6 +31,8 @@ public CopySink() /// /// Initializes a new instance of the CopySink class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Write batch size. Type: integer (or /// Expression with resultType integer), minimum: 0. /// Write batch timeout. Type: string @@ -39,8 +43,9 @@ public CopySink() /// Sink retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - public CopySink(object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object)) + public CopySink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object)) { + AdditionalProperties = additionalProperties; WriteBatchSize = writeBatchSize; WriteBatchTimeout = writeBatchTimeout; SinkRetryCount = sinkRetryCount; @@ -53,6 +58,13 @@ public CopySink() /// partial void CustomInit(); + /// + /// Gets or sets unmatched properties from the message are deserialized + /// this collection + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + /// /// Gets or sets write batch size. Type: integer (or Expression with /// resultType integer), minimum: 0. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopySource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopySource.cs index 22e69d8deccb..184078c03b7a 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopySource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopySource.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,13 +31,16 @@ public CopySource() /// /// Initializes a new instance of the CopySource class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Source retry count. Type: integer /// (or Expression with resultType integer). /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - public CopySource(object sourceRetryCount = default(object), object sourceRetryWait = default(object)) + public CopySource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object)) { + AdditionalProperties = additionalProperties; SourceRetryCount = sourceRetryCount; SourceRetryWait = sourceRetryWait; CustomInit(); @@ -46,6 +51,13 @@ public CopySource() /// partial void CustomInit(); + /// + /// Gets or sets unmatched properties from the message are deserialized + /// this collection + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + /// /// Gets or sets source retry count. Type: integer (or Expression with /// resultType integer). diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopyTranslator.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopyTranslator.cs index f2657d1a15ee..5247ddc6ea5b 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopyTranslator.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopyTranslator.cs @@ -10,6 +10,9 @@ namespace Microsoft.Azure.Management.DataFactory.Models { + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -25,11 +28,28 @@ public CopyTranslator() CustomInit(); } + /// + /// Initializes a new instance of the CopyTranslator class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + public CopyTranslator(IDictionary additionalProperties = default(IDictionary)) + { + AdditionalProperties = additionalProperties; + CustomInit(); + } /// /// An initialization method that performs custom operations like setting defaults /// partial void CustomInit(); + /// + /// Gets or sets unmatched properties from the message are deserialized + /// this collection + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + } } diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CosmosDbLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CosmosDbLinkedService.cs index f7c2d891767e..40e8fac79eed 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CosmosDbLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CosmosDbLinkedService.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -34,14 +36,16 @@ public CosmosDbLinkedService() /// Initializes a new instance of the CosmosDbLinkedService class. /// /// The connection string. + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. /// The encrypted credential used for /// authentication. Credentials are encrypted using the integration /// runtime credential manager. Type: string (or Expression with /// resultType string). - public CosmosDbLinkedService(SecureString connectionString, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object encryptedCredential = default(object)) - : base(connectVia, description) + public CosmosDbLinkedService(SecureString connectionString, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) { ConnectionString = connectionString; EncryptedCredential = encryptedCredential; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CouchbaseLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CouchbaseLinkedService.cs new file mode 100644 index 000000000000..734f93ae1c2a --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CouchbaseLinkedService.cs @@ -0,0 +1,85 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Couchbase server linked service. + /// + [Newtonsoft.Json.JsonObject("Couchbase")] + [Rest.Serialization.JsonTransformation] + public partial class CouchbaseLinkedService : LinkedService + { + /// + /// Initializes a new instance of the CouchbaseLinkedService class. + /// + public CouchbaseLinkedService() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the CouchbaseLinkedService class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// The integration runtime reference. + /// Linked service description. + /// An ODBC connection string. + /// The encrypted credential used for + /// authentication. Credentials are encrypted using the integration + /// runtime credential manager. Type: string (or Expression with + /// resultType string). + public CouchbaseLinkedService(IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), SecretBase connectionString = default(SecretBase), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) + { + ConnectionString = connectionString; + EncryptedCredential = encryptedCredential; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets an ODBC connection string. + /// + [JsonProperty(PropertyName = "typeProperties.connectionString")] + public SecretBase ConnectionString { get; set; } + + /// + /// Gets or sets the encrypted credential used for authentication. + /// Credentials are encrypted using the integration runtime credential + /// manager. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.encryptedCredential")] + public object EncryptedCredential { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CouchbaseSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CouchbaseSource.cs new file mode 100644 index 000000000000..d4923586af43 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CouchbaseSource.cs @@ -0,0 +1,63 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity Couchbase server source. + /// + public partial class CouchbaseSource : CopySource + { + /// + /// Initializes a new instance of the CouchbaseSource class. + /// + public CouchbaseSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the CouchbaseSource class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Source retry count. Type: integer + /// (or Expression with resultType integer). + /// Source retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// A query to retrieve data from source. Type: + /// string (or Expression with resultType string). + public CouchbaseSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) + { + Query = query; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets a query to retrieve data from source. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "query")] + public object Query { get; set; } + + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CouchbaseTableDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CouchbaseTableDataset.cs new file mode 100644 index 000000000000..26493b4518fd --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CouchbaseTableDataset.cs @@ -0,0 +1,66 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Couchbase server dataset. + /// + [Newtonsoft.Json.JsonObject("CouchbaseTable")] + public partial class CouchbaseTableDataset : Dataset + { + /// + /// Initializes a new instance of the CouchbaseTableDataset class. + /// + public CouchbaseTableDataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the CouchbaseTableDataset class. + /// + /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// Parameters for dataset. + public CouchbaseTableDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) + { + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CustomActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CustomActivity.cs index 3216d6a53518..ef7f28143992 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CustomActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CustomActivity.cs @@ -38,6 +38,8 @@ public CustomActivity() /// Activity name. /// Command for custom activity Type: string (or /// Expression with resultType string). + /// Unmatched properties from the + /// message are deserialized this collection /// Activity description. /// Activity depends on condition. /// Linked service reference. @@ -51,8 +53,8 @@ public CustomActivity() /// is no restriction on the keys or values that can be used. The user /// specified custom activity has the full responsibility to consume /// and interpret the content defined. - public CustomActivity(string name, object command, string description = default(string), IList dependsOn = default(IList), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), ActivityPolicy policy = default(ActivityPolicy), LinkedServiceReference resourceLinkedService = default(LinkedServiceReference), object folderPath = default(object), CustomActivityReferenceObject referenceObjects = default(CustomActivityReferenceObject), IDictionary extendedProperties = default(IDictionary)) - : base(name, description, dependsOn, linkedServiceName, policy) + public CustomActivity(string name, object command, IDictionary additionalProperties = default(IDictionary), string description = default(string), IList dependsOn = default(IList), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), ActivityPolicy policy = default(ActivityPolicy), LinkedServiceReference resourceLinkedService = default(LinkedServiceReference), object folderPath = default(object), CustomActivityReferenceObject referenceObjects = default(CustomActivityReferenceObject), IDictionary extendedProperties = default(IDictionary)) + : base(name, additionalProperties, description, dependsOn, linkedServiceName, policy) { Command = command; ResourceLinkedService = resourceLinkedService; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CustomDataSourceLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CustomDataSourceLinkedService.cs index d2332557c0d0..9a3a9b1a3553 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CustomDataSourceLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CustomDataSourceLinkedService.cs @@ -12,6 +12,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Microsoft.Rest; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -35,10 +37,12 @@ public CustomDataSourceLinkedService() /// /// Custom linked service /// properties. + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. - public CustomDataSourceLinkedService(object typeProperties, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string)) - : base(connectVia, description) + public CustomDataSourceLinkedService(object typeProperties, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string)) + : base(additionalProperties, connectVia, description) { TypeProperties = typeProperties; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CustomDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CustomDataset.cs index 97cada6dd2e1..eff73ee7246d 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CustomDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CustomDataset.cs @@ -35,13 +35,15 @@ public CustomDataset() /// /// Linked service reference. /// Custom dataset properties. + /// Unmatched properties from the + /// message are deserialized this collection /// Dataset description. /// Columns that define the structure of the /// dataset. Type: array (or Expression with resultType array), /// itemType: DatasetDataElement. /// Parameters for dataset. - public CustomDataset(LinkedServiceReference linkedServiceName, object typeProperties, string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) - : base(linkedServiceName, description, structure, parameters) + public CustomDataset(LinkedServiceReference linkedServiceName, object typeProperties, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) { TypeProperties = typeProperties; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DataLakeAnalyticsUSQLActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DataLakeAnalyticsUSQLActivity.cs index 1beec4a69511..9d16bc40c44e 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DataLakeAnalyticsUSQLActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DataLakeAnalyticsUSQLActivity.cs @@ -44,6 +44,8 @@ public DataLakeAnalyticsUSQLActivity() /// resultType string). /// Script linked service /// reference. + /// Unmatched properties from the + /// message are deserialized this collection /// Activity description. /// Activity depends on condition. /// Linked service reference. @@ -62,8 +64,8 @@ public DataLakeAnalyticsUSQLActivity() /// Compilation mode of U-SQL. Must be /// one of these values : Semantic, Full and SingleBox. Type: string /// (or Expression with resultType string). - public DataLakeAnalyticsUSQLActivity(string name, object scriptPath, LinkedServiceReference scriptLinkedService, string description = default(string), IList dependsOn = default(IList), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), ActivityPolicy policy = default(ActivityPolicy), object degreeOfParallelism = default(object), object priority = default(object), IDictionary parameters = default(IDictionary), object runtimeVersion = default(object), object compilationMode = default(object)) - : base(name, description, dependsOn, linkedServiceName, policy) + public DataLakeAnalyticsUSQLActivity(string name, object scriptPath, LinkedServiceReference scriptLinkedService, IDictionary additionalProperties = default(IDictionary), string description = default(string), IList dependsOn = default(IList), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), ActivityPolicy policy = default(ActivityPolicy), object degreeOfParallelism = default(object), object priority = default(object), IDictionary parameters = default(IDictionary), object runtimeVersion = default(object), object compilationMode = default(object)) + : base(name, additionalProperties, description, dependsOn, linkedServiceName, policy) { ScriptPath = scriptPath; ScriptLinkedService = scriptLinkedService; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Dataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Dataset.cs index 08bc29eacd36..8a4f75d544f5 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Dataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Dataset.cs @@ -35,13 +35,16 @@ public Dataset() /// Initializes a new instance of the Dataset class. /// /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection /// Dataset description. /// Columns that define the structure of the /// dataset. Type: array (or Expression with resultType array), /// itemType: DatasetDataElement. /// Parameters for dataset. - public Dataset(LinkedServiceReference linkedServiceName, string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) + public Dataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) { + AdditionalProperties = additionalProperties; Description = description; Structure = structure; LinkedServiceName = linkedServiceName; @@ -54,6 +57,13 @@ public Dataset() /// partial void CustomInit(); + /// + /// Gets or sets unmatched properties from the message are deserialized + /// this collection + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + /// /// Gets or sets dataset description. /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetBZip2Compression.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetBZip2Compression.cs index 04f5332cfdc4..70519eaf4e8b 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetBZip2Compression.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetBZip2Compression.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -27,6 +29,16 @@ public DatasetBZip2Compression() CustomInit(); } + /// + /// Initializes a new instance of the DatasetBZip2Compression class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + public DatasetBZip2Compression(IDictionary additionalProperties = default(IDictionary)) + : base(additionalProperties) + { + CustomInit(); + } /// /// An initialization method that performs custom operations like setting defaults diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetCompression.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetCompression.cs index 59070794e022..684c3a8a2b97 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetCompression.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetCompression.cs @@ -10,6 +10,9 @@ namespace Microsoft.Azure.Management.DataFactory.Models { + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -25,11 +28,28 @@ public DatasetCompression() CustomInit(); } + /// + /// Initializes a new instance of the DatasetCompression class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + public DatasetCompression(IDictionary additionalProperties = default(IDictionary)) + { + AdditionalProperties = additionalProperties; + CustomInit(); + } /// /// An initialization method that performs custom operations like setting defaults /// partial void CustomInit(); + /// + /// Gets or sets unmatched properties from the message are deserialized + /// this collection + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + } } diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetDeflateCompression.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetDeflateCompression.cs index 4d12ebd0a815..8daa38fae676 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetDeflateCompression.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetDeflateCompression.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -30,9 +32,12 @@ public DatasetDeflateCompression() /// /// Initializes a new instance of the DatasetDeflateCompression class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// The Deflate compression level. Possible values /// include: 'Optimal', 'Fastest' - public DatasetDeflateCompression(string level = default(string)) + public DatasetDeflateCompression(IDictionary additionalProperties = default(IDictionary), string level = default(string)) + : base(additionalProperties) { Level = level; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetGZipCompression.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetGZipCompression.cs index 1870890f656a..6d29caa11377 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetGZipCompression.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetGZipCompression.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -30,9 +32,12 @@ public DatasetGZipCompression() /// /// Initializes a new instance of the DatasetGZipCompression class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// The GZip compression level. Possible values /// include: 'Optimal', 'Fastest' - public DatasetGZipCompression(string level = default(string)) + public DatasetGZipCompression(IDictionary additionalProperties = default(IDictionary), string level = default(string)) + : base(additionalProperties) { Level = level; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetStorageFormat.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetStorageFormat.cs index eadaf109aad5..9666f91b0e06 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetStorageFormat.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetStorageFormat.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,12 +31,15 @@ public DatasetStorageFormat() /// /// Initializes a new instance of the DatasetStorageFormat class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Serializer. Type: string (or Expression /// with resultType string). /// Deserializer. Type: string (or /// Expression with resultType string). - public DatasetStorageFormat(object serializer = default(object), object deserializer = default(object)) + public DatasetStorageFormat(IDictionary additionalProperties = default(IDictionary), object serializer = default(object), object deserializer = default(object)) { + AdditionalProperties = additionalProperties; Serializer = serializer; Deserializer = deserializer; CustomInit(); @@ -45,6 +50,13 @@ public DatasetStorageFormat() /// partial void CustomInit(); + /// + /// Gets or sets unmatched properties from the message are deserialized + /// this collection + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + /// /// Gets or sets serializer. Type: string (or Expression with /// resultType string). diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetZipDeflateCompression.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetZipDeflateCompression.cs index 3ebaf88048b4..3643b060faec 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetZipDeflateCompression.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetZipDeflateCompression.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -32,9 +34,12 @@ public DatasetZipDeflateCompression() /// Initializes a new instance of the DatasetZipDeflateCompression /// class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// The ZipDeflate compression level. Possible /// values include: 'Optimal', 'Fastest' - public DatasetZipDeflateCompression(string level = default(string)) + public DatasetZipDeflateCompression(IDictionary additionalProperties = default(IDictionary), string level = default(string)) + : base(additionalProperties) { Level = level; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Db2LinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Db2LinkedService.cs index 3ed8daa091cc..171dbe0843b4 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Db2LinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Db2LinkedService.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -37,6 +39,8 @@ public Db2LinkedService() /// Expression with resultType string). /// Database name for connection. Type: string /// (or Expression with resultType string). + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. /// Schema name for connection. Type: string (or @@ -50,8 +54,8 @@ public Db2LinkedService() /// authentication. Credentials are encrypted using the integration /// runtime credential manager. Type: string (or Expression with /// resultType string). - public Db2LinkedService(object server, object database, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object schema = default(object), string authenticationType = default(string), object username = default(object), SecureString password = default(SecureString), object encryptedCredential = default(object)) - : base(connectVia, description) + public Db2LinkedService(object server, object database, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object schema = default(object), string authenticationType = default(string), object username = default(object), SecureString password = default(SecureString), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) { Server = server; Database = database; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DocumentDbCollectionDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DocumentDbCollectionDataset.cs index 9a6811f2c08e..d9f803c6352d 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DocumentDbCollectionDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DocumentDbCollectionDataset.cs @@ -41,13 +41,15 @@ public DocumentDbCollectionDataset() /// Linked service reference. /// Document Database collection name. /// Type: string (or Expression with resultType string). + /// Unmatched properties from the + /// message are deserialized this collection /// Dataset description. /// Columns that define the structure of the /// dataset. Type: array (or Expression with resultType array), /// itemType: DatasetDataElement. /// Parameters for dataset. - public DocumentDbCollectionDataset(LinkedServiceReference linkedServiceName, object collectionName, string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) - : base(linkedServiceName, description, structure, parameters) + public DocumentDbCollectionDataset(LinkedServiceReference linkedServiceName, object collectionName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) { CollectionName = collectionName; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DocumentDbCollectionSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DocumentDbCollectionSink.cs index 36c314a636be..10944b4a343d 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DocumentDbCollectionSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DocumentDbCollectionSink.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,6 +31,8 @@ public DocumentDbCollectionSink() /// /// Initializes a new instance of the DocumentDbCollectionSink class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Write batch size. Type: integer (or /// Expression with resultType integer), minimum: 0. /// Write batch timeout. Type: string @@ -42,8 +46,8 @@ public DocumentDbCollectionSink() /// Nested properties separator. Default /// is . (dot). Type: string (or Expression with resultType /// string). - public DocumentDbCollectionSink(object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object nestingSeparator = default(object)) - : base(writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) + public DocumentDbCollectionSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object nestingSeparator = default(object)) + : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) { NestingSeparator = nestingSeparator; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DocumentDbCollectionSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DocumentDbCollectionSource.cs index 73c46f2857c1..c962c6a4e56e 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DocumentDbCollectionSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DocumentDbCollectionSource.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,6 +31,8 @@ public DocumentDbCollectionSource() /// /// Initializes a new instance of the DocumentDbCollectionSource class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Source retry count. Type: integer /// (or Expression with resultType integer). /// Source retry wait. Type: string (or @@ -38,8 +42,8 @@ public DocumentDbCollectionSource() /// with resultType string). /// Nested properties separator. Type: /// string (or Expression with resultType string). - public DocumentDbCollectionSource(object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object), object nestingSeparator = default(object)) - : base(sourceRetryCount, sourceRetryWait) + public DocumentDbCollectionSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object), object nestingSeparator = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) { Query = query; NestingSeparator = nestingSeparator; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DrillLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DrillLinkedService.cs new file mode 100644 index 000000000000..87292e95fbf1 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DrillLinkedService.cs @@ -0,0 +1,85 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Drill server linked service. + /// + [Newtonsoft.Json.JsonObject("Drill")] + [Rest.Serialization.JsonTransformation] + public partial class DrillLinkedService : LinkedService + { + /// + /// Initializes a new instance of the DrillLinkedService class. + /// + public DrillLinkedService() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the DrillLinkedService class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// The integration runtime reference. + /// Linked service description. + /// An ODBC connection string. + /// The encrypted credential used for + /// authentication. Credentials are encrypted using the integration + /// runtime credential manager. Type: string (or Expression with + /// resultType string). + public DrillLinkedService(IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), SecretBase connectionString = default(SecretBase), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) + { + ConnectionString = connectionString; + EncryptedCredential = encryptedCredential; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets an ODBC connection string. + /// + [JsonProperty(PropertyName = "typeProperties.connectionString")] + public SecretBase ConnectionString { get; set; } + + /// + /// Gets or sets the encrypted credential used for authentication. + /// Credentials are encrypted using the integration runtime credential + /// manager. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.encryptedCredential")] + public object EncryptedCredential { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DrillSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DrillSource.cs new file mode 100644 index 000000000000..950221e02782 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DrillSource.cs @@ -0,0 +1,63 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity Drill server source. + /// + public partial class DrillSource : CopySource + { + /// + /// Initializes a new instance of the DrillSource class. + /// + public DrillSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the DrillSource class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Source retry count. Type: integer + /// (or Expression with resultType integer). + /// Source retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// A query to retrieve data from source. Type: + /// string (or Expression with resultType string). + public DrillSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) + { + Query = query; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets a query to retrieve data from source. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "query")] + public object Query { get; set; } + + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DrillTableDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DrillTableDataset.cs new file mode 100644 index 000000000000..887999077eb3 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DrillTableDataset.cs @@ -0,0 +1,66 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Drill server dataset. + /// + [Newtonsoft.Json.JsonObject("DrillTable")] + public partial class DrillTableDataset : Dataset + { + /// + /// Initializes a new instance of the DrillTableDataset class. + /// + public DrillTableDataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the DrillTableDataset class. + /// + /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// Parameters for dataset. + public DrillTableDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) + { + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsEntityDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsEntityDataset.cs index 860cbe153a8a..f75372fb596c 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsEntityDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsEntityDataset.cs @@ -37,6 +37,8 @@ public DynamicsEntityDataset() /// Initializes a new instance of the DynamicsEntityDataset class. /// /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection /// Dataset description. /// Columns that define the structure of the /// dataset. Type: array (or Expression with resultType array), @@ -44,8 +46,8 @@ public DynamicsEntityDataset() /// Parameters for dataset. /// The logical name of the entity. Type: /// string (or Expression with resultType string). - public DynamicsEntityDataset(LinkedServiceReference linkedServiceName, string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary), object entityName = default(object)) - : base(linkedServiceName, description, structure, parameters) + public DynamicsEntityDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary), object entityName = default(object)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) { EntityName = entityName; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsLinkedService.cs index f86eae3f9ee8..18ee3b6dcdb1 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsLinkedService.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -43,6 +45,8 @@ public DynamicsLinkedService() /// resultType string). /// User name to access the Dynamics instance. /// Type: string (or Expression with resultType string). + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. /// The host name of the on-premises Dynamics @@ -64,8 +68,8 @@ public DynamicsLinkedService() /// authentication. Credentials are encrypted using the integration /// runtime credential manager. Type: string (or Expression with /// resultType string). - public DynamicsLinkedService(object deploymentType, object authenticationType, object username, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object hostName = default(object), object port = default(object), object organizationName = default(object), SecretBase password = default(SecretBase), object encryptedCredential = default(object)) - : base(connectVia, description) + public DynamicsLinkedService(object deploymentType, object authenticationType, object username, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object hostName = default(object), object port = default(object), object organizationName = default(object), SecretBase password = default(SecretBase), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) { DeploymentType = deploymentType; HostName = hostName; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsSink.cs index bb1b4dee6485..f8914c120b6b 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsSink.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,6 +31,8 @@ public DynamicsSink() /// /// Initializes a new instance of the DynamicsSink class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Write batch size. Type: integer (or /// Expression with resultType integer), minimum: 0. /// Write batch timeout. Type: string @@ -43,8 +47,8 @@ public DynamicsSink() /// null values from input dataset (except key fields) during write /// operation. Default is false. Type: boolean (or Expression with /// resultType boolean). - public DynamicsSink(object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object ignoreNullValues = default(object)) - : base(writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) + public DynamicsSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object ignoreNullValues = default(object)) + : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) { IgnoreNullValues = ignoreNullValues; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsSource.cs index cd39f34a355c..7f47681dbe83 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsSource.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,6 +31,8 @@ public DynamicsSource() /// /// Initializes a new instance of the DynamicsSource class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Source retry count. Type: integer /// (or Expression with resultType integer). /// Source retry wait. Type: string (or @@ -37,8 +41,8 @@ public DynamicsSource() /// FetchXML is a proprietary query language that /// is used in Microsoft Dynamics (online & on-premises). Type: /// string (or Expression with resultType string). - public DynamicsSource(object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(sourceRetryCount, sourceRetryWait) + public DynamicsSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/EloquaLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/EloquaLinkedService.cs new file mode 100644 index 000000000000..68cdbd77cd14 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/EloquaLinkedService.cs @@ -0,0 +1,148 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Eloqua server linked service. + /// + [Newtonsoft.Json.JsonObject("Eloqua")] + [Rest.Serialization.JsonTransformation] + public partial class EloquaLinkedService : LinkedService + { + /// + /// Initializes a new instance of the EloquaLinkedService class. + /// + public EloquaLinkedService() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the EloquaLinkedService class. + /// + /// The endpoint of the Eloqua server. (i.e. + /// eloqua.example.com) + /// The site name and user name of your Eloqua + /// account in the form: sitename/username. (i.e. Eloqua/Alice) + /// Unmatched properties from the + /// message are deserialized this collection + /// The integration runtime reference. + /// Linked service description. + /// The password corresponding to the user + /// name. + /// Specifies whether the data + /// source endpoints are encrypted using HTTPS. The default value is + /// true. + /// Specifies whether to require the + /// host name in the server's certificate to match the host name of the + /// server when connecting over SSL. The default value is true. + /// Specifies whether to verify the + /// identity of the server when connecting over SSL. The default value + /// is true. + /// The encrypted credential used for + /// authentication. Credentials are encrypted using the integration + /// runtime credential manager. Type: string (or Expression with + /// resultType string). + public EloquaLinkedService(object endpoint, object username, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), SecretBase password = default(SecretBase), object useEncryptedEndpoints = default(object), object useHostVerification = default(object), object usePeerVerification = default(object), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) + { + Endpoint = endpoint; + Username = username; + Password = password; + UseEncryptedEndpoints = useEncryptedEndpoints; + UseHostVerification = useHostVerification; + UsePeerVerification = usePeerVerification; + EncryptedCredential = encryptedCredential; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the endpoint of the Eloqua server. (i.e. + /// eloqua.example.com) + /// + [JsonProperty(PropertyName = "typeProperties.endpoint")] + public object Endpoint { get; set; } + + /// + /// Gets or sets the site name and user name of your Eloqua account in + /// the form: sitename/username. (i.e. Eloqua/Alice) + /// + [JsonProperty(PropertyName = "typeProperties.username")] + public object Username { get; set; } + + /// + /// Gets or sets the password corresponding to the user name. + /// + [JsonProperty(PropertyName = "typeProperties.password")] + public SecretBase Password { get; set; } + + /// + /// Gets or sets specifies whether the data source endpoints are + /// encrypted using HTTPS. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.useEncryptedEndpoints")] + public object UseEncryptedEndpoints { get; set; } + + /// + /// Gets or sets specifies whether to require the host name in the + /// server's certificate to match the host name of the server when + /// connecting over SSL. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.useHostVerification")] + public object UseHostVerification { get; set; } + + /// + /// Gets or sets specifies whether to verify the identity of the server + /// when connecting over SSL. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.usePeerVerification")] + public object UsePeerVerification { get; set; } + + /// + /// Gets or sets the encrypted credential used for authentication. + /// Credentials are encrypted using the integration runtime credential + /// manager. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.encryptedCredential")] + public object EncryptedCredential { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (Endpoint == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Endpoint"); + } + if (Username == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Username"); + } + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/EloquaObjectDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/EloquaObjectDataset.cs new file mode 100644 index 000000000000..e0cfbcbc52ba --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/EloquaObjectDataset.cs @@ -0,0 +1,66 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Eloqua server dataset. + /// + [Newtonsoft.Json.JsonObject("EloquaObject")] + public partial class EloquaObjectDataset : Dataset + { + /// + /// Initializes a new instance of the EloquaObjectDataset class. + /// + public EloquaObjectDataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the EloquaObjectDataset class. + /// + /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// Parameters for dataset. + public EloquaObjectDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) + { + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/EloquaSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/EloquaSource.cs new file mode 100644 index 000000000000..065c73f73fbc --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/EloquaSource.cs @@ -0,0 +1,63 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity Eloqua server source. + /// + public partial class EloquaSource : CopySource + { + /// + /// Initializes a new instance of the EloquaSource class. + /// + public EloquaSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the EloquaSource class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Source retry count. Type: integer + /// (or Expression with resultType integer). + /// Source retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// A query to retrieve data from source. Type: + /// string (or Expression with resultType string). + public EloquaSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) + { + Query = query; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets a query to retrieve data from source. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "query")] + public object Query { get; set; } + + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ExecutePipelineActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ExecutePipelineActivity.cs index 423da997e279..4880123683bb 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ExecutePipelineActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ExecutePipelineActivity.cs @@ -38,14 +38,16 @@ public ExecutePipelineActivity() /// /// Activity name. /// Pipeline reference. + /// Unmatched properties from the + /// message are deserialized this collection /// Activity description. /// Activity depends on condition. /// Pipeline parameters. /// Defines whether activity execution /// will wait for the dependent pipeline execution to finish. Default /// is false. - public ExecutePipelineActivity(string name, PipelineReference pipeline, string description = default(string), IList dependsOn = default(IList), IDictionary parameters = default(IDictionary), bool? waitOnCompletion = default(bool?)) - : base(name, description, dependsOn) + public ExecutePipelineActivity(string name, PipelineReference pipeline, IDictionary additionalProperties = default(IDictionary), string description = default(string), IList dependsOn = default(IList), IDictionary parameters = default(IDictionary), bool? waitOnCompletion = default(bool?)) + : base(name, additionalProperties, description, dependsOn) { Pipeline = pipeline; Parameters = parameters; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ExecutionActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ExecutionActivity.cs index f1f8f3abf2f2..725876eba2e2 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ExecutionActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ExecutionActivity.cs @@ -33,12 +33,14 @@ public ExecutionActivity() /// Initializes a new instance of the ExecutionActivity class. /// /// Activity name. + /// Unmatched properties from the + /// message are deserialized this collection /// Activity description. /// Activity depends on condition. /// Linked service reference. /// Activity policy. - public ExecutionActivity(string name, string description = default(string), IList dependsOn = default(IList), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), ActivityPolicy policy = default(ActivityPolicy)) - : base(name, description, dependsOn) + public ExecutionActivity(string name, IDictionary additionalProperties = default(IDictionary), string description = default(string), IList dependsOn = default(IList), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), ActivityPolicy policy = default(ActivityPolicy)) + : base(name, additionalProperties, description, dependsOn) { LinkedServiceName = linkedServiceName; Policy = policy; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Factory.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Factory.cs index 73c75fd002b5..8ef14b2cc97d 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Factory.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Factory.cs @@ -39,6 +39,8 @@ public Factory() /// The resource type. /// The resource location. /// The resource tags. + /// Unmatched properties from the + /// message are deserialized this collection /// Managed service identity of the /// factory. /// Factory provisioning state, example @@ -46,9 +48,10 @@ public Factory() /// Time the factory was created in ISO8601 /// format. /// Version of the factory. - public Factory(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), FactoryIdentity identity = default(FactoryIdentity), string provisioningState = default(string), System.DateTime? createTime = default(System.DateTime?), string version = default(string)) + public Factory(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), IDictionary additionalProperties = default(IDictionary), FactoryIdentity identity = default(FactoryIdentity), string provisioningState = default(string), System.DateTime? createTime = default(System.DateTime?), string version = default(string)) : base(id, name, type, location, tags) { + AdditionalProperties = additionalProperties; Identity = identity; ProvisioningState = provisioningState; CreateTime = createTime; @@ -61,6 +64,13 @@ public Factory() /// partial void CustomInit(); + /// + /// Gets or sets unmatched properties from the message are deserialized + /// this collection + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + /// /// Gets or sets managed service identity of the factory. /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileServerLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileServerLinkedService.cs index 5dffc92d5969..b1b8af6d4bab 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileServerLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileServerLinkedService.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -35,6 +37,8 @@ public FileServerLinkedService() /// /// Host name of the server. Type: string (or /// Expression with resultType string). + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. /// User ID to logon the server. Type: string (or @@ -44,8 +48,8 @@ public FileServerLinkedService() /// authentication. Credentials are encrypted using the integration /// runtime credential manager. Type: string (or Expression with /// resultType string). - public FileServerLinkedService(object host, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object userId = default(object), SecureString password = default(SecureString), object encryptedCredential = default(object)) - : base(connectVia, description) + public FileServerLinkedService(object host, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object userId = default(object), SecureString password = default(SecureString), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) { Host = host; UserId = userId; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileShareDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileShareDataset.cs index 4c3fdc13252e..a7461ee0ad52 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileShareDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileShareDataset.cs @@ -37,6 +37,8 @@ public FileShareDataset() /// Initializes a new instance of the FileShareDataset class. /// /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection /// Dataset description. /// Columns that define the structure of the /// dataset. Type: array (or Expression with resultType array), @@ -52,8 +54,8 @@ public FileShareDataset() /// string (or Expression with resultType string). /// The data compression method used for the /// file system. - public FileShareDataset(LinkedServiceReference linkedServiceName, string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary), object folderPath = default(object), object fileName = default(object), DatasetStorageFormat format = default(DatasetStorageFormat), object fileFilter = default(object), DatasetCompression compression = default(DatasetCompression)) - : base(linkedServiceName, description, structure, parameters) + public FileShareDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary), object folderPath = default(object), object fileName = default(object), DatasetStorageFormat format = default(DatasetStorageFormat), object fileFilter = default(object), DatasetCompression compression = default(DatasetCompression)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) { FolderPath = folderPath; FileName = fileName; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileSystemSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileSystemSink.cs index 8215815b11f7..c0bb28b248de 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileSystemSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileSystemSink.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,6 +31,8 @@ public FileSystemSink() /// /// Initializes a new instance of the FileSystemSink class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Write batch size. Type: integer (or /// Expression with resultType integer), minimum: 0. /// Write batch timeout. Type: string @@ -42,8 +46,8 @@ public FileSystemSink() /// The type of copy behavior for copy sink. /// Possible values include: 'PreserveHierarchy', 'FlattenHierarchy', /// 'MergeFiles' - public FileSystemSink(object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), string copyBehavior = default(string)) - : base(writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) + public FileSystemSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), string copyBehavior = default(string)) + : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) { CopyBehavior = copyBehavior; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileSystemSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileSystemSource.cs index 2adedd39874a..5dbcd4ea2db1 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileSystemSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileSystemSource.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,6 +31,8 @@ public FileSystemSource() /// /// Initializes a new instance of the FileSystemSource class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Source retry count. Type: integer /// (or Expression with resultType integer). /// Source retry wait. Type: string (or @@ -37,8 +41,8 @@ public FileSystemSource() /// If true, files under the folder path will /// be read recursively. Default is true. Type: boolean (or Expression /// with resultType boolean). - public FileSystemSource(object sourceRetryCount = default(object), object sourceRetryWait = default(object), object recursive = default(object)) - : base(sourceRetryCount, sourceRetryWait) + public FileSystemSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object recursive = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) { Recursive = recursive; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ForEachActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ForEachActivity.cs index af5829ce1337..3ff985e7dcc5 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ForEachActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ForEachActivity.cs @@ -40,12 +40,14 @@ public ForEachActivity() /// Activity name. /// Collection to iterate. /// List of activities to execute . + /// Unmatched properties from the + /// message are deserialized this collection /// Activity description. /// Activity depends on condition. /// Should the loop be executed in sequence /// or in parallel (max 20) - public ForEachActivity(string name, Expression items, IList activities, string description = default(string), IList dependsOn = default(IList), bool? isSequential = default(bool?)) - : base(name, description, dependsOn) + public ForEachActivity(string name, Expression items, IList activities, IDictionary additionalProperties = default(IDictionary), string description = default(string), IList dependsOn = default(IList), bool? isSequential = default(bool?)) + : base(name, additionalProperties, description, dependsOn) { IsSequential = isSequential; Items = items; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FtpServerLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FtpServerLinkedService.cs index c1bf7be15a39..6354bf719e7a 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FtpServerLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FtpServerLinkedService.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -35,6 +37,8 @@ public FtpServerLinkedService() /// /// Host name of the FTP server. Type: string (or /// Expression with resultType string). + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. /// The TCP port number that the FTP server uses to @@ -57,8 +61,8 @@ public FtpServerLinkedService() /// the FTP server SSL certificate when connect over SSL/TLS channel. /// Default value is true. Type: boolean (or Expression with resultType /// boolean). - public FtpServerLinkedService(object host, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object port = default(object), string authenticationType = default(string), object userName = default(object), SecureString password = default(SecureString), object encryptedCredential = default(object), object enableSsl = default(object), object enableServerCertificateValidation = default(object)) - : base(connectVia, description) + public FtpServerLinkedService(object host, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object port = default(object), string authenticationType = default(string), object userName = default(object), SecureString password = default(SecureString), object encryptedCredential = default(object), object enableSsl = default(object), object enableServerCertificateValidation = default(object)) + : base(additionalProperties, connectVia, description) { Host = host; Port = port; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GetMetadataActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GetMetadataActivity.cs index 9d4e4182fe60..36a907c4a0d5 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GetMetadataActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GetMetadataActivity.cs @@ -39,14 +39,16 @@ public GetMetadataActivity() /// Activity name. /// GetMetadata activity dataset /// reference. + /// Unmatched properties from the + /// message are deserialized this collection /// Activity description. /// Activity depends on condition. /// Linked service reference. /// Activity policy. /// Fields of metadata to get from /// dataset. - public GetMetadataActivity(string name, DatasetReference dataset, string description = default(string), IList dependsOn = default(IList), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), ActivityPolicy policy = default(ActivityPolicy), IList fieldList = default(IList)) - : base(name, description, dependsOn, linkedServiceName, policy) + public GetMetadataActivity(string name, DatasetReference dataset, IDictionary additionalProperties = default(IDictionary), string description = default(string), IList dependsOn = default(IList), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), ActivityPolicy policy = default(ActivityPolicy), IList fieldList = default(IList)) + : base(name, additionalProperties, description, dependsOn, linkedServiceName, policy) { Dataset = dataset; FieldList = fieldList; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GoogleBigQueryAuthenticationType.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GoogleBigQueryAuthenticationType.cs new file mode 100644 index 000000000000..424d911cfc15 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GoogleBigQueryAuthenticationType.cs @@ -0,0 +1,22 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + + /// + /// Defines values for GoogleBigQueryAuthenticationType. + /// + public static class GoogleBigQueryAuthenticationType + { + public const string ServiceAuthentication = "ServiceAuthentication"; + public const string UserAuthentication = "UserAuthentication"; + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GoogleBigQueryLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GoogleBigQueryLinkedService.cs new file mode 100644 index 000000000000..f3442fa62d18 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GoogleBigQueryLinkedService.cs @@ -0,0 +1,194 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Google BigQuery service linked service. + /// + [Newtonsoft.Json.JsonObject("GoogleBigQuery")] + [Rest.Serialization.JsonTransformation] + public partial class GoogleBigQueryLinkedService : LinkedService + { + /// + /// Initializes a new instance of the GoogleBigQueryLinkedService + /// class. + /// + public GoogleBigQueryLinkedService() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the GoogleBigQueryLinkedService + /// class. + /// + /// The default BigQuery project to query + /// against. + /// The OAuth 2.0 authentication + /// mechanism used for authentication. ServiceAuthentication can only + /// be used on self-hosted IR. Possible values include: + /// 'ServiceAuthentication', 'UserAuthentication' + /// Unmatched properties from the + /// message are deserialized this collection + /// The integration runtime reference. + /// Linked service description. + /// A comma-separated list of public + /// BigQuery projects to access. + /// 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. + /// The refresh token obtained from Google + /// for authorizing access to BigQuery for UserAuthentication. + /// The service account email ID that is used for + /// ServiceAuthentication and can only be used on self-hosted + /// IR. + /// 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. + /// 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. + /// Specifies whether to use a CA + /// certificate from the system trust store or from a specified PEM + /// file. The default value is false. + /// The encrypted credential used for + /// authentication. Credentials are encrypted using the integration + /// runtime credential manager. Type: string (or Expression with + /// resultType string). + public GoogleBigQueryLinkedService(object project, string authenticationType, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object additionalProjects = default(object), object requestGoogleDriveScope = default(object), SecretBase refreshToken = default(SecretBase), object email = default(object), object keyFilePath = default(object), object trustedCertPath = default(object), object useSystemTrustStore = default(object), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) + { + Project = project; + AdditionalProjects = additionalProjects; + RequestGoogleDriveScope = requestGoogleDriveScope; + AuthenticationType = authenticationType; + RefreshToken = refreshToken; + Email = email; + KeyFilePath = keyFilePath; + TrustedCertPath = trustedCertPath; + UseSystemTrustStore = useSystemTrustStore; + EncryptedCredential = encryptedCredential; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the default BigQuery project to query against. + /// + [JsonProperty(PropertyName = "typeProperties.project")] + public object Project { get; set; } + + /// + /// Gets or sets a comma-separated list of public BigQuery projects to + /// access. + /// + [JsonProperty(PropertyName = "typeProperties.additionalProjects")] + public object AdditionalProjects { get; set; } + + /// + /// Gets or sets 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. + /// + [JsonProperty(PropertyName = "typeProperties.requestGoogleDriveScope")] + public object RequestGoogleDriveScope { get; set; } + + /// + /// Gets or sets the OAuth 2.0 authentication mechanism used for + /// authentication. ServiceAuthentication can only be used on + /// self-hosted IR. Possible values include: 'ServiceAuthentication', + /// 'UserAuthentication' + /// + [JsonProperty(PropertyName = "typeProperties.authenticationType")] + public string AuthenticationType { get; set; } + + /// + /// Gets or sets the refresh token obtained from Google for authorizing + /// access to BigQuery for UserAuthentication. + /// + [JsonProperty(PropertyName = "typeProperties.refreshToken")] + public SecretBase RefreshToken { get; set; } + + /// + /// Gets or sets the service account email ID that is used for + /// ServiceAuthentication and can only be used on self-hosted IR. + /// + [JsonProperty(PropertyName = "typeProperties.email")] + public object Email { get; set; } + + /// + /// Gets or sets 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. + /// + [JsonProperty(PropertyName = "typeProperties.keyFilePath")] + public object KeyFilePath { get; set; } + + /// + /// Gets or sets 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. + /// + [JsonProperty(PropertyName = "typeProperties.trustedCertPath")] + public object TrustedCertPath { get; set; } + + /// + /// Gets or sets specifies whether to use a CA certificate from the + /// system trust store or from a specified PEM file. The default value + /// is false. + /// + [JsonProperty(PropertyName = "typeProperties.useSystemTrustStore")] + public object UseSystemTrustStore { get; set; } + + /// + /// Gets or sets the encrypted credential used for authentication. + /// Credentials are encrypted using the integration runtime credential + /// manager. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.encryptedCredential")] + public object EncryptedCredential { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (Project == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Project"); + } + if (AuthenticationType == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "AuthenticationType"); + } + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GoogleBigQueryObjectDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GoogleBigQueryObjectDataset.cs new file mode 100644 index 000000000000..0ee633caccf8 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GoogleBigQueryObjectDataset.cs @@ -0,0 +1,68 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Google BigQuery service dataset. + /// + [Newtonsoft.Json.JsonObject("GoogleBigQueryObject")] + public partial class GoogleBigQueryObjectDataset : Dataset + { + /// + /// Initializes a new instance of the GoogleBigQueryObjectDataset + /// class. + /// + public GoogleBigQueryObjectDataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the GoogleBigQueryObjectDataset + /// class. + /// + /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// Parameters for dataset. + public GoogleBigQueryObjectDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) + { + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GoogleBigQuerySource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GoogleBigQuerySource.cs new file mode 100644 index 000000000000..09eb3220b2fd --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GoogleBigQuerySource.cs @@ -0,0 +1,63 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity Google BigQuery service source. + /// + public partial class GoogleBigQuerySource : CopySource + { + /// + /// Initializes a new instance of the GoogleBigQuerySource class. + /// + public GoogleBigQuerySource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the GoogleBigQuerySource class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Source retry count. Type: integer + /// (or Expression with resultType integer). + /// Source retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// A query to retrieve data from source. Type: + /// string (or Expression with resultType string). + public GoogleBigQuerySource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) + { + Query = query; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets a query to retrieve data from source. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "query")] + public object Query { get; set; } + + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GreenplumLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GreenplumLinkedService.cs new file mode 100644 index 000000000000..d509b7626e47 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GreenplumLinkedService.cs @@ -0,0 +1,85 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Greenplum Database linked service. + /// + [Newtonsoft.Json.JsonObject("Greenplum")] + [Rest.Serialization.JsonTransformation] + public partial class GreenplumLinkedService : LinkedService + { + /// + /// Initializes a new instance of the GreenplumLinkedService class. + /// + public GreenplumLinkedService() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the GreenplumLinkedService class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// The integration runtime reference. + /// Linked service description. + /// An ODBC connection string. + /// The encrypted credential used for + /// authentication. Credentials are encrypted using the integration + /// runtime credential manager. Type: string (or Expression with + /// resultType string). + public GreenplumLinkedService(IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), SecretBase connectionString = default(SecretBase), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) + { + ConnectionString = connectionString; + EncryptedCredential = encryptedCredential; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets an ODBC connection string. + /// + [JsonProperty(PropertyName = "typeProperties.connectionString")] + public SecretBase ConnectionString { get; set; } + + /// + /// Gets or sets the encrypted credential used for authentication. + /// Credentials are encrypted using the integration runtime credential + /// manager. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.encryptedCredential")] + public object EncryptedCredential { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GreenplumSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GreenplumSource.cs new file mode 100644 index 000000000000..c5c52aeefdbd --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GreenplumSource.cs @@ -0,0 +1,63 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity Greenplum Database source. + /// + public partial class GreenplumSource : CopySource + { + /// + /// Initializes a new instance of the GreenplumSource class. + /// + public GreenplumSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the GreenplumSource class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Source retry count. Type: integer + /// (or Expression with resultType integer). + /// Source retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// A query to retrieve data from source. Type: + /// string (or Expression with resultType string). + public GreenplumSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) + { + Query = query; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets a query to retrieve data from source. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "query")] + public object Query { get; set; } + + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GreenplumTableDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GreenplumTableDataset.cs new file mode 100644 index 000000000000..884e907ebbf1 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GreenplumTableDataset.cs @@ -0,0 +1,66 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Greenplum Database dataset. + /// + [Newtonsoft.Json.JsonObject("GreenplumTable")] + public partial class GreenplumTableDataset : Dataset + { + /// + /// Initializes a new instance of the GreenplumTableDataset class. + /// + public GreenplumTableDataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the GreenplumTableDataset class. + /// + /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// Parameters for dataset. + public GreenplumTableDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) + { + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HBaseAuthenticationType.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HBaseAuthenticationType.cs new file mode 100644 index 000000000000..67523840e7b4 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HBaseAuthenticationType.cs @@ -0,0 +1,22 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + + /// + /// Defines values for HBaseAuthenticationType. + /// + public static class HBaseAuthenticationType + { + public const string Anonymous = "Anonymous"; + public const string Basic = "Basic"; + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HBaseLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HBaseLinkedService.cs new file mode 100644 index 000000000000..812e4dd7e0ea --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HBaseLinkedService.cs @@ -0,0 +1,193 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// HBase server linked service. + /// + [Newtonsoft.Json.JsonObject("HBase")] + [Rest.Serialization.JsonTransformation] + public partial class HBaseLinkedService : LinkedService + { + /// + /// Initializes a new instance of the HBaseLinkedService class. + /// + public HBaseLinkedService() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the HBaseLinkedService class. + /// + /// The IP address or host name of the HBase server. + /// (i.e. 192.168.222.160) + /// The authentication mechanism to + /// use to connect to the HBase server. Possible values include: + /// 'Anonymous', 'Basic' + /// Unmatched properties from the + /// message are deserialized this collection + /// The integration runtime reference. + /// Linked service description. + /// The TCP port that the HBase instance uses to + /// listen for client connections. The default value is 9090. + /// The partial URL corresponding to the HBase + /// server. (i.e. /gateway/sandbox/hbase/version) + /// The user name used to connect to the HBase + /// instance. + /// The password corresponding to the user + /// name. + /// Specifies whether the connections to the + /// server are encrypted using SSL. The default value is false. + /// 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. + /// Specifies whether to require + /// a CA-issued SSL certificate name to match the host name of the + /// server when connecting over SSL. The default value is + /// false. + /// Specifies whether to allow + /// self-signed certificates from the server. The default value is + /// false. + /// The encrypted credential used for + /// authentication. Credentials are encrypted using the integration + /// runtime credential manager. Type: string (or Expression with + /// resultType string). + public HBaseLinkedService(object host, string authenticationType, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object port = default(object), object httpPath = default(object), object username = default(object), SecretBase password = default(SecretBase), object enableSsl = default(object), object trustedCertPath = default(object), object allowHostNameCNMismatch = default(object), object allowSelfSignedServerCert = default(object), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) + { + Host = host; + Port = port; + HttpPath = httpPath; + AuthenticationType = authenticationType; + Username = username; + Password = password; + EnableSsl = enableSsl; + TrustedCertPath = trustedCertPath; + AllowHostNameCNMismatch = allowHostNameCNMismatch; + AllowSelfSignedServerCert = allowSelfSignedServerCert; + EncryptedCredential = encryptedCredential; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the IP address or host name of the HBase server. (i.e. + /// 192.168.222.160) + /// + [JsonProperty(PropertyName = "typeProperties.host")] + public object Host { get; set; } + + /// + /// Gets or sets the TCP port that the HBase instance uses to listen + /// for client connections. The default value is 9090. + /// + [JsonProperty(PropertyName = "typeProperties.port")] + public object Port { get; set; } + + /// + /// Gets or sets the partial URL corresponding to the HBase server. + /// (i.e. /gateway/sandbox/hbase/version) + /// + [JsonProperty(PropertyName = "typeProperties.httpPath")] + public object HttpPath { get; set; } + + /// + /// Gets or sets the authentication mechanism to use to connect to the + /// HBase server. Possible values include: 'Anonymous', 'Basic' + /// + [JsonProperty(PropertyName = "typeProperties.authenticationType")] + public string AuthenticationType { get; set; } + + /// + /// Gets or sets the user name used to connect to the HBase instance. + /// + [JsonProperty(PropertyName = "typeProperties.username")] + public object Username { get; set; } + + /// + /// Gets or sets the password corresponding to the user name. + /// + [JsonProperty(PropertyName = "typeProperties.password")] + public SecretBase Password { get; set; } + + /// + /// Gets or sets specifies whether the connections to the server are + /// encrypted using SSL. The default value is false. + /// + [JsonProperty(PropertyName = "typeProperties.enableSsl")] + public object EnableSsl { get; set; } + + /// + /// Gets or sets 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. + /// + [JsonProperty(PropertyName = "typeProperties.trustedCertPath")] + public object TrustedCertPath { get; set; } + + /// + /// Gets or sets specifies whether to require a CA-issued SSL + /// certificate name to match the host name of the server when + /// connecting over SSL. The default value is false. + /// + [JsonProperty(PropertyName = "typeProperties.allowHostNameCNMismatch")] + public object AllowHostNameCNMismatch { get; set; } + + /// + /// Gets or sets specifies whether to allow self-signed certificates + /// from the server. The default value is false. + /// + [JsonProperty(PropertyName = "typeProperties.allowSelfSignedServerCert")] + public object AllowSelfSignedServerCert { get; set; } + + /// + /// Gets or sets the encrypted credential used for authentication. + /// Credentials are encrypted using the integration runtime credential + /// manager. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.encryptedCredential")] + public object EncryptedCredential { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (Host == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Host"); + } + if (AuthenticationType == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "AuthenticationType"); + } + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HBaseObjectDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HBaseObjectDataset.cs new file mode 100644 index 000000000000..b12ec1b060ec --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HBaseObjectDataset.cs @@ -0,0 +1,66 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// HBase server dataset. + /// + [Newtonsoft.Json.JsonObject("HBaseObject")] + public partial class HBaseObjectDataset : Dataset + { + /// + /// Initializes a new instance of the HBaseObjectDataset class. + /// + public HBaseObjectDataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the HBaseObjectDataset class. + /// + /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// Parameters for dataset. + public HBaseObjectDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) + { + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HBaseSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HBaseSource.cs new file mode 100644 index 000000000000..24acd39fc9bb --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HBaseSource.cs @@ -0,0 +1,63 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity HBase server source. + /// + public partial class HBaseSource : CopySource + { + /// + /// Initializes a new instance of the HBaseSource class. + /// + public HBaseSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the HBaseSource class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Source retry count. Type: integer + /// (or Expression with resultType integer). + /// Source retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// A query to retrieve data from source. Type: + /// string (or Expression with resultType string). + public HBaseSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) + { + Query = query; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets a query to retrieve data from source. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "query")] + public object Query { get; set; } + + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightHiveActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightHiveActivity.cs index 02a89e142ab0..dcdc0c6fe042 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightHiveActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightHiveActivity.cs @@ -36,6 +36,8 @@ public HDInsightHiveActivity() /// Initializes a new instance of the HDInsightHiveActivity class. /// /// Activity name. + /// Unmatched properties from the + /// message are deserialized this collection /// Activity description. /// Activity depends on condition. /// Linked service reference. @@ -52,8 +54,8 @@ public HDInsightHiveActivity() /// reference. /// Allows user to specify defines for Hive job /// request. - public HDInsightHiveActivity(string name, string description = default(string), IList dependsOn = default(IList), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), ActivityPolicy policy = default(ActivityPolicy), IList storageLinkedServices = default(IList), IList arguments = default(IList), string getDebugInfo = default(string), object scriptPath = default(object), LinkedServiceReference scriptLinkedService = default(LinkedServiceReference), IDictionary defines = default(IDictionary)) - : base(name, description, dependsOn, linkedServiceName, policy) + public HDInsightHiveActivity(string name, IDictionary additionalProperties = default(IDictionary), string description = default(string), IList dependsOn = default(IList), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), ActivityPolicy policy = default(ActivityPolicy), IList storageLinkedServices = default(IList), IList arguments = default(IList), string getDebugInfo = default(string), object scriptPath = default(object), LinkedServiceReference scriptLinkedService = default(LinkedServiceReference), IDictionary defines = default(IDictionary)) + : base(name, additionalProperties, description, dependsOn, linkedServiceName, policy) { StorageLinkedServices = storageLinkedServices; Arguments = arguments; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightLinkedService.cs index 6d21fc91c74c..e4aca83d5a14 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightLinkedService.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -35,6 +37,8 @@ public HDInsightLinkedService() /// /// HDInsight cluster URI. Type: string (or /// Expression with resultType string). + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. /// HDInsight cluster user name. Type: string @@ -48,8 +52,8 @@ public HDInsightLinkedService() /// authentication. Credentials are encrypted using the integration /// runtime credential manager. Type: string (or Expression with /// resultType string). - public HDInsightLinkedService(object clusterUri, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object userName = default(object), SecureString password = default(SecureString), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), LinkedServiceReference hcatalogLinkedServiceName = default(LinkedServiceReference), object encryptedCredential = default(object)) - : base(connectVia, description) + public HDInsightLinkedService(object clusterUri, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object userName = default(object), SecureString password = default(SecureString), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), LinkedServiceReference hcatalogLinkedServiceName = default(LinkedServiceReference), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) { ClusterUri = clusterUri; UserName = userName; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightMapReduceActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightMapReduceActivity.cs index 01f37e4f8519..7a9d22dcca3e 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightMapReduceActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightMapReduceActivity.cs @@ -40,6 +40,8 @@ public HDInsightMapReduceActivity() /// with resultType string). /// Jar path. Type: string (or Expression /// with resultType string). + /// Unmatched properties from the + /// message are deserialized this collection /// Activity description. /// Activity depends on condition. /// Linked service reference. @@ -55,8 +57,8 @@ public HDInsightMapReduceActivity() /// Jar libs. /// Allows user to specify defines for the /// MapReduce job request. - public HDInsightMapReduceActivity(string name, object className, object jarFilePath, string description = default(string), IList dependsOn = default(IList), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), ActivityPolicy policy = default(ActivityPolicy), IList storageLinkedServices = default(IList), IList arguments = default(IList), string getDebugInfo = default(string), LinkedServiceReference jarLinkedService = default(LinkedServiceReference), IList jarLibs = default(IList), IDictionary defines = default(IDictionary)) - : base(name, description, dependsOn, linkedServiceName, policy) + public HDInsightMapReduceActivity(string name, object className, object jarFilePath, IDictionary additionalProperties = default(IDictionary), string description = default(string), IList dependsOn = default(IList), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), ActivityPolicy policy = default(ActivityPolicy), IList storageLinkedServices = default(IList), IList arguments = default(IList), string getDebugInfo = default(string), LinkedServiceReference jarLinkedService = default(LinkedServiceReference), IList jarLibs = default(IList), IDictionary defines = default(IDictionary)) + : base(name, additionalProperties, description, dependsOn, linkedServiceName, policy) { StorageLinkedServices = storageLinkedServices; Arguments = arguments; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightOnDemandLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightOnDemandLinkedService.cs index 00d79de9ebb7..00f9c5f40ba0 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightOnDemandLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightOnDemandLinkedService.cs @@ -60,6 +60,8 @@ public HDInsightOnDemandLinkedService() /// The resource group where the /// cluster belongs. Type: string (or Expression with resultType /// string). + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. /// The service principal id for the @@ -113,8 +115,8 @@ public HDInsightOnDemandLinkedService() /// authentication. Credentials are encrypted using the integration /// runtime credential manager. Type: string (or Expression with /// resultType string). - public HDInsightOnDemandLinkedService(object clusterSize, object timeToLive, object version, LinkedServiceReference linkedServiceName, object hostSubscriptionId, object tenant, object clusterResourceGroup, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object servicePrincipalId = default(object), SecureString servicePrincipalKey = default(SecureString), object clusterNamePrefix = default(object), object clusterUserName = default(object), SecureString clusterPassword = default(SecureString), object clusterSshUserName = default(object), SecureString clusterSshPassword = default(SecureString), IList additionalLinkedServiceNames = default(IList), LinkedServiceReference hcatalogLinkedServiceName = default(LinkedServiceReference), object clusterType = default(object), object sparkVersion = default(object), object coreConfiguration = default(object), object hBaseConfiguration = default(object), object hdfsConfiguration = default(object), object hiveConfiguration = default(object), object mapReduceConfiguration = default(object), object oozieConfiguration = default(object), object stormConfiguration = default(object), object yarnConfiguration = default(object), object encryptedCredential = default(object)) - : base(connectVia, description) + public HDInsightOnDemandLinkedService(object clusterSize, object timeToLive, object version, LinkedServiceReference linkedServiceName, object hostSubscriptionId, object tenant, object clusterResourceGroup, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object servicePrincipalId = default(object), SecureString servicePrincipalKey = default(SecureString), object clusterNamePrefix = default(object), object clusterUserName = default(object), SecureString clusterPassword = default(SecureString), object clusterSshUserName = default(object), SecureString clusterSshPassword = default(SecureString), IList additionalLinkedServiceNames = default(IList), LinkedServiceReference hcatalogLinkedServiceName = default(LinkedServiceReference), object clusterType = default(object), object sparkVersion = default(object), object coreConfiguration = default(object), object hBaseConfiguration = default(object), object hdfsConfiguration = default(object), object hiveConfiguration = default(object), object mapReduceConfiguration = default(object), object oozieConfiguration = default(object), object stormConfiguration = default(object), object yarnConfiguration = default(object), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) { ClusterSize = clusterSize; TimeToLive = timeToLive; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightPigActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightPigActivity.cs index 16e4a2c939ba..f26d6b4b8c1a 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightPigActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightPigActivity.cs @@ -36,6 +36,8 @@ public HDInsightPigActivity() /// Initializes a new instance of the HDInsightPigActivity class. /// /// Activity name. + /// Unmatched properties from the + /// message are deserialized this collection /// Activity description. /// Activity depends on condition. /// Linked service reference. @@ -52,8 +54,8 @@ public HDInsightPigActivity() /// reference. /// Allows user to specify defines for Pig job /// request. - public HDInsightPigActivity(string name, string description = default(string), IList dependsOn = default(IList), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), ActivityPolicy policy = default(ActivityPolicy), IList storageLinkedServices = default(IList), IList arguments = default(IList), string getDebugInfo = default(string), object scriptPath = default(object), LinkedServiceReference scriptLinkedService = default(LinkedServiceReference), IDictionary defines = default(IDictionary)) - : base(name, description, dependsOn, linkedServiceName, policy) + public HDInsightPigActivity(string name, IDictionary additionalProperties = default(IDictionary), string description = default(string), IList dependsOn = default(IList), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), ActivityPolicy policy = default(ActivityPolicy), IList storageLinkedServices = default(IList), IList arguments = default(IList), string getDebugInfo = default(string), object scriptPath = default(object), LinkedServiceReference scriptLinkedService = default(LinkedServiceReference), IDictionary defines = default(IDictionary)) + : base(name, additionalProperties, description, dependsOn, linkedServiceName, policy) { StorageLinkedServices = storageLinkedServices; Arguments = arguments; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightSparkActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightSparkActivity.cs index 8033bace30d3..d8669f52c86f 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightSparkActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightSparkActivity.cs @@ -42,6 +42,8 @@ public HDInsightSparkActivity() /// The relative path to the root folder of /// the code/package to be executed. Type: string (or Expression with /// resultType string). + /// Unmatched properties from the + /// message are deserialized this collection /// Activity description. /// Activity depends on condition. /// Linked service reference. @@ -59,8 +61,8 @@ public HDInsightSparkActivity() /// the job. Type: string (or Expression with resultType /// string). /// Spark configuration property. - public HDInsightSparkActivity(string name, object rootPath, object entryFilePath, string description = default(string), IList dependsOn = default(IList), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), ActivityPolicy policy = default(ActivityPolicy), IList arguments = default(IList), string getDebugInfo = default(string), LinkedServiceReference sparkJobLinkedService = default(LinkedServiceReference), string className = default(string), object proxyUser = default(object), IDictionary sparkConfig = default(IDictionary)) - : base(name, description, dependsOn, linkedServiceName, policy) + public HDInsightSparkActivity(string name, object rootPath, object entryFilePath, IDictionary additionalProperties = default(IDictionary), string description = default(string), IList dependsOn = default(IList), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), ActivityPolicy policy = default(ActivityPolicy), IList arguments = default(IList), string getDebugInfo = default(string), LinkedServiceReference sparkJobLinkedService = default(LinkedServiceReference), string className = default(string), object proxyUser = default(object), IDictionary sparkConfig = default(IDictionary)) + : base(name, additionalProperties, description, dependsOn, linkedServiceName, policy) { RootPath = rootPath; EntryFilePath = entryFilePath; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightStreamingActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightStreamingActivity.cs index 0cff4bcee507..fb456ff9ba09 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightStreamingActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightStreamingActivity.cs @@ -46,6 +46,8 @@ public HDInsightStreamingActivity() /// with resultType string). /// Paths to streaming job files. Can be /// directories. + /// Unmatched properties from the + /// message are deserialized this collection /// Activity description. /// Activity depends on condition. /// Linked service reference. @@ -64,8 +66,8 @@ public HDInsightStreamingActivity() /// values. /// Allows user to specify defines for streaming /// job request. - public HDInsightStreamingActivity(string name, object mapper, object reducer, object input, object output, IList filePaths, string description = default(string), IList dependsOn = default(IList), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), ActivityPolicy policy = default(ActivityPolicy), IList storageLinkedServices = default(IList), IList arguments = default(IList), string getDebugInfo = default(string), LinkedServiceReference fileLinkedService = default(LinkedServiceReference), object combiner = default(object), IList commandEnvironment = default(IList), IDictionary defines = default(IDictionary)) - : base(name, description, dependsOn, linkedServiceName, policy) + public HDInsightStreamingActivity(string name, object mapper, object reducer, object input, object output, IList filePaths, IDictionary additionalProperties = default(IDictionary), string description = default(string), IList dependsOn = default(IList), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), ActivityPolicy policy = default(ActivityPolicy), IList storageLinkedServices = default(IList), IList arguments = default(IList), string getDebugInfo = default(string), LinkedServiceReference fileLinkedService = default(LinkedServiceReference), object combiner = default(object), IList commandEnvironment = default(IList), IDictionary defines = default(IDictionary)) + : base(name, additionalProperties, description, dependsOn, linkedServiceName, policy) { StorageLinkedServices = storageLinkedServices; Arguments = arguments; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HdfsLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HdfsLinkedService.cs index b8c5cd3f4fd9..e10ce38333b7 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HdfsLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HdfsLinkedService.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -36,6 +38,8 @@ public HdfsLinkedService() /// The URL of the HDFS service endpoint, e.g. /// http://myhostname:50070/webhdfs/v1 . Type: string (or Expression /// with resultType string). + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. /// Type of authentication used to @@ -48,8 +52,8 @@ public HdfsLinkedService() /// User name for Windows authentication. Type: /// string (or Expression with resultType string). /// Password for Windows authentication. - public HdfsLinkedService(object url, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object authenticationType = default(object), object encryptedCredential = default(object), object userName = default(object), SecureString password = default(SecureString)) - : base(connectVia, description) + public HdfsLinkedService(object url, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object authenticationType = default(object), object encryptedCredential = default(object), object userName = default(object), SecureString password = default(SecureString)) + : base(additionalProperties, connectVia, description) { Url = url; AuthenticationType = authenticationType; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HdfsSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HdfsSource.cs index be58508cd53f..b059e834aa88 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HdfsSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HdfsSource.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,6 +31,8 @@ public HdfsSource() /// /// Initializes a new instance of the HdfsSource class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Source retry count. Type: integer /// (or Expression with resultType integer). /// Source retry wait. Type: string (or @@ -39,8 +43,8 @@ public HdfsSource() /// with resultType boolean). /// Specifies Distcp-related /// settings. - public HdfsSource(object sourceRetryCount = default(object), object sourceRetryWait = default(object), object recursive = default(object), DistcpSettings distcpSettings = default(DistcpSettings)) - : base(sourceRetryCount, sourceRetryWait) + public HdfsSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object recursive = default(object), DistcpSettings distcpSettings = default(DistcpSettings)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) { Recursive = recursive; DistcpSettings = distcpSettings; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HiveAuthenticationType.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HiveAuthenticationType.cs new file mode 100644 index 000000000000..9fd38bd5adcf --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HiveAuthenticationType.cs @@ -0,0 +1,24 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + + /// + /// Defines values for HiveAuthenticationType. + /// + public static class HiveAuthenticationType + { + public const string Anonymous = "Anonymous"; + public const string Username = "Username"; + public const string UsernameAndPassword = "UsernameAndPassword"; + public const string WindowsAzureHDInsightService = "WindowsAzureHDInsightService"; + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HiveLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HiveLinkedService.cs new file mode 100644 index 000000000000..c22945beb375 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HiveLinkedService.cs @@ -0,0 +1,261 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Hive Server linked service. + /// + [Newtonsoft.Json.JsonObject("Hive")] + [Rest.Serialization.JsonTransformation] + public partial class HiveLinkedService : LinkedService + { + /// + /// Initializes a new instance of the HiveLinkedService class. + /// + public HiveLinkedService() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the HiveLinkedService class. + /// + /// IP address or host name of the Hive server, + /// separated by ';' for multiple hosts (only when serviceDiscoveryMode + /// is enable). + /// The authentication method used to + /// access the Hive server. Possible values include: 'Anonymous', + /// 'Username', 'UsernameAndPassword', + /// 'WindowsAzureHDInsightService' + /// Unmatched properties from the + /// message are deserialized this collection + /// The integration runtime reference. + /// Linked service description. + /// The TCP port that the Hive server uses to listen + /// for client connections. + /// The type of Hive server. Possible values + /// include: 'HiveServer1', 'HiveServer2', 'HiveThriftServer' + /// The transport protocol to use + /// in the Thrift layer. Possible values include: 'Binary', 'SASL', + /// 'HTTP ' + /// true to indicate using the + /// ZooKeeper service, false not. + /// The namespace on ZooKeeper under + /// which Hive Server 2 nodes are added. + /// Specifies whether the driver uses + /// native HiveQL queries,or converts them into an equivalent form in + /// HiveQL. + /// The user name that you use to access Hive + /// Server. + /// The password corresponding to the user name + /// that you provided in the Username field + /// The partial URL corresponding to the Hive + /// server. + /// Specifies whether the connections to the + /// server are encrypted using SSL. The default value is false. + /// 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. + /// Specifies whether to use a CA + /// certificate from the system trust store or from a specified PEM + /// file. The default value is false. + /// Specifies whether to require + /// a CA-issued SSL certificate name to match the host name of the + /// server when connecting over SSL. The default value is + /// false. + /// Specifies whether to allow + /// self-signed certificates from the server. The default value is + /// false. + /// The encrypted credential used for + /// authentication. Credentials are encrypted using the integration + /// runtime credential manager. Type: string (or Expression with + /// resultType string). + public HiveLinkedService(object host, string authenticationType, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object port = default(object), string serverType = default(string), string thriftTransportProtocol = default(string), object serviceDiscoveryMode = default(object), object zooKeeperNameSpace = default(object), object useNativeQuery = default(object), object username = default(object), SecretBase password = default(SecretBase), object httpPath = default(object), object enableSsl = default(object), object trustedCertPath = default(object), object useSystemTrustStore = default(object), object allowHostNameCNMismatch = default(object), object allowSelfSignedServerCert = default(object), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) + { + Host = host; + Port = port; + ServerType = serverType; + ThriftTransportProtocol = thriftTransportProtocol; + AuthenticationType = authenticationType; + ServiceDiscoveryMode = serviceDiscoveryMode; + ZooKeeperNameSpace = zooKeeperNameSpace; + UseNativeQuery = useNativeQuery; + Username = username; + Password = password; + HttpPath = httpPath; + EnableSsl = enableSsl; + TrustedCertPath = trustedCertPath; + UseSystemTrustStore = useSystemTrustStore; + AllowHostNameCNMismatch = allowHostNameCNMismatch; + AllowSelfSignedServerCert = allowSelfSignedServerCert; + EncryptedCredential = encryptedCredential; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets IP address or host name of the Hive server, separated + /// by ';' for multiple hosts (only when serviceDiscoveryMode is + /// enable). + /// + [JsonProperty(PropertyName = "typeProperties.host")] + public object Host { get; set; } + + /// + /// Gets or sets the TCP port that the Hive server uses to listen for + /// client connections. + /// + [JsonProperty(PropertyName = "typeProperties.port")] + public object Port { get; set; } + + /// + /// Gets or sets the type of Hive server. Possible values include: + /// 'HiveServer1', 'HiveServer2', 'HiveThriftServer' + /// + [JsonProperty(PropertyName = "typeProperties.serverType")] + public string ServerType { get; set; } + + /// + /// Gets or sets the transport protocol to use in the Thrift layer. + /// Possible values include: 'Binary', 'SASL', 'HTTP ' + /// + [JsonProperty(PropertyName = "typeProperties.thriftTransportProtocol")] + public string ThriftTransportProtocol { get; set; } + + /// + /// Gets or sets the authentication method used to access the Hive + /// server. Possible values include: 'Anonymous', 'Username', + /// 'UsernameAndPassword', 'WindowsAzureHDInsightService' + /// + [JsonProperty(PropertyName = "typeProperties.authenticationType")] + public string AuthenticationType { get; set; } + + /// + /// Gets or sets true to indicate using the ZooKeeper service, false + /// not. + /// + [JsonProperty(PropertyName = "typeProperties.serviceDiscoveryMode")] + public object ServiceDiscoveryMode { get; set; } + + /// + /// Gets or sets the namespace on ZooKeeper under which Hive Server 2 + /// nodes are added. + /// + [JsonProperty(PropertyName = "typeProperties.zooKeeperNameSpace")] + public object ZooKeeperNameSpace { get; set; } + + /// + /// Gets or sets specifies whether the driver uses native HiveQL + /// queries,or converts them into an equivalent form in HiveQL. + /// + [JsonProperty(PropertyName = "typeProperties.useNativeQuery")] + public object UseNativeQuery { get; set; } + + /// + /// Gets or sets the user name that you use to access Hive Server. + /// + [JsonProperty(PropertyName = "typeProperties.username")] + public object Username { get; set; } + + /// + /// Gets or sets the password corresponding to the user name that you + /// provided in the Username field + /// + [JsonProperty(PropertyName = "typeProperties.password")] + public SecretBase Password { get; set; } + + /// + /// Gets or sets the partial URL corresponding to the Hive server. + /// + [JsonProperty(PropertyName = "typeProperties.httpPath")] + public object HttpPath { get; set; } + + /// + /// Gets or sets specifies whether the connections to the server are + /// encrypted using SSL. The default value is false. + /// + [JsonProperty(PropertyName = "typeProperties.enableSsl")] + public object EnableSsl { get; set; } + + /// + /// Gets or sets 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. + /// + [JsonProperty(PropertyName = "typeProperties.trustedCertPath")] + public object TrustedCertPath { get; set; } + + /// + /// Gets or sets specifies whether to use a CA certificate from the + /// system trust store or from a specified PEM file. The default value + /// is false. + /// + [JsonProperty(PropertyName = "typeProperties.useSystemTrustStore")] + public object UseSystemTrustStore { get; set; } + + /// + /// Gets or sets specifies whether to require a CA-issued SSL + /// certificate name to match the host name of the server when + /// connecting over SSL. The default value is false. + /// + [JsonProperty(PropertyName = "typeProperties.allowHostNameCNMismatch")] + public object AllowHostNameCNMismatch { get; set; } + + /// + /// Gets or sets specifies whether to allow self-signed certificates + /// from the server. The default value is false. + /// + [JsonProperty(PropertyName = "typeProperties.allowSelfSignedServerCert")] + public object AllowSelfSignedServerCert { get; set; } + + /// + /// Gets or sets the encrypted credential used for authentication. + /// Credentials are encrypted using the integration runtime credential + /// manager. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.encryptedCredential")] + public object EncryptedCredential { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (Host == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Host"); + } + if (AuthenticationType == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "AuthenticationType"); + } + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HiveObjectDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HiveObjectDataset.cs new file mode 100644 index 000000000000..0a5eb273187f --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HiveObjectDataset.cs @@ -0,0 +1,66 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Hive Server dataset. + /// + [Newtonsoft.Json.JsonObject("HiveObject")] + public partial class HiveObjectDataset : Dataset + { + /// + /// Initializes a new instance of the HiveObjectDataset class. + /// + public HiveObjectDataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the HiveObjectDataset class. + /// + /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// Parameters for dataset. + public HiveObjectDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) + { + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HiveServerType.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HiveServerType.cs new file mode 100644 index 000000000000..9b946af73a4b --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HiveServerType.cs @@ -0,0 +1,23 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + + /// + /// Defines values for HiveServerType. + /// + public static class HiveServerType + { + public const string HiveServer1 = "HiveServer1"; + public const string HiveServer2 = "HiveServer2"; + public const string HiveThriftServer = "HiveThriftServer"; + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HiveSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HiveSource.cs new file mode 100644 index 000000000000..2fa17ab83216 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HiveSource.cs @@ -0,0 +1,63 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity Hive Server source. + /// + public partial class HiveSource : CopySource + { + /// + /// Initializes a new instance of the HiveSource class. + /// + public HiveSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the HiveSource class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Source retry count. Type: integer + /// (or Expression with resultType integer). + /// Source retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// A query to retrieve data from source. Type: + /// string (or Expression with resultType string). + public HiveSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) + { + Query = query; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets a query to retrieve data from source. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "query")] + public object Query { get; set; } + + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HiveThriftTransportProtocol.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HiveThriftTransportProtocol.cs new file mode 100644 index 000000000000..3feb563a97c4 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HiveThriftTransportProtocol.cs @@ -0,0 +1,23 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + + /// + /// Defines values for HiveThriftTransportProtocol. + /// + public static class HiveThriftTransportProtocol + { + public const string Binary = "Binary"; + public const string SASL = "SASL"; + public const string HTTP = "HTTP "; + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HttpDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HttpDataset.cs index 252e0a1f2906..6d2f1b5fdcca 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HttpDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HttpDataset.cs @@ -37,6 +37,8 @@ public HttpDataset() /// Initializes a new instance of the HttpDataset class. /// /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection /// Dataset description. /// Columns that define the structure of the /// dataset. Type: array (or Expression with resultType array), @@ -57,8 +59,8 @@ public HttpDataset() /// The format of files. /// The data compression method used on /// files. - public HttpDataset(LinkedServiceReference linkedServiceName, string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary), object relativeUrl = default(object), object requestMethod = default(object), object requestBody = default(object), object additionalHeaders = default(object), DatasetStorageFormat format = default(DatasetStorageFormat), DatasetCompression compression = default(DatasetCompression)) - : base(linkedServiceName, description, structure, parameters) + public HttpDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary), object relativeUrl = default(object), object requestMethod = default(object), object requestBody = default(object), object additionalHeaders = default(object), DatasetStorageFormat format = default(DatasetStorageFormat), DatasetCompression compression = default(DatasetCompression)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) { RelativeUrl = relativeUrl; RequestMethod = requestMethod; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HttpLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HttpLinkedService.cs index 1342d6189609..5448af257439 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HttpLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HttpLinkedService.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -36,6 +38,8 @@ public HttpLinkedService() /// The base URL of the HTTP endpoint, e.g. /// http://www.microsoft.com. Type: string (or Expression with /// resultType string). + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. /// The authentication type to be used @@ -63,8 +67,8 @@ public HttpLinkedService() /// If true, validate /// the HTTPS server SSL certificate. Default value is true. Type: /// boolean (or Expression with resultType boolean). - public HttpLinkedService(object url, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), string authenticationType = default(string), object userName = default(object), SecureString password = default(SecureString), object embeddedCertData = default(object), object certThumbprint = default(object), object encryptedCredential = default(object), object enableServerCertificateValidation = default(object)) - : base(connectVia, description) + public HttpLinkedService(object url, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), string authenticationType = default(string), object userName = default(object), SecureString password = default(SecureString), object embeddedCertData = default(object), object certThumbprint = default(object), object encryptedCredential = default(object), object enableServerCertificateValidation = default(object)) + : base(additionalProperties, connectVia, description) { Url = url; AuthenticationType = authenticationType; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HttpSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HttpSource.cs index 367bc839fae1..106e29480d75 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HttpSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HttpSource.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,6 +31,8 @@ public HttpSource() /// /// Initializes a new instance of the HttpSource class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Source retry count. Type: integer /// (or Expression with resultType integer). /// Source retry wait. Type: string (or @@ -39,8 +43,8 @@ public HttpSource() /// equivalent to System.Net.HttpWebRequest.Timeout. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - public HttpSource(object sourceRetryCount = default(object), object sourceRetryWait = default(object), object httpRequestTimeout = default(object)) - : base(sourceRetryCount, sourceRetryWait) + public HttpSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object httpRequestTimeout = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) { HttpRequestTimeout = httpRequestTimeout; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HubspotLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HubspotLinkedService.cs new file mode 100644 index 000000000000..b0182ae74763 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HubspotLinkedService.cs @@ -0,0 +1,155 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Hubspot Serivce linked service. + /// + [Newtonsoft.Json.JsonObject("Hubspot")] + [Rest.Serialization.JsonTransformation] + public partial class HubspotLinkedService : LinkedService + { + /// + /// Initializes a new instance of the HubspotLinkedService class. + /// + public HubspotLinkedService() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the HubspotLinkedService class. + /// + /// The client ID associated with your Hubspot + /// application. + /// Unmatched properties from the + /// message are deserialized this collection + /// The integration runtime reference. + /// Linked service description. + /// The client secret associated with your + /// Hubspot application. + /// The access token obtained when initially + /// authenticating your OAuth integration. + /// The refresh token obtained when + /// initially authenticating your OAuth integration. + /// Specifies whether the data + /// source endpoints are encrypted using HTTPS. The default value is + /// true. + /// Specifies whether to require the + /// host name in the server's certificate to match the host name of the + /// server when connecting over SSL. The default value is true. + /// Specifies whether to verify the + /// identity of the server when connecting over SSL. The default value + /// is true. + /// The encrypted credential used for + /// authentication. Credentials are encrypted using the integration + /// runtime credential manager. Type: string (or Expression with + /// resultType string). + public HubspotLinkedService(object clientId, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), SecretBase clientSecret = default(SecretBase), SecretBase accessToken = default(SecretBase), SecretBase refreshToken = default(SecretBase), object useEncryptedEndpoints = default(object), object useHostVerification = default(object), object usePeerVerification = default(object), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) + { + ClientId = clientId; + ClientSecret = clientSecret; + AccessToken = accessToken; + RefreshToken = refreshToken; + UseEncryptedEndpoints = useEncryptedEndpoints; + UseHostVerification = useHostVerification; + UsePeerVerification = usePeerVerification; + EncryptedCredential = encryptedCredential; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the client ID associated with your Hubspot + /// application. + /// + [JsonProperty(PropertyName = "typeProperties.clientId")] + public object ClientId { get; set; } + + /// + /// Gets or sets the client secret associated with your Hubspot + /// application. + /// + [JsonProperty(PropertyName = "typeProperties.clientSecret")] + public SecretBase ClientSecret { get; set; } + + /// + /// Gets or sets the access token obtained when initially + /// authenticating your OAuth integration. + /// + [JsonProperty(PropertyName = "typeProperties.accessToken")] + public SecretBase AccessToken { get; set; } + + /// + /// Gets or sets the refresh token obtained when initially + /// authenticating your OAuth integration. + /// + [JsonProperty(PropertyName = "typeProperties.refreshToken")] + public SecretBase RefreshToken { get; set; } + + /// + /// Gets or sets specifies whether the data source endpoints are + /// encrypted using HTTPS. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.useEncryptedEndpoints")] + public object UseEncryptedEndpoints { get; set; } + + /// + /// Gets or sets specifies whether to require the host name in the + /// server's certificate to match the host name of the server when + /// connecting over SSL. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.useHostVerification")] + public object UseHostVerification { get; set; } + + /// + /// Gets or sets specifies whether to verify the identity of the server + /// when connecting over SSL. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.usePeerVerification")] + public object UsePeerVerification { get; set; } + + /// + /// Gets or sets the encrypted credential used for authentication. + /// Credentials are encrypted using the integration runtime credential + /// manager. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.encryptedCredential")] + public object EncryptedCredential { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (ClientId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ClientId"); + } + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HubspotObjectDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HubspotObjectDataset.cs new file mode 100644 index 000000000000..361b288bec91 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HubspotObjectDataset.cs @@ -0,0 +1,66 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Hubspot Serivce dataset. + /// + [Newtonsoft.Json.JsonObject("HubspotObject")] + public partial class HubspotObjectDataset : Dataset + { + /// + /// Initializes a new instance of the HubspotObjectDataset class. + /// + public HubspotObjectDataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the HubspotObjectDataset class. + /// + /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// Parameters for dataset. + public HubspotObjectDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) + { + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HubspotSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HubspotSource.cs new file mode 100644 index 000000000000..54af3d2f610c --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HubspotSource.cs @@ -0,0 +1,63 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity Hubspot Serivce source. + /// + public partial class HubspotSource : CopySource + { + /// + /// Initializes a new instance of the HubspotSource class. + /// + public HubspotSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the HubspotSource class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Source retry count. Type: integer + /// (or Expression with resultType integer). + /// Source retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// A query to retrieve data from source. Type: + /// string (or Expression with resultType string). + public HubspotSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) + { + Query = query; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets a query to retrieve data from source. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "query")] + public object Query { get; set; } + + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IfConditionActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IfConditionActivity.cs index 8d3730d7e7e7..d3d3115fab88 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IfConditionActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IfConditionActivity.cs @@ -43,6 +43,8 @@ public IfConditionActivity() /// Boolean. This is used to determine the block of activities /// (ifTrueActivities or ifFalseActivities) that will be /// executed. + /// Unmatched properties from the + /// message are deserialized this collection /// Activity description. /// Activity depends on condition. /// List of activities to execute if @@ -51,8 +53,8 @@ public IfConditionActivity() /// List of activities to execute if /// expression is evaluated to false. This is an optional property and /// if not provided, the activity will exit without any action. - public IfConditionActivity(string name, Expression expression, string description = default(string), IList dependsOn = default(IList), IList ifTrueActivities = default(IList), IList ifFalseActivities = default(IList)) - : base(name, description, dependsOn) + public IfConditionActivity(string name, Expression expression, IDictionary additionalProperties = default(IDictionary), string description = default(string), IList dependsOn = default(IList), IList ifTrueActivities = default(IList), IList ifFalseActivities = default(IList)) + : base(name, additionalProperties, description, dependsOn) { Expression = expression; IfTrueActivities = ifTrueActivities; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ImpalaAuthenticationType.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ImpalaAuthenticationType.cs new file mode 100644 index 000000000000..bf0ff7a6737a --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ImpalaAuthenticationType.cs @@ -0,0 +1,23 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + + /// + /// Defines values for ImpalaAuthenticationType. + /// + public static class ImpalaAuthenticationType + { + public const string Anonymous = "Anonymous"; + public const string SASLUsername = "SASLUsername"; + public const string UsernameAndPassword = "UsernameAndPassword"; + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ImpalaLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ImpalaLinkedService.cs new file mode 100644 index 000000000000..e24ca142e857 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ImpalaLinkedService.cs @@ -0,0 +1,198 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Impala server linked service. + /// + [Newtonsoft.Json.JsonObject("Impala")] + [Rest.Serialization.JsonTransformation] + public partial class ImpalaLinkedService : LinkedService + { + /// + /// Initializes a new instance of the ImpalaLinkedService class. + /// + public ImpalaLinkedService() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ImpalaLinkedService class. + /// + /// The IP address or host name of the Impala + /// server. (i.e. 192.168.222.160) + /// The authentication type to use. + /// Possible values include: 'Anonymous', 'SASLUsername', + /// 'UsernameAndPassword' + /// Unmatched properties from the + /// message are deserialized this collection + /// The integration runtime reference. + /// Linked service description. + /// The TCP port that the Impala server uses to + /// listen for client connections. The default value is 21050. + /// The user name used to access the Impala + /// server. The default value is anonymous when using + /// SASLUsername. + /// The password corresponding to the user name + /// when using UsernameAndPassword. + /// Specifies whether the connections to the + /// server are encrypted using SSL. The default value is false. + /// 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. + /// Specifies whether to use a CA + /// certificate from the system trust store or from a specified PEM + /// file. The default value is false. + /// Specifies whether to require + /// a CA-issued SSL certificate name to match the host name of the + /// server when connecting over SSL. The default value is + /// false. + /// Specifies whether to allow + /// self-signed certificates from the server. The default value is + /// false. + /// The encrypted credential used for + /// authentication. Credentials are encrypted using the integration + /// runtime credential manager. Type: string (or Expression with + /// resultType string). + public ImpalaLinkedService(object host, string authenticationType, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object port = default(object), object username = default(object), SecretBase password = default(SecretBase), object enableSsl = default(object), object trustedCertPath = default(object), object useSystemTrustStore = default(object), object allowHostNameCNMismatch = default(object), object allowSelfSignedServerCert = default(object), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) + { + Host = host; + Port = port; + AuthenticationType = authenticationType; + Username = username; + Password = password; + EnableSsl = enableSsl; + TrustedCertPath = trustedCertPath; + UseSystemTrustStore = useSystemTrustStore; + AllowHostNameCNMismatch = allowHostNameCNMismatch; + AllowSelfSignedServerCert = allowSelfSignedServerCert; + EncryptedCredential = encryptedCredential; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the IP address or host name of the Impala server. + /// (i.e. 192.168.222.160) + /// + [JsonProperty(PropertyName = "typeProperties.host")] + public object Host { get; set; } + + /// + /// Gets or sets the TCP port that the Impala server uses to listen for + /// client connections. The default value is 21050. + /// + [JsonProperty(PropertyName = "typeProperties.port")] + public object Port { get; set; } + + /// + /// Gets or sets the authentication type to use. Possible values + /// include: 'Anonymous', 'SASLUsername', 'UsernameAndPassword' + /// + [JsonProperty(PropertyName = "typeProperties.authenticationType")] + public string AuthenticationType { get; set; } + + /// + /// Gets or sets the user name used to access the Impala server. The + /// default value is anonymous when using SASLUsername. + /// + [JsonProperty(PropertyName = "typeProperties.username")] + public object Username { get; set; } + + /// + /// Gets or sets the password corresponding to the user name when using + /// UsernameAndPassword. + /// + [JsonProperty(PropertyName = "typeProperties.password")] + public SecretBase Password { get; set; } + + /// + /// Gets or sets specifies whether the connections to the server are + /// encrypted using SSL. The default value is false. + /// + [JsonProperty(PropertyName = "typeProperties.enableSsl")] + public object EnableSsl { get; set; } + + /// + /// Gets or sets 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. + /// + [JsonProperty(PropertyName = "typeProperties.trustedCertPath")] + public object TrustedCertPath { get; set; } + + /// + /// Gets or sets specifies whether to use a CA certificate from the + /// system trust store or from a specified PEM file. The default value + /// is false. + /// + [JsonProperty(PropertyName = "typeProperties.useSystemTrustStore")] + public object UseSystemTrustStore { get; set; } + + /// + /// Gets or sets specifies whether to require a CA-issued SSL + /// certificate name to match the host name of the server when + /// connecting over SSL. The default value is false. + /// + [JsonProperty(PropertyName = "typeProperties.allowHostNameCNMismatch")] + public object AllowHostNameCNMismatch { get; set; } + + /// + /// Gets or sets specifies whether to allow self-signed certificates + /// from the server. The default value is false. + /// + [JsonProperty(PropertyName = "typeProperties.allowSelfSignedServerCert")] + public object AllowSelfSignedServerCert { get; set; } + + /// + /// Gets or sets the encrypted credential used for authentication. + /// Credentials are encrypted using the integration runtime credential + /// manager. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.encryptedCredential")] + public object EncryptedCredential { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (Host == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Host"); + } + if (AuthenticationType == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "AuthenticationType"); + } + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ImpalaObjectDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ImpalaObjectDataset.cs new file mode 100644 index 000000000000..da66415cbb53 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ImpalaObjectDataset.cs @@ -0,0 +1,66 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Impala server dataset. + /// + [Newtonsoft.Json.JsonObject("ImpalaObject")] + public partial class ImpalaObjectDataset : Dataset + { + /// + /// Initializes a new instance of the ImpalaObjectDataset class. + /// + public ImpalaObjectDataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the ImpalaObjectDataset class. + /// + /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// Parameters for dataset. + public ImpalaObjectDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) + { + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ImpalaSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ImpalaSource.cs new file mode 100644 index 000000000000..54742e82b1db --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ImpalaSource.cs @@ -0,0 +1,63 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity Impala server source. + /// + public partial class ImpalaSource : CopySource + { + /// + /// Initializes a new instance of the ImpalaSource class. + /// + public ImpalaSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ImpalaSource class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Source retry count. Type: integer + /// (or Expression with resultType integer). + /// Source retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// A query to retrieve data from source. Type: + /// string (or Expression with resultType string). + public ImpalaSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) + { + Query = query; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets a query to retrieve data from source. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "query")] + public object Query { get; set; } + + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntime.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntime.cs index 795ec61ef993..258558e59854 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntime.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntime.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -30,9 +32,12 @@ public IntegrationRuntime() /// /// Initializes a new instance of the IntegrationRuntime class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Integration runtime description. - public IntegrationRuntime(string description = default(string)) + public IntegrationRuntime(IDictionary additionalProperties = default(IDictionary), string description = default(string)) { + AdditionalProperties = additionalProperties; Description = description; CustomInit(); } @@ -42,6 +47,13 @@ public IntegrationRuntime() /// partial void CustomInit(); + /// + /// Gets or sets unmatched properties from the message are deserialized + /// this collection + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + /// /// Gets or sets integration runtime description. /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeComputeProperties.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeComputeProperties.cs index 9241aac0391c..7ef59ce76888 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeComputeProperties.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeComputeProperties.cs @@ -12,6 +12,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Microsoft.Rest; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -32,6 +34,8 @@ public IntegrationRuntimeComputeProperties() /// Initializes a new instance of the /// IntegrationRuntimeComputeProperties class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// The location for managed integration /// runtime. The supported regions could be found on /// https://docs.microsoft.com/en-us/azure/data-factory/data-factory-data-movement-activities @@ -43,8 +47,9 @@ public IntegrationRuntimeComputeProperties() /// executions count per node for managed integration runtime. /// VNet properties for managed /// integration runtime. - public IntegrationRuntimeComputeProperties(string location = default(string), string nodeSize = default(string), int? numberOfNodes = default(int?), int? maxParallelExecutionsPerNode = default(int?), IntegrationRuntimeVNetProperties vNetProperties = default(IntegrationRuntimeVNetProperties)) + public IntegrationRuntimeComputeProperties(IDictionary additionalProperties = default(IDictionary), string location = default(string), string nodeSize = default(string), int? numberOfNodes = default(int?), int? maxParallelExecutionsPerNode = default(int?), IntegrationRuntimeVNetProperties vNetProperties = default(IntegrationRuntimeVNetProperties)) { + AdditionalProperties = additionalProperties; Location = location; NodeSize = nodeSize; NumberOfNodes = numberOfNodes; @@ -58,6 +63,13 @@ public IntegrationRuntimeComputeProperties() /// partial void CustomInit(); + /// + /// Gets or sets unmatched properties from the message are deserialized + /// this collection + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + /// /// Gets or sets the location for managed integration runtime. The /// supported regions could be found on diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeConnectionInfo.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeConnectionInfo.cs index 4aff77518741..6b5cfcb31f14 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeConnectionInfo.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeConnectionInfo.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -32,6 +34,8 @@ public IntegrationRuntimeConnectionInfo() /// Initializes a new instance of the IntegrationRuntimeConnectionInfo /// class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// The token generated in service. Callers /// use this token to authenticate to integration runtime. /// The integration runtime SSL @@ -45,8 +49,9 @@ public IntegrationRuntimeConnectionInfo() /// runtime. /// Whether the identity /// certificate is expired. - public IntegrationRuntimeConnectionInfo(string serviceToken = default(string), string identityCertThumbprint = default(string), string hostServiceUri = default(string), string version = default(string), string publicKey = default(string), bool? isIdentityCertExprired = default(bool?)) + public IntegrationRuntimeConnectionInfo(IDictionary additionalProperties = default(IDictionary), string serviceToken = default(string), string identityCertThumbprint = default(string), string hostServiceUri = default(string), string version = default(string), string publicKey = default(string), bool? isIdentityCertExprired = default(bool?)) { + AdditionalProperties = additionalProperties; ServiceToken = serviceToken; IdentityCertThumbprint = identityCertThumbprint; HostServiceUri = hostServiceUri; @@ -61,6 +66,13 @@ public IntegrationRuntimeConnectionInfo() /// partial void CustomInit(); + /// + /// Gets or sets unmatched properties from the message are deserialized + /// this collection + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + /// /// Gets the token generated in service. Callers use this token to /// authenticate to integration runtime. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeNodeMonitoringData.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeNodeMonitoringData.cs index d759a656c8bb..d1e3cbaddb0f 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeNodeMonitoringData.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeNodeMonitoringData.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -31,6 +33,8 @@ public IntegrationRuntimeNodeMonitoringData() /// Initializes a new instance of the /// IntegrationRuntimeNodeMonitoringData class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Name of the integration runtime /// node. /// Available memory (MB) on the @@ -47,8 +51,9 @@ public IntegrationRuntimeNodeMonitoringData() /// node. /// Received bytes on the integration /// runtime node. - public IntegrationRuntimeNodeMonitoringData(string nodeName = default(string), int? availableMemoryInMB = default(int?), double? cpuUtilization = default(double?), int? concurrentJobsLimit = default(int?), int? concurrentJobsRunning = default(int?), int? maxConcurrentJobs = default(int?), double? sentBytes = default(double?), double? receivedBytes = default(double?)) + public IntegrationRuntimeNodeMonitoringData(IDictionary additionalProperties = default(IDictionary), string nodeName = default(string), int? availableMemoryInMB = default(int?), double? cpuUtilization = default(double?), int? concurrentJobsLimit = default(int?), int? concurrentJobsRunning = default(int?), int? maxConcurrentJobs = default(int?), double? sentBytes = default(double?), double? receivedBytes = default(double?)) { + AdditionalProperties = additionalProperties; NodeName = nodeName; AvailableMemoryInMB = availableMemoryInMB; CpuUtilization = cpuUtilization; @@ -65,6 +70,13 @@ public IntegrationRuntimeNodeMonitoringData() /// partial void CustomInit(); + /// + /// Gets or sets unmatched properties from the message are deserialized + /// this collection + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + /// /// Gets name of the integration runtime node. /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeRemoveNodeRequest.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeRemoveNodeRequest.cs index ae1588660a10..4d1c9daf9731 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeRemoveNodeRequest.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeRemoveNodeRequest.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -31,9 +33,12 @@ public IntegrationRuntimeRemoveNodeRequest() /// Initializes a new instance of the /// IntegrationRuntimeRemoveNodeRequest class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// The name of the node to be removed. - public IntegrationRuntimeRemoveNodeRequest(string nodeName = default(string)) + public IntegrationRuntimeRemoveNodeRequest(IDictionary additionalProperties = default(IDictionary), string nodeName = default(string)) { + AdditionalProperties = additionalProperties; NodeName = nodeName; CustomInit(); } @@ -43,6 +48,13 @@ public IntegrationRuntimeRemoveNodeRequest() /// partial void CustomInit(); + /// + /// Gets or sets unmatched properties from the message are deserialized + /// this collection + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + /// /// Gets or sets the name of the node to be removed. /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeSsisCatalogInfo.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeSsisCatalogInfo.cs index 552d4ae06199..a5f510142976 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeSsisCatalogInfo.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeSsisCatalogInfo.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -31,6 +33,8 @@ public IntegrationRuntimeSsisCatalogInfo() /// Initializes a new instance of the IntegrationRuntimeSsisCatalogInfo /// class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// The catalog database server /// URL. /// The administrator user name of @@ -42,8 +46,9 @@ public IntegrationRuntimeSsisCatalogInfo() /// https://azure.microsoft.com/en-us/pricing/details/sql-database/. /// Possible values include: 'Basic', 'Standard', 'Premium', /// 'PremiumRS' - public IntegrationRuntimeSsisCatalogInfo(string catalogServerEndpoint = default(string), string catalogAdminUserName = default(string), SecureString catalogAdminPassword = default(SecureString), string catalogPricingTier = default(string)) + public IntegrationRuntimeSsisCatalogInfo(IDictionary additionalProperties = default(IDictionary), string catalogServerEndpoint = default(string), string catalogAdminUserName = default(string), SecureString catalogAdminPassword = default(SecureString), string catalogPricingTier = default(string)) { + AdditionalProperties = additionalProperties; CatalogServerEndpoint = catalogServerEndpoint; CatalogAdminUserName = catalogAdminUserName; CatalogAdminPassword = catalogAdminPassword; @@ -56,6 +61,13 @@ public IntegrationRuntimeSsisCatalogInfo() /// partial void CustomInit(); + /// + /// Gets or sets unmatched properties from the message are deserialized + /// this collection + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + /// /// Gets or sets the catalog database server URL. /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeSsisProperties.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeSsisProperties.cs index 86ffc2a0fe2d..36df5c09ccbf 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeSsisProperties.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeSsisProperties.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -31,10 +33,13 @@ public IntegrationRuntimeSsisProperties() /// Initializes a new instance of the IntegrationRuntimeSsisProperties /// class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Catalog information for managed dedicated /// integration runtime. - public IntegrationRuntimeSsisProperties(IntegrationRuntimeSsisCatalogInfo catalogInfo = default(IntegrationRuntimeSsisCatalogInfo)) + public IntegrationRuntimeSsisProperties(IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeSsisCatalogInfo catalogInfo = default(IntegrationRuntimeSsisCatalogInfo)) { + AdditionalProperties = additionalProperties; CatalogInfo = catalogInfo; CustomInit(); } @@ -44,6 +49,13 @@ public IntegrationRuntimeSsisProperties() /// partial void CustomInit(); + /// + /// Gets or sets unmatched properties from the message are deserialized + /// this collection + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + /// /// Gets or sets catalog information for managed dedicated integration /// runtime. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeStatus.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeStatus.cs index 1f402664d2ae..762e95456fd6 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeStatus.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeStatus.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,12 +31,15 @@ public IntegrationRuntimeStatus() /// /// Initializes a new instance of the IntegrationRuntimeStatus class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// The state of integration runtime. Possible /// values include: 'Initial', 'Stopped', 'Started', 'Starting', /// 'Stopping', 'NeedRegistration', 'Online', 'Limited', /// 'Offline' - public IntegrationRuntimeStatus(string state = default(string)) + public IntegrationRuntimeStatus(IDictionary additionalProperties = default(IDictionary), string state = default(string)) { + AdditionalProperties = additionalProperties; State = state; CustomInit(); } @@ -44,6 +49,13 @@ public IntegrationRuntimeStatus() /// partial void CustomInit(); + /// + /// Gets or sets unmatched properties from the message are deserialized + /// this collection + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + /// /// Gets the state of integration runtime. Possible values include: /// 'Initial', 'Stopped', 'Started', 'Starting', 'Stopping', diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeVNetProperties.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeVNetProperties.cs index 0718eedd8be9..30bfba598f8e 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeVNetProperties.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeVNetProperties.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -31,12 +33,15 @@ public IntegrationRuntimeVNetProperties() /// Initializes a new instance of the IntegrationRuntimeVNetProperties /// class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// The ID of the VNet that this integration /// runtime will join. /// The name of the subnet this integration /// runtime will join. - public IntegrationRuntimeVNetProperties(string vNetId = default(string), string subnet = default(string)) + public IntegrationRuntimeVNetProperties(IDictionary additionalProperties = default(IDictionary), string vNetId = default(string), string subnet = default(string)) { + AdditionalProperties = additionalProperties; VNetId = vNetId; Subnet = subnet; CustomInit(); @@ -47,6 +52,13 @@ public IntegrationRuntimeVNetProperties() /// partial void CustomInit(); + /// + /// Gets or sets unmatched properties from the message are deserialized + /// this collection + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + /// /// Gets or sets the ID of the VNet that this integration runtime will /// join. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/JiraLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/JiraLinkedService.cs new file mode 100644 index 000000000000..1fcd3b0b41f7 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/JiraLinkedService.cs @@ -0,0 +1,160 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Jira Serivce linked service. + /// + [Newtonsoft.Json.JsonObject("Jira")] + [Rest.Serialization.JsonTransformation] + public partial class JiraLinkedService : LinkedService + { + /// + /// Initializes a new instance of the JiraLinkedService class. + /// + public JiraLinkedService() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the JiraLinkedService class. + /// + /// The IP address or host name of the Jira service. + /// (e.g. jira.example.com) + /// The user name that you use to access Jira + /// Service. + /// Unmatched properties from the + /// message are deserialized this collection + /// The integration runtime reference. + /// Linked service description. + /// The TCP port that the Jira server uses to listen + /// for client connections. The default value is 443 if connecting + /// through HTTPS, or 8080 if connecting through HTTP. + /// The password corresponding to the user name + /// that you provided in the username field. + /// Specifies whether the data + /// source endpoints are encrypted using HTTPS. The default value is + /// true. + /// Specifies whether to require the + /// host name in the server's certificate to match the host name of the + /// server when connecting over SSL. The default value is true. + /// Specifies whether to verify the + /// identity of the server when connecting over SSL. The default value + /// is true. + /// The encrypted credential used for + /// authentication. Credentials are encrypted using the integration + /// runtime credential manager. Type: string (or Expression with + /// resultType string). + public JiraLinkedService(object host, object username, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object port = default(object), SecretBase password = default(SecretBase), object useEncryptedEndpoints = default(object), object useHostVerification = default(object), object usePeerVerification = default(object), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) + { + Host = host; + Port = port; + Username = username; + Password = password; + UseEncryptedEndpoints = useEncryptedEndpoints; + UseHostVerification = useHostVerification; + UsePeerVerification = usePeerVerification; + EncryptedCredential = encryptedCredential; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the IP address or host name of the Jira service. (e.g. + /// jira.example.com) + /// + [JsonProperty(PropertyName = "typeProperties.host")] + public object Host { get; set; } + + /// + /// Gets or sets the TCP port that the Jira server uses to listen for + /// client connections. The default value is 443 if connecting through + /// HTTPS, or 8080 if connecting through HTTP. + /// + [JsonProperty(PropertyName = "typeProperties.port")] + public object Port { get; set; } + + /// + /// Gets or sets the user name that you use to access Jira Service. + /// + [JsonProperty(PropertyName = "typeProperties.username")] + public object Username { get; set; } + + /// + /// Gets or sets the password corresponding to the user name that you + /// provided in the username field. + /// + [JsonProperty(PropertyName = "typeProperties.password")] + public SecretBase Password { get; set; } + + /// + /// Gets or sets specifies whether the data source endpoints are + /// encrypted using HTTPS. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.useEncryptedEndpoints")] + public object UseEncryptedEndpoints { get; set; } + + /// + /// Gets or sets specifies whether to require the host name in the + /// server's certificate to match the host name of the server when + /// connecting over SSL. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.useHostVerification")] + public object UseHostVerification { get; set; } + + /// + /// Gets or sets specifies whether to verify the identity of the server + /// when connecting over SSL. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.usePeerVerification")] + public object UsePeerVerification { get; set; } + + /// + /// Gets or sets the encrypted credential used for authentication. + /// Credentials are encrypted using the integration runtime credential + /// manager. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.encryptedCredential")] + public object EncryptedCredential { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (Host == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Host"); + } + if (Username == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Username"); + } + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/JiraObjectDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/JiraObjectDataset.cs new file mode 100644 index 000000000000..5dd50b46c591 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/JiraObjectDataset.cs @@ -0,0 +1,66 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Jira Serivce dataset. + /// + [Newtonsoft.Json.JsonObject("JiraObject")] + public partial class JiraObjectDataset : Dataset + { + /// + /// Initializes a new instance of the JiraObjectDataset class. + /// + public JiraObjectDataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the JiraObjectDataset class. + /// + /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// Parameters for dataset. + public JiraObjectDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) + { + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/JiraSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/JiraSource.cs new file mode 100644 index 000000000000..9e0dcefe93db --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/JiraSource.cs @@ -0,0 +1,63 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity Jira Serivce source. + /// + public partial class JiraSource : CopySource + { + /// + /// Initializes a new instance of the JiraSource class. + /// + public JiraSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the JiraSource class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Source retry count. Type: integer + /// (or Expression with resultType integer). + /// Source retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// A query to retrieve data from source. Type: + /// string (or Expression with resultType string). + public JiraSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) + { + Query = query; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets a query to retrieve data from source. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "query")] + public object Query { get; set; } + + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/JsonFormat.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/JsonFormat.cs index edc080513e60..2f4bb3d4d1ed 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/JsonFormat.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/JsonFormat.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,6 +31,8 @@ public JsonFormat() /// /// Initializes a new instance of the JsonFormat class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Serializer. Type: string (or Expression /// with resultType string). /// Deserializer. Type: string (or @@ -57,8 +61,8 @@ public JsonFormat() /// the array element. Example: {"Column1": "$.Column1Path", "Column2": /// "Column2PathInArray"}. Type: object (or Expression with resultType /// object). - public JsonFormat(object serializer = default(object), object deserializer = default(object), string filePattern = default(string), object nestingSeparator = default(object), object encodingName = default(object), object jsonNodeReference = default(object), object jsonPathDefinition = default(object)) - : base(serializer, deserializer) + public JsonFormat(IDictionary additionalProperties = default(IDictionary), object serializer = default(object), object deserializer = default(object), string filePattern = default(string), object nestingSeparator = default(object), object encodingName = default(object), object jsonNodeReference = default(object), object jsonPathDefinition = default(object)) + : base(additionalProperties, serializer, deserializer) { FilePattern = filePattern; NestingSeparator = nestingSeparator; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/LinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/LinkedService.cs index cf230990b929..42c9666206b1 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/LinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/LinkedService.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -31,10 +33,13 @@ public LinkedService() /// /// Initializes a new instance of the LinkedService class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. - public LinkedService(IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string)) + public LinkedService(IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string)) { + AdditionalProperties = additionalProperties; ConnectVia = connectVia; Description = description; CustomInit(); @@ -45,6 +50,13 @@ public LinkedService() /// partial void CustomInit(); + /// + /// Gets or sets unmatched properties from the message are deserialized + /// this collection + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + /// /// Gets or sets the integration runtime reference. /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/LookupActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/LookupActivity.cs index 124edcaefc25..cd814b50b83f 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/LookupActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/LookupActivity.cs @@ -40,6 +40,8 @@ public LookupActivity() /// Dataset-specific source properties, same as /// copy activity source. /// Lookup activity dataset reference. + /// Unmatched properties from the + /// message are deserialized this collection /// Activity description. /// Activity depends on condition. /// Linked service reference. @@ -47,8 +49,8 @@ public LookupActivity() /// Whether to return first row or all rows. /// Default value is true. Type: boolean (or Expression with resultType /// boolean). - public LookupActivity(string name, CopySource source, DatasetReference dataset, string description = default(string), IList dependsOn = default(IList), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), ActivityPolicy policy = default(ActivityPolicy), object firstRowOnly = default(object)) - : base(name, description, dependsOn, linkedServiceName, policy) + public LookupActivity(string name, CopySource source, DatasetReference dataset, IDictionary additionalProperties = default(IDictionary), string description = default(string), IList dependsOn = default(IList), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), ActivityPolicy policy = default(ActivityPolicy), object firstRowOnly = default(object)) + : base(name, additionalProperties, description, dependsOn, linkedServiceName, policy) { Source = source; Dataset = dataset; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MagentoLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MagentoLinkedService.cs new file mode 100644 index 000000000000..b2dcfda15151 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MagentoLinkedService.cs @@ -0,0 +1,133 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Magento server linked service. + /// + [Newtonsoft.Json.JsonObject("Magento")] + [Rest.Serialization.JsonTransformation] + public partial class MagentoLinkedService : LinkedService + { + /// + /// Initializes a new instance of the MagentoLinkedService class. + /// + public MagentoLinkedService() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the MagentoLinkedService class. + /// + /// The URL of the Magento instance. (i.e. + /// 192.168.222.110/magento3) + /// Unmatched properties from the + /// message are deserialized this collection + /// The integration runtime reference. + /// Linked service description. + /// The access token from Magento. + /// Specifies whether the data + /// source endpoints are encrypted using HTTPS. The default value is + /// true. + /// Specifies whether to require the + /// host name in the server's certificate to match the host name of the + /// server when connecting over SSL. The default value is true. + /// Specifies whether to verify the + /// identity of the server when connecting over SSL. The default value + /// is true. + /// The encrypted credential used for + /// authentication. Credentials are encrypted using the integration + /// runtime credential manager. Type: string (or Expression with + /// resultType string). + public MagentoLinkedService(object host, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), SecretBase accessToken = default(SecretBase), object useEncryptedEndpoints = default(object), object useHostVerification = default(object), object usePeerVerification = default(object), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) + { + Host = host; + AccessToken = accessToken; + UseEncryptedEndpoints = useEncryptedEndpoints; + UseHostVerification = useHostVerification; + UsePeerVerification = usePeerVerification; + EncryptedCredential = encryptedCredential; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the URL of the Magento instance. (i.e. + /// 192.168.222.110/magento3) + /// + [JsonProperty(PropertyName = "typeProperties.host")] + public object Host { get; set; } + + /// + /// Gets or sets the access token from Magento. + /// + [JsonProperty(PropertyName = "typeProperties.accessToken")] + public SecretBase AccessToken { get; set; } + + /// + /// Gets or sets specifies whether the data source endpoints are + /// encrypted using HTTPS. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.useEncryptedEndpoints")] + public object UseEncryptedEndpoints { get; set; } + + /// + /// Gets or sets specifies whether to require the host name in the + /// server's certificate to match the host name of the server when + /// connecting over SSL. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.useHostVerification")] + public object UseHostVerification { get; set; } + + /// + /// Gets or sets specifies whether to verify the identity of the server + /// when connecting over SSL. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.usePeerVerification")] + public object UsePeerVerification { get; set; } + + /// + /// Gets or sets the encrypted credential used for authentication. + /// Credentials are encrypted using the integration runtime credential + /// manager. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.encryptedCredential")] + public object EncryptedCredential { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (Host == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Host"); + } + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MagentoObjectDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MagentoObjectDataset.cs new file mode 100644 index 000000000000..260450dee9dd --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MagentoObjectDataset.cs @@ -0,0 +1,66 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Magento server dataset. + /// + [Newtonsoft.Json.JsonObject("MagentoObject")] + public partial class MagentoObjectDataset : Dataset + { + /// + /// Initializes a new instance of the MagentoObjectDataset class. + /// + public MagentoObjectDataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the MagentoObjectDataset class. + /// + /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// Parameters for dataset. + public MagentoObjectDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) + { + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MagentoSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MagentoSource.cs new file mode 100644 index 000000000000..a9eb93504081 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MagentoSource.cs @@ -0,0 +1,63 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity Magento server source. + /// + public partial class MagentoSource : CopySource + { + /// + /// Initializes a new instance of the MagentoSource class. + /// + public MagentoSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the MagentoSource class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Source retry count. Type: integer + /// (or Expression with resultType integer). + /// Source retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// A query to retrieve data from source. Type: + /// string (or Expression with resultType string). + public MagentoSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) + { + Query = query; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets a query to retrieve data from source. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "query")] + public object Query { get; set; } + + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ManagedIntegrationRuntime.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ManagedIntegrationRuntime.cs index a5665fcd3083..759d3aed4080 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ManagedIntegrationRuntime.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ManagedIntegrationRuntime.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -34,6 +36,8 @@ public ManagedIntegrationRuntime() /// /// Initializes a new instance of the ManagedIntegrationRuntime class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Integration runtime description. /// Integration runtime state, only valid for /// managed dedicated integration runtime. Possible values include: @@ -43,8 +47,8 @@ public ManagedIntegrationRuntime() /// integration runtime. /// SSIS properties for managed /// integration runtime. - public ManagedIntegrationRuntime(string description = default(string), string state = default(string), IntegrationRuntimeComputeProperties computeProperties = default(IntegrationRuntimeComputeProperties), IntegrationRuntimeSsisProperties ssisProperties = default(IntegrationRuntimeSsisProperties)) - : base(description) + public ManagedIntegrationRuntime(IDictionary additionalProperties = default(IDictionary), string description = default(string), string state = default(string), IntegrationRuntimeComputeProperties computeProperties = default(IntegrationRuntimeComputeProperties), IntegrationRuntimeSsisProperties ssisProperties = default(IntegrationRuntimeSsisProperties)) + : base(additionalProperties, description) { State = state; ComputeProperties = computeProperties; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ManagedIntegrationRuntimeStatus.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ManagedIntegrationRuntimeStatus.cs index d6e68c54d6d7..11f416637f04 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ManagedIntegrationRuntimeStatus.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ManagedIntegrationRuntimeStatus.cs @@ -37,6 +37,8 @@ public ManagedIntegrationRuntimeStatus() /// Initializes a new instance of the ManagedIntegrationRuntimeStatus /// class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// The state of integration runtime. Possible /// values include: 'Initial', 'Stopped', 'Started', 'Starting', /// 'Stopping', 'NeedRegistration', 'Online', 'Limited', @@ -49,8 +51,8 @@ public ManagedIntegrationRuntimeStatus() /// integration runtime. /// The last operation result that occurred /// on this integration runtime. - public ManagedIntegrationRuntimeStatus(string state = default(string), System.DateTime? createTime = default(System.DateTime?), IList nodes = default(IList), IList otherErrors = default(IList), ManagedIntegrationRuntimeOperationResult lastOperation = default(ManagedIntegrationRuntimeOperationResult)) - : base(state) + public ManagedIntegrationRuntimeStatus(IDictionary additionalProperties = default(IDictionary), string state = default(string), System.DateTime? createTime = default(System.DateTime?), IList nodes = default(IList), IList otherErrors = default(IList), ManagedIntegrationRuntimeOperationResult lastOperation = default(ManagedIntegrationRuntimeOperationResult)) + : base(additionalProperties, state) { CreateTime = createTime; Nodes = nodes; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MariaDBLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MariaDBLinkedService.cs new file mode 100644 index 000000000000..6200395c224c --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MariaDBLinkedService.cs @@ -0,0 +1,85 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// MariaDB server linked service. + /// + [Newtonsoft.Json.JsonObject("MariaDB")] + [Rest.Serialization.JsonTransformation] + public partial class MariaDBLinkedService : LinkedService + { + /// + /// Initializes a new instance of the MariaDBLinkedService class. + /// + public MariaDBLinkedService() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the MariaDBLinkedService class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// The integration runtime reference. + /// Linked service description. + /// An ODBC connection string. + /// The encrypted credential used for + /// authentication. Credentials are encrypted using the integration + /// runtime credential manager. Type: string (or Expression with + /// resultType string). + public MariaDBLinkedService(IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), SecretBase connectionString = default(SecretBase), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) + { + ConnectionString = connectionString; + EncryptedCredential = encryptedCredential; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets an ODBC connection string. + /// + [JsonProperty(PropertyName = "typeProperties.connectionString")] + public SecretBase ConnectionString { get; set; } + + /// + /// Gets or sets the encrypted credential used for authentication. + /// Credentials are encrypted using the integration runtime credential + /// manager. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.encryptedCredential")] + public object EncryptedCredential { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MariaDBSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MariaDBSource.cs new file mode 100644 index 000000000000..d2fd968c92d1 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MariaDBSource.cs @@ -0,0 +1,63 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity MariaDB server source. + /// + public partial class MariaDBSource : CopySource + { + /// + /// Initializes a new instance of the MariaDBSource class. + /// + public MariaDBSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the MariaDBSource class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Source retry count. Type: integer + /// (or Expression with resultType integer). + /// Source retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// A query to retrieve data from source. Type: + /// string (or Expression with resultType string). + public MariaDBSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) + { + Query = query; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets a query to retrieve data from source. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "query")] + public object Query { get; set; } + + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MariaDBTableDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MariaDBTableDataset.cs new file mode 100644 index 000000000000..99b25b4e3434 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MariaDBTableDataset.cs @@ -0,0 +1,66 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// MariaDB server dataset. + /// + [Newtonsoft.Json.JsonObject("MariaDBTable")] + public partial class MariaDBTableDataset : Dataset + { + /// + /// Initializes a new instance of the MariaDBTableDataset class. + /// + public MariaDBTableDataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the MariaDBTableDataset class. + /// + /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// Parameters for dataset. + public MariaDBTableDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) + { + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MarketoLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MarketoLinkedService.cs new file mode 100644 index 000000000000..182abebd0de8 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MarketoLinkedService.cs @@ -0,0 +1,147 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Marketo server linked service. + /// + [Newtonsoft.Json.JsonObject("Marketo")] + [Rest.Serialization.JsonTransformation] + public partial class MarketoLinkedService : LinkedService + { + /// + /// Initializes a new instance of the MarketoLinkedService class. + /// + public MarketoLinkedService() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the MarketoLinkedService class. + /// + /// The endpoint of the Marketo server. (i.e. + /// 123-ABC-321.mktorest.com) + /// The client Id of your Marketo + /// service. + /// Unmatched properties from the + /// message are deserialized this collection + /// The integration runtime reference. + /// Linked service description. + /// The client secret of your Marketo + /// service. + /// Specifies whether the data + /// source endpoints are encrypted using HTTPS. The default value is + /// true. + /// Specifies whether to require the + /// host name in the server's certificate to match the host name of the + /// server when connecting over SSL. The default value is true. + /// Specifies whether to verify the + /// identity of the server when connecting over SSL. The default value + /// is true. + /// The encrypted credential used for + /// authentication. Credentials are encrypted using the integration + /// runtime credential manager. Type: string (or Expression with + /// resultType string). + public MarketoLinkedService(object endpoint, object clientId, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), SecretBase clientSecret = default(SecretBase), object useEncryptedEndpoints = default(object), object useHostVerification = default(object), object usePeerVerification = default(object), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) + { + Endpoint = endpoint; + ClientId = clientId; + ClientSecret = clientSecret; + UseEncryptedEndpoints = useEncryptedEndpoints; + UseHostVerification = useHostVerification; + UsePeerVerification = usePeerVerification; + EncryptedCredential = encryptedCredential; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the endpoint of the Marketo server. (i.e. + /// 123-ABC-321.mktorest.com) + /// + [JsonProperty(PropertyName = "typeProperties.endpoint")] + public object Endpoint { get; set; } + + /// + /// Gets or sets the client Id of your Marketo service. + /// + [JsonProperty(PropertyName = "typeProperties.clientId")] + public object ClientId { get; set; } + + /// + /// Gets or sets the client secret of your Marketo service. + /// + [JsonProperty(PropertyName = "typeProperties.clientSecret")] + public SecretBase ClientSecret { get; set; } + + /// + /// Gets or sets specifies whether the data source endpoints are + /// encrypted using HTTPS. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.useEncryptedEndpoints")] + public object UseEncryptedEndpoints { get; set; } + + /// + /// Gets or sets specifies whether to require the host name in the + /// server's certificate to match the host name of the server when + /// connecting over SSL. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.useHostVerification")] + public object UseHostVerification { get; set; } + + /// + /// Gets or sets specifies whether to verify the identity of the server + /// when connecting over SSL. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.usePeerVerification")] + public object UsePeerVerification { get; set; } + + /// + /// Gets or sets the encrypted credential used for authentication. + /// Credentials are encrypted using the integration runtime credential + /// manager. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.encryptedCredential")] + public object EncryptedCredential { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (Endpoint == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Endpoint"); + } + if (ClientId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ClientId"); + } + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MarketoObjectDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MarketoObjectDataset.cs new file mode 100644 index 000000000000..bc4d9097234d --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MarketoObjectDataset.cs @@ -0,0 +1,66 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Marketo server dataset. + /// + [Newtonsoft.Json.JsonObject("MarketoObject")] + public partial class MarketoObjectDataset : Dataset + { + /// + /// Initializes a new instance of the MarketoObjectDataset class. + /// + public MarketoObjectDataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the MarketoObjectDataset class. + /// + /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// Parameters for dataset. + public MarketoObjectDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) + { + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MarketoSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MarketoSource.cs new file mode 100644 index 000000000000..f2fae3fd21f3 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MarketoSource.cs @@ -0,0 +1,63 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity Marketo server source. + /// + public partial class MarketoSource : CopySource + { + /// + /// Initializes a new instance of the MarketoSource class. + /// + public MarketoSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the MarketoSource class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Source retry count. Type: integer + /// (or Expression with resultType integer). + /// Source retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// A query to retrieve data from source. Type: + /// string (or Expression with resultType string). + public MarketoSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) + { + Query = query; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets a query to retrieve data from source. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "query")] + public object Query { get; set; } + + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbCollectionDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbCollectionDataset.cs index 17a92c407707..c81f0b27dd25 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbCollectionDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbCollectionDataset.cs @@ -40,13 +40,15 @@ public MongoDbCollectionDataset() /// The table name of the MongoDB /// database. Type: string (or Expression with resultType /// string). + /// Unmatched properties from the + /// message are deserialized this collection /// Dataset description. /// Columns that define the structure of the /// dataset. Type: array (or Expression with resultType array), /// itemType: DatasetDataElement. /// Parameters for dataset. - public MongoDbCollectionDataset(LinkedServiceReference linkedServiceName, object collectionName, string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) - : base(linkedServiceName, description, structure, parameters) + public MongoDbCollectionDataset(LinkedServiceReference linkedServiceName, object collectionName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) { CollectionName = collectionName; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbLinkedService.cs index 73cfcfd7bbe2..06f397e3a55b 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbLinkedService.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -39,6 +41,8 @@ public MongoDbLinkedService() /// The name of the MongoDB database that /// you want to access. Type: string (or Expression with resultType /// string). + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. /// The authentication type to be used @@ -58,8 +62,8 @@ public MongoDbLinkedService() /// authentication. Credentials are encrypted using the integration /// runtime credential manager. Type: string (or Expression with /// resultType string). - public MongoDbLinkedService(object server, object databaseName, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), string authenticationType = default(string), object username = default(object), SecureString password = default(SecureString), object authSource = default(object), object port = default(object), object encryptedCredential = default(object)) - : base(connectVia, description) + public MongoDbLinkedService(object server, object databaseName, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), string authenticationType = default(string), object username = default(object), SecureString password = default(SecureString), object authSource = default(object), object port = default(object), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) { Server = server; AuthenticationType = authenticationType; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbSource.cs index f894d1ba9fe6..c2f14253c2b1 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbSource.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,6 +31,8 @@ public MongoDbSource() /// /// Initializes a new instance of the MongoDbSource class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Source retry count. Type: integer /// (or Expression with resultType integer). /// Source retry wait. Type: string (or @@ -37,8 +41,8 @@ public MongoDbSource() /// Database query. Should be a SQL-92 query /// expression. Type: string (or Expression with resultType /// string). - public MongoDbSource(object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(sourceRetryCount, sourceRetryWait) + public MongoDbSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MultiplePipelineTrigger.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MultiplePipelineTrigger.cs index 89ed9b4271b6..72a2275f12ca 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MultiplePipelineTrigger.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MultiplePipelineTrigger.cs @@ -32,13 +32,15 @@ public MultiplePipelineTrigger() /// /// Initializes a new instance of the MultiplePipelineTrigger class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Trigger description. /// Indicates if trigger is running or not. /// Updated when Start/Stop APIs are called on the Trigger. Possible /// values include: 'Started', 'Stopped', 'Disabled' /// Pipelines that need to be started. - public MultiplePipelineTrigger(string description = default(string), string runtimeState = default(string), IList pipelines = default(IList)) - : base(description, runtimeState) + public MultiplePipelineTrigger(IDictionary additionalProperties = default(IDictionary), string description = default(string), string runtimeState = default(string), IList pipelines = default(IList)) + : base(additionalProperties, description, runtimeState) { Pipelines = pipelines; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MySqlLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MySqlLinkedService.cs index f0912b68931e..2f332e28049b 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MySqlLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MySqlLinkedService.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -37,6 +39,8 @@ public MySqlLinkedService() /// Expression with resultType string). /// Database name for connection. Type: string /// (or Expression with resultType string). + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. /// Schema name for connection. Type: string (or @@ -48,8 +52,8 @@ public MySqlLinkedService() /// authentication. Credentials are encrypted using the integration /// runtime credential manager. Type: string (or Expression with /// resultType string). - public MySqlLinkedService(object server, object database, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object schema = default(object), object username = default(object), SecureString password = default(SecureString), object encryptedCredential = default(object)) - : base(connectVia, description) + public MySqlLinkedService(object server, object database, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object schema = default(object), object username = default(object), SecureString password = default(SecureString), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) { Server = server; Database = database; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ODataLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ODataLinkedService.cs index 23b25939c492..bcb9ccab7748 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ODataLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ODataLinkedService.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -35,6 +37,8 @@ public ODataLinkedService() /// /// The URL of the OData service endpoint. Type: /// string (or Expression with resultType string). + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. /// Type of authentication used to @@ -47,8 +51,8 @@ public ODataLinkedService() /// authentication. Credentials are encrypted using the integration /// runtime credential manager. Type: string (or Expression with /// resultType string). - public ODataLinkedService(object url, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), string authenticationType = default(string), object userName = default(object), SecureString password = default(SecureString), object encryptedCredential = default(object)) - : base(connectVia, description) + public ODataLinkedService(object url, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), string authenticationType = default(string), object userName = default(object), SecureString password = default(SecureString), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) { Url = url; AuthenticationType = authenticationType; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ODataResourceDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ODataResourceDataset.cs index 8b553ad96e07..c627baf0a6d3 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ODataResourceDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ODataResourceDataset.cs @@ -37,6 +37,8 @@ public ODataResourceDataset() /// Initializes a new instance of the ODataResourceDataset class. /// /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection /// Dataset description. /// Columns that define the structure of the /// dataset. Type: array (or Expression with resultType array), @@ -44,8 +46,8 @@ public ODataResourceDataset() /// Parameters for dataset. /// The OData resource path. Type: string (or /// Expression with resultType string). - public ODataResourceDataset(LinkedServiceReference linkedServiceName, string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary), object path = default(object)) - : base(linkedServiceName, description, structure, parameters) + public ODataResourceDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary), object path = default(object)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) { Path = path; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OdbcLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OdbcLinkedService.cs index e558e8f69c29..148c88ff3d76 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OdbcLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OdbcLinkedService.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -36,6 +38,8 @@ public OdbcLinkedService() /// The non-access credential portion of /// the connection string as well as an optional encrypted /// credential. + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. /// Type of authentication used to @@ -51,8 +55,8 @@ public OdbcLinkedService() /// authentication. Credentials are encrypted using the integration /// runtime credential manager. Type: string (or Expression with /// resultType string). - public OdbcLinkedService(SecureString connectionString, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object authenticationType = default(object), SecureString credential = default(SecureString), object userName = default(object), SecureString password = default(SecureString), object encryptedCredential = default(object)) - : base(connectVia, description) + public OdbcLinkedService(SecureString connectionString, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object authenticationType = default(object), SecureString credential = default(SecureString), object userName = default(object), SecureString password = default(SecureString), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) { ConnectionString = connectionString; AuthenticationType = authenticationType; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OdbcSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OdbcSink.cs index f1ab5fc2fed6..300f8bc566d5 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OdbcSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OdbcSink.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,6 +31,8 @@ public OdbcSink() /// /// Initializes a new instance of the OdbcSink class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Write batch size. Type: integer (or /// Expression with resultType integer), minimum: 0. /// Write batch timeout. Type: string @@ -41,8 +45,8 @@ public OdbcSink() /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// A query to execute before starting the /// copy. Type: string (or Expression with resultType string). - public OdbcSink(object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object preCopyScript = default(object)) - : base(writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) + public OdbcSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object preCopyScript = default(object)) + : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) { PreCopyScript = preCopyScript; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleLinkedService.cs index a4ec27161401..cc8e85dd54f0 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleLinkedService.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -34,14 +36,16 @@ public OracleLinkedService() /// Initializes a new instance of the OracleLinkedService class. /// /// The connection string. + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. /// The encrypted credential used for /// authentication. Credentials are encrypted using the integration /// runtime credential manager. Type: string (or Expression with /// resultType string). - public OracleLinkedService(SecureString connectionString, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object encryptedCredential = default(object)) - : base(connectVia, description) + public OracleLinkedService(SecureString connectionString, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) { ConnectionString = connectionString; EncryptedCredential = encryptedCredential; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleSink.cs index 74e5cb03323c..ba88c07d79bf 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleSink.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,6 +31,8 @@ public OracleSink() /// /// Initializes a new instance of the OracleSink class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Write batch size. Type: integer (or /// Expression with resultType integer), minimum: 0. /// Write batch timeout. Type: string @@ -41,8 +45,8 @@ public OracleSink() /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// SQL pre-copy script. Type: string (or /// Expression with resultType string). - public OracleSink(object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object preCopyScript = default(object)) - : base(writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) + public OracleSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object preCopyScript = default(object)) + : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) { PreCopyScript = preCopyScript; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleSource.cs index 1437f34f3fa9..44f595f486d0 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleSource.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,6 +31,8 @@ public OracleSource() /// /// Initializes a new instance of the OracleSource class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Source retry count. Type: integer /// (or Expression with resultType integer). /// Source retry wait. Type: string (or @@ -39,8 +43,8 @@ public OracleSource() /// Query timeout. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - public OracleSource(object sourceRetryCount = default(object), object sourceRetryWait = default(object), object oracleReaderQuery = default(object), object queryTimeout = default(object)) - : base(sourceRetryCount, sourceRetryWait) + public OracleSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object oracleReaderQuery = default(object), object queryTimeout = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) { OracleReaderQuery = oracleReaderQuery; QueryTimeout = queryTimeout; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleTableDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleTableDataset.cs index 1c4762eebb5e..52c5808e7799 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleTableDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleTableDataset.cs @@ -40,13 +40,15 @@ public OracleTableDataset() /// The table name of the on-premises Oracle /// database. Type: string (or Expression with resultType /// string). + /// Unmatched properties from the + /// message are deserialized this collection /// Dataset description. /// Columns that define the structure of the /// dataset. Type: array (or Expression with resultType array), /// itemType: DatasetDataElement. /// Parameters for dataset. - public OracleTableDataset(LinkedServiceReference linkedServiceName, object tableName, string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) - : base(linkedServiceName, description, structure, parameters) + public OracleTableDataset(LinkedServiceReference linkedServiceName, object tableName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) { TableName = tableName; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OrcFormat.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OrcFormat.cs index 887f270c02f9..54b470f574f7 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OrcFormat.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OrcFormat.cs @@ -10,6 +10,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -28,12 +30,14 @@ public OrcFormat() /// /// Initializes a new instance of the OrcFormat class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Serializer. Type: string (or Expression /// with resultType string). /// Deserializer. Type: string (or /// Expression with resultType string). - public OrcFormat(object serializer = default(object), object deserializer = default(object)) - : base(serializer, deserializer) + public OrcFormat(IDictionary additionalProperties = default(IDictionary), object serializer = default(object), object deserializer = default(object)) + : base(additionalProperties, serializer, deserializer) { CustomInit(); } diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ParquetFormat.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ParquetFormat.cs index 9ae447e9b850..c805ef989015 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ParquetFormat.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ParquetFormat.cs @@ -10,6 +10,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -28,12 +30,14 @@ public ParquetFormat() /// /// Initializes a new instance of the ParquetFormat class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Serializer. Type: string (or Expression /// with resultType string). /// Deserializer. Type: string (or /// Expression with resultType string). - public ParquetFormat(object serializer = default(object), object deserializer = default(object)) - : base(serializer, deserializer) + public ParquetFormat(IDictionary additionalProperties = default(IDictionary), object serializer = default(object), object deserializer = default(object)) + : base(additionalProperties, serializer, deserializer) { CustomInit(); } diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PaypalLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PaypalLinkedService.cs new file mode 100644 index 000000000000..c81d9e63eaf6 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PaypalLinkedService.cs @@ -0,0 +1,148 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Paypal Serivce linked service. + /// + [Newtonsoft.Json.JsonObject("Paypal")] + [Rest.Serialization.JsonTransformation] + public partial class PaypalLinkedService : LinkedService + { + /// + /// Initializes a new instance of the PaypalLinkedService class. + /// + public PaypalLinkedService() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the PaypalLinkedService class. + /// + /// The URL of the PayPal instance. (i.e. + /// api.sandbox.paypal.com) + /// The client ID associated with your PayPal + /// application. + /// Unmatched properties from the + /// message are deserialized this collection + /// The integration runtime reference. + /// Linked service description. + /// The client secret associated with your + /// PayPal application. + /// Specifies whether the data + /// source endpoints are encrypted using HTTPS. The default value is + /// true. + /// Specifies whether to require the + /// host name in the server's certificate to match the host name of the + /// server when connecting over SSL. The default value is true. + /// Specifies whether to verify the + /// identity of the server when connecting over SSL. The default value + /// is true. + /// The encrypted credential used for + /// authentication. Credentials are encrypted using the integration + /// runtime credential manager. Type: string (or Expression with + /// resultType string). + public PaypalLinkedService(object host, object clientId, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), SecretBase clientSecret = default(SecretBase), object useEncryptedEndpoints = default(object), object useHostVerification = default(object), object usePeerVerification = default(object), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) + { + Host = host; + ClientId = clientId; + ClientSecret = clientSecret; + UseEncryptedEndpoints = useEncryptedEndpoints; + UseHostVerification = useHostVerification; + UsePeerVerification = usePeerVerification; + EncryptedCredential = encryptedCredential; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the URL of the PayPal instance. (i.e. + /// api.sandbox.paypal.com) + /// + [JsonProperty(PropertyName = "typeProperties.host")] + public object Host { get; set; } + + /// + /// Gets or sets the client ID associated with your PayPal application. + /// + [JsonProperty(PropertyName = "typeProperties.clientId")] + public object ClientId { get; set; } + + /// + /// Gets or sets the client secret associated with your PayPal + /// application. + /// + [JsonProperty(PropertyName = "typeProperties.clientSecret")] + public SecretBase ClientSecret { get; set; } + + /// + /// Gets or sets specifies whether the data source endpoints are + /// encrypted using HTTPS. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.useEncryptedEndpoints")] + public object UseEncryptedEndpoints { get; set; } + + /// + /// Gets or sets specifies whether to require the host name in the + /// server's certificate to match the host name of the server when + /// connecting over SSL. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.useHostVerification")] + public object UseHostVerification { get; set; } + + /// + /// Gets or sets specifies whether to verify the identity of the server + /// when connecting over SSL. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.usePeerVerification")] + public object UsePeerVerification { get; set; } + + /// + /// Gets or sets the encrypted credential used for authentication. + /// Credentials are encrypted using the integration runtime credential + /// manager. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.encryptedCredential")] + public object EncryptedCredential { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (Host == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Host"); + } + if (ClientId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ClientId"); + } + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PaypalObjectDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PaypalObjectDataset.cs new file mode 100644 index 000000000000..edb195b970cd --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PaypalObjectDataset.cs @@ -0,0 +1,66 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Paypal Serivce dataset. + /// + [Newtonsoft.Json.JsonObject("PaypalObject")] + public partial class PaypalObjectDataset : Dataset + { + /// + /// Initializes a new instance of the PaypalObjectDataset class. + /// + public PaypalObjectDataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the PaypalObjectDataset class. + /// + /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// Parameters for dataset. + public PaypalObjectDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) + { + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PaypalSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PaypalSource.cs new file mode 100644 index 000000000000..a9a3e18d42bd --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PaypalSource.cs @@ -0,0 +1,63 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity Paypal Serivce source. + /// + public partial class PaypalSource : CopySource + { + /// + /// Initializes a new instance of the PaypalSource class. + /// + public PaypalSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the PaypalSource class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Source retry count. Type: integer + /// (or Expression with resultType integer). + /// Source retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// A query to retrieve data from source. Type: + /// string (or Expression with resultType string). + public PaypalSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) + { + Query = query; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets a query to retrieve data from source. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "query")] + public object Query { get; set; } + + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PhoenixAuthenticationType.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PhoenixAuthenticationType.cs new file mode 100644 index 000000000000..852e4c3453b1 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PhoenixAuthenticationType.cs @@ -0,0 +1,23 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + + /// + /// Defines values for PhoenixAuthenticationType. + /// + public static class PhoenixAuthenticationType + { + public const string Anonymous = "Anonymous"; + public const string UsernameAndPassword = "UsernameAndPassword"; + public const string WindowsAzureHDInsightService = "WindowsAzureHDInsightService"; + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PhoenixLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PhoenixLinkedService.cs new file mode 100644 index 000000000000..cf92d4a64f9d --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PhoenixLinkedService.cs @@ -0,0 +1,209 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Phoenix server linked service. + /// + [Newtonsoft.Json.JsonObject("Phoenix")] + [Rest.Serialization.JsonTransformation] + public partial class PhoenixLinkedService : LinkedService + { + /// + /// Initializes a new instance of the PhoenixLinkedService class. + /// + public PhoenixLinkedService() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the PhoenixLinkedService class. + /// + /// The IP address or host name of the Phoenix + /// server. (i.e. 192.168.222.160) + /// The authentication mechanism used + /// to connect to the Phoenix server. Possible values include: + /// 'Anonymous', 'UsernameAndPassword', + /// 'WindowsAzureHDInsightService' + /// Unmatched properties from the + /// message are deserialized this collection + /// The integration runtime reference. + /// Linked service description. + /// The TCP port that the Phoenix server uses to + /// listen for client connections. The default value is 8765. + /// The partial URL corresponding to the Phoenix + /// server. (i.e. /gateway/sandbox/phoenix/version). The default value + /// is hbasephoenix if using WindowsAzureHDInsightService. + /// The user name used to connect to the Phoenix + /// server. + /// The password corresponding to the user + /// name. + /// Specifies whether the connections to the + /// server are encrypted using SSL. The default value is false. + /// 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. + /// Specifies whether to use a CA + /// certificate from the system trust store or from a specified PEM + /// file. The default value is false. + /// Specifies whether to require + /// a CA-issued SSL certificate name to match the host name of the + /// server when connecting over SSL. The default value is + /// false. + /// Specifies whether to allow + /// self-signed certificates from the server. The default value is + /// false. + /// The encrypted credential used for + /// authentication. Credentials are encrypted using the integration + /// runtime credential manager. Type: string (or Expression with + /// resultType string). + public PhoenixLinkedService(object host, string authenticationType, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object port = default(object), object httpPath = default(object), object username = default(object), SecretBase password = default(SecretBase), object enableSsl = default(object), object trustedCertPath = default(object), object useSystemTrustStore = default(object), object allowHostNameCNMismatch = default(object), object allowSelfSignedServerCert = default(object), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) + { + Host = host; + Port = port; + HttpPath = httpPath; + AuthenticationType = authenticationType; + Username = username; + Password = password; + EnableSsl = enableSsl; + TrustedCertPath = trustedCertPath; + UseSystemTrustStore = useSystemTrustStore; + AllowHostNameCNMismatch = allowHostNameCNMismatch; + AllowSelfSignedServerCert = allowSelfSignedServerCert; + EncryptedCredential = encryptedCredential; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the IP address or host name of the Phoenix server. + /// (i.e. 192.168.222.160) + /// + [JsonProperty(PropertyName = "typeProperties.host")] + public object Host { get; set; } + + /// + /// Gets or sets the TCP port that the Phoenix server uses to listen + /// for client connections. The default value is 8765. + /// + [JsonProperty(PropertyName = "typeProperties.port")] + public object Port { get; set; } + + /// + /// Gets or sets the partial URL corresponding to the Phoenix server. + /// (i.e. /gateway/sandbox/phoenix/version). The default value is + /// hbasephoenix if using WindowsAzureHDInsightService. + /// + [JsonProperty(PropertyName = "typeProperties.httpPath")] + public object HttpPath { get; set; } + + /// + /// Gets or sets the authentication mechanism used to connect to the + /// Phoenix server. Possible values include: 'Anonymous', + /// 'UsernameAndPassword', 'WindowsAzureHDInsightService' + /// + [JsonProperty(PropertyName = "typeProperties.authenticationType")] + public string AuthenticationType { get; set; } + + /// + /// Gets or sets the user name used to connect to the Phoenix server. + /// + [JsonProperty(PropertyName = "typeProperties.username")] + public object Username { get; set; } + + /// + /// Gets or sets the password corresponding to the user name. + /// + [JsonProperty(PropertyName = "typeProperties.password")] + public SecretBase Password { get; set; } + + /// + /// Gets or sets specifies whether the connections to the server are + /// encrypted using SSL. The default value is false. + /// + [JsonProperty(PropertyName = "typeProperties.enableSsl")] + public object EnableSsl { get; set; } + + /// + /// Gets or sets 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. + /// + [JsonProperty(PropertyName = "typeProperties.trustedCertPath")] + public object TrustedCertPath { get; set; } + + /// + /// Gets or sets specifies whether to use a CA certificate from the + /// system trust store or from a specified PEM file. The default value + /// is false. + /// + [JsonProperty(PropertyName = "typeProperties.useSystemTrustStore")] + public object UseSystemTrustStore { get; set; } + + /// + /// Gets or sets specifies whether to require a CA-issued SSL + /// certificate name to match the host name of the server when + /// connecting over SSL. The default value is false. + /// + [JsonProperty(PropertyName = "typeProperties.allowHostNameCNMismatch")] + public object AllowHostNameCNMismatch { get; set; } + + /// + /// Gets or sets specifies whether to allow self-signed certificates + /// from the server. The default value is false. + /// + [JsonProperty(PropertyName = "typeProperties.allowSelfSignedServerCert")] + public object AllowSelfSignedServerCert { get; set; } + + /// + /// Gets or sets the encrypted credential used for authentication. + /// Credentials are encrypted using the integration runtime credential + /// manager. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.encryptedCredential")] + public object EncryptedCredential { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (Host == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Host"); + } + if (AuthenticationType == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "AuthenticationType"); + } + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PhoenixObjectDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PhoenixObjectDataset.cs new file mode 100644 index 000000000000..1648b3eba6b1 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PhoenixObjectDataset.cs @@ -0,0 +1,66 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Phoenix server dataset. + /// + [Newtonsoft.Json.JsonObject("PhoenixObject")] + public partial class PhoenixObjectDataset : Dataset + { + /// + /// Initializes a new instance of the PhoenixObjectDataset class. + /// + public PhoenixObjectDataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the PhoenixObjectDataset class. + /// + /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// Parameters for dataset. + public PhoenixObjectDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) + { + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PhoenixSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PhoenixSource.cs new file mode 100644 index 000000000000..74747f9f710d --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PhoenixSource.cs @@ -0,0 +1,63 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity Phoenix server source. + /// + public partial class PhoenixSource : CopySource + { + /// + /// Initializes a new instance of the PhoenixSource class. + /// + public PhoenixSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the PhoenixSource class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Source retry count. Type: integer + /// (or Expression with resultType integer). + /// Source retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// A query to retrieve data from source. Type: + /// string (or Expression with resultType string). + public PhoenixSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) + { + Query = query; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets a query to retrieve data from source. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "query")] + public object Query { get; set; } + + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineResource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineResource.cs index 89f721819ce0..f6c4457e53be 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineResource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineResource.cs @@ -38,14 +38,17 @@ public PipelineResource() /// The resource name. /// The resource type. /// Etag identifies change in the resource. + /// Unmatched properties from the + /// message are deserialized this collection /// The description of the pipeline. /// List of activities in pipeline. /// List of parameters for pipeline. /// The max number of concurrent runs for the /// pipeline. - public PipelineResource(string id = default(string), string name = default(string), string type = default(string), string etag = default(string), string description = default(string), IList activities = default(IList), IDictionary parameters = default(IDictionary), int? concurrency = default(int?)) + public PipelineResource(string id = default(string), string name = default(string), string type = default(string), string etag = default(string), IDictionary additionalProperties = default(IDictionary), string description = default(string), IList activities = default(IList), IDictionary parameters = default(IDictionary), int? concurrency = default(int?)) : base(id, name, type, etag) { + AdditionalProperties = additionalProperties; Description = description; Activities = activities; Parameters = parameters; @@ -58,6 +61,13 @@ public PipelineResource() /// partial void CustomInit(); + /// + /// Gets or sets unmatched properties from the message are deserialized + /// this collection + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + /// /// Gets or sets the description of the pipeline. /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRun.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRun.cs index 6d7172e1b450..9813786fef46 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRun.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRun.cs @@ -31,6 +31,8 @@ public PipelineRun() /// /// Initializes a new instance of the PipelineRun class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Identifier of a run. /// The pipeline name. /// The full or partial list of parameter @@ -46,8 +48,9 @@ public PipelineRun() /// The duration of a pipeline run. /// The status of a pipeline run. /// The message from a pipeline run. - public PipelineRun(string runId = default(string), string pipelineName = default(string), IDictionary parameters = default(IDictionary), PipelineRunInvokedBy invokedBy = default(PipelineRunInvokedBy), System.DateTime? lastUpdated = default(System.DateTime?), System.DateTime? runStart = default(System.DateTime?), System.DateTime? runEnd = default(System.DateTime?), int? durationInMs = default(int?), string status = default(string), string message = default(string)) + public PipelineRun(IDictionary additionalProperties = default(IDictionary), string runId = default(string), string pipelineName = default(string), IDictionary parameters = default(IDictionary), PipelineRunInvokedBy invokedBy = default(PipelineRunInvokedBy), System.DateTime? lastUpdated = default(System.DateTime?), System.DateTime? runStart = default(System.DateTime?), System.DateTime? runEnd = default(System.DateTime?), int? durationInMs = default(int?), string status = default(string), string message = default(string)) { + AdditionalProperties = additionalProperties; RunId = runId; PipelineName = pipelineName; Parameters = parameters; @@ -66,6 +69,13 @@ public PipelineRun() /// partial void CustomInit(); + /// + /// Gets or sets unmatched properties from the message are deserialized + /// this collection + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + /// /// Gets identifier of a run. /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PolybaseSettings.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PolybaseSettings.cs index a925cc4cf2e3..09a74bc8c54c 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PolybaseSettings.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PolybaseSettings.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,6 +31,8 @@ public PolybaseSettings() /// /// Initializes a new instance of the PolybaseSettings class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Reject type. Possible values include: /// 'value', 'percentage' /// Specifies the value or the percentage of @@ -42,8 +46,9 @@ public PolybaseSettings() /// in delimited text files when PolyBase retrieves data from the text /// file. Type: boolean (or Expression with resultType /// boolean). - public PolybaseSettings(string rejectType = default(string), object rejectValue = default(object), object rejectSampleValue = default(object), object useTypeDefault = default(object)) + public PolybaseSettings(IDictionary additionalProperties = default(IDictionary), string rejectType = default(string), object rejectValue = default(object), object rejectSampleValue = default(object), object useTypeDefault = default(object)) { + AdditionalProperties = additionalProperties; RejectType = rejectType; RejectValue = rejectValue; RejectSampleValue = rejectSampleValue; @@ -56,6 +61,13 @@ public PolybaseSettings() /// partial void CustomInit(); + /// + /// Gets or sets unmatched properties from the message are deserialized + /// this collection + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + /// /// Gets or sets reject type. Possible values include: 'value', /// 'percentage' diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PostgreSqlLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PostgreSqlLinkedService.cs index 1aa8cbf552c1..75228f0d3025 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PostgreSqlLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PostgreSqlLinkedService.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -37,6 +39,8 @@ public PostgreSqlLinkedService() /// Expression with resultType string). /// Database name for connection. Type: string /// (or Expression with resultType string). + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. /// Schema name for connection. Type: string (or @@ -48,8 +52,8 @@ public PostgreSqlLinkedService() /// authentication. Credentials are encrypted using the integration /// runtime credential manager. Type: string (or Expression with /// resultType string). - public PostgreSqlLinkedService(object server, object database, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object schema = default(object), object username = default(object), SecureString password = default(SecureString), object encryptedCredential = default(object)) - : base(connectVia, description) + public PostgreSqlLinkedService(object server, object database, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object schema = default(object), object username = default(object), SecureString password = default(SecureString), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) { Server = server; Database = database; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PrestoAuthenticationType.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PrestoAuthenticationType.cs new file mode 100644 index 000000000000..3e1d0ebb8419 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PrestoAuthenticationType.cs @@ -0,0 +1,22 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + + /// + /// Defines values for PrestoAuthenticationType. + /// + public static class PrestoAuthenticationType + { + public const string Anonymous = "Anonymous"; + public const string LDAP = "LDAP"; + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PrestoLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PrestoLinkedService.cs new file mode 100644 index 000000000000..4c14365dfd59 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PrestoLinkedService.cs @@ -0,0 +1,235 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Presto server linked service. + /// + [Newtonsoft.Json.JsonObject("Presto")] + [Rest.Serialization.JsonTransformation] + public partial class PrestoLinkedService : LinkedService + { + /// + /// Initializes a new instance of the PrestoLinkedService class. + /// + public PrestoLinkedService() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the PrestoLinkedService class. + /// + /// The IP address or host name of the Presto + /// server. (i.e. 192.168.222.160) + /// The version of the Presto server. (i.e. + /// 0.148-t) + /// The catalog context for all request against + /// the server. + /// The authentication mechanism used + /// to connect to the Presto server. Possible values include: + /// 'Anonymous', 'LDAP' + /// Unmatched properties from the + /// message are deserialized this collection + /// The integration runtime reference. + /// Linked service description. + /// The TCP port that the Presto server uses to + /// listen for client connections. The default value is 8080. + /// The user name used to connect to the Presto + /// server. + /// The password corresponding to the user + /// name. + /// Specifies whether the connections to the + /// server are encrypted using SSL. The default value is false. + /// 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. + /// Specifies whether to use a CA + /// certificate from the system trust store or from a specified PEM + /// file. The default value is false. + /// Specifies whether to require + /// a CA-issued SSL certificate name to match the host name of the + /// server when connecting over SSL. The default value is + /// false. + /// Specifies whether to allow + /// self-signed certificates from the server. The default value is + /// false. + /// The local time zone used by the + /// connection. Valid values for this option are specified in the IANA + /// Time Zone Database. The default value is the system time + /// zone. + /// The encrypted credential used for + /// authentication. Credentials are encrypted using the integration + /// runtime credential manager. Type: string (or Expression with + /// resultType string). + public PrestoLinkedService(object host, object serverVersion, object catalog, string authenticationType, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object port = default(object), object username = default(object), SecretBase password = default(SecretBase), object enableSsl = default(object), object trustedCertPath = default(object), object useSystemTrustStore = default(object), object allowHostNameCNMismatch = default(object), object allowSelfSignedServerCert = default(object), object timeZoneID = default(object), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) + { + Host = host; + ServerVersion = serverVersion; + Catalog = catalog; + Port = port; + AuthenticationType = authenticationType; + Username = username; + Password = password; + EnableSsl = enableSsl; + TrustedCertPath = trustedCertPath; + UseSystemTrustStore = useSystemTrustStore; + AllowHostNameCNMismatch = allowHostNameCNMismatch; + AllowSelfSignedServerCert = allowSelfSignedServerCert; + TimeZoneID = timeZoneID; + EncryptedCredential = encryptedCredential; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the IP address or host name of the Presto server. + /// (i.e. 192.168.222.160) + /// + [JsonProperty(PropertyName = "typeProperties.host")] + public object Host { get; set; } + + /// + /// Gets or sets the version of the Presto server. (i.e. 0.148-t) + /// + [JsonProperty(PropertyName = "typeProperties.serverVersion")] + public object ServerVersion { get; set; } + + /// + /// Gets or sets the catalog context for all request against the + /// server. + /// + [JsonProperty(PropertyName = "typeProperties.catalog")] + public object Catalog { get; set; } + + /// + /// Gets or sets the TCP port that the Presto server uses to listen for + /// client connections. The default value is 8080. + /// + [JsonProperty(PropertyName = "typeProperties.port")] + public object Port { get; set; } + + /// + /// Gets or sets the authentication mechanism used to connect to the + /// Presto server. Possible values include: 'Anonymous', 'LDAP' + /// + [JsonProperty(PropertyName = "typeProperties.authenticationType")] + public string AuthenticationType { get; set; } + + /// + /// Gets or sets the user name used to connect to the Presto server. + /// + [JsonProperty(PropertyName = "typeProperties.username")] + public object Username { get; set; } + + /// + /// Gets or sets the password corresponding to the user name. + /// + [JsonProperty(PropertyName = "typeProperties.password")] + public SecretBase Password { get; set; } + + /// + /// Gets or sets specifies whether the connections to the server are + /// encrypted using SSL. The default value is false. + /// + [JsonProperty(PropertyName = "typeProperties.enableSsl")] + public object EnableSsl { get; set; } + + /// + /// Gets or sets 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. + /// + [JsonProperty(PropertyName = "typeProperties.trustedCertPath")] + public object TrustedCertPath { get; set; } + + /// + /// Gets or sets specifies whether to use a CA certificate from the + /// system trust store or from a specified PEM file. The default value + /// is false. + /// + [JsonProperty(PropertyName = "typeProperties.useSystemTrustStore")] + public object UseSystemTrustStore { get; set; } + + /// + /// Gets or sets specifies whether to require a CA-issued SSL + /// certificate name to match the host name of the server when + /// connecting over SSL. The default value is false. + /// + [JsonProperty(PropertyName = "typeProperties.allowHostNameCNMismatch")] + public object AllowHostNameCNMismatch { get; set; } + + /// + /// Gets or sets specifies whether to allow self-signed certificates + /// from the server. The default value is false. + /// + [JsonProperty(PropertyName = "typeProperties.allowSelfSignedServerCert")] + public object AllowSelfSignedServerCert { get; set; } + + /// + /// Gets or sets the local time zone used by the connection. Valid + /// values for this option are specified in the IANA Time Zone + /// Database. The default value is the system time zone. + /// + [JsonProperty(PropertyName = "typeProperties.timeZoneID")] + public object TimeZoneID { get; set; } + + /// + /// Gets or sets the encrypted credential used for authentication. + /// Credentials are encrypted using the integration runtime credential + /// manager. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.encryptedCredential")] + public object EncryptedCredential { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (Host == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Host"); + } + if (ServerVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ServerVersion"); + } + if (Catalog == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Catalog"); + } + if (AuthenticationType == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "AuthenticationType"); + } + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PrestoObjectDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PrestoObjectDataset.cs new file mode 100644 index 000000000000..6bf49b3e5125 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PrestoObjectDataset.cs @@ -0,0 +1,66 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Presto server dataset. + /// + [Newtonsoft.Json.JsonObject("PrestoObject")] + public partial class PrestoObjectDataset : Dataset + { + /// + /// Initializes a new instance of the PrestoObjectDataset class. + /// + public PrestoObjectDataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the PrestoObjectDataset class. + /// + /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// Parameters for dataset. + public PrestoObjectDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) + { + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PrestoSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PrestoSource.cs new file mode 100644 index 000000000000..71b9d6d16934 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PrestoSource.cs @@ -0,0 +1,63 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity Presto server source. + /// + public partial class PrestoSource : CopySource + { + /// + /// Initializes a new instance of the PrestoSource class. + /// + public PrestoSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the PrestoSource class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Source retry count. Type: integer + /// (or Expression with resultType integer). + /// Source retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// A query to retrieve data from source. Type: + /// string (or Expression with resultType string). + public PrestoSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) + { + Query = query; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets a query to retrieve data from source. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "query")] + public object Query { get; set; } + + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/QuickBooksLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/QuickBooksLinkedService.cs new file mode 100644 index 000000000000..ab3e829b99ec --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/QuickBooksLinkedService.cs @@ -0,0 +1,133 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// QuickBooks server linked service. + /// + [Newtonsoft.Json.JsonObject("QuickBooks")] + [Rest.Serialization.JsonTransformation] + public partial class QuickBooksLinkedService : LinkedService + { + /// + /// Initializes a new instance of the QuickBooksLinkedService class. + /// + public QuickBooksLinkedService() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the QuickBooksLinkedService class. + /// + /// The endpoint of the QuickBooks server. (i.e. + /// quickbooks.api.intuit.com) + /// The company ID of the QuickBooks company to + /// authorize. + /// Unmatched properties from the + /// message are deserialized this collection + /// The integration runtime reference. + /// Linked service description. + /// The access token for OAuth 1.0 + /// authentication. + /// The access token secret for OAuth + /// 1.0 authentication. + /// Specifies whether the data + /// source endpoints are encrypted using HTTPS. The default value is + /// true. + /// The encrypted credential used for + /// authentication. Credentials are encrypted using the integration + /// runtime credential manager. Type: string (or Expression with + /// resultType string). + public QuickBooksLinkedService(object endpoint, object companyId, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), SecretBase accessToken = default(SecretBase), SecretBase accessTokenSecret = default(SecretBase), object useEncryptedEndpoints = default(object), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) + { + Endpoint = endpoint; + CompanyId = companyId; + AccessToken = accessToken; + AccessTokenSecret = accessTokenSecret; + UseEncryptedEndpoints = useEncryptedEndpoints; + EncryptedCredential = encryptedCredential; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the endpoint of the QuickBooks server. (i.e. + /// quickbooks.api.intuit.com) + /// + [JsonProperty(PropertyName = "typeProperties.endpoint")] + public object Endpoint { get; set; } + + /// + /// Gets or sets the company ID of the QuickBooks company to authorize. + /// + [JsonProperty(PropertyName = "typeProperties.companyId")] + public object CompanyId { get; set; } + + /// + /// Gets or sets the access token for OAuth 1.0 authentication. + /// + [JsonProperty(PropertyName = "typeProperties.accessToken")] + public SecretBase AccessToken { get; set; } + + /// + /// Gets or sets the access token secret for OAuth 1.0 authentication. + /// + [JsonProperty(PropertyName = "typeProperties.accessTokenSecret")] + public SecretBase AccessTokenSecret { get; set; } + + /// + /// Gets or sets specifies whether the data source endpoints are + /// encrypted using HTTPS. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.useEncryptedEndpoints")] + public object UseEncryptedEndpoints { get; set; } + + /// + /// Gets or sets the encrypted credential used for authentication. + /// Credentials are encrypted using the integration runtime credential + /// manager. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.encryptedCredential")] + public object EncryptedCredential { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (Endpoint == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Endpoint"); + } + if (CompanyId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "CompanyId"); + } + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/QuickBooksObjectDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/QuickBooksObjectDataset.cs new file mode 100644 index 000000000000..8668311b87be --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/QuickBooksObjectDataset.cs @@ -0,0 +1,66 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// QuickBooks server dataset. + /// + [Newtonsoft.Json.JsonObject("QuickBooksObject")] + public partial class QuickBooksObjectDataset : Dataset + { + /// + /// Initializes a new instance of the QuickBooksObjectDataset class. + /// + public QuickBooksObjectDataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the QuickBooksObjectDataset class. + /// + /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// Parameters for dataset. + public QuickBooksObjectDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) + { + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/QuickBooksSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/QuickBooksSource.cs new file mode 100644 index 000000000000..14d020fbccba --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/QuickBooksSource.cs @@ -0,0 +1,63 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity QuickBooks server source. + /// + public partial class QuickBooksSource : CopySource + { + /// + /// Initializes a new instance of the QuickBooksSource class. + /// + public QuickBooksSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the QuickBooksSource class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Source retry count. Type: integer + /// (or Expression with resultType integer). + /// Source retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// A query to retrieve data from source. Type: + /// string (or Expression with resultType string). + public QuickBooksSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) + { + Query = query; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets a query to retrieve data from source. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "query")] + public object Query { get; set; } + + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RecurrenceSchedule.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RecurrenceSchedule.cs index 0076c716aa55..a37fe19d3090 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RecurrenceSchedule.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RecurrenceSchedule.cs @@ -31,13 +31,16 @@ public RecurrenceSchedule() /// /// Initializes a new instance of the RecurrenceSchedule class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// The minutes. /// The hours. /// The days of the week. /// The month days. /// The monthly occurrences. - public RecurrenceSchedule(IList minutes = default(IList), IList hours = default(IList), IList weekDays = default(IList), IList monthDays = default(IList), IList monthlyOccurrences = default(IList)) + public RecurrenceSchedule(IDictionary additionalProperties = default(IDictionary), IList minutes = default(IList), IList hours = default(IList), IList weekDays = default(IList), IList monthDays = default(IList), IList monthlyOccurrences = default(IList)) { + AdditionalProperties = additionalProperties; Minutes = minutes; Hours = hours; WeekDays = weekDays; @@ -51,6 +54,13 @@ public RecurrenceSchedule() /// partial void CustomInit(); + /// + /// Gets or sets unmatched properties from the message are deserialized + /// this collection + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + /// /// Gets or sets the minutes. /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RecurrenceScheduleOccurrence.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RecurrenceScheduleOccurrence.cs index b3895000526e..53c8b1491cae 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RecurrenceScheduleOccurrence.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RecurrenceScheduleOccurrence.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -31,12 +33,15 @@ public RecurrenceScheduleOccurrence() /// Initializes a new instance of the RecurrenceScheduleOccurrence /// class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// The day of the week. Possible values include: /// 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', /// 'Saturday' /// The occurrence. - public RecurrenceScheduleOccurrence(DayOfWeek? day = default(DayOfWeek?), int? occurrence = default(int?)) + public RecurrenceScheduleOccurrence(IDictionary additionalProperties = default(IDictionary), DayOfWeek? day = default(DayOfWeek?), int? occurrence = default(int?)) { + AdditionalProperties = additionalProperties; Day = day; Occurrence = occurrence; CustomInit(); @@ -47,6 +52,13 @@ public RecurrenceScheduleOccurrence() /// partial void CustomInit(); + /// + /// Gets or sets unmatched properties from the message are deserialized + /// this collection + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + /// /// Gets or sets the day of the week. Possible values include: /// 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RedirectIncompatibleRowSettings.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RedirectIncompatibleRowSettings.cs index bd46068716fa..7ea528f69226 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RedirectIncompatibleRowSettings.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RedirectIncompatibleRowSettings.cs @@ -12,6 +12,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Microsoft.Rest; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -37,11 +39,14 @@ public RedirectIncompatibleRowSettings() /// incompatible row. Must be specified if /// redirectIncompatibleRowSettings is specified. Type: string (or /// Expression with resultType string). + /// Unmatched properties from the + /// message are deserialized this collection /// The path for storing the redirect incompatible /// row data. Type: string (or Expression with resultType /// string). - public RedirectIncompatibleRowSettings(object linkedServiceName, object path = default(object)) + public RedirectIncompatibleRowSettings(object linkedServiceName, IDictionary additionalProperties = default(IDictionary), object path = default(object)) { + AdditionalProperties = additionalProperties; LinkedServiceName = linkedServiceName; Path = path; CustomInit(); @@ -52,6 +57,13 @@ public RedirectIncompatibleRowSettings() /// partial void CustomInit(); + /// + /// Gets or sets unmatched properties from the message are deserialized + /// this collection + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + /// /// Gets or sets name of the Azure Storage, Storage SAS, or Azure Data /// Lake Store linked service used for redirecting incompatible row. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RelationalSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RelationalSource.cs index 0eea369493f7..574c5af39228 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RelationalSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RelationalSource.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,6 +31,8 @@ public RelationalSource() /// /// Initializes a new instance of the RelationalSource class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Source retry count. Type: integer /// (or Expression with resultType integer). /// Source retry wait. Type: string (or @@ -36,8 +40,8 @@ public RelationalSource() /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Database query. Type: string (or Expression /// with resultType string). - public RelationalSource(object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(sourceRetryCount, sourceRetryWait) + public RelationalSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RelationalTableDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RelationalTableDataset.cs index 310835c6eb8c..f03fd1bc7542 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RelationalTableDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RelationalTableDataset.cs @@ -37,6 +37,8 @@ public RelationalTableDataset() /// Initializes a new instance of the RelationalTableDataset class. /// /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection /// Dataset description. /// Columns that define the structure of the /// dataset. Type: array (or Expression with resultType array), @@ -44,8 +46,8 @@ public RelationalTableDataset() /// Parameters for dataset. /// The relational table name. Type: string (or /// Expression with resultType string). - public RelationalTableDataset(LinkedServiceReference linkedServiceName, string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary), object tableName = default(object)) - : base(linkedServiceName, description, structure, parameters) + public RelationalTableDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary), object tableName = default(object)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) { TableName = tableName; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SalesforceLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SalesforceLinkedService.cs index 7f68abd60885..879e1201cc7b 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SalesforceLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SalesforceLinkedService.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -33,6 +35,8 @@ public SalesforceLinkedService() /// /// Initializes a new instance of the SalesforceLinkedService class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. /// The URL of Salesforce instance. @@ -52,8 +56,8 @@ public SalesforceLinkedService() /// authentication. Credentials are encrypted using the integration /// runtime credential manager. Type: string (or Expression with /// resultType string). - public SalesforceLinkedService(IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object environmentUrl = default(object), object username = default(object), SecretBase password = default(SecretBase), SecretBase securityToken = default(SecretBase), object encryptedCredential = default(object)) - : base(connectVia, description) + public SalesforceLinkedService(IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object environmentUrl = default(object), object username = default(object), SecretBase password = default(SecretBase), SecretBase securityToken = default(SecretBase), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) { EnvironmentUrl = environmentUrl; Username = username; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SalesforceObjectDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SalesforceObjectDataset.cs index d0cc8a8462bb..6d7dc04c943b 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SalesforceObjectDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SalesforceObjectDataset.cs @@ -37,6 +37,8 @@ public SalesforceObjectDataset() /// Initializes a new instance of the SalesforceObjectDataset class. /// /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection /// Dataset description. /// Columns that define the structure of the /// dataset. Type: array (or Expression with resultType array), @@ -44,8 +46,8 @@ public SalesforceObjectDataset() /// Parameters for dataset. /// The Salesforce object API name. Type: /// string (or Expression with resultType string). - public SalesforceObjectDataset(LinkedServiceReference linkedServiceName, string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary), object objectApiName = default(object)) - : base(linkedServiceName, description, structure, parameters) + public SalesforceObjectDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary), object objectApiName = default(object)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) { ObjectApiName = objectApiName; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SalesforceSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SalesforceSink.cs index abd34c8ffa5a..23d569157b4b 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SalesforceSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SalesforceSink.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,6 +31,8 @@ public SalesforceSink() /// /// Initializes a new instance of the SalesforceSink class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Write batch size. Type: integer (or /// Expression with resultType integer), minimum: 0. /// Write batch timeout. Type: string @@ -54,8 +58,8 @@ public SalesforceSink() /// destination object to NULL when doing upsert/update operation and /// insert NULL value when doing insert operation. Type: boolean (or /// Expression with resultType boolean). - public SalesforceSink(object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), string writeBehavior = default(string), object externalIdFieldName = default(object), object ignoreNullValues = default(object)) - : base(writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) + public SalesforceSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), string writeBehavior = default(string), object externalIdFieldName = default(object), object ignoreNullValues = default(object)) + : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) { WriteBehavior = writeBehavior; ExternalIdFieldName = externalIdFieldName; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SalesforceSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SalesforceSource.cs index a3130e6789a9..b44cff09956d 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SalesforceSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SalesforceSource.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,6 +31,8 @@ public SalesforceSource() /// /// Initializes a new instance of the SalesforceSource class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Source retry count. Type: integer /// (or Expression with resultType integer). /// Source retry wait. Type: string (or @@ -36,8 +40,8 @@ public SalesforceSource() /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Database query. Type: string (or Expression /// with resultType string). - public SalesforceSource(object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(sourceRetryCount, sourceRetryWait) + public SalesforceSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapBWLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapBWLinkedService.cs index 62ba6bc7f5c1..19296977f6cb 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapBWLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapBWLinkedService.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -41,6 +43,8 @@ public SapBWLinkedService() /// Client ID of the client on the BW system. /// (Usually a three-digit decimal number represented as a string) /// Type: string (or Expression with resultType string). + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. /// Username to access the SAP BW server. Type: @@ -51,8 +55,8 @@ public SapBWLinkedService() /// authentication. Credentials are encrypted using the integration /// runtime credential manager. Type: string (or Expression with /// resultType string). - public SapBWLinkedService(object server, object systemNumber, object clientId, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object userName = default(object), SecureString password = default(SecureString), object encryptedCredential = default(object)) - : base(connectVia, description) + public SapBWLinkedService(object server, object systemNumber, object clientId, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object userName = default(object), SecureString password = default(SecureString), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) { Server = server; SystemNumber = systemNumber; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapCloudForCustomerLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapCloudForCustomerLinkedService.cs index 0e241792d822..14c0c9706ebb 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapCloudForCustomerLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapCloudForCustomerLinkedService.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -39,6 +41,8 @@ public SapCloudForCustomerLinkedService() /// example, /// '[https://[tenantname].crm.ondemand.com/sap/c4c/odata/v1]'. Type: /// string (or Expression with resultType string). + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. /// The username for Basic authentication. Type: @@ -50,8 +54,8 @@ public SapCloudForCustomerLinkedService() /// runtime credential manager. Either encryptedCredential or /// username/password must be provided. Type: string (or Expression /// with resultType string). - public SapCloudForCustomerLinkedService(object url, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object username = default(object), SecureString password = default(SecureString), object encryptedCredential = default(object)) - : base(connectVia, description) + public SapCloudForCustomerLinkedService(object url, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object username = default(object), SecureString password = default(SecureString), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) { Url = url; Username = username; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapCloudForCustomerResourceDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapCloudForCustomerResourceDataset.cs index 91228c4c0ebe..57dd2fa8dfed 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapCloudForCustomerResourceDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapCloudForCustomerResourceDataset.cs @@ -42,13 +42,15 @@ public SapCloudForCustomerResourceDataset() /// The path of the SAP Cloud for Customer OData /// entity. Type: string (or Expression with resultType /// string). + /// Unmatched properties from the + /// message are deserialized this collection /// Dataset description. /// Columns that define the structure of the /// dataset. Type: array (or Expression with resultType array), /// itemType: DatasetDataElement. /// Parameters for dataset. - public SapCloudForCustomerResourceDataset(LinkedServiceReference linkedServiceName, object path, string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) - : base(linkedServiceName, description, structure, parameters) + public SapCloudForCustomerResourceDataset(LinkedServiceReference linkedServiceName, object path, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) { Path = path; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapCloudForCustomerSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapCloudForCustomerSink.cs index 4d11e0049be5..e7a591b06dd8 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapCloudForCustomerSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapCloudForCustomerSink.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,6 +31,8 @@ public SapCloudForCustomerSink() /// /// Initializes a new instance of the SapCloudForCustomerSink class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Write batch size. Type: integer (or /// Expression with resultType integer), minimum: 0. /// Write batch timeout. Type: string @@ -42,8 +46,8 @@ public SapCloudForCustomerSink() /// The write behavior for the operation. /// Default is 'Insert'. Possible values include: 'Insert', /// 'Update' - public SapCloudForCustomerSink(object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), string writeBehavior = default(string)) - : base(writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) + public SapCloudForCustomerSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), string writeBehavior = default(string)) + : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) { WriteBehavior = writeBehavior; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapCloudForCustomerSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapCloudForCustomerSource.cs index 751b93a34570..932bad997445 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapCloudForCustomerSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapCloudForCustomerSource.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,6 +31,8 @@ public SapCloudForCustomerSource() /// /// Initializes a new instance of the SapCloudForCustomerSource class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Source retry count. Type: integer /// (or Expression with resultType integer). /// Source retry wait. Type: string (or @@ -37,8 +41,8 @@ public SapCloudForCustomerSource() /// SAP Cloud for Customer OData query. For /// example, "$top=1". Type: string (or Expression with resultType /// string). - public SapCloudForCustomerSource(object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(sourceRetryCount, sourceRetryWait) + public SapCloudForCustomerSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapHanaLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapHanaLinkedService.cs index e91a16411623..f75b8b210bc5 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapHanaLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapHanaLinkedService.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -35,6 +37,8 @@ public SapHanaLinkedService() /// /// Host name of the SAP HANA server. Type: string /// (or Expression with resultType string). + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. /// The authentication type to be used @@ -48,8 +52,8 @@ public SapHanaLinkedService() /// authentication. Credentials are encrypted using the integration /// runtime credential manager. Type: string (or Expression with /// resultType string). - public SapHanaLinkedService(object server, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), string authenticationType = default(string), object userName = default(object), SecureString password = default(SecureString), object encryptedCredential = default(object)) - : base(connectVia, description) + public SapHanaLinkedService(object server, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), string authenticationType = default(string), object userName = default(object), SecureString password = default(SecureString), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) { Server = server; AuthenticationType = authenticationType; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ScheduleTrigger.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ScheduleTrigger.cs index c21473e52263..f7f4a0703f7b 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ScheduleTrigger.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ScheduleTrigger.cs @@ -34,14 +34,16 @@ public ScheduleTrigger() /// /// Initializes a new instance of the ScheduleTrigger class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Trigger description. /// Indicates if trigger is running or not. /// Updated when Start/Stop APIs are called on the Trigger. Possible /// values include: 'Started', 'Stopped', 'Disabled' /// Pipelines that need to be started. /// Recurrence schedule configuration. - public ScheduleTrigger(string description = default(string), string runtimeState = default(string), IList pipelines = default(IList), ScheduleTriggerRecurrence recurrence = default(ScheduleTriggerRecurrence)) - : base(description, runtimeState, pipelines) + public ScheduleTrigger(IDictionary additionalProperties = default(IDictionary), string description = default(string), string runtimeState = default(string), IList pipelines = default(IList), ScheduleTriggerRecurrence recurrence = default(ScheduleTriggerRecurrence)) + : base(additionalProperties, description, runtimeState, pipelines) { Recurrence = recurrence; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ScheduleTriggerRecurrence.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ScheduleTriggerRecurrence.cs index b3c0b29995fc..9c77ec2f45d0 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ScheduleTriggerRecurrence.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ScheduleTriggerRecurrence.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,6 +31,8 @@ public ScheduleTriggerRecurrence() /// /// Initializes a new instance of the ScheduleTriggerRecurrence class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// The frequency. Possible values include: /// 'NotSpecified', 'Minute', 'Hour', 'Day', 'Week', 'Month', /// 'Year' @@ -37,8 +41,9 @@ public ScheduleTriggerRecurrence() /// The end time. /// The time zone. /// The recurrence schedule. - public ScheduleTriggerRecurrence(string frequency = default(string), int? interval = default(int?), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), string timeZone = default(string), RecurrenceSchedule schedule = default(RecurrenceSchedule)) + public ScheduleTriggerRecurrence(IDictionary additionalProperties = default(IDictionary), string frequency = default(string), int? interval = default(int?), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), string timeZone = default(string), RecurrenceSchedule schedule = default(RecurrenceSchedule)) { + AdditionalProperties = additionalProperties; Frequency = frequency; Interval = interval; StartTime = startTime; @@ -53,6 +58,13 @@ public ScheduleTriggerRecurrence() /// partial void CustomInit(); + /// + /// Gets or sets unmatched properties from the message are deserialized + /// this collection + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + /// /// Gets or sets the frequency. Possible values include: /// 'NotSpecified', 'Minute', 'Hour', 'Day', 'Week', 'Month', 'Year' diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SelfHostedIntegrationRuntime.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SelfHostedIntegrationRuntime.cs index 3c826cb0cc42..7b160e484386 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SelfHostedIntegrationRuntime.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SelfHostedIntegrationRuntime.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -32,9 +34,11 @@ public SelfHostedIntegrationRuntime() /// Initializes a new instance of the SelfHostedIntegrationRuntime /// class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Integration runtime description. - public SelfHostedIntegrationRuntime(string description = default(string)) - : base(description) + public SelfHostedIntegrationRuntime(IDictionary additionalProperties = default(IDictionary), string description = default(string)) + : base(additionalProperties, description) { CustomInit(); } diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SelfHostedIntegrationRuntimeStatus.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SelfHostedIntegrationRuntimeStatus.cs index eb08bf136d20..001f4a92341e 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SelfHostedIntegrationRuntimeStatus.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SelfHostedIntegrationRuntimeStatus.cs @@ -37,6 +37,8 @@ public SelfHostedIntegrationRuntimeStatus() /// Initializes a new instance of the /// SelfHostedIntegrationRuntimeStatus class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// The state of integration runtime. Possible /// values include: 'Initial', 'Stopped', 'Started', 'Starting', /// 'Stopping', 'NeedRegistration', 'Online', 'Limited', @@ -66,8 +68,8 @@ public SelfHostedIntegrationRuntimeStatus() /// Whether Self-hosted integration runtime /// auto update has been turned on. Possible values include: 'On', /// 'Off' - public SelfHostedIntegrationRuntimeStatus(string state = default(string), System.DateTime? createTime = default(System.DateTime?), string taskQueueId = default(string), string internalChannelEncryption = default(string), string version = default(string), IList nodes = default(IList), System.DateTime? scheduledUpdateDate = default(System.DateTime?), string updateDelayOffset = default(string), string localTimeZoneOffset = default(string), IDictionary capabilities = default(IDictionary), IList serviceUrls = default(IList), string autoUpdate = default(string)) - : base(state) + public SelfHostedIntegrationRuntimeStatus(IDictionary additionalProperties = default(IDictionary), string state = default(string), System.DateTime? createTime = default(System.DateTime?), string taskQueueId = default(string), string internalChannelEncryption = default(string), string version = default(string), IList nodes = default(IList), System.DateTime? scheduledUpdateDate = default(System.DateTime?), string updateDelayOffset = default(string), string localTimeZoneOffset = default(string), IDictionary capabilities = default(IDictionary), IList serviceUrls = default(IList), string autoUpdate = default(string)) + : base(additionalProperties, state) { CreateTime = createTime; TaskQueueId = taskQueueId; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ServiceNowAuthenticationType.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ServiceNowAuthenticationType.cs new file mode 100644 index 000000000000..35f58d69a9d5 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ServiceNowAuthenticationType.cs @@ -0,0 +1,22 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + + /// + /// Defines values for ServiceNowAuthenticationType. + /// + public static class ServiceNowAuthenticationType + { + public const string Basic = "Basic"; + public const string OAuth2 = "OAuth2"; + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ServiceNowLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ServiceNowLinkedService.cs new file mode 100644 index 000000000000..c77706a7bc13 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ServiceNowLinkedService.cs @@ -0,0 +1,177 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// ServiceNow server linked service. + /// + [Newtonsoft.Json.JsonObject("ServiceNow")] + [Rest.Serialization.JsonTransformation] + public partial class ServiceNowLinkedService : LinkedService + { + /// + /// Initializes a new instance of the ServiceNowLinkedService class. + /// + public ServiceNowLinkedService() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ServiceNowLinkedService class. + /// + /// The endpoint of the ServiceNow server. (i.e. + /// ServiceNowData.com) + /// The authentication type to use. + /// Possible values include: 'Basic', 'OAuth2' + /// Unmatched properties from the + /// message are deserialized this collection + /// The integration runtime reference. + /// Linked service description. + /// The user name used to connect to the + /// ServiceNow server for Basic and OAuth2 authentication. + /// The password corresponding to the user name + /// for Basic and OAuth2 authentication. + /// The client id for OAuth2 + /// authentication. + /// The client secret for OAuth2 + /// authentication. + /// Specifies whether the data + /// source endpoints are encrypted using HTTPS. The default value is + /// true. + /// Specifies whether to require the + /// host name in the server's certificate to match the host name of the + /// server when connecting over SSL. The default value is true. + /// Specifies whether to verify the + /// identity of the server when connecting over SSL. The default value + /// is true. + /// The encrypted credential used for + /// authentication. Credentials are encrypted using the integration + /// runtime credential manager. Type: string (or Expression with + /// resultType string). + public ServiceNowLinkedService(object endpoint, string authenticationType, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object username = default(object), SecretBase password = default(SecretBase), object clientId = default(object), SecretBase clientSecret = default(SecretBase), object useEncryptedEndpoints = default(object), object useHostVerification = default(object), object usePeerVerification = default(object), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) + { + Endpoint = endpoint; + AuthenticationType = authenticationType; + Username = username; + Password = password; + ClientId = clientId; + ClientSecret = clientSecret; + UseEncryptedEndpoints = useEncryptedEndpoints; + UseHostVerification = useHostVerification; + UsePeerVerification = usePeerVerification; + EncryptedCredential = encryptedCredential; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the endpoint of the ServiceNow server. (i.e. + /// ServiceNowData.com) + /// + [JsonProperty(PropertyName = "typeProperties.endpoint")] + public object Endpoint { get; set; } + + /// + /// Gets or sets the authentication type to use. Possible values + /// include: 'Basic', 'OAuth2' + /// + [JsonProperty(PropertyName = "typeProperties.authenticationType")] + public string AuthenticationType { get; set; } + + /// + /// Gets or sets the user name used to connect to the ServiceNow server + /// for Basic and OAuth2 authentication. + /// + [JsonProperty(PropertyName = "typeProperties.username")] + public object Username { get; set; } + + /// + /// Gets or sets the password corresponding to the user name for Basic + /// and OAuth2 authentication. + /// + [JsonProperty(PropertyName = "typeProperties.password")] + public SecretBase Password { get; set; } + + /// + /// Gets or sets the client id for OAuth2 authentication. + /// + [JsonProperty(PropertyName = "typeProperties.clientId")] + public object ClientId { get; set; } + + /// + /// Gets or sets the client secret for OAuth2 authentication. + /// + [JsonProperty(PropertyName = "typeProperties.clientSecret")] + public SecretBase ClientSecret { get; set; } + + /// + /// Gets or sets specifies whether the data source endpoints are + /// encrypted using HTTPS. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.useEncryptedEndpoints")] + public object UseEncryptedEndpoints { get; set; } + + /// + /// Gets or sets specifies whether to require the host name in the + /// server's certificate to match the host name of the server when + /// connecting over SSL. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.useHostVerification")] + public object UseHostVerification { get; set; } + + /// + /// Gets or sets specifies whether to verify the identity of the server + /// when connecting over SSL. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.usePeerVerification")] + public object UsePeerVerification { get; set; } + + /// + /// Gets or sets the encrypted credential used for authentication. + /// Credentials are encrypted using the integration runtime credential + /// manager. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.encryptedCredential")] + public object EncryptedCredential { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (Endpoint == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Endpoint"); + } + if (AuthenticationType == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "AuthenticationType"); + } + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ServiceNowObjectDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ServiceNowObjectDataset.cs new file mode 100644 index 000000000000..741b48aa4c9b --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ServiceNowObjectDataset.cs @@ -0,0 +1,66 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// ServiceNow server dataset. + /// + [Newtonsoft.Json.JsonObject("ServiceNowObject")] + public partial class ServiceNowObjectDataset : Dataset + { + /// + /// Initializes a new instance of the ServiceNowObjectDataset class. + /// + public ServiceNowObjectDataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the ServiceNowObjectDataset class. + /// + /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// Parameters for dataset. + public ServiceNowObjectDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) + { + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ServiceNowSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ServiceNowSource.cs new file mode 100644 index 000000000000..575991099e05 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ServiceNowSource.cs @@ -0,0 +1,63 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity ServiceNow server source. + /// + public partial class ServiceNowSource : CopySource + { + /// + /// Initializes a new instance of the ServiceNowSource class. + /// + public ServiceNowSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ServiceNowSource class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Source retry count. Type: integer + /// (or Expression with resultType integer). + /// Source retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// A query to retrieve data from source. Type: + /// string (or Expression with resultType string). + public ServiceNowSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) + { + Query = query; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets a query to retrieve data from source. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "query")] + public object Query { get; set; } + + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SftpServerLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SftpServerLinkedService.cs index 1b6092c54702..6ace36c68324 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SftpServerLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SftpServerLinkedService.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -35,6 +37,8 @@ public SftpServerLinkedService() /// /// The SFTP server host name. Type: string (or /// Expression with resultType string). + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. /// The TCP port number that the SFTP server uses to @@ -72,8 +76,8 @@ public SftpServerLinkedService() /// SFTP server. When SkipHostKeyValidation is false, /// HostKeyFingerprint should be specified. Type: string (or Expression /// with resultType string). - public SftpServerLinkedService(object host, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object port = default(object), string authenticationType = default(string), object userName = default(object), SecureString password = default(SecureString), object encryptedCredential = default(object), object privateKeyPath = default(object), SecureString privateKeyContent = default(SecureString), SecureString passPhrase = default(SecureString), object skipHostKeyValidation = default(object), object hostKeyFingerprint = default(object)) - : base(connectVia, description) + public SftpServerLinkedService(object host, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object port = default(object), string authenticationType = default(string), object userName = default(object), SecureString password = default(SecureString), object encryptedCredential = default(object), object privateKeyPath = default(object), SecureString privateKeyContent = default(SecureString), SecureString passPhrase = default(SecureString), object skipHostKeyValidation = default(object), object hostKeyFingerprint = default(object)) + : base(additionalProperties, connectVia, description) { Host = host; Port = port; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ShopifyLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ShopifyLinkedService.cs new file mode 100644 index 000000000000..92f934a8e323 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ShopifyLinkedService.cs @@ -0,0 +1,136 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Shopify Serivce linked service. + /// + [Newtonsoft.Json.JsonObject("Shopify")] + [Rest.Serialization.JsonTransformation] + public partial class ShopifyLinkedService : LinkedService + { + /// + /// Initializes a new instance of the ShopifyLinkedService class. + /// + public ShopifyLinkedService() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ShopifyLinkedService class. + /// + /// The endpoint of the Shopify server. (i.e. + /// mystore.myshopify.com) + /// Unmatched properties from the + /// message are deserialized this collection + /// The integration runtime reference. + /// Linked service description. + /// The API access token that can be used to + /// access Shopify’s data. The token won't expire if it is offline + /// mode. + /// Specifies whether the data + /// source endpoints are encrypted using HTTPS. The default value is + /// true. + /// Specifies whether to require the + /// host name in the server's certificate to match the host name of the + /// server when connecting over SSL. The default value is true. + /// Specifies whether to verify the + /// identity of the server when connecting over SSL. The default value + /// is true. + /// The encrypted credential used for + /// authentication. Credentials are encrypted using the integration + /// runtime credential manager. Type: string (or Expression with + /// resultType string). + public ShopifyLinkedService(object host, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), SecretBase accessToken = default(SecretBase), object useEncryptedEndpoints = default(object), object useHostVerification = default(object), object usePeerVerification = default(object), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) + { + Host = host; + AccessToken = accessToken; + UseEncryptedEndpoints = useEncryptedEndpoints; + UseHostVerification = useHostVerification; + UsePeerVerification = usePeerVerification; + EncryptedCredential = encryptedCredential; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the endpoint of the Shopify server. (i.e. + /// mystore.myshopify.com) + /// + [JsonProperty(PropertyName = "typeProperties.host")] + public object Host { get; set; } + + /// + /// Gets or sets the API access token that can be used to access + /// Shopify’s data. The token won't expire if it is offline mode. + /// + [JsonProperty(PropertyName = "typeProperties.accessToken")] + public SecretBase AccessToken { get; set; } + + /// + /// Gets or sets specifies whether the data source endpoints are + /// encrypted using HTTPS. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.useEncryptedEndpoints")] + public object UseEncryptedEndpoints { get; set; } + + /// + /// Gets or sets specifies whether to require the host name in the + /// server's certificate to match the host name of the server when + /// connecting over SSL. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.useHostVerification")] + public object UseHostVerification { get; set; } + + /// + /// Gets or sets specifies whether to verify the identity of the server + /// when connecting over SSL. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.usePeerVerification")] + public object UsePeerVerification { get; set; } + + /// + /// Gets or sets the encrypted credential used for authentication. + /// Credentials are encrypted using the integration runtime credential + /// manager. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.encryptedCredential")] + public object EncryptedCredential { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (Host == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Host"); + } + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ShopifyObjectDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ShopifyObjectDataset.cs new file mode 100644 index 000000000000..95783f9fddda --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ShopifyObjectDataset.cs @@ -0,0 +1,66 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Shopify Serivce dataset. + /// + [Newtonsoft.Json.JsonObject("ShopifyObject")] + public partial class ShopifyObjectDataset : Dataset + { + /// + /// Initializes a new instance of the ShopifyObjectDataset class. + /// + public ShopifyObjectDataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the ShopifyObjectDataset class. + /// + /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// Parameters for dataset. + public ShopifyObjectDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) + { + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ShopifySource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ShopifySource.cs new file mode 100644 index 000000000000..7248e5f4c18d --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ShopifySource.cs @@ -0,0 +1,63 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity Shopify Serivce source. + /// + public partial class ShopifySource : CopySource + { + /// + /// Initializes a new instance of the ShopifySource class. + /// + public ShopifySource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ShopifySource class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Source retry count. Type: integer + /// (or Expression with resultType integer). + /// Source retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// A query to retrieve data from source. Type: + /// string (or Expression with resultType string). + public ShopifySource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) + { + Query = query; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets a query to retrieve data from source. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "query")] + public object Query { get; set; } + + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SparkAuthenticationType.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SparkAuthenticationType.cs new file mode 100644 index 000000000000..67f77ecc1c9b --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SparkAuthenticationType.cs @@ -0,0 +1,24 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + + /// + /// Defines values for SparkAuthenticationType. + /// + public static class SparkAuthenticationType + { + public const string Anonymous = "Anonymous"; + public const string Username = "Username"; + public const string UsernameAndPassword = "UsernameAndPassword"; + public const string WindowsAzureHDInsightService = "WindowsAzureHDInsightService"; + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SparkLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SparkLinkedService.cs new file mode 100644 index 000000000000..6d43a27868c5 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SparkLinkedService.cs @@ -0,0 +1,231 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Spark Server linked service. + /// + [Newtonsoft.Json.JsonObject("Spark")] + [Rest.Serialization.JsonTransformation] + public partial class SparkLinkedService : LinkedService + { + /// + /// Initializes a new instance of the SparkLinkedService class. + /// + public SparkLinkedService() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the SparkLinkedService class. + /// + /// IP address or host name of the Spark + /// server + /// The TCP port that the Spark server uses to + /// listen for client connections. + /// The authentication method used to + /// access the Spark server. Possible values include: 'Anonymous', + /// 'Username', 'UsernameAndPassword', + /// 'WindowsAzureHDInsightService' + /// Unmatched properties from the + /// message are deserialized this collection + /// The integration runtime reference. + /// Linked service description. + /// The type of Spark server. Possible values + /// include: 'SharkServer', 'SharkServer2', 'SparkThriftServer' + /// The transport protocol to use + /// in the Thrift layer. Possible values include: 'Binary', 'SASL', + /// 'HTTP ' + /// The user name that you use to access Spark + /// Server. + /// The password corresponding to the user name + /// that you provided in the Username field + /// The partial URL corresponding to the Spark + /// server. + /// Specifies whether the connections to the + /// server are encrypted using SSL. The default value is false. + /// 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. + /// Specifies whether to use a CA + /// certificate from the system trust store or from a specified PEM + /// file. The default value is false. + /// Specifies whether to require + /// a CA-issued SSL certificate name to match the host name of the + /// server when connecting over SSL. The default value is + /// false. + /// Specifies whether to allow + /// self-signed certificates from the server. The default value is + /// false. + /// The encrypted credential used for + /// authentication. Credentials are encrypted using the integration + /// runtime credential manager. Type: string (or Expression with + /// resultType string). + public SparkLinkedService(object host, object port, string authenticationType, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), string serverType = default(string), string thriftTransportProtocol = default(string), object username = default(object), SecretBase password = default(SecretBase), object httpPath = default(object), object enableSsl = default(object), object trustedCertPath = default(object), object useSystemTrustStore = default(object), object allowHostNameCNMismatch = default(object), object allowSelfSignedServerCert = default(object), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) + { + Host = host; + Port = port; + ServerType = serverType; + ThriftTransportProtocol = thriftTransportProtocol; + AuthenticationType = authenticationType; + Username = username; + Password = password; + HttpPath = httpPath; + EnableSsl = enableSsl; + TrustedCertPath = trustedCertPath; + UseSystemTrustStore = useSystemTrustStore; + AllowHostNameCNMismatch = allowHostNameCNMismatch; + AllowSelfSignedServerCert = allowSelfSignedServerCert; + EncryptedCredential = encryptedCredential; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets IP address or host name of the Spark server + /// + [JsonProperty(PropertyName = "typeProperties.host")] + public object Host { get; set; } + + /// + /// Gets or sets the TCP port that the Spark server uses to listen for + /// client connections. + /// + [JsonProperty(PropertyName = "typeProperties.port")] + public object Port { get; set; } + + /// + /// Gets or sets the type of Spark server. Possible values include: + /// 'SharkServer', 'SharkServer2', 'SparkThriftServer' + /// + [JsonProperty(PropertyName = "typeProperties.serverType")] + public string ServerType { get; set; } + + /// + /// Gets or sets the transport protocol to use in the Thrift layer. + /// Possible values include: 'Binary', 'SASL', 'HTTP ' + /// + [JsonProperty(PropertyName = "typeProperties.thriftTransportProtocol")] + public string ThriftTransportProtocol { get; set; } + + /// + /// Gets or sets the authentication method used to access the Spark + /// server. Possible values include: 'Anonymous', 'Username', + /// 'UsernameAndPassword', 'WindowsAzureHDInsightService' + /// + [JsonProperty(PropertyName = "typeProperties.authenticationType")] + public string AuthenticationType { get; set; } + + /// + /// Gets or sets the user name that you use to access Spark Server. + /// + [JsonProperty(PropertyName = "typeProperties.username")] + public object Username { get; set; } + + /// + /// Gets or sets the password corresponding to the user name that you + /// provided in the Username field + /// + [JsonProperty(PropertyName = "typeProperties.password")] + public SecretBase Password { get; set; } + + /// + /// Gets or sets the partial URL corresponding to the Spark server. + /// + [JsonProperty(PropertyName = "typeProperties.httpPath")] + public object HttpPath { get; set; } + + /// + /// Gets or sets specifies whether the connections to the server are + /// encrypted using SSL. The default value is false. + /// + [JsonProperty(PropertyName = "typeProperties.enableSsl")] + public object EnableSsl { get; set; } + + /// + /// Gets or sets 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. + /// + [JsonProperty(PropertyName = "typeProperties.trustedCertPath")] + public object TrustedCertPath { get; set; } + + /// + /// Gets or sets specifies whether to use a CA certificate from the + /// system trust store or from a specified PEM file. The default value + /// is false. + /// + [JsonProperty(PropertyName = "typeProperties.useSystemTrustStore")] + public object UseSystemTrustStore { get; set; } + + /// + /// Gets or sets specifies whether to require a CA-issued SSL + /// certificate name to match the host name of the server when + /// connecting over SSL. The default value is false. + /// + [JsonProperty(PropertyName = "typeProperties.allowHostNameCNMismatch")] + public object AllowHostNameCNMismatch { get; set; } + + /// + /// Gets or sets specifies whether to allow self-signed certificates + /// from the server. The default value is false. + /// + [JsonProperty(PropertyName = "typeProperties.allowSelfSignedServerCert")] + public object AllowSelfSignedServerCert { get; set; } + + /// + /// Gets or sets the encrypted credential used for authentication. + /// Credentials are encrypted using the integration runtime credential + /// manager. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.encryptedCredential")] + public object EncryptedCredential { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (Host == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Host"); + } + if (Port == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Port"); + } + if (AuthenticationType == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "AuthenticationType"); + } + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SparkObjectDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SparkObjectDataset.cs new file mode 100644 index 000000000000..fbf4b4aa8881 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SparkObjectDataset.cs @@ -0,0 +1,66 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Spark Server dataset. + /// + [Newtonsoft.Json.JsonObject("SparkObject")] + public partial class SparkObjectDataset : Dataset + { + /// + /// Initializes a new instance of the SparkObjectDataset class. + /// + public SparkObjectDataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the SparkObjectDataset class. + /// + /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// Parameters for dataset. + public SparkObjectDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) + { + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SparkServerType.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SparkServerType.cs new file mode 100644 index 000000000000..c27ec0a8ef64 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SparkServerType.cs @@ -0,0 +1,23 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + + /// + /// Defines values for SparkServerType. + /// + public static class SparkServerType + { + public const string SharkServer = "SharkServer"; + public const string SharkServer2 = "SharkServer2"; + public const string SparkThriftServer = "SparkThriftServer"; + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SparkSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SparkSource.cs new file mode 100644 index 000000000000..3e4eb57a05d1 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SparkSource.cs @@ -0,0 +1,63 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity Spark Server source. + /// + public partial class SparkSource : CopySource + { + /// + /// Initializes a new instance of the SparkSource class. + /// + public SparkSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the SparkSource class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Source retry count. Type: integer + /// (or Expression with resultType integer). + /// Source retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// A query to retrieve data from source. Type: + /// string (or Expression with resultType string). + public SparkSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) + { + Query = query; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets a query to retrieve data from source. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "query")] + public object Query { get; set; } + + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SparkThriftTransportProtocol.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SparkThriftTransportProtocol.cs new file mode 100644 index 000000000000..170878640fd6 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SparkThriftTransportProtocol.cs @@ -0,0 +1,23 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + + /// + /// Defines values for SparkThriftTransportProtocol. + /// + public static class SparkThriftTransportProtocol + { + public const string Binary = "Binary"; + public const string SASL = "SASL"; + public const string HTTP = "HTTP "; + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlDWSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlDWSink.cs index 64c18ace131c..3e0b47a4c1ab 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlDWSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlDWSink.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,6 +31,8 @@ public SqlDWSink() /// /// Initializes a new instance of the SqlDWSink class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Write batch size. Type: integer (or /// Expression with resultType integer), minimum: 0. /// Write batch timeout. Type: string @@ -46,8 +50,8 @@ public SqlDWSink() /// Expression with resultType boolean). /// Specifies PolyBase-related settings /// when allowPolyBase is true. - public SqlDWSink(object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object preCopyScript = default(object), object allowPolyBase = default(object), PolybaseSettings polyBaseSettings = default(PolybaseSettings)) - : base(writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) + public SqlDWSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object preCopyScript = default(object), object allowPolyBase = default(object), PolybaseSettings polyBaseSettings = default(PolybaseSettings)) + : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) { PreCopyScript = preCopyScript; AllowPolyBase = allowPolyBase; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlDWSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlDWSource.cs index fc0844086f2b..5668cbc83327 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlDWSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlDWSource.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,6 +31,8 @@ public SqlDWSource() /// /// Initializes a new instance of the SqlDWSource class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Source retry count. Type: integer /// (or Expression with resultType integer). /// Source retry wait. Type: string (or @@ -44,8 +48,8 @@ public SqlDWSource() /// stored procedure parameters. Example: "{Parameter1: {value: "1", /// type: "int"}}". Type: object (or Expression with resultType /// object), itemType: StoredProcedureParameter. - public SqlDWSource(object sourceRetryCount = default(object), object sourceRetryWait = default(object), object sqlReaderQuery = default(object), object sqlReaderStoredProcedureName = default(object), object storedProcedureParameters = default(object)) - : base(sourceRetryCount, sourceRetryWait) + public SqlDWSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object sqlReaderQuery = default(object), object sqlReaderStoredProcedureName = default(object), object storedProcedureParameters = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) { SqlReaderQuery = sqlReaderQuery; SqlReaderStoredProcedureName = sqlReaderStoredProcedureName; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlServerLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlServerLinkedService.cs index 50bf8f25be33..babe659eaf6b 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlServerLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlServerLinkedService.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -34,6 +36,8 @@ public SqlServerLinkedService() /// Initializes a new instance of the SqlServerLinkedService class. /// /// The connection string. + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. /// The on-premises Windows authentication user @@ -44,8 +48,8 @@ public SqlServerLinkedService() /// authentication. Credentials are encrypted using the integration /// runtime credential manager. Type: string (or Expression with /// resultType string). - public SqlServerLinkedService(SecureString connectionString, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object userName = default(object), SecureString password = default(SecureString), object encryptedCredential = default(object)) - : base(connectVia, description) + public SqlServerLinkedService(SecureString connectionString, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object userName = default(object), SecureString password = default(SecureString), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) { ConnectionString = connectionString; UserName = userName; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlServerStoredProcedureActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlServerStoredProcedureActivity.cs index 3e578060b786..af9c84b6b845 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlServerStoredProcedureActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlServerStoredProcedureActivity.cs @@ -40,6 +40,8 @@ public SqlServerStoredProcedureActivity() /// Activity name. /// Stored procedure name. Type: /// string (or Expression with resultType string). + /// Unmatched properties from the + /// message are deserialized this collection /// Activity description. /// Activity depends on condition. /// Linked service reference. @@ -47,8 +49,8 @@ public SqlServerStoredProcedureActivity() /// Value and type setting for /// stored procedure parameters. Example: "{Parameter1: {value: "1", /// type: "int"}}". - public SqlServerStoredProcedureActivity(string name, object storedProcedureName, string description = default(string), IList dependsOn = default(IList), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), ActivityPolicy policy = default(ActivityPolicy), IDictionary storedProcedureParameters = default(IDictionary)) - : base(name, description, dependsOn, linkedServiceName, policy) + public SqlServerStoredProcedureActivity(string name, object storedProcedureName, IDictionary additionalProperties = default(IDictionary), string description = default(string), IList dependsOn = default(IList), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), ActivityPolicy policy = default(ActivityPolicy), IDictionary storedProcedureParameters = default(IDictionary)) + : base(name, additionalProperties, description, dependsOn, linkedServiceName, policy) { StoredProcedureName = storedProcedureName; StoredProcedureParameters = storedProcedureParameters; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlServerTableDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlServerTableDataset.cs index 033db8dbebb7..c72ab4ba9f74 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlServerTableDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlServerTableDataset.cs @@ -39,13 +39,15 @@ public SqlServerTableDataset() /// Linked service reference. /// The table name of the SQL Server dataset. /// Type: string (or Expression with resultType string). + /// Unmatched properties from the + /// message are deserialized this collection /// Dataset description. /// Columns that define the structure of the /// dataset. Type: array (or Expression with resultType array), /// itemType: DatasetDataElement. /// Parameters for dataset. - public SqlServerTableDataset(LinkedServiceReference linkedServiceName, object tableName, string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) - : base(linkedServiceName, description, structure, parameters) + public SqlServerTableDataset(LinkedServiceReference linkedServiceName, object tableName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) { TableName = tableName; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlSink.cs index 328286df278b..98ac09e4d082 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlSink.cs @@ -31,6 +31,8 @@ public SqlSink() /// /// Initializes a new instance of the SqlSink class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Write batch size. Type: integer (or /// Expression with resultType integer), minimum: 0. /// Write batch timeout. Type: string @@ -50,8 +52,8 @@ public SqlSink() /// Expression with resultType string). /// SQL stored procedure /// parameters. - public SqlSink(object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object sqlWriterStoredProcedureName = default(object), object sqlWriterTableType = default(object), object preCopyScript = default(object), IDictionary storedProcedureParameters = default(IDictionary)) - : base(writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) + public SqlSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object sqlWriterStoredProcedureName = default(object), object sqlWriterTableType = default(object), object preCopyScript = default(object), IDictionary storedProcedureParameters = default(IDictionary)) + : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) { SqlWriterStoredProcedureName = sqlWriterStoredProcedureName; SqlWriterTableType = sqlWriterTableType; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlSource.cs index 3df52d10df49..7957c62e36ef 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlSource.cs @@ -31,6 +31,8 @@ public SqlSource() /// /// Initializes a new instance of the SqlSource class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Source retry count. Type: integer /// (or Expression with resultType integer). /// Source retry wait. Type: string (or @@ -45,8 +47,8 @@ public SqlSource() /// Value and type setting for /// stored procedure parameters. Example: "{Parameter1: {value: "1", /// type: "int"}}". - public SqlSource(object sourceRetryCount = default(object), object sourceRetryWait = default(object), object sqlReaderQuery = default(object), object sqlReaderStoredProcedureName = default(object), IDictionary storedProcedureParameters = default(IDictionary)) - : base(sourceRetryCount, sourceRetryWait) + public SqlSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object sqlReaderQuery = default(object), object sqlReaderStoredProcedureName = default(object), IDictionary storedProcedureParameters = default(IDictionary)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) { SqlReaderQuery = sqlReaderQuery; SqlReaderStoredProcedureName = sqlReaderStoredProcedureName; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SquareLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SquareLinkedService.cs new file mode 100644 index 000000000000..4c9389382156 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SquareLinkedService.cs @@ -0,0 +1,162 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Square Serivce linked service. + /// + [Newtonsoft.Json.JsonObject("Square")] + [Rest.Serialization.JsonTransformation] + public partial class SquareLinkedService : LinkedService + { + /// + /// Initializes a new instance of the SquareLinkedService class. + /// + public SquareLinkedService() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the SquareLinkedService class. + /// + /// The URL of the Square instance. (i.e. + /// mystore.mysquare.com) + /// The client ID associated with your Square + /// application. + /// The redirect URL assigned in the Square + /// application dashboard. (i.e. http://localhost:2500) + /// Unmatched properties from the + /// message are deserialized this collection + /// The integration runtime reference. + /// Linked service description. + /// The client secret associated with your + /// Square application. + /// Specifies whether the data + /// source endpoints are encrypted using HTTPS. The default value is + /// true. + /// Specifies whether to require the + /// host name in the server's certificate to match the host name of the + /// server when connecting over SSL. The default value is true. + /// Specifies whether to verify the + /// identity of the server when connecting over SSL. The default value + /// is true. + /// The encrypted credential used for + /// authentication. Credentials are encrypted using the integration + /// runtime credential manager. Type: string (or Expression with + /// resultType string). + public SquareLinkedService(object host, object clientId, object redirectUri, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), SecretBase clientSecret = default(SecretBase), object useEncryptedEndpoints = default(object), object useHostVerification = default(object), object usePeerVerification = default(object), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) + { + Host = host; + ClientId = clientId; + ClientSecret = clientSecret; + RedirectUri = redirectUri; + UseEncryptedEndpoints = useEncryptedEndpoints; + UseHostVerification = useHostVerification; + UsePeerVerification = usePeerVerification; + EncryptedCredential = encryptedCredential; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the URL of the Square instance. (i.e. + /// mystore.mysquare.com) + /// + [JsonProperty(PropertyName = "typeProperties.host")] + public object Host { get; set; } + + /// + /// Gets or sets the client ID associated with your Square application. + /// + [JsonProperty(PropertyName = "typeProperties.clientId")] + public object ClientId { get; set; } + + /// + /// Gets or sets the client secret associated with your Square + /// application. + /// + [JsonProperty(PropertyName = "typeProperties.clientSecret")] + public SecretBase ClientSecret { get; set; } + + /// + /// Gets or sets the redirect URL assigned in the Square application + /// dashboard. (i.e. http://localhost:2500) + /// + [JsonProperty(PropertyName = "typeProperties.redirectUri")] + public object RedirectUri { get; set; } + + /// + /// Gets or sets specifies whether the data source endpoints are + /// encrypted using HTTPS. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.useEncryptedEndpoints")] + public object UseEncryptedEndpoints { get; set; } + + /// + /// Gets or sets specifies whether to require the host name in the + /// server's certificate to match the host name of the server when + /// connecting over SSL. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.useHostVerification")] + public object UseHostVerification { get; set; } + + /// + /// Gets or sets specifies whether to verify the identity of the server + /// when connecting over SSL. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.usePeerVerification")] + public object UsePeerVerification { get; set; } + + /// + /// Gets or sets the encrypted credential used for authentication. + /// Credentials are encrypted using the integration runtime credential + /// manager. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.encryptedCredential")] + public object EncryptedCredential { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (Host == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Host"); + } + if (ClientId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ClientId"); + } + if (RedirectUri == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "RedirectUri"); + } + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SquareObjectDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SquareObjectDataset.cs new file mode 100644 index 000000000000..f245ae2d60cf --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SquareObjectDataset.cs @@ -0,0 +1,66 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Square Serivce dataset. + /// + [Newtonsoft.Json.JsonObject("SquareObject")] + public partial class SquareObjectDataset : Dataset + { + /// + /// Initializes a new instance of the SquareObjectDataset class. + /// + public SquareObjectDataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the SquareObjectDataset class. + /// + /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// Parameters for dataset. + public SquareObjectDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) + { + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SquareSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SquareSource.cs new file mode 100644 index 000000000000..b3277a4be48f --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SquareSource.cs @@ -0,0 +1,63 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity Square Serivce source. + /// + public partial class SquareSource : CopySource + { + /// + /// Initializes a new instance of the SquareSource class. + /// + public SquareSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the SquareSource class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Source retry count. Type: integer + /// (or Expression with resultType integer). + /// Source retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// A query to retrieve data from source. Type: + /// string (or Expression with resultType string). + public SquareSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) + { + Query = query; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets a query to retrieve data from source. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "query")] + public object Query { get; set; } + + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/StagingSettings.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/StagingSettings.cs index b1c49d1a5e5a..a6b7fe981f44 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/StagingSettings.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/StagingSettings.cs @@ -12,6 +12,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Microsoft.Rest; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -33,14 +35,17 @@ public StagingSettings() /// /// Staging linked service /// reference. + /// Unmatched properties from the + /// message are deserialized this collection /// The path to storage for storing the interim /// data. Type: string (or Expression with resultType string). /// Specifies whether to use /// compression when copying data via an interim staging. Default value /// is false. Type: boolean (or Expression with resultType /// boolean). - public StagingSettings(LinkedServiceReference linkedServiceName, object path = default(object), object enableCompression = default(object)) + public StagingSettings(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), object path = default(object), object enableCompression = default(object)) { + AdditionalProperties = additionalProperties; LinkedServiceName = linkedServiceName; Path = path; EnableCompression = enableCompression; @@ -52,6 +57,13 @@ public StagingSettings() /// partial void CustomInit(); + /// + /// Gets or sets unmatched properties from the message are deserialized + /// this collection + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + /// /// Gets or sets staging linked service reference. /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SybaseLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SybaseLinkedService.cs index 47ca6f73a8a4..8ed34321e6f2 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SybaseLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SybaseLinkedService.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -37,6 +39,8 @@ public SybaseLinkedService() /// Expression with resultType string). /// Database name for connection. Type: string /// (or Expression with resultType string). + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. /// Schema name for connection. Type: string (or @@ -50,8 +54,8 @@ public SybaseLinkedService() /// authentication. Credentials are encrypted using the integration /// runtime credential manager. Type: string (or Expression with /// resultType string). - public SybaseLinkedService(object server, object database, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object schema = default(object), string authenticationType = default(string), object username = default(object), SecureString password = default(SecureString), object encryptedCredential = default(object)) - : base(connectVia, description) + public SybaseLinkedService(object server, object database, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object schema = default(object), string authenticationType = default(string), object username = default(object), SecureString password = default(SecureString), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) { Server = server; Database = database; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TabularTranslator.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TabularTranslator.cs index f36fc0d616bd..8550c7df141e 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TabularTranslator.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TabularTranslator.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,9 +31,12 @@ public TabularTranslator() /// /// Initializes a new instance of the TabularTranslator class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Column mappings. Type: string (or /// Expression with resultType string). - public TabularTranslator(object columnMappings = default(object)) + public TabularTranslator(IDictionary additionalProperties = default(IDictionary), object columnMappings = default(object)) + : base(additionalProperties) { ColumnMappings = columnMappings; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TeradataLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TeradataLinkedService.cs index 9f561d4e0d7c..f1611cfca807 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TeradataLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TeradataLinkedService.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -35,6 +37,8 @@ public TeradataLinkedService() /// /// Server name for connection. Type: string (or /// Expression with resultType string). + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. /// Schema name for connection. Type: string (or @@ -48,8 +52,8 @@ public TeradataLinkedService() /// authentication. Credentials are encrypted using the integration /// runtime credential manager. Type: string (or Expression with /// resultType string). - public TeradataLinkedService(object server, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object schema = default(object), string authenticationType = default(string), object username = default(object), SecureString password = default(SecureString), object encryptedCredential = default(object)) - : base(connectVia, description) + public TeradataLinkedService(object server, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object schema = default(object), string authenticationType = default(string), object username = default(object), SecureString password = default(SecureString), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) { Server = server; Schema = schema; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TextFormat.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TextFormat.cs index 7a3b1096bd0c..8e74882f55e6 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TextFormat.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TextFormat.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -29,6 +31,8 @@ public TextFormat() /// /// Initializes a new instance of the TextFormat class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Serializer. Type: string (or Expression /// with resultType string). /// Deserializer. Type: string (or @@ -59,8 +63,8 @@ public TextFormat() /// row of data as headers. When used as output,write the headers into /// the output as the first row of data. The default value is false. /// Type: boolean (or Expression with resultType boolean). - public TextFormat(object serializer = default(object), object deserializer = default(object), object columnDelimiter = default(object), object rowDelimiter = default(object), object escapeChar = default(object), object quoteChar = default(object), object nullValue = default(object), object encodingName = default(object), object treatEmptyAsNull = default(object), object skipLineCount = default(object), object firstRowAsHeader = default(object)) - : base(serializer, deserializer) + public TextFormat(IDictionary additionalProperties = default(IDictionary), object serializer = default(object), object deserializer = default(object), object columnDelimiter = default(object), object rowDelimiter = default(object), object escapeChar = default(object), object quoteChar = default(object), object nullValue = default(object), object encodingName = default(object), object treatEmptyAsNull = default(object), object skipLineCount = default(object), object firstRowAsHeader = default(object)) + : base(additionalProperties, serializer, deserializer) { ColumnDelimiter = columnDelimiter; RowDelimiter = rowDelimiter; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Trigger.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Trigger.cs index 900512af5ab3..a71dfacc0e55 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Trigger.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Trigger.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -30,12 +32,15 @@ public Trigger() /// /// Initializes a new instance of the Trigger class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Trigger description. /// Indicates if trigger is running or not. /// Updated when Start/Stop APIs are called on the Trigger. Possible /// values include: 'Started', 'Stopped', 'Disabled' - public Trigger(string description = default(string), string runtimeState = default(string)) + public Trigger(IDictionary additionalProperties = default(IDictionary), string description = default(string), string runtimeState = default(string)) { + AdditionalProperties = additionalProperties; Description = description; RuntimeState = runtimeState; CustomInit(); @@ -46,6 +51,13 @@ public Trigger() /// partial void CustomInit(); + /// + /// Gets or sets unmatched properties from the message are deserialized + /// this collection + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + /// /// Gets or sets trigger description. /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TriggerRun.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TriggerRun.cs index f09444148945..8ec466fcd6e5 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TriggerRun.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TriggerRun.cs @@ -31,6 +31,8 @@ public TriggerRun() /// /// Initializes a new instance of the TriggerRun class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Trigger run id. /// Trigger name. /// Trigger type. @@ -42,8 +44,9 @@ public TriggerRun() /// trigger run. Name, value pair depends on type of trigger. /// List of pipeline name and run Id /// triggered by the trigger run. - public TriggerRun(string triggerRunId = default(string), string triggerName = default(string), string triggerType = default(string), System.DateTime? triggerRunTimestamp = default(System.DateTime?), string status = default(string), string message = default(string), IDictionary properties = default(IDictionary), IDictionary triggeredPipelines = default(IDictionary)) + public TriggerRun(IDictionary additionalProperties = default(IDictionary), string triggerRunId = default(string), string triggerName = default(string), string triggerType = default(string), System.DateTime? triggerRunTimestamp = default(System.DateTime?), string status = default(string), string message = default(string), IDictionary properties = default(IDictionary), IDictionary triggeredPipelines = default(IDictionary)) { + AdditionalProperties = additionalProperties; TriggerRunId = triggerRunId; TriggerName = triggerName; TriggerType = triggerType; @@ -60,6 +63,13 @@ public TriggerRun() /// partial void CustomInit(); + /// + /// Gets or sets unmatched properties from the message are deserialized + /// this collection + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + /// /// Gets trigger run id. /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TumblingWindowTrigger.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TumblingWindowTrigger.cs index 9e70d8f428ab..1f7d74b630a4 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TumblingWindowTrigger.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TumblingWindowTrigger.cs @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -37,6 +39,8 @@ public TumblingWindowTrigger() /// /// Pipeline for which runs are created when an /// event is fired for trigger window that is ready. + /// Unmatched properties from the + /// message are deserialized this collection /// Trigger description. /// Indicates if trigger is running or not. /// Updated when Start/Stop APIs are called on the Trigger. Possible @@ -61,8 +65,8 @@ public TumblingWindowTrigger() /// triggered. /// Retry policy that will be applied for /// failed pipeline runs. - public TumblingWindowTrigger(TriggerPipelineReference pipeline, string description = default(string), string runtimeState = default(string), string frequency = default(string), int? interval = default(int?), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), object delay = default(object), int? maxConcurrency = default(int?), RetryPolicy retryPolicy = default(RetryPolicy)) - : base(description, runtimeState) + public TumblingWindowTrigger(TriggerPipelineReference pipeline, IDictionary additionalProperties = default(IDictionary), string description = default(string), string runtimeState = default(string), string frequency = default(string), int? interval = default(int?), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), object delay = default(object), int? maxConcurrency = default(int?), RetryPolicy retryPolicy = default(RetryPolicy)) + : base(additionalProperties, description, runtimeState) { Pipeline = pipeline; Frequency = frequency; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/UntilActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/UntilActivity.cs index 2e17b97ddf06..0db8dd9cc145 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/UntilActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/UntilActivity.cs @@ -42,6 +42,8 @@ public UntilActivity() /// Boolean. The loop will continue until this expression evaluates to /// true /// List of activities to execute. + /// Unmatched properties from the + /// message are deserialized this collection /// Activity description. /// Activity depends on condition. /// Specifies the timeout for the activity to @@ -51,8 +53,8 @@ public UntilActivity() /// ((\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])). - public UntilActivity(string name, Expression expression, IList activities, string description = default(string), IList dependsOn = default(IList), object timeout = default(object)) - : base(name, description, dependsOn) + public UntilActivity(string name, Expression expression, IList activities, IDictionary additionalProperties = default(IDictionary), string description = default(string), IList dependsOn = default(IList), object timeout = default(object)) + : base(name, additionalProperties, description, dependsOn) { Expression = expression; Timeout = timeout; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WaitActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WaitActivity.cs index 8774fd819999..30c06de09c13 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WaitActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WaitActivity.cs @@ -37,10 +37,12 @@ public WaitActivity() /// /// Activity name. /// Duration in seconds. + /// Unmatched properties from the + /// message are deserialized this collection /// Activity description. /// Activity depends on condition. - public WaitActivity(string name, int waitTimeInSeconds, string description = default(string), IList dependsOn = default(IList)) - : base(name, description, dependsOn) + public WaitActivity(string name, int waitTimeInSeconds, IDictionary additionalProperties = default(IDictionary), string description = default(string), IList dependsOn = default(IList)) + : base(name, additionalProperties, description, dependsOn) { WaitTimeInSeconds = waitTimeInSeconds; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebActivity.cs index e47c0ca59e17..d47c7656172d 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebActivity.cs @@ -39,6 +39,8 @@ public WebActivity() /// values include: 'GET', 'POST', 'PUT' /// Web activity target endpoint and path. Type: /// string (or Expression with resultType string). + /// Unmatched properties from the + /// message are deserialized this collection /// Activity description. /// Activity depends on condition. /// Linked service reference. @@ -57,8 +59,8 @@ public WebActivity() /// endpoint. /// List of linked services passed to web /// endpoint. - public WebActivity(string name, string method, object url, string description = default(string), IList dependsOn = default(IList), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), ActivityPolicy policy = default(ActivityPolicy), object headers = default(object), object body = default(object), WebActivityAuthentication authentication = default(WebActivityAuthentication), IList datasets = default(IList), IList linkedServices = default(IList)) - : base(name, description, dependsOn, linkedServiceName, policy) + public WebActivity(string name, string method, object url, IDictionary additionalProperties = default(IDictionary), string description = default(string), IList dependsOn = default(IList), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), ActivityPolicy policy = default(ActivityPolicy), object headers = default(object), object body = default(object), WebActivityAuthentication authentication = default(WebActivityAuthentication), IList datasets = default(IList), IList linkedServices = default(IList)) + : base(name, additionalProperties, description, dependsOn, linkedServiceName, policy) { Method = method; Url = url; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebLinkedService.cs index 143609e18c60..0a302547d2ce 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebLinkedService.cs @@ -12,6 +12,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { using Microsoft.Rest; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -32,10 +34,12 @@ public WebLinkedService() /// Initializes a new instance of the WebLinkedService class. /// /// Web linked service properties. + /// Unmatched properties from the + /// message are deserialized this collection /// The integration runtime reference. /// Linked service description. - public WebLinkedService(WebLinkedServiceTypeProperties typeProperties, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string)) - : base(connectVia, description) + public WebLinkedService(WebLinkedServiceTypeProperties typeProperties, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string)) + : base(additionalProperties, connectVia, description) { TypeProperties = typeProperties; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebSource.cs index 428e584b371d..e1e48dc0f9dc 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebSource.cs @@ -10,6 +10,8 @@ namespace Microsoft.Azure.Management.DataFactory.Models { + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -28,13 +30,15 @@ public WebSource() /// /// Initializes a new instance of the WebSource class. /// + /// Unmatched properties from the + /// message are deserialized this collection /// Source retry count. Type: integer /// (or Expression with resultType integer). /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - public WebSource(object sourceRetryCount = default(object), object sourceRetryWait = default(object)) - : base(sourceRetryCount, sourceRetryWait) + public WebSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) { CustomInit(); } diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebTableDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebTableDataset.cs index 1b1402fc9c33..820fcdbe434e 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebTableDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebTableDataset.cs @@ -40,6 +40,8 @@ public WebTableDataset() /// The zero-based index of the table in the web /// page. Type: integer (or Expression with resultType integer), /// minimum: 0. + /// Unmatched properties from the + /// message are deserialized this collection /// Dataset description. /// Columns that define the structure of the /// dataset. Type: array (or Expression with resultType array), @@ -48,8 +50,8 @@ public WebTableDataset() /// The relative URL to the web page from the linked /// service URL. Type: string (or Expression with resultType /// string). - public WebTableDataset(LinkedServiceReference linkedServiceName, object index, string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary), object path = default(object)) - : base(linkedServiceName, description, structure, parameters) + public WebTableDataset(LinkedServiceReference linkedServiceName, object index, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary), object path = default(object)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) { Index = index; Path = path; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/XeroLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/XeroLinkedService.cs new file mode 100644 index 000000000000..46e1f3c921f1 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/XeroLinkedService.cs @@ -0,0 +1,147 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Xero Serivce linked service. + /// + [Newtonsoft.Json.JsonObject("Xero")] + [Rest.Serialization.JsonTransformation] + public partial class XeroLinkedService : LinkedService + { + /// + /// Initializes a new instance of the XeroLinkedService class. + /// + public XeroLinkedService() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the XeroLinkedService class. + /// + /// The endpoint of the Xero server. (i.e. + /// api.xero.com) + /// Unmatched properties from the + /// message are deserialized this collection + /// The integration runtime reference. + /// Linked service description. + /// The consumer key associated with the Xero + /// application. + /// The private key from the .pem file that + /// was generated for your Xero private application. You must include + /// all the text from the .pem file, including the Unix line endings( + /// ). + /// Specifies whether the data + /// source endpoints are encrypted using HTTPS. The default value is + /// true. + /// Specifies whether to require the + /// host name in the server's certificate to match the host name of the + /// server when connecting over SSL. The default value is true. + /// Specifies whether to verify the + /// identity of the server when connecting over SSL. The default value + /// is true. + /// The encrypted credential used for + /// authentication. Credentials are encrypted using the integration + /// runtime credential manager. Type: string (or Expression with + /// resultType string). + public XeroLinkedService(object host, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), SecretBase consumerKey = default(SecretBase), SecretBase privateKey = default(SecretBase), object useEncryptedEndpoints = default(object), object useHostVerification = default(object), object usePeerVerification = default(object), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) + { + Host = host; + ConsumerKey = consumerKey; + PrivateKey = privateKey; + UseEncryptedEndpoints = useEncryptedEndpoints; + UseHostVerification = useHostVerification; + UsePeerVerification = usePeerVerification; + EncryptedCredential = encryptedCredential; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the endpoint of the Xero server. (i.e. api.xero.com) + /// + [JsonProperty(PropertyName = "typeProperties.host")] + public object Host { get; set; } + + /// + /// Gets or sets the consumer key associated with the Xero application. + /// + [JsonProperty(PropertyName = "typeProperties.consumerKey")] + public SecretBase ConsumerKey { get; set; } + + /// + /// Gets or sets the private key from the .pem file that was generated + /// for your Xero private application. You must include all the text + /// from the .pem file, including the Unix line endings( + /// ). + /// + [JsonProperty(PropertyName = "typeProperties.privateKey")] + public SecretBase PrivateKey { get; set; } + + /// + /// Gets or sets specifies whether the data source endpoints are + /// encrypted using HTTPS. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.useEncryptedEndpoints")] + public object UseEncryptedEndpoints { get; set; } + + /// + /// Gets or sets specifies whether to require the host name in the + /// server's certificate to match the host name of the server when + /// connecting over SSL. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.useHostVerification")] + public object UseHostVerification { get; set; } + + /// + /// Gets or sets specifies whether to verify the identity of the server + /// when connecting over SSL. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.usePeerVerification")] + public object UsePeerVerification { get; set; } + + /// + /// Gets or sets the encrypted credential used for authentication. + /// Credentials are encrypted using the integration runtime credential + /// manager. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.encryptedCredential")] + public object EncryptedCredential { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (Host == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Host"); + } + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/XeroObjectDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/XeroObjectDataset.cs new file mode 100644 index 000000000000..83645c7d6d49 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/XeroObjectDataset.cs @@ -0,0 +1,66 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Xero Serivce dataset. + /// + [Newtonsoft.Json.JsonObject("XeroObject")] + public partial class XeroObjectDataset : Dataset + { + /// + /// Initializes a new instance of the XeroObjectDataset class. + /// + public XeroObjectDataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the XeroObjectDataset class. + /// + /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// Parameters for dataset. + public XeroObjectDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) + { + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/XeroSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/XeroSource.cs new file mode 100644 index 000000000000..fbcf74114213 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/XeroSource.cs @@ -0,0 +1,63 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity Xero Serivce source. + /// + public partial class XeroSource : CopySource + { + /// + /// Initializes a new instance of the XeroSource class. + /// + public XeroSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the XeroSource class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Source retry count. Type: integer + /// (or Expression with resultType integer). + /// Source retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// A query to retrieve data from source. Type: + /// string (or Expression with resultType string). + public XeroSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) + { + Query = query; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets a query to retrieve data from source. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "query")] + public object Query { get; set; } + + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ZohoLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ZohoLinkedService.cs new file mode 100644 index 000000000000..2a0a5aee7f35 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ZohoLinkedService.cs @@ -0,0 +1,134 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Zoho server linked service. + /// + [Newtonsoft.Json.JsonObject("Zoho")] + [Rest.Serialization.JsonTransformation] + public partial class ZohoLinkedService : LinkedService + { + /// + /// Initializes a new instance of the ZohoLinkedService class. + /// + public ZohoLinkedService() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ZohoLinkedService class. + /// + /// The endpoint of the Zoho server. (i.e. + /// crm.zoho.com/crm/private) + /// Unmatched properties from the + /// message are deserialized this collection + /// The integration runtime reference. + /// Linked service description. + /// The access token for Zoho + /// authentication. + /// Specifies whether the data + /// source endpoints are encrypted using HTTPS. The default value is + /// true. + /// Specifies whether to require the + /// host name in the server's certificate to match the host name of the + /// server when connecting over SSL. The default value is true. + /// Specifies whether to verify the + /// identity of the server when connecting over SSL. The default value + /// is true. + /// The encrypted credential used for + /// authentication. Credentials are encrypted using the integration + /// runtime credential manager. Type: string (or Expression with + /// resultType string). + public ZohoLinkedService(object endpoint, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), SecretBase accessToken = default(SecretBase), object useEncryptedEndpoints = default(object), object useHostVerification = default(object), object usePeerVerification = default(object), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description) + { + Endpoint = endpoint; + AccessToken = accessToken; + UseEncryptedEndpoints = useEncryptedEndpoints; + UseHostVerification = useHostVerification; + UsePeerVerification = usePeerVerification; + EncryptedCredential = encryptedCredential; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the endpoint of the Zoho server. (i.e. + /// crm.zoho.com/crm/private) + /// + [JsonProperty(PropertyName = "typeProperties.endpoint")] + public object Endpoint { get; set; } + + /// + /// Gets or sets the access token for Zoho authentication. + /// + [JsonProperty(PropertyName = "typeProperties.accessToken")] + public SecretBase AccessToken { get; set; } + + /// + /// Gets or sets specifies whether the data source endpoints are + /// encrypted using HTTPS. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.useEncryptedEndpoints")] + public object UseEncryptedEndpoints { get; set; } + + /// + /// Gets or sets specifies whether to require the host name in the + /// server's certificate to match the host name of the server when + /// connecting over SSL. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.useHostVerification")] + public object UseHostVerification { get; set; } + + /// + /// Gets or sets specifies whether to verify the identity of the server + /// when connecting over SSL. The default value is true. + /// + [JsonProperty(PropertyName = "typeProperties.usePeerVerification")] + public object UsePeerVerification { get; set; } + + /// + /// Gets or sets the encrypted credential used for authentication. + /// Credentials are encrypted using the integration runtime credential + /// manager. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.encryptedCredential")] + public object EncryptedCredential { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (Endpoint == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Endpoint"); + } + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ZohoObjectDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ZohoObjectDataset.cs new file mode 100644 index 000000000000..b7be8c9d877b --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ZohoObjectDataset.cs @@ -0,0 +1,66 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Zoho server dataset. + /// + [Newtonsoft.Json.JsonObject("ZohoObject")] + public partial class ZohoObjectDataset : Dataset + { + /// + /// Initializes a new instance of the ZohoObjectDataset class. + /// + public ZohoObjectDataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the ZohoObjectDataset class. + /// + /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// Parameters for dataset. + public ZohoObjectDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) + : base(linkedServiceName, additionalProperties, description, structure, parameters) + { + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ZohoSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ZohoSource.cs new file mode 100644 index 000000000000..dfc1f9c156ca --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ZohoSource.cs @@ -0,0 +1,63 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity Zoho server source. + /// + public partial class ZohoSource : CopySource + { + /// + /// Initializes a new instance of the ZohoSource class. + /// + public ZohoSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ZohoSource class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Source retry count. Type: integer + /// (or Expression with resultType integer). + /// Source retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// A query to retrieve data from source. Type: + /// string (or Expression with resultType string). + public ZohoSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait) + { + Query = query; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets a query to retrieve data from source. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "query")] + public object Query { get; set; } + + } +} From a4939f1a2a081ceb61a4ea58190daf9d7ba65bd6 Mon Sep 17 00:00:00 2001 From: hvermis Date: Tue, 21 Nov 2017 18:38:06 -0800 Subject: [PATCH 2/2] Updated changelog and metadata for ADF --- src/SDKs/DataFactory/Management.DataFactory/changelog.md | 1 + src/SDKs/_metadata/datafactory_resource-manager.txt | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/SDKs/DataFactory/Management.DataFactory/changelog.md b/src/SDKs/DataFactory/Management.DataFactory/changelog.md index 6517fa954e62..09c17a07ae93 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/changelog.md +++ b/src/SDKs/DataFactory/Management.DataFactory/changelog.md @@ -8,6 +8,7 @@ * Add SAP Cloud For Customer Sink * Support providing a Dynamics password as a SecureString, a secret in Azure Key Vault, or as an encrypted credential. * App model for Tumbling Window Trigger + * Support to roundtrip new properties in some types using additionalProperties ## Version 0.2.1-preview diff --git a/src/SDKs/_metadata/datafactory_resource-manager.txt b/src/SDKs/_metadata/datafactory_resource-manager.txt index f7b64c0b9367..a84fa57d32ac 100644 --- a/src/SDKs/_metadata/datafactory_resource-manager.txt +++ b/src/SDKs/_metadata/datafactory_resource-manager.txt @@ -1,11 +1,11 @@ -2017-11-17 22:44:04 UTC +2017-11-22 02:12:02 UTC 1) azure-rest-api-specs repository information GitHub user: Azure Branch: current -Commit: 69fc8095833c9fb0e15cb1b635c0abe24f3942af +Commit: 559d96bd2e7283afa20b3b8a5fc39d6d2a9277a7 2) AutoRest information Requested version: latest -Bootstrapper version: C:\Users\sharmm\AppData\Roaming\npm +-- autorest@2.0.4166 `-- oad@0.1.7 `-- autorest@1.9.1 -Latest installed version: 2.0.4168 +Bootstrapper version: C:\Users\hvermis\AppData\Roaming\npm `-- autorest@2.0.4166 +Latest installed version: 2.0.4204