-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Datafactory]SDK Change for SapOpenHub and Rest (#5260)
* [Datafactory]SDK Change for SapOpenHub and Rest * fix indention
- Loading branch information
Showing
12 changed files
with
956 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
133 changes: 133 additions & 0 deletions
133
src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RestResourceDataset.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,133 @@ | ||
// <auto-generated> | ||
// 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. | ||
// </auto-generated> | ||
|
||
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; | ||
|
||
/// <summary> | ||
/// A Rest service dataset. | ||
/// </summary> | ||
[Newtonsoft.Json.JsonObject("RestResource")] | ||
[Rest.Serialization.JsonTransformation] | ||
public partial class RestResourceDataset : Dataset | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the RestResourceDataset class. | ||
/// </summary> | ||
public RestResourceDataset() | ||
{ | ||
LinkedServiceName = new LinkedServiceReference(); | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the RestResourceDataset class. | ||
/// </summary> | ||
/// <param name="linkedServiceName">Linked service reference.</param> | ||
/// <param name="additionalProperties">Unmatched properties from the | ||
/// message are deserialized this collection</param> | ||
/// <param name="description">Dataset description.</param> | ||
/// <param name="structure">Columns that define the structure of the | ||
/// dataset. Type: array (or Expression with resultType array), | ||
/// itemType: DatasetDataElement.</param> | ||
/// <param name="schema">Columns that define the physical type schema | ||
/// of the dataset. Type: array (or Expression with resultType array), | ||
/// itemType: DatasetSchemaDataElement.</param> | ||
/// <param name="parameters">Parameters for dataset.</param> | ||
/// <param name="annotations">List of tags that can be used for | ||
/// describing the Dataset.</param> | ||
/// <param name="folder">The folder that this Dataset is in. If not | ||
/// specified, Dataset will appear at the root level.</param> | ||
/// <param name="relativeUrl">The relative URL to the resource that the | ||
/// RESTful API provides. Type: string (or Expression with resultType | ||
/// string).</param> | ||
/// <param name="requestMethod">The HTTP method used to call the | ||
/// RESTful API. The default is GET. Type: string (or Expression with | ||
/// resultType string).</param> | ||
/// <param name="requestBody">The HTTP request body to the RESTful API | ||
/// if requestMethod is POST. Type: string (or Expression with | ||
/// resultType string).</param> | ||
/// <param name="additionalHeaders">The additional HTTP headers in the | ||
/// request to the RESTful API. Type: string (or Expression with | ||
/// resultType string).</param> | ||
/// <param name="paginationRules">The pagination rules to compose next | ||
/// page requests. Type: string (or Expression with resultType | ||
/// string).</param> | ||
public RestResourceDataset(LinkedServiceReference linkedServiceName, IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), string description = default(string), object structure = default(object), object schema = default(object), IDictionary<string, ParameterSpecification> parameters = default(IDictionary<string, ParameterSpecification>), IList<object> annotations = default(IList<object>), DatasetFolder folder = default(DatasetFolder), object relativeUrl = default(object), object requestMethod = default(object), object requestBody = default(object), object additionalHeaders = default(object), object paginationRules = default(object)) | ||
: base(linkedServiceName, additionalProperties, description, structure, schema, parameters, annotations, folder) | ||
{ | ||
RelativeUrl = relativeUrl; | ||
RequestMethod = requestMethod; | ||
RequestBody = requestBody; | ||
AdditionalHeaders = additionalHeaders; | ||
PaginationRules = paginationRules; | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// An initialization method that performs custom operations like setting defaults | ||
/// </summary> | ||
partial void CustomInit(); | ||
|
||
/// <summary> | ||
/// Gets or sets the relative URL to the resource that the RESTful API | ||
/// provides. Type: string (or Expression with resultType string). | ||
/// </summary> | ||
[JsonProperty(PropertyName = "typeProperties.relativeUrl")] | ||
public object RelativeUrl { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the HTTP method used to call the RESTful API. The | ||
/// default is GET. Type: string (or Expression with resultType | ||
/// string). | ||
/// </summary> | ||
[JsonProperty(PropertyName = "typeProperties.requestMethod")] | ||
public object RequestMethod { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the HTTP request body to the RESTful API if | ||
/// requestMethod is POST. Type: string (or Expression with resultType | ||
/// string). | ||
/// </summary> | ||
[JsonProperty(PropertyName = "typeProperties.requestBody")] | ||
public object RequestBody { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the additional HTTP headers in the request to the | ||
/// RESTful API. Type: string (or Expression with resultType string). | ||
/// </summary> | ||
[JsonProperty(PropertyName = "typeProperties.additionalHeaders")] | ||
public object AdditionalHeaders { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the pagination rules to compose next page requests. | ||
/// Type: string (or Expression with resultType string). | ||
/// </summary> | ||
[JsonProperty(PropertyName = "typeProperties.paginationRules")] | ||
public object PaginationRules { get; set; } | ||
|
||
/// <summary> | ||
/// Validate the object. | ||
/// </summary> | ||
/// <exception cref="ValidationException"> | ||
/// Thrown if validation fails | ||
/// </exception> | ||
public override void Validate() | ||
{ | ||
base.Validate(); | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...SDKs/DataFactory/Management.DataFactory/Generated/Models/RestServiceAuthenticationType.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// <auto-generated> | ||
// 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. | ||
// </auto-generated> | ||
|
||
namespace Microsoft.Azure.Management.DataFactory.Models | ||
{ | ||
|
||
/// <summary> | ||
/// Defines values for RestServiceAuthenticationType. | ||
/// </summary> | ||
public static class RestServiceAuthenticationType | ||
{ | ||
public const string Anonymous = "Anonymous"; | ||
public const string Basic = "Basic"; | ||
public const string AadServicePrincipal = "AadServicePrincipal"; | ||
public const string ManagedServiceIdentity = "ManagedServiceIdentity"; | ||
} | ||
} |
Oops, something went wrong.