From 413039c67ae2848b8a421a96999fff8da6808684 Mon Sep 17 00:00:00 2001 From: adxsdknet <39844661+adxsdknet@users.noreply.github.com> Date: Thu, 14 Mar 2019 16:18:01 -0700 Subject: [PATCH] .NET SDK Resource Provider:'DataFactory' (#5365) REST Spec PR 'https://github.com/Azure/azure-rest-api-specs/pull/5277' REST Spec PR Author 'wuchunchunt19' REST Spec PR Last commit --- ...aLakeStoreCosmosStructuredStreamDataset.cs | 118 ------------------ .../SdkInfo_DataFactoryManagementClient.cs | 11 -- 2 files changed, 129 deletions(-) delete mode 100644 src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreCosmosStructuredStreamDataset.cs diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreCosmosStructuredStreamDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreCosmosStructuredStreamDataset.cs deleted file mode 100644 index 359a0775b873d..0000000000000 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreCosmosStructuredStreamDataset.cs +++ /dev/null @@ -1,118 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DataFactory.Models -{ - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// Azure Data Lake Store Cosmos Structured Stream dataset. - /// - [Newtonsoft.Json.JsonObject("AzureDataLakeStoreCosmosStructuredStreamFile")] - [Rest.Serialization.JsonTransformation] - public partial class AzureDataLakeStoreCosmosStructuredStreamDataset : Dataset - { - /// - /// Initializes a new instance of the - /// AzureDataLakeStoreCosmosStructuredStreamDataset class. - /// - public AzureDataLakeStoreCosmosStructuredStreamDataset() - { - LinkedServiceName = new LinkedServiceReference(); - CustomInit(); - } - - /// - /// Initializes a new instance of the - /// AzureDataLakeStoreCosmosStructuredStreamDataset class. - /// - /// Linked service reference. - /// Path to the folder in the Azure Data Lake - /// Store. Type: string (or Expression with resultType string). - /// The name of the file in the Azure Data Lake - /// Store. Type: string (or Expression with resultType string). - /// Unmatched properties from the - /// message are deserialized this collection - /// Dataset description. - /// Columns that define the structure of the - /// dataset. Type: array (or Expression with resultType array), - /// itemType: DatasetDataElement. - /// Columns that define the physical type schema - /// of the dataset. Type: array (or Expression with resultType array), - /// itemType: DatasetSchemaDataElement. - /// Parameters for dataset. - /// List of tags that can be used for - /// describing the Dataset. - /// The folder that this Dataset is in. If not - /// specified, Dataset will appear at the root level. - /// Flag to indicate if this - /// dataset is been generated from Compilation Activity. Type: boolean - /// (or Expression with resultType boolean). - public AzureDataLakeStoreCosmosStructuredStreamDataset(LinkedServiceReference linkedServiceName, object folderPath, object fileName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), object schema = default(object), IDictionary parameters = default(IDictionary), IList annotations = default(IList), DatasetFolder folder = default(DatasetFolder), object generatedFromActivity = default(object)) - : base(linkedServiceName, additionalProperties, description, structure, schema, parameters, annotations, folder) - { - FolderPath = folderPath; - FileName = fileName; - GeneratedFromActivity = generatedFromActivity; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets path to the folder in the Azure Data Lake Store. Type: - /// string (or Expression with resultType string). - /// - [JsonProperty(PropertyName = "typeProperties.folderPath")] - public object FolderPath { get; set; } - - /// - /// Gets or sets the name of the file in the Azure Data Lake Store. - /// Type: string (or Expression with resultType string). - /// - [JsonProperty(PropertyName = "typeProperties.fileName")] - public object FileName { get; set; } - - /// - /// Gets or sets flag to indicate if this dataset is been generated - /// from Compilation Activity. Type: boolean (or Expression with - /// resultType boolean). - /// - [JsonProperty(PropertyName = "typeProperties.generatedFromActivity")] - public object GeneratedFromActivity { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public override void Validate() - { - base.Validate(); - if (FolderPath == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "FolderPath"); - } - if (FileName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "FileName"); - } - } - } -} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/SdkInfo_DataFactoryManagementClient.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/SdkInfo_DataFactoryManagementClient.cs index f69b2008b84ca..afb3bebe6aa97 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/SdkInfo_DataFactoryManagementClient.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/SdkInfo_DataFactoryManagementClient.cs @@ -36,16 +36,5 @@ public static IEnumerable> ApiInfo_DataFactoryMana }.AsEnumerable(); } } - // BEGIN: Code Generation Metadata Section - public static readonly String AutoRestVersion = "latest"; - public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4283"; - public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/datafactory/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --tag=package-2018-06 --csharp-sdks-folder=F:\\git\\azure-sdk-for-net\\src\\SDKs"; - public static readonly String GithubForkName = "Azure"; - public static readonly String GithubBranchName = "master"; - public static readonly String GithubCommidId = "5df40b9b08b77fe7b78f90f6b7c470600b8ea063"; - public static readonly String CodeGenerationErrors = ""; - public static readonly String GithubRepoName = "azure-rest-api-specs"; - // END: Code Generation Metadata Section } } -