From 5d4a019cb413ed742b5de49ad3f42a03fdd3cd76 Mon Sep 17 00:00:00 2001 From: Dongjing Gao Date: Tue, 24 Oct 2017 14:54:00 +0800 Subject: [PATCH 1/2] SDK changes and test samples for AzureMySql connector, including linkedservice, dataset and source. --- .../JsonSamples/DatasetJsonSamples.cs | 19 ++ .../JsonSamples/LinkedServiceJsonSamples.cs | 16 ++ .../JsonSamples/PipelineJsonSamples.cs | 34 +++ .../Generated/ActivityRunsOperations.cs | 4 +- .../ActivityRunsOperationsExtensions.cs | 4 +- .../Generated/DataFactoryManagementClient.cs | 4 +- .../Generated/DatasetsOperations.cs | 8 +- .../Generated/DatasetsOperationsExtensions.cs | 4 +- .../Generated/FactoriesOperations.cs | 221 +++++++++++++++++- .../FactoriesOperationsExtensions.cs | 47 +++- .../Generated/IActivityRunsOperations.cs | 4 +- .../Generated/IDataFactoryManagementClient.cs | 4 +- .../Generated/IDatasetsOperations.cs | 4 +- .../Generated/IFactoriesOperations.cs | 29 ++- .../IIntegrationRuntimesOperations.cs | 4 +- .../Generated/ILinkedServicesOperations.cs | 4 +- .../Generated/IOperations.cs | 4 +- .../Generated/IPipelineRunsOperations.cs | 4 +- .../Generated/IPipelinesOperations.cs | 4 +- .../Generated/ITriggersOperations.cs | 4 +- .../IntegrationRuntimesOperations.cs | 4 +- ...IntegrationRuntimesOperationsExtensions.cs | 4 +- .../Generated/LinkedServicesOperations.cs | 8 +- .../LinkedServicesOperationsExtensions.cs | 4 +- .../Generated/Models/Activity.cs | 7 +- .../Generated/Models/ActivityDependency.cs | 7 +- .../Generated/Models/ActivityPolicy.cs | 7 +- .../Generated/Models/ActivityRun.cs | 7 +- .../Models/AmazonRedshiftLinkedService.cs | 5 +- .../Generated/Models/AmazonRedshiftSource.cs | 5 +- .../Generated/Models/AmazonS3Dataset.cs | 9 +- .../Generated/Models/AmazonS3LinkedService.cs | 5 +- .../Generated/Models/AvroFormat.cs | 7 +- .../Models/AzureBatchLinkedService.cs | 6 +- .../Generated/Models/AzureBlobDataset.cs | 9 +- .../AzureDataLakeAnalyticsLinkedService.cs | 5 +- .../Models/AzureDataLakeStoreDataset.cs | 9 +- .../Models/AzureDataLakeStoreLinkedService.cs | 5 +- .../Models/AzureDataLakeStoreSink.cs | 7 +- .../Models/AzureDataLakeStoreSource.cs | 7 +- .../Models/AzureKeyVaultLinkedService.cs | 7 +- .../Models/AzureKeyVaultReference.cs | 6 +- .../Models/AzureKeyVaultSecretReference.cs | 9 +- .../Models/AzureMLBatchExecutionActivity.cs | 7 +- .../Generated/Models/AzureMLLinkedService.cs | 6 +- .../Models/AzureMLUpdateResourceActivity.cs | 6 +- .../Generated/Models/AzureMLWebServiceFile.cs | 6 +- .../Models/AzureMySqlLinkedService.cs | 90 +++++++ .../Generated/Models/AzureMySqlSource.cs | 59 +++++ .../Models/AzureMySqlTableDataset.cs | 77 ++++++ .../Generated/Models/AzureQueueSink.cs | 7 +- .../Models/AzureSearchIndexDataset.cs | 9 +- .../Generated/Models/AzureSearchIndexSink.cs | 7 +- .../AzureSearchIndexWriteBehaviorType.cs | 5 +- .../Models/AzureSearchLinkedService.cs | 5 +- .../Models/AzureSqlDWLinkedService.cs | 6 +- .../Models/AzureSqlDWTableDataset.cs | 9 +- .../Models/AzureSqlDatabaseLinkedService.cs | 6 +- .../Generated/Models/AzureSqlTableDataset.cs | 9 +- .../Models/AzureStorageLinkedService.cs | 5 +- .../Generated/Models/AzureTableDataset.cs | 9 +- .../Generated/Models/AzureTableSink.cs | 7 +- .../Generated/Models/AzureTableSource.cs | 7 +- .../Generated/Models/BlobSink.cs | 7 +- .../Generated/Models/BlobSource.cs | 7 +- .../Generated/Models/BlobTrigger.cs | 5 +- .../Models/CassandraLinkedService.cs | 5 +- .../Generated/Models/CassandraSource.cs | 7 +- .../CassandraSourceReadConsistencyLevels.cs | 5 +- .../Generated/Models/CassandraTableDataset.cs | 9 +- .../Generated/Models/ControlActivity.cs | 7 +- .../Generated/Models/CopyActivity.cs | 5 +- .../Generated/Models/CopyBehaviorType.cs | 5 +- .../Generated/Models/CopySink.cs | 7 +- .../Generated/Models/CopySource.cs | 7 +- .../Generated/Models/CopyTranslator.cs | 7 +- .../Generated/Models/CosmosDbLinkedService.cs | 6 +- .../Generated/Models/CreateRunResponse.cs | 7 +- .../Generated/Models/CustomActivity.cs | 5 +- .../Models/CustomActivityReferenceObject.cs | 7 +- .../Models/CustomDataSourceLinkedService.cs | 7 +- .../Generated/Models/CustomDataset.cs | 9 +- .../Models/DataLakeAnalyticsUSQLActivity.cs | 6 +- .../Generated/Models/Dataset.cs | 6 +- .../Models/DatasetBZip2Compression.cs | 7 +- .../Generated/Models/DatasetCompression.cs | 7 +- .../Models/DatasetCompressionLevel.cs | 5 +- .../Models/DatasetDateTimePartitionValue.cs | 7 +- .../Models/DatasetDeflateCompression.cs | 7 +- .../Models/DatasetGZipCompression.cs | 7 +- .../Generated/Models/DatasetPartition.cs | 7 +- .../Generated/Models/DatasetPartitionValue.cs | 7 +- .../Generated/Models/DatasetReference.cs | 7 +- .../Generated/Models/DatasetResource.cs | 6 +- .../Generated/Models/DatasetStorageFormat.cs | 7 +- .../Generated/Models/DayOfWeek.cs | 11 +- .../Generated/Models/DaysOfWeek.cs | 11 +- .../Generated/Models/Db2AuthenticationType.cs | 5 +- .../Generated/Models/Db2LinkedService.cs | 5 +- .../Generated/Models/DependencyCondition.cs | 5 +- .../Generated/Models/DistcpSettings.cs | 7 +- .../Models/DocumentDbCollectionDataset.cs | 9 +- .../Models/DocumentDbCollectionSink.cs | 7 +- .../Models/DocumentDbCollectionSource.cs | 7 +- .../Generated/Models/DynamicsEntityDataset.cs | 9 +- .../Generated/Models/DynamicsLinkedService.cs | 7 +- .../Generated/Models/DynamicsSink.cs | 80 +++++++ .../Generated/Models/DynamicsSource.cs | 9 +- .../Generated/Models/ErrorResponse.cs | 7 +- .../Models/ErrorResponseException.cs | 7 +- .../Models/ExecutePipelineActivity.cs | 6 +- .../Generated/Models/ExecutionActivity.cs | 5 +- .../Generated/Models/Expression.cs | 7 +- .../Generated/Models/Factory.cs | 5 +- .../Generated/Models/FactoryIdentity.cs | 7 +- .../Models/FactoryUpdateParameters.cs | 5 +- .../Models/FileServerLinkedService.cs | 5 +- .../Generated/Models/FileShareDataset.cs | 9 +- .../Generated/Models/FileSystemSink.cs | 7 +- .../Generated/Models/FileSystemSource.cs | 7 +- .../Generated/Models/ForEachActivity.cs | 6 +- .../Generated/Models/FtpAuthenticationType.cs | 5 +- .../Models/FtpServerLinkedService.cs | 5 +- .../Generated/Models/GetMetadataActivity.cs | 6 +- .../HDInsightActivityDebugInfoOption.cs | 5 +- .../Generated/Models/HDInsightHiveActivity.cs | 5 +- .../Models/HDInsightLinkedService.cs | 5 +- .../Models/HDInsightMapReduceActivity.cs | 5 +- .../Models/HDInsightOnDemandLinkedService.cs | 6 +- .../Generated/Models/HDInsightPigActivity.cs | 5 +- .../Models/HDInsightSparkActivity.cs | 5 +- .../Models/HDInsightStreamingActivity.cs | 5 +- .../Generated/Models/HdfsLinkedService.cs | 5 +- .../Generated/Models/HdfsSource.cs | 9 +- .../Models/HttpAuthenticationType.cs | 5 +- .../Generated/Models/HttpDataset.cs | 9 +- .../Generated/Models/HttpLinkedService.cs | 5 +- .../Generated/Models/HttpSource.cs | 7 +- .../Generated/Models/IfConditionActivity.cs | 6 +- .../Generated/Models/IntegrationRuntime.cs | 7 +- .../Models/IntegrationRuntimeAuthKeyName.cs | 5 +- .../Models/IntegrationRuntimeAuthKeys.cs | 7 +- .../Models/IntegrationRuntimeAutoUpdate.cs | 5 +- .../IntegrationRuntimeComputeProperties.cs | 7 +- .../IntegrationRuntimeConnectionInfo.cs | 7 +- ...ionRuntimeInternalChannelEncryptionMode.cs | 5 +- .../IntegrationRuntimeMonitoringData.cs | 7 +- .../IntegrationRuntimeNodeMonitoringData.cs | 7 +- .../Models/IntegrationRuntimeReference.cs | 7 +- ...tegrationRuntimeRegenerateKeyParameters.cs | 7 +- .../IntegrationRuntimeRemoveNodeRequest.cs | 7 +- .../Models/IntegrationRuntimeResource.cs | 7 +- .../IntegrationRuntimeSsisCatalogInfo.cs | 5 +- ...ntegrationRuntimeSsisCatalogPricingTier.cs | 5 +- .../IntegrationRuntimeSsisProperties.cs | 5 +- .../Models/IntegrationRuntimeState.cs | 5 +- .../Models/IntegrationRuntimeStatus.cs | 7 +- .../IntegrationRuntimeStatusListResponse.cs | 7 +- .../IntegrationRuntimeStatusResponse.cs | 7 +- .../Models/IntegrationRuntimeUpdateResult.cs | 5 +- .../IntegrationRuntimeVNetProperties.cs | 7 +- .../Generated/Models/JsonFormat.cs | 7 +- .../Generated/Models/JsonFormatFilePattern.cs | 5 +- .../Generated/Models/LinkedService.cs | 5 +- .../Models/LinkedServiceReference.cs | 7 +- .../Generated/Models/LinkedServiceResource.cs | 6 +- .../Generated/Models/LookupActivity.cs | 6 +- .../Models/ManagedIntegrationRuntime.cs | 5 +- .../Models/ManagedIntegrationRuntimeError.cs | 7 +- .../Models/ManagedIntegrationRuntimeNode.cs | 7 +- .../ManagedIntegrationRuntimeNodeStatus.cs | 5 +- ...anagedIntegrationRuntimeOperationResult.cs | 7 +- .../Models/ManagedIntegrationRuntimeStatus.cs | 7 +- .../Models/MongoDbAuthenticationType.cs | 5 +- .../Models/MongoDbCollectionDataset.cs | 9 +- .../Generated/Models/MongoDbLinkedService.cs | 5 +- .../Generated/Models/MongoDbSource.cs | 7 +- .../Generated/Models/MySqlLinkedService.cs | 5 +- .../Models/ODataAuthenticationType.cs | 5 +- .../Generated/Models/ODataLinkedService.cs | 5 +- .../Generated/Models/ODataResourceDataset.cs | 9 +- .../Generated/Models/OdbcLinkedService.cs | 6 +- .../Generated/Models/OdbcSink.cs | 7 +- .../Generated/Models/Operation.cs | 7 +- .../Generated/Models/OperationDisplay.cs | 7 +- .../Generated/Models/OperationListResponse.cs | 7 +- .../Models/OperationLogSpecification.cs | 7 +- .../Models/OperationMetricAvailability.cs | 7 +- .../Models/OperationMetricSpecification.cs | 7 +- .../Models/OperationServiceSpecification.cs | 7 +- .../Generated/Models/OracleLinkedService.cs | 6 +- .../Generated/Models/OracleSink.cs | 7 +- .../Generated/Models/OracleSource.cs | 7 +- .../Generated/Models/OracleTableDataset.cs | 9 +- .../Generated/Models/OrcFormat.cs | 7 +- .../Generated/Models/Page.cs | 5 +- .../Models/ParameterSpecification.cs | 7 +- .../Generated/Models/ParameterType.cs | 5 +- .../Generated/Models/ParquetFormat.cs | 7 +- .../Generated/Models/PipelineReference.cs | 7 +- .../Generated/Models/PipelineResource.cs | 7 +- .../Generated/Models/PipelineRun.cs | 7 +- .../Models/PipelineRunFilterParameters.cs | 7 +- .../Generated/Models/PipelineRunInvokedBy.cs | 7 +- .../Models/PipelineRunQueryFilter.cs | 7 +- .../Models/PipelineRunQueryFilterOperand.cs | 5 +- .../Models/PipelineRunQueryFilterOperator.cs | 5 +- .../Generated/Models/PipelineRunQueryOrder.cs | 5 +- .../Models/PipelineRunQueryOrderBy.cs | 7 +- .../Models/PipelineRunQueryOrderByField.cs | 5 +- .../Models/PipelineRunQueryResponse.cs | 7 +- .../Generated/Models/PolybaseSettings.cs | 7 +- .../Models/PolybaseSettingsRejectType.cs | 5 +- .../Models/PostgreSqlLinkedService.cs | 5 +- .../Generated/Models/RecurrenceFrequency.cs | 5 +- .../Generated/Models/RecurrenceSchedule.cs | 7 +- .../Models/RecurrenceScheduleOccurrence.cs | 7 +- .../Models/RedirectIncompatibleRowSettings.cs | 7 +- .../Models/RedshiftUnloadSettings.cs | 6 +- .../Generated/Models/RelationalSource.cs | 7 +- .../Models/RelationalTableDataset.cs | 9 +- .../Generated/Models/Resource.cs | 7 +- .../Models/SalesforceLinkedService.cs | 5 +- .../Generated/Models/SapBWLinkedService.cs | 5 +- .../Models/SapHanaAuthenticationType.cs | 5 +- .../Generated/Models/SapHanaLinkedService.cs | 5 +- .../Generated/Models/ScheduleTrigger.cs | 7 +- .../Models/ScheduleTriggerRecurrence.cs | 7 +- .../Generated/Models/SecureString.cs | 7 +- .../Models/SelfHostedIntegrationRuntime.cs | 7 +- .../SelfHostedIntegrationRuntimeNode.cs | 7 +- .../SelfHostedIntegrationRuntimeNodeStatus.cs | 5 +- .../SelfHostedIntegrationRuntimeStatus.cs | 7 +- .../Models/SftpAuthenticationType.cs | 5 +- .../Models/SftpServerLinkedService.cs | 5 +- .../Generated/Models/SqlDWSink.cs | 7 +- .../Generated/Models/SqlDWSource.cs | 7 +- .../Models/SqlServerLinkedService.cs | 6 +- .../SqlServerStoredProcedureActivity.cs | 7 +- .../Generated/Models/SqlServerTableDataset.cs | 9 +- .../Generated/Models/SqlSink.cs | 7 +- .../Generated/Models/SqlSource.cs | 7 +- .../Generated/Models/StagingSettings.cs | 6 +- .../Models/StoredProcedureParameter.cs | 7 +- .../Models/StoredProcedureParameterType.cs | 5 +- .../Generated/Models/SubResource.cs | 7 +- .../Models/SybaseAuthenticationType.cs | 5 +- .../Generated/Models/SybaseLinkedService.cs | 5 +- .../Generated/Models/TabularTranslator.cs | 7 +- .../Models/TeradataAuthenticationType.cs | 5 +- .../Generated/Models/TeradataLinkedService.cs | 5 +- .../Generated/Models/TextFormat.cs | 7 +- .../Generated/Models/Trigger.cs | 7 +- .../Models/TriggerPipelineReference.cs | 5 +- .../Generated/Models/TriggerResource.cs | 7 +- .../Generated/Models/TriggerRun.cs | 7 +- .../Generated/Models/TriggerRunStatus.cs | 5 +- .../Generated/Models/TriggerRuntimeState.cs | 5 +- .../Generated/Models/UntilActivity.cs | 6 +- .../Generated/Models/WaitActivity.cs | 7 +- .../Generated/Models/WebActivity.cs | 5 +- .../Models/WebActivityAuthentication.cs | 5 +- .../Generated/Models/WebActivityMethod.cs | 5 +- .../Models/WebAnonymousAuthentication.cs | 7 +- .../Models/WebBasicAuthentication.cs | 6 +- .../WebClientCertificateAuthentication.cs | 7 +- .../Generated/Models/WebLinkedService.cs | 7 +- .../Models/WebLinkedServiceTypeProperties.cs | 7 +- .../Generated/Models/WebSource.cs | 7 +- .../Generated/Models/WebTableDataset.cs | 9 +- .../Generated/Operations.cs | 4 +- .../Generated/OperationsExtensions.cs | 4 +- .../Generated/PipelineRunsOperations.cs | 4 +- .../PipelineRunsOperationsExtensions.cs | 4 +- .../Generated/PipelinesOperations.cs | 4 +- .../PipelinesOperationsExtensions.cs | 4 +- .../Generated/TriggersOperations.cs | 4 +- .../Generated/TriggersOperationsExtensions.cs | 4 +- 278 files changed, 1360 insertions(+), 989 deletions(-) create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMySqlLinkedService.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMySqlSource.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMySqlTableDataset.cs create mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsSink.cs diff --git a/src/SDKs/DataFactory/DataFactory.Tests/JsonSamples/DatasetJsonSamples.cs b/src/SDKs/DataFactory/DataFactory.Tests/JsonSamples/DatasetJsonSamples.cs index ab9d7c281645..c4144b4a0494 100644 --- a/src/SDKs/DataFactory/DataFactory.Tests/JsonSamples/DatasetJsonSamples.cs +++ b/src/SDKs/DataFactory/DataFactory.Tests/JsonSamples/DatasetJsonSamples.cs @@ -401,6 +401,25 @@ public class DatasetJsonSamples : JsonSampleCollection } } } +"; + [JsonSample] + public const string AzureMySqlTable = @" +{ + name: ""AzureMySqlTable"", + properties: + { + type: ""AzureMySqlTable"", + linkedServiceName: + { + referenceName : ""ls"", + type : ""LinkedServiceReference"" + }, + typeProperties: + { + tableName: ""$EncryptedString$MyEncryptedTableName"" + } + } +} "; } } diff --git a/src/SDKs/DataFactory/DataFactory.Tests/JsonSamples/LinkedServiceJsonSamples.cs b/src/SDKs/DataFactory/DataFactory.Tests/JsonSamples/LinkedServiceJsonSamples.cs index 7a76c623f438..2db51212ab12 100644 --- a/src/SDKs/DataFactory/DataFactory.Tests/JsonSamples/LinkedServiceJsonSamples.cs +++ b/src/SDKs/DataFactory/DataFactory.Tests/JsonSamples/LinkedServiceJsonSamples.cs @@ -810,5 +810,21 @@ public class LinkedServiceJsonSamples : JsonSampleCollection } }"; + [JsonSample(version: "Copy")] + public const string CopyAzureMySqlToBlob = @"{ + name: ""AzureMySqlToBlobPipeline"", + properties: { + activities: [ + { + name: ""CopyFromAzureMySqlToBlob"", + type: ""Copy"", + inputs: [ + { + referenceName: ""AzureMySQLDataset"", type: ""DatasetReference"" + } + ], + outputs: [ + { + referenceName: ""AzureBlobOut"", type: ""DatasetReference"" + } + ], + policy: { + }, + typeProperties: { + source: { + type: ""AzureMySqlSource"", + query:""select * from azuremysqltable"" + }, + sink: { + type: ""BlobSink"" + } + } + } + ] + } +} +"; } } diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/ActivityRunsOperations.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/ActivityRunsOperations.cs index 8baf6d6af8e6..1557a565472a 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/ActivityRunsOperations.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/ActivityRunsOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // 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 { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/ActivityRunsOperationsExtensions.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/ActivityRunsOperationsExtensions.cs index 441dc1354b52..a5dfec659a5a 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/ActivityRunsOperationsExtensions.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/ActivityRunsOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // 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 { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/DataFactoryManagementClient.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/DataFactoryManagementClient.cs index 85215fc503f1..bd18ebf8321c 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/DataFactoryManagementClient.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/DataFactoryManagementClient.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // 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 { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Serialization; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/DatasetsOperations.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/DatasetsOperations.cs index 5f973742eb63..d04d5b6e17c8 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/DatasetsOperations.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/DatasetsOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // 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 { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -386,10 +386,6 @@ internal DatasetsOperations(DataFactoryManagementClient client) { dataset.Validate(); } - if (dataset == null) - { - dataset = new DatasetResource(); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/DatasetsOperationsExtensions.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/DatasetsOperationsExtensions.cs index 1a88b8b33dce..640e6d084c69 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/DatasetsOperationsExtensions.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/DatasetsOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // 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 { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/FactoriesOperations.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/FactoriesOperations.cs index 5540f84f3aac..ac7600567815 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/FactoriesOperations.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/FactoriesOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // 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 { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -505,10 +505,6 @@ internal FactoriesOperations(DataFactoryManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "factory"); } - if (factory == null) - { - factory = new Factory(); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -744,10 +740,6 @@ internal FactoriesOperations(DataFactoryManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "factoryUpdateParameters"); } - if (factoryUpdateParameters == null) - { - factoryUpdateParameters = new FactoryUpdateParameters(); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1319,6 +1311,215 @@ internal FactoriesOperations(DataFactoryManagementClient client) return _result; } + /// + /// Cancel a pipeline run by its run ID. + /// + /// + /// The resource group name. + /// + /// + /// The factory name. + /// + /// + /// The pipeline run identifier. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task CancelPipelineRunWithHttpMessagesAsync(string resourceGroupName, string factoryName, string runId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new ValidationException(ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) + { + throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); + } + } + if (factoryName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "factoryName"); + } + if (factoryName != null) + { + if (factoryName.Length > 63) + { + throw new ValidationException(ValidationRules.MaxLength, "factoryName", 63); + } + if (factoryName.Length < 3) + { + throw new ValidationException(ValidationRules.MinLength, "factoryName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(factoryName, "^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$")) + { + throw new ValidationException(ValidationRules.Pattern, "factoryName", "^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$"); + } + } + if (runId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "runId"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("factoryName", factoryName); + tracingParameters.Add("runId", runId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "CancelPipelineRun", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/cancelpipelinerun/{runId}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{factoryName}", System.Uri.EscapeDataString(factoryName)); + _url = _url.Replace("{runId}", System.Uri.EscapeDataString(runId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// /// Lists factories under the specified subscription. /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/FactoriesOperationsExtensions.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/FactoriesOperationsExtensions.cs index dffeff6dca1b..e3022e0ce571 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/FactoriesOperationsExtensions.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/FactoriesOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // 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 { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -252,6 +252,49 @@ public static void Delete(this IFactoriesOperations operations, string resourceG (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, factoryName, null, cancellationToken).ConfigureAwait(false)).Dispose(); } + /// + /// Cancel a pipeline run by its run ID. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The resource group name. + /// + /// + /// The factory name. + /// + /// + /// The pipeline run identifier. + /// + public static void CancelPipelineRun(this IFactoriesOperations operations, string resourceGroupName, string factoryName, string runId) + { + operations.CancelPipelineRunAsync(resourceGroupName, factoryName, runId).GetAwaiter().GetResult(); + } + + /// + /// Cancel a pipeline run by its run ID. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The resource group name. + /// + /// + /// The factory name. + /// + /// + /// The pipeline run identifier. + /// + /// + /// The cancellation token. + /// + public static async Task CancelPipelineRunAsync(this IFactoriesOperations operations, string resourceGroupName, string factoryName, string runId, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.CancelPipelineRunWithHttpMessagesAsync(resourceGroupName, factoryName, runId, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + /// /// Lists factories under the specified subscription. /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/IActivityRunsOperations.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/IActivityRunsOperations.cs index 7cf69858984c..91628342ca8e 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/IActivityRunsOperations.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/IActivityRunsOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // 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 { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/IDataFactoryManagementClient.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/IDataFactoryManagementClient.cs index d563cfd01d89..5936e4a60c5e 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/IDataFactoryManagementClient.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/IDataFactoryManagementClient.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // 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 { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/IDatasetsOperations.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/IDatasetsOperations.cs index 9fb77a8cf696..6324df435dfe 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/IDatasetsOperations.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/IDatasetsOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // 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 { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/IFactoriesOperations.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/IFactoriesOperations.cs index 3cc50fc4d818..550b3dbc5b17 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/IFactoriesOperations.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/IFactoriesOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // 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 { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -168,6 +168,31 @@ public partial interface IFactoriesOperations /// Task DeleteWithHttpMessagesAsync(string resourceGroupName, string factoryName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Cancel a pipeline run by its run ID. + /// + /// + /// The resource group name. + /// + /// + /// The factory name. + /// + /// + /// The pipeline run identifier. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task CancelPipelineRunWithHttpMessagesAsync(string resourceGroupName, string factoryName, string runId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Lists factories under the specified subscription. /// /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/IIntegrationRuntimesOperations.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/IIntegrationRuntimesOperations.cs index 73295f5dcd30..6129cb2f0d4a 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/IIntegrationRuntimesOperations.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/IIntegrationRuntimesOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // 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 { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/ILinkedServicesOperations.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/ILinkedServicesOperations.cs index 58a67e65c076..2242be726e6c 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/ILinkedServicesOperations.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/ILinkedServicesOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // 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 { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/IOperations.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/IOperations.cs index 22328cc78503..a1441169fc9b 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/IOperations.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/IOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // 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 { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/IPipelineRunsOperations.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/IPipelineRunsOperations.cs index 90b34e6ab801..d693e0351fd1 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/IPipelineRunsOperations.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/IPipelineRunsOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // 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 { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/IPipelinesOperations.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/IPipelinesOperations.cs index 3e771948dceb..53110ad46387 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/IPipelinesOperations.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/IPipelinesOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // 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 { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/ITriggersOperations.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/ITriggersOperations.cs index 4e15576732ae..f33f949b60cd 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/ITriggersOperations.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/ITriggersOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // 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 { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/IntegrationRuntimesOperations.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/IntegrationRuntimesOperations.cs index 0d1090be47da..7a435a530d92 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/IntegrationRuntimesOperations.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/IntegrationRuntimesOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // 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 { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/IntegrationRuntimesOperationsExtensions.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/IntegrationRuntimesOperationsExtensions.cs index 8d415197beb7..1918211e0052 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/IntegrationRuntimesOperationsExtensions.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/IntegrationRuntimesOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // 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 { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/LinkedServicesOperations.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/LinkedServicesOperations.cs index cfa5d44a2542..f1506cf6721b 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/LinkedServicesOperations.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/LinkedServicesOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // 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 { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -386,10 +386,6 @@ internal LinkedServicesOperations(DataFactoryManagementClient client) { linkedService.Validate(); } - if (linkedService == null) - { - linkedService = new LinkedServiceResource(); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/LinkedServicesOperationsExtensions.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/LinkedServicesOperationsExtensions.cs index 2665ad27e141..bc077133a1b7 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/LinkedServicesOperationsExtensions.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/LinkedServicesOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // 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 { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Activity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Activity.cs index c7fa17bf9f02..51a901ef2002 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Activity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Activity.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Collections; @@ -27,7 +26,7 @@ public partial class Activity /// public Activity() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ActivityDependency.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ActivityDependency.cs index e47006796420..436836e60f30 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ActivityDependency.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ActivityDependency.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Collections; @@ -27,7 +26,7 @@ public partial class ActivityDependency /// public ActivityDependency() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ActivityPolicy.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ActivityPolicy.cs index 3cbc038d522c..8003e5b3478c 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ActivityPolicy.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ActivityPolicy.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class ActivityPolicy /// public ActivityPolicy() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ActivityRun.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ActivityRun.cs index 7f6fd1672fc2..91732a903b1d 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ActivityRun.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ActivityRun.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class ActivityRun /// public ActivityRun() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonRedshiftLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonRedshiftLinkedService.cs index 67b7e71bc8f2..f71b2e71a736 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonRedshiftLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonRedshiftLinkedService.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonRedshiftSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonRedshiftSource.cs index 0f4e4f247ac3..95093a0ae9ad 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonRedshiftSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonRedshiftSource.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonS3Dataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonS3Dataset.cs index 5881cb9d3d27..b42598329165 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonS3Dataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonS3Dataset.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -31,7 +30,8 @@ public partial class AmazonS3Dataset : Dataset /// public AmazonS3Dataset() { - CustomInit(); + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); } /// @@ -57,7 +57,6 @@ public AmazonS3Dataset() 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) { - LinkedServiceName = new LinkedServiceReference(); BucketName = bucketName; Key = key; Prefix = prefix; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonS3LinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonS3LinkedService.cs index 72711e1f125b..4fcb9b77e67f 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonS3LinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonS3LinkedService.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AvroFormat.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AvroFormat.cs index edd62ccb080f..a250096a2ffe 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AvroFormat.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AvroFormat.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using System.Linq; /// @@ -23,7 +22,7 @@ public partial class AvroFormat : DatasetStorageFormat /// public AvroFormat() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureBatchLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureBatchLinkedService.cs index b33f96b08e28..5f4d56c6a072 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureBatchLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureBatchLinkedService.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -53,7 +52,6 @@ public AzureBatchLinkedService() 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) { - LinkedServiceName = new LinkedServiceReference(); AccountName = accountName; AccessKey = accessKey; BatchUri = batchUri; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureBlobDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureBlobDataset.cs index 2a4dfc835ae9..fe1c0d3c2b0f 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureBlobDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureBlobDataset.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -30,7 +29,8 @@ public partial class AzureBlobDataset : Dataset /// public AzureBlobDataset() { - CustomInit(); + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); } /// @@ -54,7 +54,6 @@ public AzureBlobDataset() 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) { - LinkedServiceName = new LinkedServiceReference(); FolderPath = folderPath; TableRootLocation = tableRootLocation; FileName = fileName; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeAnalyticsLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeAnalyticsLinkedService.cs index 396b02e0eb21..cb4a1fa73eb1 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeAnalyticsLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeAnalyticsLinkedService.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreDataset.cs index a1b65f578e1a..de1c6efa0d02 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreDataset.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -30,7 +29,8 @@ public partial class AzureDataLakeStoreDataset : Dataset /// public AzureDataLakeStoreDataset() { - CustomInit(); + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); } /// @@ -54,7 +54,6 @@ public AzureDataLakeStoreDataset() 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), IList partitionedBy = default(IList)) : base(linkedServiceName, description, structure, parameters) { - LinkedServiceName = new LinkedServiceReference(); FolderPath = folderPath; FileName = fileName; Format = format; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreLinkedService.cs index 9e2af7de5764..9bc326801444 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreLinkedService.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreSink.cs index d3d1d67d6770..43cb19cdfcec 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreSink.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class AzureDataLakeStoreSink : CopySink /// public AzureDataLakeStoreSink() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreSource.cs index 42e80c1168dd..8ac9eba081f2 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreSource.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class AzureDataLakeStoreSource : CopySource /// public AzureDataLakeStoreSource() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureKeyVaultLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureKeyVaultLinkedService.cs index 6da4c6dac8c1..378ffb4d7138 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureKeyVaultLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureKeyVaultLinkedService.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -28,7 +27,7 @@ public partial class AzureKeyVaultLinkedService : LinkedService /// public AzureKeyVaultLinkedService() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureKeyVaultReference.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureKeyVaultReference.cs index 0fe26437163b..19775e1c91c5 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureKeyVaultReference.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureKeyVaultReference.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -35,7 +34,6 @@ public AzureKeyVaultReference() /// The Azure Key Vault LinkedService. public AzureKeyVaultReference(LinkedServiceReference store) { - Store = new LinkedServiceReference(); Store = store; CustomInit(); } diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureKeyVaultSecretReference.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureKeyVaultSecretReference.cs index 4a12d0c52c5f..5227debc8456 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureKeyVaultSecretReference.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureKeyVaultSecretReference.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -27,7 +26,8 @@ public partial class AzureKeyVaultSecretReference : AzureKeyVaultReference /// public AzureKeyVaultSecretReference() { - CustomInit(); + Store = new LinkedServiceReference(); + CustomInit(); } /// @@ -43,7 +43,6 @@ public AzureKeyVaultSecretReference() public AzureKeyVaultSecretReference(LinkedServiceReference store, object secretName, object secretVersion = default(object)) : base(store) { - Store = new LinkedServiceReference(); SecretName = secretName; SecretVersion = secretVersion; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMLBatchExecutionActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMLBatchExecutionActivity.cs index ba8d566be615..068cb805b1c6 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMLBatchExecutionActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMLBatchExecutionActivity.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -31,7 +30,7 @@ public partial class AzureMLBatchExecutionActivity : ExecutionActivity /// public AzureMLBatchExecutionActivity() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMLLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMLLinkedService.cs index be3b51e50093..76dbdbdc9c3c 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMLLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMLLinkedService.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -62,7 +61,6 @@ public AzureMLLinkedService() 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) { - ApiKey = new SecureString(); MlEndpoint = mlEndpoint; ApiKey = apiKey; UpdateResourceEndpoint = updateResourceEndpoint; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMLUpdateResourceActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMLUpdateResourceActivity.cs index be54f701cabe..e084ec374b11 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMLUpdateResourceActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMLUpdateResourceActivity.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -57,7 +56,6 @@ public AzureMLUpdateResourceActivity() 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) { - TrainedModelLinkedServiceName = new LinkedServiceReference(); TrainedModelName = trainedModelName; TrainedModelLinkedServiceName = trainedModelLinkedServiceName; TrainedModelFilePath = trainedModelFilePath; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMLWebServiceFile.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMLWebServiceFile.cs index 2559927d8f5c..2c7d84e8faf1 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMLWebServiceFile.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMLWebServiceFile.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -40,7 +39,6 @@ public AzureMLWebServiceFile() /// located. public AzureMLWebServiceFile(object filePath, LinkedServiceReference linkedServiceName) { - LinkedServiceName = new LinkedServiceReference(); FilePath = filePath; LinkedServiceName = linkedServiceName; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMySqlLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMySqlLinkedService.cs new file mode 100644 index 000000000000..3fee87fc6000 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMySqlLinkedService.cs @@ -0,0 +1,90 @@ +// +// 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.Linq; + + /// + /// Azure MySQL database linked service. + /// + [Newtonsoft.Json.JsonObject("AzureMySql")] + [Rest.Serialization.JsonTransformation] + public partial class AzureMySqlLinkedService : LinkedService + { + /// + /// Initializes a new instance of the AzureMySqlLinkedService class. + /// + public AzureMySqlLinkedService() + { + ConnectionString = new SecureString(); + CustomInit(); + } + + /// + /// Initializes a new instance of the AzureMySqlLinkedService class. + /// + /// The connection string. + /// 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) + { + ConnectionString = connectionString; + EncryptedCredential = encryptedCredential; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the connection string. + /// + [JsonProperty(PropertyName = "typeProperties.connectionString")] + public SecureString 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(); + if (ConnectionString == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ConnectionString"); + } + if (ConnectionString != null) + { + ConnectionString.Validate(); + } + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMySqlSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMySqlSource.cs new file mode 100644 index 000000000000..241670a82a19 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMySqlSource.cs @@ -0,0 +1,59 @@ +// +// 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.Linq; + + /// + /// A copy activity Azure MySQL source. + /// + public partial class AzureMySqlSource : CopySource + { + /// + /// Initializes a new instance of the AzureMySqlSource class. + /// + public AzureMySqlSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the AzureMySqlSource class. + /// + /// 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])). + /// 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) + { + Query = query; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets database query. 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/AzureMySqlTableDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMySqlTableDataset.cs new file mode 100644 index 000000000000..4a595ee1676f --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMySqlTableDataset.cs @@ -0,0 +1,77 @@ +// +// 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; + + /// + /// The Azure MySQL database dataset. + /// + [Newtonsoft.Json.JsonObject("AzureMySqlTable")] + [Rest.Serialization.JsonTransformation] + public partial class AzureMySqlTableDataset : Dataset + { + /// + /// Initializes a new instance of the AzureMySqlTableDataset class. + /// + public AzureMySqlTableDataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the AzureMySqlTableDataset class. + /// + /// Linked service reference. + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// 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) + { + TableName = tableName; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the Azure MySQL database table name. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.tableName")] + public object TableName { 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/AzureQueueSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureQueueSink.cs index bf9977f934eb..a3135382f469 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureQueueSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureQueueSink.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using System.Linq; /// @@ -23,7 +22,7 @@ public partial class AzureQueueSink : CopySink /// public AzureQueueSink() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSearchIndexDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSearchIndexDataset.cs index 91c0c9906f87..466cb3f1511d 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSearchIndexDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSearchIndexDataset.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -30,7 +29,8 @@ public partial class AzureSearchIndexDataset : Dataset /// public AzureSearchIndexDataset() { - CustomInit(); + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); } /// @@ -47,7 +47,6 @@ public AzureSearchIndexDataset() public AzureSearchIndexDataset(LinkedServiceReference linkedServiceName, object indexName, string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) : base(linkedServiceName, description, structure, parameters) { - LinkedServiceName = new LinkedServiceReference(); 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 5ea8ed4ad508..32fd079b9b20 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSearchIndexSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSearchIndexSink.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class AzureSearchIndexSink : CopySink /// public AzureSearchIndexSink() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSearchIndexWriteBehaviorType.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSearchIndexWriteBehaviorType.cs index 99a16bbb4afa..677ef93c37c1 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSearchIndexWriteBehaviorType.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSearchIndexWriteBehaviorType.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; /// /// Defines values for AzureSearchIndexWriteBehaviorType. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSearchLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSearchLinkedService.cs index 98b10c687608..cd3b00db153b 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSearchLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSearchLinkedService.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSqlDWLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSqlDWLinkedService.cs index 32400c1d2ae4..0ff9efd6bf53 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSqlDWLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSqlDWLinkedService.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -45,7 +44,6 @@ public AzureSqlDWLinkedService() public AzureSqlDWLinkedService(SecureString connectionString, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object encryptedCredential = default(object)) : base(connectVia, description) { - ConnectionString = new SecureString(); ConnectionString = connectionString; EncryptedCredential = encryptedCredential; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSqlDWTableDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSqlDWTableDataset.cs index ca76d4998433..5d1e84999717 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSqlDWTableDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSqlDWTableDataset.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -30,7 +29,8 @@ public partial class AzureSqlDWTableDataset : Dataset /// public AzureSqlDWTableDataset() { - CustomInit(); + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); } /// @@ -48,7 +48,6 @@ public AzureSqlDWTableDataset() public AzureSqlDWTableDataset(LinkedServiceReference linkedServiceName, object tableName, string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) : base(linkedServiceName, description, structure, parameters) { - LinkedServiceName = new LinkedServiceReference(); 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 f2904b84e409..189a318b6833 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSqlDatabaseLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSqlDatabaseLinkedService.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -47,7 +46,6 @@ public AzureSqlDatabaseLinkedService() public AzureSqlDatabaseLinkedService(SecureString connectionString, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object encryptedCredential = default(object)) : base(connectVia, description) { - ConnectionString = new SecureString(); ConnectionString = connectionString; EncryptedCredential = encryptedCredential; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSqlTableDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSqlTableDataset.cs index 6a28803b29ff..df2fae12161d 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSqlTableDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSqlTableDataset.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -30,7 +29,8 @@ public partial class AzureSqlTableDataset : Dataset /// public AzureSqlTableDataset() { - CustomInit(); + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); } /// @@ -47,7 +47,6 @@ public AzureSqlTableDataset() public AzureSqlTableDataset(LinkedServiceReference linkedServiceName, object tableName, string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) : base(linkedServiceName, description, structure, parameters) { - LinkedServiceName = new LinkedServiceReference(); 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 31333aef9720..4fa4cdcd87a4 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureStorageLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureStorageLinkedService.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureTableDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureTableDataset.cs index e0cfe4dc34f3..c86db27b573e 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureTableDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureTableDataset.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -30,7 +29,8 @@ public partial class AzureTableDataset : Dataset /// public AzureTableDataset() { - CustomInit(); + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); } /// @@ -47,7 +47,6 @@ public AzureTableDataset() public AzureTableDataset(LinkedServiceReference linkedServiceName, object tableName, string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) : base(linkedServiceName, description, structure, parameters) { - LinkedServiceName = new LinkedServiceReference(); 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 98e9d438089f..29cbe93ae93a 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureTableSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureTableSink.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class AzureTableSink : CopySink /// public AzureTableSink() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureTableSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureTableSource.cs index 72ab5096fb22..2b3bbf78f905 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureTableSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureTableSource.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class AzureTableSource : CopySource /// public AzureTableSource() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/BlobSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/BlobSink.cs index e43f083f1e43..0176d43e9891 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/BlobSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/BlobSink.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class BlobSink : CopySink /// public BlobSink() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/BlobSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/BlobSource.cs index 59706b17fd47..0def60f71afe 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/BlobSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/BlobSource.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class BlobSource : CopySource /// public BlobSource() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/BlobTrigger.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/BlobTrigger.cs index ecc8d18f7df1..47f0b6956818 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/BlobTrigger.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/BlobTrigger.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CassandraLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CassandraLinkedService.cs index a9d16ac19662..ce7f131b6165 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CassandraLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CassandraLinkedService.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CassandraSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CassandraSource.cs index c13eae9c47b6..c0320b1c8974 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CassandraSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CassandraSource.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class CassandraSource : CopySource /// public CassandraSource() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CassandraSourceReadConsistencyLevels.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CassandraSourceReadConsistencyLevels.cs index 5c249a20dcc6..9b05158f8c3c 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CassandraSourceReadConsistencyLevels.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CassandraSourceReadConsistencyLevels.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; /// /// Defines values for CassandraSourceReadConsistencyLevels. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CassandraTableDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CassandraTableDataset.cs index 903a7cb4c6a6..2f6a14dcb423 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CassandraTableDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CassandraTableDataset.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -30,7 +29,8 @@ public partial class CassandraTableDataset : Dataset /// public CassandraTableDataset() { - CustomInit(); + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); } /// @@ -49,7 +49,6 @@ public CassandraTableDataset() 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) { - LinkedServiceName = new LinkedServiceReference(); TableName = tableName; Keyspace = keyspace; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ControlActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ControlActivity.cs index 39e50434be44..50ed8fb3edb8 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ControlActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ControlActivity.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -28,7 +27,7 @@ public partial class ControlActivity : Activity /// public ControlActivity() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopyActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopyActivity.cs index e30a5c517520..483836199d49 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopyActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopyActivity.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopyBehaviorType.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopyBehaviorType.cs index 486e002d6497..01cc5d50b1bb 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopyBehaviorType.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopyBehaviorType.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; /// /// Defines values for CopyBehaviorType. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopySink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopySink.cs index 81199216ad48..bc5d4830f5d1 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopySink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopySink.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class CopySink /// public CopySink() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopySource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopySource.cs index 61d1f30cbf89..22e69d8deccb 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopySource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopySource.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class CopySource /// public CopySource() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopyTranslator.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopyTranslator.cs index a0e538c93c14..f2657d1a15ee 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopyTranslator.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopyTranslator.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using System.Linq; /// @@ -23,7 +22,7 @@ public partial class CopyTranslator /// public CopyTranslator() { - CustomInit(); + CustomInit(); } diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CosmosDbLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CosmosDbLinkedService.cs index 047dabcaacd0..6d50ef24161e 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CosmosDbLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CosmosDbLinkedService.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -45,7 +44,6 @@ public CosmosDbLinkedService() public CosmosDbLinkedService(SecureString connectionString, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object encryptedCredential = default(object)) : base(connectVia, description) { - ConnectionString = new SecureString(); ConnectionString = connectionString; EncryptedCredential = encryptedCredential; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CreateRunResponse.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CreateRunResponse.cs index dd37522632f8..01baa9991e49 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CreateRunResponse.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CreateRunResponse.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class CreateRunResponse /// public CreateRunResponse() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CustomActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CustomActivity.cs index 34b16913dfa8..3216d6a53518 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CustomActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CustomActivity.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CustomActivityReferenceObject.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CustomActivityReferenceObject.cs index a6089200e408..389723149f64 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CustomActivityReferenceObject.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CustomActivityReferenceObject.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -27,7 +26,7 @@ public partial class CustomActivityReferenceObject /// public CustomActivityReferenceObject() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CustomDataSourceLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CustomDataSourceLinkedService.cs index ae2a7802909d..d2332557c0d0 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CustomDataSourceLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CustomDataSourceLinkedService.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -27,7 +26,7 @@ public partial class CustomDataSourceLinkedService : LinkedService /// public CustomDataSourceLinkedService() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CustomDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CustomDataset.cs index ed935bad9e76..97cada6dd2e1 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CustomDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CustomDataset.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Collections; @@ -27,7 +26,8 @@ public partial class CustomDataset : Dataset /// public CustomDataset() { - CustomInit(); + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); } /// @@ -43,7 +43,6 @@ public CustomDataset() public CustomDataset(LinkedServiceReference linkedServiceName, object typeProperties, string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) : base(linkedServiceName, description, structure, parameters) { - LinkedServiceName = new LinkedServiceReference(); 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 cbac101e69dd..1beec4a69511 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DataLakeAnalyticsUSQLActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DataLakeAnalyticsUSQLActivity.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -66,7 +65,6 @@ public DataLakeAnalyticsUSQLActivity() 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) { - ScriptLinkedService = new LinkedServiceReference(); ScriptPath = scriptPath; ScriptLinkedService = scriptLinkedService; DegreeOfParallelism = degreeOfParallelism; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Dataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Dataset.cs index 520c721b2962..08bc29eacd36 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Dataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Dataset.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Collections; @@ -43,7 +42,6 @@ public Dataset() /// Parameters for dataset. public Dataset(LinkedServiceReference linkedServiceName, string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) { - LinkedServiceName = new LinkedServiceReference(); Description = description; Structure = structure; LinkedServiceName = linkedServiceName; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetBZip2Compression.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetBZip2Compression.cs index c1eb140b4c92..04f5332cfdc4 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetBZip2Compression.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetBZip2Compression.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class DatasetBZip2Compression : DatasetCompression /// public DatasetBZip2Compression() { - CustomInit(); + CustomInit(); } diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetCompression.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetCompression.cs index 5242832a613a..59070794e022 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetCompression.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetCompression.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using System.Linq; /// @@ -23,7 +22,7 @@ public partial class DatasetCompression /// public DatasetCompression() { - CustomInit(); + CustomInit(); } diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetCompressionLevel.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetCompressionLevel.cs index ff14a0389030..0735c55af417 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetCompressionLevel.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetCompressionLevel.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; /// /// Defines values for DatasetCompressionLevel. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetDateTimePartitionValue.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetDateTimePartitionValue.cs index d8913d50979c..cf5be90477de 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetDateTimePartitionValue.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetDateTimePartitionValue.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -26,7 +25,7 @@ public partial class DatasetDateTimePartitionValue : DatasetPartitionValue /// public DatasetDateTimePartitionValue() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetDeflateCompression.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetDeflateCompression.cs index 5cfb7ab18314..4d12ebd0a815 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetDeflateCompression.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetDeflateCompression.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class DatasetDeflateCompression : DatasetCompression /// public DatasetDeflateCompression() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetGZipCompression.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetGZipCompression.cs index 0ddef9ac9c95..1870890f656a 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetGZipCompression.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetGZipCompression.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class DatasetGZipCompression : DatasetCompression /// public DatasetGZipCompression() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetPartition.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetPartition.cs index a43414246ebc..23cfdfcf0b8e 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetPartition.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetPartition.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class DatasetPartition /// public DatasetPartition() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetPartitionValue.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetPartitionValue.cs index c9193e06cdba..775e7b4ef659 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetPartitionValue.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetPartitionValue.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using System.Linq; /// @@ -23,7 +22,7 @@ public partial class DatasetPartitionValue /// public DatasetPartitionValue() { - CustomInit(); + CustomInit(); } diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetReference.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetReference.cs index e43ac9fcafdb..859df9b55f85 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetReference.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetReference.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Collections; @@ -27,7 +26,7 @@ public partial class DatasetReference /// public DatasetReference() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetResource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetResource.cs index b919c7cd4f3c..11f2afa4dc7c 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetResource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetResource.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -40,7 +39,6 @@ public DatasetResource() public DatasetResource(Dataset properties, string id = default(string), string name = default(string), string type = default(string), string etag = default(string)) : base(id, name, type, etag) { - Properties = new Dataset(); Properties = properties; CustomInit(); } diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetStorageFormat.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetStorageFormat.cs index 355843900fa2..eadaf109aad5 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetStorageFormat.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DatasetStorageFormat.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class DatasetStorageFormat /// public DatasetStorageFormat() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DayOfWeek.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DayOfWeek.cs index d0d0425198d7..9df6c3af95a9 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DayOfWeek.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DayOfWeek.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Runtime; @@ -39,8 +38,10 @@ public enum DayOfWeek } internal static class DayOfWeekEnumExtension { - internal static string ToSerializedValue(this DayOfWeek? value) => - value == null ? null : ((DayOfWeek)value).ToSerializedValue(); + internal static string ToSerializedValue(this DayOfWeek? value) + { + return value == null ? null : ((DayOfWeek)value).ToSerializedValue(); + } internal static string ToSerializedValue(this DayOfWeek value) { diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DaysOfWeek.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DaysOfWeek.cs index fd49ea5e8544..6046209a2a5d 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DaysOfWeek.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DaysOfWeek.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Runtime; @@ -39,8 +38,10 @@ public enum DaysOfWeek } internal static class DaysOfWeekEnumExtension { - internal static string ToSerializedValue(this DaysOfWeek? value) => - value == null ? null : ((DaysOfWeek)value).ToSerializedValue(); + internal static string ToSerializedValue(this DaysOfWeek? value) + { + return value == null ? null : ((DaysOfWeek)value).ToSerializedValue(); + } internal static string ToSerializedValue(this DaysOfWeek value) { diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Db2AuthenticationType.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Db2AuthenticationType.cs index 6fb6bc163c06..fe9aa4be4f4f 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Db2AuthenticationType.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Db2AuthenticationType.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; /// /// Defines values for Db2AuthenticationType. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Db2LinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Db2LinkedService.cs index 4a122dfca3e2..3ed8daa091cc 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Db2LinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Db2LinkedService.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DependencyCondition.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DependencyCondition.cs index 6fd6cf24d5eb..62dad3c95c25 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DependencyCondition.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DependencyCondition.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; /// /// Defines values for DependencyCondition. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DistcpSettings.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DistcpSettings.cs index 7c1986a2cf57..afa77cce6ba4 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DistcpSettings.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DistcpSettings.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class DistcpSettings /// public DistcpSettings() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DocumentDbCollectionDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DocumentDbCollectionDataset.cs index 27fadfb4eaf7..9a6811f2c08e 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DocumentDbCollectionDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DocumentDbCollectionDataset.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -31,7 +30,8 @@ public partial class DocumentDbCollectionDataset : Dataset /// public DocumentDbCollectionDataset() { - CustomInit(); + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); } /// @@ -49,7 +49,6 @@ public DocumentDbCollectionDataset() public DocumentDbCollectionDataset(LinkedServiceReference linkedServiceName, object collectionName, string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) : base(linkedServiceName, description, structure, parameters) { - LinkedServiceName = new LinkedServiceReference(); 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 b0c8f008f99a..36c314a636be 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DocumentDbCollectionSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DocumentDbCollectionSink.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class DocumentDbCollectionSink : CopySink /// public DocumentDbCollectionSink() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DocumentDbCollectionSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DocumentDbCollectionSource.cs index 1fb09a68edc3..73c46f2857c1 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DocumentDbCollectionSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DocumentDbCollectionSource.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class DocumentDbCollectionSource : CopySource /// public DocumentDbCollectionSource() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsEntityDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsEntityDataset.cs index 632287e10e20..860cbe153a8a 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsEntityDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsEntityDataset.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -30,7 +29,8 @@ public partial class DynamicsEntityDataset : Dataset /// public DynamicsEntityDataset() { - CustomInit(); + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); } /// @@ -47,7 +47,6 @@ public DynamicsEntityDataset() 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) { - LinkedServiceName = new LinkedServiceReference(); 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 9df5dec0b149..919ed6f7050e 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsLinkedService.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -28,7 +27,7 @@ public partial class DynamicsLinkedService : LinkedService /// public DynamicsLinkedService() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsSink.cs new file mode 100644 index 000000000000..bb1b4dee6485 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsSink.cs @@ -0,0 +1,80 @@ +// +// 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.Linq; + + /// + /// A copy activity Dynamics sink. + /// + public partial class DynamicsSink : CopySink + { + /// + /// Initializes a new instance of the DynamicsSink class. + /// + public DynamicsSink() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the DynamicsSink class. + /// + /// Write batch size. Type: integer (or + /// Expression with resultType integer), minimum: 0. + /// Write batch timeout. Type: string + /// (or Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// Sink retry count. Type: integer (or + /// Expression with resultType integer). + /// Sink retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The flag indicating whether ignore + /// 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) + { + IgnoreNullValues = ignoreNullValues; + CustomInit(); + } + /// + /// Static constructor for DynamicsSink class. + /// + static DynamicsSink() + { + WriteBehavior = "Upsert"; + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the flag indicating whether ignore null values from + /// input dataset (except key fields) during write operation. Default + /// is false. Type: boolean (or Expression with resultType boolean). + /// + [JsonProperty(PropertyName = "ignoreNullValues")] + public object IgnoreNullValues { get; set; } + + /// + /// The write behavior for the operation. + /// + [JsonProperty(PropertyName = "writeBehavior")] + public static string WriteBehavior { get; private set; } + + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsSource.cs index 2e8515faf8fd..cd39f34a355c 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsSource.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,17 +6,15 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; /// - /// A copy activity Dynamics entity source. + /// A copy activity Dynamics source. /// public partial class DynamicsSource : CopySource { @@ -24,7 +23,7 @@ public partial class DynamicsSource : CopySource /// public DynamicsSource() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ErrorResponse.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ErrorResponse.cs index e0fee917e8d1..afd69dda24be 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ErrorResponse.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ErrorResponse.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Collections; @@ -28,7 +27,7 @@ public partial class ErrorResponse /// public ErrorResponse() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ErrorResponseException.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ErrorResponseException.cs index 8f9d9e652414..1f86ee4288b8 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ErrorResponseException.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ErrorResponseException.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,19 +6,17 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; /// /// Exception thrown for an invalid response with ErrorResponse /// information. /// - public class ErrorResponseException : RestException + public partial class ErrorResponseException : RestException { /// /// Gets information about the associated HTTP request. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ExecutePipelineActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ExecutePipelineActivity.cs index e3142a68bd77..423da997e279 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ExecutePipelineActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ExecutePipelineActivity.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -48,7 +47,6 @@ public ExecutePipelineActivity() 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) { - Pipeline = new PipelineReference(); Pipeline = pipeline; Parameters = parameters; WaitOnCompletion = waitOnCompletion; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ExecutionActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ExecutionActivity.cs index cbbaffff0ecf..f1f8f3abf2f2 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ExecutionActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ExecutionActivity.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Expression.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Expression.cs index 3555cf34fecd..2da948bd6f5a 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Expression.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Expression.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class Expression /// public Expression() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Factory.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Factory.cs index 1ad9b9470f24..73c75fd002b5 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Factory.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Factory.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FactoryIdentity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FactoryIdentity.cs index 5c751729ac42..7c8c93879118 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FactoryIdentity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FactoryIdentity.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class FactoryIdentity /// public FactoryIdentity() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FactoryUpdateParameters.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FactoryUpdateParameters.cs index 96cd3a6e8910..c6c5204a7abd 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FactoryUpdateParameters.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FactoryUpdateParameters.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileServerLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileServerLinkedService.cs index 8a21a8fea977..5dffc92d5969 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileServerLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileServerLinkedService.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileShareDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileShareDataset.cs index 56b28177d14e..4c3fdc13252e 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileShareDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileShareDataset.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -30,7 +29,8 @@ public partial class FileShareDataset : Dataset /// public FileShareDataset() { - CustomInit(); + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); } /// @@ -55,7 +55,6 @@ public FileShareDataset() 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) { - LinkedServiceName = new LinkedServiceReference(); FolderPath = folderPath; FileName = fileName; Format = format; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileSystemSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileSystemSink.cs index 7ed56a76e8ca..8215815b11f7 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileSystemSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileSystemSink.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class FileSystemSink : CopySink /// public FileSystemSink() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileSystemSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileSystemSource.cs index 60c6210bc102..2adedd39874a 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileSystemSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileSystemSource.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class FileSystemSource : CopySource /// public FileSystemSource() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ForEachActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ForEachActivity.cs index 0b9d507d2362..af5829ce1337 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ForEachActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ForEachActivity.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -48,7 +47,6 @@ public ForEachActivity() public ForEachActivity(string name, Expression items, IList activities, string description = default(string), IList dependsOn = default(IList), bool? isSequential = default(bool?)) : base(name, description, dependsOn) { - Items = new Expression(); IsSequential = isSequential; Items = items; Activities = activities; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FtpAuthenticationType.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FtpAuthenticationType.cs index 4ce107fc4d06..067e28034d9a 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FtpAuthenticationType.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FtpAuthenticationType.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; /// /// Defines values for FtpAuthenticationType. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FtpServerLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FtpServerLinkedService.cs index d70666b7ad91..c1bf7be15a39 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FtpServerLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FtpServerLinkedService.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GetMetadataActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GetMetadataActivity.cs index d5fd4371147f..9d4e4182fe60 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GetMetadataActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GetMetadataActivity.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -49,7 +48,6 @@ public GetMetadataActivity() 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) { - Dataset = new DatasetReference(); Dataset = dataset; FieldList = fieldList; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightActivityDebugInfoOption.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightActivityDebugInfoOption.cs index 04eda0d57677..6b75439fb177 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightActivityDebugInfoOption.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightActivityDebugInfoOption.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; /// /// Defines values for HDInsightActivityDebugInfoOption. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightHiveActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightHiveActivity.cs index 69d261d380fe..02a89e142ab0 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightHiveActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightHiveActivity.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightLinkedService.cs index cc233dc92862..6d21fc91c74c 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightLinkedService.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightMapReduceActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightMapReduceActivity.cs index fc8307d8c4a1..01f37e4f8519 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightMapReduceActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightMapReduceActivity.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightOnDemandLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightOnDemandLinkedService.cs index 998c5b486dc5..00d79de9ebb7 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightOnDemandLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightOnDemandLinkedService.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -117,7 +116,6 @@ public HDInsightOnDemandLinkedService() 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) { - LinkedServiceName = new LinkedServiceReference(); ClusterSize = clusterSize; TimeToLive = timeToLive; Version = version; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightPigActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightPigActivity.cs index b50e464cf28a..16e4a2c939ba 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightPigActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightPigActivity.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightSparkActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightSparkActivity.cs index 805508dbbd66..8033bace30d3 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightSparkActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightSparkActivity.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightStreamingActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightStreamingActivity.cs index 1c19b172ad40..0cff4bcee507 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightStreamingActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightStreamingActivity.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HdfsLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HdfsLinkedService.cs index a6da8df61ac7..b8c5cd3f4fd9 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HdfsLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HdfsLinkedService.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HdfsSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HdfsSource.cs index b1e5e37b2d3f..be58508cd53f 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HdfsSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HdfsSource.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,17 +6,15 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; /// - /// A copy activity source for HDFS source. + /// A copy activity HDFS source. /// public partial class HdfsSource : CopySource { @@ -24,7 +23,7 @@ public partial class HdfsSource : CopySource /// public HdfsSource() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HttpAuthenticationType.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HttpAuthenticationType.cs index e31e42046c37..43953e86e64e 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HttpAuthenticationType.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HttpAuthenticationType.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; /// /// Defines values for HttpAuthenticationType. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HttpDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HttpDataset.cs index baa9ba2bdfb6..143bd76eac98 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HttpDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HttpDataset.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -30,7 +29,8 @@ public partial class HttpDataset : Dataset /// public HttpDataset() { - CustomInit(); + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); } /// @@ -62,7 +62,6 @@ public HttpDataset() 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), DatasetPartition partitionedBy = default(DatasetPartition), DatasetStorageFormat format = default(DatasetStorageFormat), DatasetCompression compression = default(DatasetCompression)) : base(linkedServiceName, description, structure, parameters) { - LinkedServiceName = new LinkedServiceReference(); RelativeUrl = relativeUrl; RequestMethod = requestMethod; RequestBody = requestBody; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HttpLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HttpLinkedService.cs index be433ba73404..1342d6189609 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HttpLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HttpLinkedService.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HttpSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HttpSource.cs index e710cfb05a4b..367bc839fae1 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HttpSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HttpSource.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class HttpSource : CopySource /// public HttpSource() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IfConditionActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IfConditionActivity.cs index 3539bd72ba30..8d3730d7e7e7 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IfConditionActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IfConditionActivity.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -55,7 +54,6 @@ public IfConditionActivity() 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) { - Expression = new Expression(); Expression = expression; IfTrueActivities = ifTrueActivities; IfFalseActivities = ifFalseActivities; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntime.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntime.cs index 5fc5a704a21b..795ec61ef993 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntime.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntime.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class IntegrationRuntime /// public IntegrationRuntime() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeAuthKeyName.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeAuthKeyName.cs index 6cf342a9c379..64f800566d41 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeAuthKeyName.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeAuthKeyName.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; /// /// Defines values for IntegrationRuntimeAuthKeyName. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeAuthKeys.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeAuthKeys.cs index e7a236e5a535..195aef7cce62 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeAuthKeys.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeAuthKeys.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class IntegrationRuntimeAuthKeys /// public IntegrationRuntimeAuthKeys() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeAutoUpdate.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeAutoUpdate.cs index a56c7004d36c..bd39a3d52389 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeAutoUpdate.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeAutoUpdate.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; /// /// Defines values for IntegrationRuntimeAutoUpdate. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeComputeProperties.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeComputeProperties.cs index 4fa1a1c6e7a7..9241aac0391c 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeComputeProperties.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeComputeProperties.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -26,7 +25,7 @@ public partial class IntegrationRuntimeComputeProperties /// public IntegrationRuntimeComputeProperties() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeConnectionInfo.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeConnectionInfo.cs index ca9d135da6f4..4aff77518741 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeConnectionInfo.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeConnectionInfo.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -26,7 +25,7 @@ public partial class IntegrationRuntimeConnectionInfo /// public IntegrationRuntimeConnectionInfo() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeInternalChannelEncryptionMode.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeInternalChannelEncryptionMode.cs index 88df270daf33..493973da893b 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeInternalChannelEncryptionMode.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeInternalChannelEncryptionMode.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; /// /// Defines values for IntegrationRuntimeInternalChannelEncryptionMode. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeMonitoringData.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeMonitoringData.cs index 44ac7ac09649..7684035c423d 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeMonitoringData.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeMonitoringData.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -27,7 +26,7 @@ public partial class IntegrationRuntimeMonitoringData /// public IntegrationRuntimeMonitoringData() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeNodeMonitoringData.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeNodeMonitoringData.cs index ff26539265ee..d759a656c8bb 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeNodeMonitoringData.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeNodeMonitoringData.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class IntegrationRuntimeNodeMonitoringData /// public IntegrationRuntimeNodeMonitoringData() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeReference.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeReference.cs index 4451de109410..37ab74c4cec2 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeReference.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeReference.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Collections; @@ -28,7 +27,7 @@ public partial class IntegrationRuntimeReference /// public IntegrationRuntimeReference() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeRegenerateKeyParameters.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeRegenerateKeyParameters.cs index 44eaeb262643..d34a239af1bc 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeRegenerateKeyParameters.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeRegenerateKeyParameters.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class IntegrationRuntimeRegenerateKeyParameters /// public IntegrationRuntimeRegenerateKeyParameters() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeRemoveNodeRequest.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeRemoveNodeRequest.cs index e60acb56abe4..ae1588660a10 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeRemoveNodeRequest.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeRemoveNodeRequest.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class IntegrationRuntimeRemoveNodeRequest /// public IntegrationRuntimeRemoveNodeRequest() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeResource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeResource.cs index c7c3b3bd7bf8..729139d2a175 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeResource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeResource.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class IntegrationRuntimeResource : SubResource /// public IntegrationRuntimeResource() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeSsisCatalogInfo.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeSsisCatalogInfo.cs index 8e63ad34ce58..552d4ae06199 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeSsisCatalogInfo.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeSsisCatalogInfo.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeSsisCatalogPricingTier.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeSsisCatalogPricingTier.cs index 6f9fcf8c9744..6cd3a5a32af8 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeSsisCatalogPricingTier.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeSsisCatalogPricingTier.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; /// /// Defines values for IntegrationRuntimeSsisCatalogPricingTier. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeSsisProperties.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeSsisProperties.cs index daee50e151e2..86ffc2a0fe2d 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeSsisProperties.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeSsisProperties.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeState.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeState.cs index 734b40bd1a36..4dba02e5ce2e 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeState.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeState.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; /// /// Defines values for IntegrationRuntimeState. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeStatus.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeStatus.cs index abc8e3e9203a..1f402664d2ae 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeStatus.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeStatus.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class IntegrationRuntimeStatus /// public IntegrationRuntimeStatus() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeStatusListResponse.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeStatusListResponse.cs index 6b0cba2094bb..68d606b00ede 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeStatusListResponse.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeStatusListResponse.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Collections; @@ -28,7 +27,7 @@ public partial class IntegrationRuntimeStatusListResponse /// public IntegrationRuntimeStatusListResponse() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeStatusResponse.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeStatusResponse.cs index 5ca6323d4d24..d8783bdff399 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeStatusResponse.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeStatusResponse.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -26,7 +25,7 @@ public partial class IntegrationRuntimeStatusResponse /// public IntegrationRuntimeStatusResponse() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeUpdateResult.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeUpdateResult.cs index c2550fd05179..98337e35529f 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeUpdateResult.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeUpdateResult.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; /// /// Defines values for IntegrationRuntimeUpdateResult. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeVNetProperties.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeVNetProperties.cs index 5322a6dc423f..0718eedd8be9 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeVNetProperties.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/IntegrationRuntimeVNetProperties.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class IntegrationRuntimeVNetProperties /// public IntegrationRuntimeVNetProperties() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/JsonFormat.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/JsonFormat.cs index d6a090229c0f..4404162ebc81 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/JsonFormat.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/JsonFormat.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class JsonFormat : DatasetStorageFormat /// public JsonFormat() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/JsonFormatFilePattern.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/JsonFormatFilePattern.cs index 6dba3313e5fd..823c3f01573c 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/JsonFormatFilePattern.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/JsonFormatFilePattern.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; /// /// Defines values for JsonFormatFilePattern. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/LinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/LinkedService.cs index 68dee24b090b..cf230990b929 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/LinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/LinkedService.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/LinkedServiceReference.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/LinkedServiceReference.cs index 9738c8503d32..bc3f527b2594 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/LinkedServiceReference.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/LinkedServiceReference.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class LinkedServiceReference /// public LinkedServiceReference() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/LinkedServiceResource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/LinkedServiceResource.cs index e93962eee308..1b71dee2d005 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/LinkedServiceResource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/LinkedServiceResource.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -40,7 +39,6 @@ public LinkedServiceResource() public LinkedServiceResource(LinkedService properties, string id = default(string), string name = default(string), string type = default(string), string etag = default(string)) : base(id, name, type, etag) { - Properties = new LinkedService(); Properties = properties; CustomInit(); } diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/LookupActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/LookupActivity.cs index 3bda59efb3a9..124edcaefc25 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/LookupActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/LookupActivity.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -51,7 +50,6 @@ public LookupActivity() 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) { - Dataset = new DatasetReference(); Source = source; Dataset = dataset; FirstRowOnly = firstRowOnly; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ManagedIntegrationRuntime.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ManagedIntegrationRuntime.cs index 968c55cd2d9f..a5665fcd3083 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ManagedIntegrationRuntime.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ManagedIntegrationRuntime.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ManagedIntegrationRuntimeError.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ManagedIntegrationRuntimeError.cs index 3bd3768f8bf0..87400a91f65c 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ManagedIntegrationRuntimeError.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ManagedIntegrationRuntimeError.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -27,7 +26,7 @@ public partial class ManagedIntegrationRuntimeError /// public ManagedIntegrationRuntimeError() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ManagedIntegrationRuntimeNode.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ManagedIntegrationRuntimeNode.cs index 38e49670fe45..6f0ed6ec1fc4 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ManagedIntegrationRuntimeNode.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ManagedIntegrationRuntimeNode.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -27,7 +26,7 @@ public partial class ManagedIntegrationRuntimeNode /// public ManagedIntegrationRuntimeNode() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ManagedIntegrationRuntimeNodeStatus.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ManagedIntegrationRuntimeNodeStatus.cs index 75def8940a4d..1266ab4951cd 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ManagedIntegrationRuntimeNodeStatus.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ManagedIntegrationRuntimeNodeStatus.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; /// /// Defines values for ManagedIntegrationRuntimeNodeStatus. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ManagedIntegrationRuntimeOperationResult.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ManagedIntegrationRuntimeOperationResult.cs index 21b1ebea3863..0927845a88e5 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ManagedIntegrationRuntimeOperationResult.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ManagedIntegrationRuntimeOperationResult.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -27,7 +26,7 @@ public partial class ManagedIntegrationRuntimeOperationResult /// public ManagedIntegrationRuntimeOperationResult() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ManagedIntegrationRuntimeStatus.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ManagedIntegrationRuntimeStatus.cs index d9f7e9e72ace..d6e68c54d6d7 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ManagedIntegrationRuntimeStatus.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ManagedIntegrationRuntimeStatus.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -31,7 +30,7 @@ public partial class ManagedIntegrationRuntimeStatus : IntegrationRuntimeStatus /// public ManagedIntegrationRuntimeStatus() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbAuthenticationType.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbAuthenticationType.cs index e4ff6c6a3cd1..2223b135c4d3 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbAuthenticationType.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbAuthenticationType.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; /// /// Defines values for MongoDbAuthenticationType. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbCollectionDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbCollectionDataset.cs index 6ed783c14f50..17a92c407707 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbCollectionDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbCollectionDataset.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -30,7 +29,8 @@ public partial class MongoDbCollectionDataset : Dataset /// public MongoDbCollectionDataset() { - CustomInit(); + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); } /// @@ -48,7 +48,6 @@ public MongoDbCollectionDataset() public MongoDbCollectionDataset(LinkedServiceReference linkedServiceName, object collectionName, string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) : base(linkedServiceName, description, structure, parameters) { - LinkedServiceName = new LinkedServiceReference(); 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 b26756140256..73cfcfd7bbe2 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbLinkedService.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbSource.cs index 21c4559bbce6..f894d1ba9fe6 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbSource.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class MongoDbSource : CopySource /// public MongoDbSource() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MySqlLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MySqlLinkedService.cs index 147d757a6149..f0912b68931e 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MySqlLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MySqlLinkedService.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ODataAuthenticationType.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ODataAuthenticationType.cs index 06e49450ee28..17a0304264cd 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ODataAuthenticationType.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ODataAuthenticationType.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; /// /// Defines values for ODataAuthenticationType. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ODataLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ODataLinkedService.cs index b1daa2139695..23b25939c492 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ODataLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ODataLinkedService.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ODataResourceDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ODataResourceDataset.cs index ee6fd9dae7f5..8b553ad96e07 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ODataResourceDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ODataResourceDataset.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -30,7 +29,8 @@ public partial class ODataResourceDataset : Dataset /// public ODataResourceDataset() { - CustomInit(); + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); } /// @@ -47,7 +47,6 @@ public ODataResourceDataset() 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) { - LinkedServiceName = new LinkedServiceReference(); 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 d59d37610578..84314e0a5198 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OdbcLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OdbcLinkedService.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -56,7 +55,6 @@ public OdbcLinkedService() 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) { - ConnectionString = new SecureString(); ConnectionString = connectionString; AuthenticationType = authenticationType; Credential = credential; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OdbcSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OdbcSink.cs index 8b7b2fc55bf9..f1ab5fc2fed6 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OdbcSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OdbcSink.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class OdbcSink : CopySink /// public OdbcSink() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Operation.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Operation.cs index 44910f6f19b6..18255b93840f 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Operation.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Operation.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -27,7 +26,7 @@ public partial class Operation /// public Operation() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OperationDisplay.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OperationDisplay.cs index ccf5d10f4203..85a5df2fa391 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OperationDisplay.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OperationDisplay.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class OperationDisplay /// public OperationDisplay() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OperationListResponse.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OperationListResponse.cs index c3ddedd24957..ab1c762bb198 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OperationListResponse.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OperationListResponse.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -26,7 +25,7 @@ public partial class OperationListResponse /// public OperationListResponse() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OperationLogSpecification.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OperationLogSpecification.cs index 904d01b935a2..24aff41f0a8e 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OperationLogSpecification.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OperationLogSpecification.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class OperationLogSpecification /// public OperationLogSpecification() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OperationMetricAvailability.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OperationMetricAvailability.cs index f7f3c1f08dfb..b3d24b145459 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OperationMetricAvailability.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OperationMetricAvailability.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class OperationMetricAvailability /// public OperationMetricAvailability() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OperationMetricSpecification.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OperationMetricSpecification.cs index 4d024222e50e..e289287d5483 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OperationMetricSpecification.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OperationMetricSpecification.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -27,7 +26,7 @@ public partial class OperationMetricSpecification /// public OperationMetricSpecification() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OperationServiceSpecification.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OperationServiceSpecification.cs index 90b92a3e0516..ec5839f534db 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OperationServiceSpecification.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OperationServiceSpecification.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -27,7 +26,7 @@ public partial class OperationServiceSpecification /// public OperationServiceSpecification() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleLinkedService.cs index 6026314f9833..57f7dcbd727e 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleLinkedService.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -45,7 +44,6 @@ public OracleLinkedService() public OracleLinkedService(SecureString connectionString, IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), object encryptedCredential = default(object)) : base(connectVia, description) { - ConnectionString = new SecureString(); ConnectionString = connectionString; EncryptedCredential = encryptedCredential; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleSink.cs index 17d61a5e4dc1..74e5cb03323c 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleSink.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class OracleSink : CopySink /// public OracleSink() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleSource.cs index 5f62eb9a4f95..1437f34f3fa9 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleSource.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class OracleSource : CopySource /// public OracleSource() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleTableDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleTableDataset.cs index 9247f9a1c433..1c4762eebb5e 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleTableDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleTableDataset.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -30,7 +29,8 @@ public partial class OracleTableDataset : Dataset /// public OracleTableDataset() { - CustomInit(); + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); } /// @@ -48,7 +48,6 @@ public OracleTableDataset() public OracleTableDataset(LinkedServiceReference linkedServiceName, object tableName, string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) : base(linkedServiceName, description, structure, parameters) { - LinkedServiceName = new LinkedServiceReference(); 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 3e7b52e22b58..887f270c02f9 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OrcFormat.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OrcFormat.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using System.Linq; /// @@ -23,7 +22,7 @@ public partial class OrcFormat : DatasetStorageFormat /// public OrcFormat() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Page.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Page.cs index 98b533411026..a20e5365ee63 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Page.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Page.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Azure; using Newtonsoft.Json; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ParameterSpecification.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ParameterSpecification.cs index c4cb3eefce29..2a802ef8aca1 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ParameterSpecification.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ParameterSpecification.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class ParameterSpecification /// public ParameterSpecification() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ParameterType.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ParameterType.cs index d46243564dfc..9dbd20c76991 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ParameterType.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ParameterType.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; /// /// Defines values for ParameterType. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ParquetFormat.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ParquetFormat.cs index 592678d187cf..9ae447e9b850 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ParquetFormat.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ParquetFormat.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using System.Linq; /// @@ -23,7 +22,7 @@ public partial class ParquetFormat : DatasetStorageFormat /// public ParquetFormat() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineReference.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineReference.cs index a1aa8b116923..923048a04bbf 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineReference.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineReference.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class PipelineReference /// public PipelineReference() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineResource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineResource.cs index e7aa575169b7..89f721819ce0 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineResource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineResource.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -29,7 +28,7 @@ public partial class PipelineResource : SubResource /// public PipelineResource() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRun.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRun.cs index d2a33ad8bf57..6d7172e1b450 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRun.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRun.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -26,7 +25,7 @@ public partial class PipelineRun /// public PipelineRun() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRunFilterParameters.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRunFilterParameters.cs index fc832b3247c7..cf333c55b9e3 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRunFilterParameters.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRunFilterParameters.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -27,7 +26,7 @@ public partial class PipelineRunFilterParameters /// public PipelineRunFilterParameters() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRunInvokedBy.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRunInvokedBy.cs index 4d45e54b2064..92421a27e8c7 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRunInvokedBy.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRunInvokedBy.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class PipelineRunInvokedBy /// public PipelineRunInvokedBy() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRunQueryFilter.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRunQueryFilter.cs index d035d9ad4f61..af522014fed6 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRunQueryFilter.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRunQueryFilter.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Collections; @@ -27,7 +26,7 @@ public partial class PipelineRunQueryFilter /// public PipelineRunQueryFilter() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRunQueryFilterOperand.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRunQueryFilterOperand.cs index 0589f872fbdc..5bbe6c9eff77 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRunQueryFilterOperand.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRunQueryFilterOperand.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; /// /// Defines values for PipelineRunQueryFilterOperand. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRunQueryFilterOperator.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRunQueryFilterOperator.cs index f5360a0eca35..cf5e1752fd31 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRunQueryFilterOperator.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRunQueryFilterOperator.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; /// /// Defines values for PipelineRunQueryFilterOperator. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRunQueryOrder.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRunQueryOrder.cs index 9684c0ca55c1..3b8f4711ef80 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRunQueryOrder.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRunQueryOrder.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; /// /// Defines values for PipelineRunQueryOrder. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRunQueryOrderBy.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRunQueryOrderBy.cs index b6add46a45f1..0576d228f013 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRunQueryOrderBy.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRunQueryOrderBy.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class PipelineRunQueryOrderBy /// public PipelineRunQueryOrderBy() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRunQueryOrderByField.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRunQueryOrderByField.cs index 48121835c415..f568d4bef124 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRunQueryOrderByField.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRunQueryOrderByField.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; /// /// Defines values for PipelineRunQueryOrderByField. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRunQueryResponse.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRunQueryResponse.cs index ec9afdab1436..8108c377849b 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRunQueryResponse.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRunQueryResponse.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Collections; @@ -27,7 +26,7 @@ public partial class PipelineRunQueryResponse /// public PipelineRunQueryResponse() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PolybaseSettings.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PolybaseSettings.cs index dd2f18d25c72..a925cc4cf2e3 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PolybaseSettings.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PolybaseSettings.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class PolybaseSettings /// public PolybaseSettings() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PolybaseSettingsRejectType.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PolybaseSettingsRejectType.cs index 7e6778b7e4b9..9b9f7e22cd57 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PolybaseSettingsRejectType.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PolybaseSettingsRejectType.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; /// /// Defines values for PolybaseSettingsRejectType. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PostgreSqlLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PostgreSqlLinkedService.cs index 5ff6567b5f9d..1aa8cbf552c1 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PostgreSqlLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PostgreSqlLinkedService.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RecurrenceFrequency.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RecurrenceFrequency.cs index b25ecd0189d5..103c321751a3 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RecurrenceFrequency.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RecurrenceFrequency.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; /// /// Defines values for RecurrenceFrequency. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RecurrenceSchedule.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RecurrenceSchedule.cs index f114589dc655..0076c716aa55 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RecurrenceSchedule.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RecurrenceSchedule.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -26,7 +25,7 @@ public partial class RecurrenceSchedule /// public RecurrenceSchedule() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RecurrenceScheduleOccurrence.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RecurrenceScheduleOccurrence.cs index 303d92c8f64f..b3895000526e 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RecurrenceScheduleOccurrence.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RecurrenceScheduleOccurrence.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class RecurrenceScheduleOccurrence /// public RecurrenceScheduleOccurrence() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RedirectIncompatibleRowSettings.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RedirectIncompatibleRowSettings.cs index 31b6b5d42d4e..f1382a467c58 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RedirectIncompatibleRowSettings.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RedirectIncompatibleRowSettings.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -26,7 +25,7 @@ public partial class RedirectIncompatibleRowSettings /// public RedirectIncompatibleRowSettings() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RedshiftUnloadSettings.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RedshiftUnloadSettings.cs index 7f397f350c41..43fd900e8f0a 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RedshiftUnloadSettings.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RedshiftUnloadSettings.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -45,7 +44,6 @@ public RedshiftUnloadSettings() /// string). public RedshiftUnloadSettings(LinkedServiceReference s3LinkedServiceName, object bucketName) { - S3LinkedServiceName = new LinkedServiceReference(); S3LinkedServiceName = s3LinkedServiceName; BucketName = bucketName; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RelationalSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RelationalSource.cs index 3c657242ca64..0eea369493f7 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RelationalSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RelationalSource.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class RelationalSource : CopySource /// public RelationalSource() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RelationalTableDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RelationalTableDataset.cs index 9e1d99cc95b4..310835c6eb8c 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RelationalTableDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RelationalTableDataset.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -30,7 +29,8 @@ public partial class RelationalTableDataset : Dataset /// public RelationalTableDataset() { - CustomInit(); + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); } /// @@ -47,7 +47,6 @@ public RelationalTableDataset() 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) { - LinkedServiceName = new LinkedServiceReference(); TableName = tableName; CustomInit(); } diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Resource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Resource.cs index 327705290a66..e419a420c598 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Resource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Resource.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Azure; using Newtonsoft.Json; @@ -28,7 +27,7 @@ public partial class Resource : IResource /// public Resource() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SalesforceLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SalesforceLinkedService.cs index 3c162aa72586..ee902011c647 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SalesforceLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SalesforceLinkedService.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapBWLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapBWLinkedService.cs index 155e392d8276..62ba6bc7f5c1 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapBWLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapBWLinkedService.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapHanaAuthenticationType.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapHanaAuthenticationType.cs index 7960c12441a4..7bf1f9ee9189 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapHanaAuthenticationType.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapHanaAuthenticationType.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; /// /// Defines values for SapHanaAuthenticationType. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapHanaLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapHanaLinkedService.cs index 61b8847115c7..e91a16411623 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapHanaLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapHanaLinkedService.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ScheduleTrigger.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ScheduleTrigger.cs index 272b057d3eb1..c466053ef103 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ScheduleTrigger.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ScheduleTrigger.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -29,7 +28,7 @@ public partial class ScheduleTrigger : Trigger /// public ScheduleTrigger() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ScheduleTriggerRecurrence.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ScheduleTriggerRecurrence.cs index e17f4e243bcb..b3c0b29995fc 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ScheduleTriggerRecurrence.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ScheduleTriggerRecurrence.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class ScheduleTriggerRecurrence /// public ScheduleTriggerRecurrence() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SecureString.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SecureString.cs index 90a6161345e7..6f7fe3832c53 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SecureString.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SecureString.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -26,7 +25,7 @@ public partial class SecureString /// public SecureString() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SelfHostedIntegrationRuntime.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SelfHostedIntegrationRuntime.cs index 27dd3e57b922..3c826cb0cc42 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SelfHostedIntegrationRuntime.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SelfHostedIntegrationRuntime.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -26,7 +25,7 @@ public partial class SelfHostedIntegrationRuntime : IntegrationRuntime /// public SelfHostedIntegrationRuntime() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SelfHostedIntegrationRuntimeNode.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SelfHostedIntegrationRuntimeNode.cs index 4a339c7246f9..40c2bb93692b 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SelfHostedIntegrationRuntimeNode.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SelfHostedIntegrationRuntimeNode.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -27,7 +26,7 @@ public partial class SelfHostedIntegrationRuntimeNode /// public SelfHostedIntegrationRuntimeNode() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SelfHostedIntegrationRuntimeNodeStatus.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SelfHostedIntegrationRuntimeNodeStatus.cs index c533f4483edd..4cdc75398dc9 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SelfHostedIntegrationRuntimeNodeStatus.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SelfHostedIntegrationRuntimeNodeStatus.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; /// /// Defines values for SelfHostedIntegrationRuntimeNodeStatus. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SelfHostedIntegrationRuntimeStatus.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SelfHostedIntegrationRuntimeStatus.cs index 46185f5c4b02..eb08bf136d20 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SelfHostedIntegrationRuntimeStatus.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SelfHostedIntegrationRuntimeStatus.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -31,7 +30,7 @@ public partial class SelfHostedIntegrationRuntimeStatus : IntegrationRuntimeStat /// public SelfHostedIntegrationRuntimeStatus() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SftpAuthenticationType.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SftpAuthenticationType.cs index f8ce32124df4..3723a2ea0662 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SftpAuthenticationType.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SftpAuthenticationType.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; /// /// Defines values for SftpAuthenticationType. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SftpServerLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SftpServerLinkedService.cs index 4b576a49c048..1b6092c54702 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SftpServerLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SftpServerLinkedService.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlDWSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlDWSink.cs index 4ae568994fbd..64c18ace131c 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlDWSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlDWSink.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class SqlDWSink : CopySink /// public SqlDWSink() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlDWSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlDWSource.cs index 5f6ac1137dac..fc0844086f2b 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlDWSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlDWSource.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class SqlDWSource : CopySource /// public SqlDWSource() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlServerLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlServerLinkedService.cs index d23409c1c152..e0a0fdbce31c 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlServerLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlServerLinkedService.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -49,7 +48,6 @@ public SqlServerLinkedService() 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) { - ConnectionString = new SecureString(); ConnectionString = connectionString; UserName = userName; Password = password; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlServerStoredProcedureActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlServerStoredProcedureActivity.cs index 3bf568bba629..3e578060b786 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlServerStoredProcedureActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlServerStoredProcedureActivity.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -31,7 +30,7 @@ public partial class SqlServerStoredProcedureActivity : ExecutionActivity /// public SqlServerStoredProcedureActivity() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlServerTableDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlServerTableDataset.cs index c55a62efcb7d..033db8dbebb7 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlServerTableDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlServerTableDataset.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -30,7 +29,8 @@ public partial class SqlServerTableDataset : Dataset /// public SqlServerTableDataset() { - CustomInit(); + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); } /// @@ -47,7 +47,6 @@ public SqlServerTableDataset() public SqlServerTableDataset(LinkedServiceReference linkedServiceName, object tableName, string description = default(string), object structure = default(object), IDictionary parameters = default(IDictionary)) : base(linkedServiceName, description, structure, parameters) { - LinkedServiceName = new LinkedServiceReference(); 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 453f3cedeee6..328286df278b 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlSink.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -26,7 +25,7 @@ public partial class SqlSink : CopySink /// public SqlSink() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlSource.cs index 12fc725969e1..3df52d10df49 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlSource.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -26,7 +25,7 @@ public partial class SqlSource : CopySource /// public SqlSource() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/StagingSettings.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/StagingSettings.cs index a9dbe408212c..b1c49d1a5e5a 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/StagingSettings.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/StagingSettings.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -42,7 +41,6 @@ public StagingSettings() /// boolean). public StagingSettings(LinkedServiceReference linkedServiceName, object path = default(object), object enableCompression = default(object)) { - LinkedServiceName = new LinkedServiceReference(); LinkedServiceName = linkedServiceName; Path = path; EnableCompression = enableCompression; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/StoredProcedureParameter.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/StoredProcedureParameter.cs index 2a66797ab178..f2714e0663f8 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/StoredProcedureParameter.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/StoredProcedureParameter.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class StoredProcedureParameter /// public StoredProcedureParameter() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/StoredProcedureParameterType.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/StoredProcedureParameterType.cs index 6814e2a79287..04eef5637b35 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/StoredProcedureParameterType.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/StoredProcedureParameterType.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; /// /// Defines values for StoredProcedureParameterType. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SubResource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SubResource.cs index dbce377aacbf..61e60f65cd38 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SubResource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SubResource.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Azure; using Newtonsoft.Json; @@ -26,7 +25,7 @@ public partial class SubResource : IResource /// public SubResource() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SybaseAuthenticationType.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SybaseAuthenticationType.cs index 65d2e4a44c0e..343f7afa8e45 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SybaseAuthenticationType.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SybaseAuthenticationType.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; /// /// Defines values for SybaseAuthenticationType. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SybaseLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SybaseLinkedService.cs index c18ffa6f2a9e..47ca6f73a8a4 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SybaseLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SybaseLinkedService.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TabularTranslator.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TabularTranslator.cs index 7b843b4903a1..f36fc0d616bd 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TabularTranslator.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TabularTranslator.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class TabularTranslator : CopyTranslator /// public TabularTranslator() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TeradataAuthenticationType.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TeradataAuthenticationType.cs index 38779211cfe1..5633a00ab7da 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TeradataAuthenticationType.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TeradataAuthenticationType.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; /// /// Defines values for TeradataAuthenticationType. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TeradataLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TeradataLinkedService.cs index 198a2ec465b8..9f561d4e0d7c 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TeradataLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TeradataLinkedService.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TextFormat.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TextFormat.cs index 5939f3a9362c..7a3b1096bd0c 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TextFormat.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TextFormat.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class TextFormat : DatasetStorageFormat /// public TextFormat() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Trigger.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Trigger.cs index 84962bde5817..1fd81a501435 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Trigger.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Trigger.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -27,7 +26,7 @@ public partial class Trigger /// public Trigger() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TriggerPipelineReference.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TriggerPipelineReference.cs index c07c8ee4b4d8..e134054c9b32 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TriggerPipelineReference.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TriggerPipelineReference.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TriggerResource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TriggerResource.cs index 3de44edb953c..5bb43e5580ce 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TriggerResource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TriggerResource.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class TriggerResource : SubResource /// public TriggerResource() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TriggerRun.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TriggerRun.cs index 5aba3a3e6ee6..f09444148945 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TriggerRun.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TriggerRun.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -26,7 +25,7 @@ public partial class TriggerRun /// public TriggerRun() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TriggerRunStatus.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TriggerRunStatus.cs index dd94717b1008..6822273d52dd 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TriggerRunStatus.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TriggerRunStatus.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; /// /// Defines values for TriggerRunStatus. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TriggerRuntimeState.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TriggerRuntimeState.cs index c10855a8d78a..e9070db0e65e 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TriggerRuntimeState.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/TriggerRuntimeState.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; /// /// Defines values for TriggerRuntimeState. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/UntilActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/UntilActivity.cs index 4ec1e17308f7..2e17b97ddf06 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/UntilActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/UntilActivity.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -55,7 +54,6 @@ public UntilActivity() public UntilActivity(string name, Expression expression, IList activities, string description = default(string), IList dependsOn = default(IList), object timeout = default(object)) : base(name, description, dependsOn) { - Expression = new Expression(); Expression = expression; Timeout = timeout; Activities = activities; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WaitActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WaitActivity.cs index 979cd249ff5a..8774fd819999 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WaitActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WaitActivity.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -30,7 +29,7 @@ public partial class WaitActivity : ControlActivity /// public WaitActivity() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebActivity.cs index a22d332b1f94..e47c0ca59e17 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebActivity.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebActivityAuthentication.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebActivityAuthentication.cs index 78ddcb282c42..0b39152d18f4 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebActivityAuthentication.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebActivityAuthentication.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebActivityMethod.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebActivityMethod.cs index db5a11268b53..6d96633a82c9 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebActivityMethod.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebActivityMethod.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; /// /// Defines values for WebActivityMethod. diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebAnonymousAuthentication.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebAnonymousAuthentication.cs index a5f75c86558a..bf3877872de6 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebAnonymousAuthentication.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebAnonymousAuthentication.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Newtonsoft.Json; using System.Linq; @@ -26,7 +25,7 @@ public partial class WebAnonymousAuthentication : WebLinkedServiceTypeProperties /// public WebAnonymousAuthentication() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebBasicAuthentication.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebBasicAuthentication.cs index aa41fe69bc94..9233498e3bfe 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebBasicAuthentication.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebBasicAuthentication.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -44,7 +43,6 @@ public WebBasicAuthentication() public WebBasicAuthentication(object url, object username, SecureString password) : base(url) { - Password = new SecureString(); Username = username; Password = password; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebClientCertificateAuthentication.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebClientCertificateAuthentication.cs index 3432cf8b4003..e00624aa39b4 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebClientCertificateAuthentication.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebClientCertificateAuthentication.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -47,8 +46,6 @@ public WebClientCertificateAuthentication() public WebClientCertificateAuthentication(object url, SecureString pfx, SecureString password) : base(url) { - Pfx = new SecureString(); - Password = new SecureString(); Pfx = pfx; Password = password; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebLinkedService.cs index 1c3099f1700c..143609e18c60 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebLinkedService.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -26,7 +25,7 @@ public partial class WebLinkedService : LinkedService /// public WebLinkedService() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebLinkedServiceTypeProperties.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebLinkedServiceTypeProperties.cs index 89814db26e2a..7a4f8008b724 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebLinkedServiceTypeProperties.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebLinkedServiceTypeProperties.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -28,7 +27,7 @@ public partial class WebLinkedServiceTypeProperties /// public WebLinkedServiceTypeProperties() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebSource.cs index 42ac3b88328f..428e584b371d 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebSource.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using System.Linq; /// @@ -23,7 +22,7 @@ public partial class WebSource : CopySource /// public WebSource() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebTableDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebTableDataset.cs index 373cc7421131..1b1402fc9c33 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebTableDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebTableDataset.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // 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.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.DataFactory; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -30,7 +29,8 @@ public partial class WebTableDataset : Dataset /// public WebTableDataset() { - CustomInit(); + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); } /// @@ -51,7 +51,6 @@ public WebTableDataset() 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) { - LinkedServiceName = new LinkedServiceReference(); Index = index; Path = path; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Operations.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Operations.cs index 1702b1a7ec02..18cbab805d36 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Operations.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Operations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // 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 { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/OperationsExtensions.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/OperationsExtensions.cs index 3fc46cac0eb4..b737a3bb7e14 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/OperationsExtensions.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/OperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // 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 { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/PipelineRunsOperations.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/PipelineRunsOperations.cs index 474f4636b409..f68cc9265609 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/PipelineRunsOperations.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/PipelineRunsOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // 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 { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/PipelineRunsOperationsExtensions.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/PipelineRunsOperationsExtensions.cs index 6d772eb535d4..59fbfbc2b08d 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/PipelineRunsOperationsExtensions.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/PipelineRunsOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // 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 { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/PipelinesOperations.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/PipelinesOperations.cs index 5fe19f7e5d40..e3d350b454c8 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/PipelinesOperations.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/PipelinesOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // 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 { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/PipelinesOperationsExtensions.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/PipelinesOperationsExtensions.cs index fce2c009b100..86fafb6aa09b 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/PipelinesOperationsExtensions.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/PipelinesOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // 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 { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/TriggersOperations.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/TriggersOperations.cs index 43b76885aacf..2a92bf696054 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/TriggersOperations.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/TriggersOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // 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 { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/TriggersOperationsExtensions.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/TriggersOperationsExtensions.cs index b325e18cc01f..94a578341f19 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/TriggersOperationsExtensions.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/TriggersOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // 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 { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; From c55db18e5d2d1146e6d7035c91ad174d4d1b4b40 Mon Sep 17 00:00:00 2001 From: Dongjing Gao Date: Wed, 25 Oct 2017 15:41:22 +0800 Subject: [PATCH 2/2] Add change log and .txt file --- .../DataFactory/Management.DataFactory/changelog.md | 1 + src/SDKs/_metadata/datafactory_resource-manager.txt | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 src/SDKs/_metadata/datafactory_resource-manager.txt diff --git a/src/SDKs/DataFactory/Management.DataFactory/changelog.md b/src/SDKs/DataFactory/Management.DataFactory/changelog.md index f972d9282fcf..d6a5cea838b7 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/changelog.md +++ b/src/SDKs/DataFactory/Management.DataFactory/changelog.md @@ -4,3 +4,4 @@ ### Feature Additions * Initial public release of the Azure Data Factory V2 .NET SDK. + * Add a new AzureMySql connector for Azure MySQL data source. diff --git a/src/SDKs/_metadata/datafactory_resource-manager.txt b/src/SDKs/_metadata/datafactory_resource-manager.txt new file mode 100644 index 000000000000..c086014dc7ac --- /dev/null +++ b/src/SDKs/_metadata/datafactory_resource-manager.txt @@ -0,0 +1,11 @@ +2017-10-25 07:37:22 UTC + +1) azure-rest-api-specs repository information +GitHub user: gadongji +Branch: AzureMySql +Commit: 9f5b76c83064881074a4ec723e2c084dad7ae731 + +2) AutoRest information +Requested version: 2.0.4168 +Bootstrapper version: C:\Users\gadongji\AppData\Roaming\npm `-- autorest@2.0.4166 +Latest installed version: 2.0.4168