From 66ce9988e080ffdb67d5b0d9bc9f39f60e7e6adf Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Thu, 23 Jul 2020 06:28:40 +0000 Subject: [PATCH 1/2] Generated from c349c36683124ba79d8b2bc8c7dd501a46df83c1 merge with master --- .../src/models/dataFlowDebugSessionMappers.ts | 1 + .../src/models/dataFlowsMappers.ts | 2 + .../src/models/datasetsMappers.ts | 2 + .../src/models/factoriesMappers.ts | 2 + .../arm-datafactory/src/models/index.ts | 163 ++++++++++++++++-- .../src/models/integrationRuntimesMappers.ts | 2 + .../src/models/linkedServicesMappers.ts | 2 + .../arm-datafactory/src/models/mappers.ts | 149 ++++++++++++++-- .../src/models/pipelinesMappers.ts | 2 + .../src/models/triggersMappers.ts | 2 + .../src/operations/dataFlowDebugSession.ts | 6 +- 11 files changed, 296 insertions(+), 37 deletions(-) diff --git a/sdk/datafactory/arm-datafactory/src/models/dataFlowDebugSessionMappers.ts b/sdk/datafactory/arm-datafactory/src/models/dataFlowDebugSessionMappers.ts index b9ccb6592dde..673d3f805439 100644 --- a/sdk/datafactory/arm-datafactory/src/models/dataFlowDebugSessionMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/dataFlowDebugSessionMappers.ts @@ -18,6 +18,7 @@ export { AmazonS3Location, AvroDataset, AvroFormat, + AzPowerShellSetup, AzureBatchLinkedService, AzureBlobDataset, AzureBlobFSDataset, diff --git a/sdk/datafactory/arm-datafactory/src/models/dataFlowsMappers.ts b/sdk/datafactory/arm-datafactory/src/models/dataFlowsMappers.ts index c3dfbe1cfa58..aaf4209b8290 100644 --- a/sdk/datafactory/arm-datafactory/src/models/dataFlowsMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/dataFlowsMappers.ts @@ -28,6 +28,7 @@ export { AvroSink, AvroSource, AvroWriteSettings, + AzPowerShellSetup, AzureBatchLinkedService, AzureBlobDataset, AzureBlobFSDataset, @@ -391,6 +392,7 @@ export { ResponsysSource, RestResourceDataset, RestServiceLinkedService, + RestSink, RestSource, RetryPolicy, SalesforceLinkedService, diff --git a/sdk/datafactory/arm-datafactory/src/models/datasetsMappers.ts b/sdk/datafactory/arm-datafactory/src/models/datasetsMappers.ts index dd56da18e57b..b9c72f588a1c 100644 --- a/sdk/datafactory/arm-datafactory/src/models/datasetsMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/datasetsMappers.ts @@ -28,6 +28,7 @@ export { AvroSink, AvroSource, AvroWriteSettings, + AzPowerShellSetup, AzureBatchLinkedService, AzureBlobDataset, AzureBlobFSDataset, @@ -391,6 +392,7 @@ export { ResponsysSource, RestResourceDataset, RestServiceLinkedService, + RestSink, RestSource, RetryPolicy, SalesforceLinkedService, diff --git a/sdk/datafactory/arm-datafactory/src/models/factoriesMappers.ts b/sdk/datafactory/arm-datafactory/src/models/factoriesMappers.ts index 2b005e64716a..35e3a60b6892 100644 --- a/sdk/datafactory/arm-datafactory/src/models/factoriesMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/factoriesMappers.ts @@ -29,6 +29,7 @@ export { AvroSink, AvroSource, AvroWriteSettings, + AzPowerShellSetup, AzureBatchLinkedService, AzureBlobDataset, AzureBlobFSDataset, @@ -396,6 +397,7 @@ export { ResponsysSource, RestResourceDataset, RestServiceLinkedService, + RestSink, RestSource, RetryPolicy, SalesforceLinkedService, diff --git a/sdk/datafactory/arm-datafactory/src/models/index.ts b/sdk/datafactory/arm-datafactory/src/models/index.ts index 6da41a2fbc6a..5e72c20b198d 100644 --- a/sdk/datafactory/arm-datafactory/src/models/index.ts +++ b/sdk/datafactory/arm-datafactory/src/models/index.ts @@ -1712,9 +1712,9 @@ export interface DataFlowStagingInfo { */ linkedService?: LinkedServiceReference; /** - * Folder path for staging blob. + * Folder path for staging blob. Type: string (or Expression with resultType string) */ - folderPath?: string; + folderPath?: any; } /** @@ -2642,6 +2642,11 @@ export interface AzureDatabricksLinkedService { * configurations. */ newClusterCustomTags?: { [propertyName: string]: any }; + /** + * Specify a location to deliver Spark driver, worker, and event logs. Type: string (or + * Expression with resultType string). + */ + newClusterLogDestination?: any; /** * The driver node type for the new job cluster. This property is ignored in instance pool * configurations. Type: string (or Expression with resultType string). @@ -2952,11 +2957,16 @@ export interface SalesforceMarketingCloudLinkedService { * List of tags that can be used for describing the linked service. */ annotations?: any[]; + /** + * Properties used to connect to Salesforce Marketing Cloud. It is mutually exclusive with any + * other properties in the linked service. Type: object. + */ + connectionProperties?: any; /** * The client ID associated with the Salesforce Marketing Cloud application. Type: string (or * Expression with resultType string). */ - clientId: any; + clientId?: any; /** * The client secret associated with the Salesforce Marketing Cloud application. Type: string (or * Expression with resultType string). @@ -3087,10 +3097,15 @@ export interface ZohoLinkedService { * List of tags that can be used for describing the linked service. */ annotations?: any[]; + /** + * Properties used to connect to Zoho. It is mutually exclusive with any other properties in the + * linked service. Type: object. + */ + connectionProperties?: any; /** * The endpoint of the Zoho server. (i.e. crm.zoho.com/crm/private) */ - endpoint: any; + endpoint?: any; /** * The access token for Zoho authentication. */ @@ -3141,10 +3156,15 @@ export interface XeroLinkedService { * List of tags that can be used for describing the linked service. */ annotations?: any[]; + /** + * Properties used to connect to Xero. It is mutually exclusive with any other properties in the + * linked service. Type: object. + */ + connectionProperties?: any; /** * The endpoint of the Xero server. (i.e. api.xero.com) */ - host: any; + host?: any; /** * The consumer key associated with the Xero application. */ @@ -3201,14 +3221,19 @@ export interface SquareLinkedService { * List of tags that can be used for describing the linked service. */ annotations?: any[]; + /** + * Properties used to connect to Square. It is mutually exclusive with any other properties in + * the linked service. Type: object. + */ + connectionProperties?: any; /** * The URL of the Square instance. (i.e. mystore.mysquare.com) */ - host: any; + host?: any; /** * The client ID associated with your Square application. */ - clientId: any; + clientId?: any; /** * The client secret associated with your Square application. */ @@ -3216,7 +3241,7 @@ export interface SquareLinkedService { /** * The redirect URL assigned in the Square application dashboard. (i.e. http://localhost:2500) */ - redirectUri: any; + redirectUri?: any; /** * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is * true. @@ -3480,30 +3505,35 @@ export interface QuickBooksLinkedService { * List of tags that can be used for describing the linked service. */ annotations?: any[]; + /** + * Properties used to connect to QuickBooks. It is mutually exclusive with any other properties + * in the linked service. Type: object. + */ + connectionProperties?: any; /** * The endpoint of the QuickBooks server. (i.e. quickbooks.api.intuit.com) */ - endpoint: any; + endpoint?: any; /** * The company ID of the QuickBooks company to authorize. */ - companyId: any; + companyId?: any; /** * The consumer key for OAuth 1.0 authentication. */ - consumerKey: any; + consumerKey?: any; /** * The consumer secret for OAuth 1.0 authentication. */ - consumerSecret: SecretBaseUnion; + consumerSecret?: SecretBaseUnion; /** * The access token for OAuth 1.0 authentication. */ - accessToken: SecretBaseUnion; + accessToken?: SecretBaseUnion; /** * The access token secret for OAuth 1.0 authentication. */ - accessTokenSecret: SecretBaseUnion; + accessTokenSecret?: SecretBaseUnion; /** * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is * true. @@ -5344,23 +5374,28 @@ export interface SapOpenHubLinkedService { * Host name of the SAP BW instance where the open hub destination is located. Type: string (or * Expression with resultType string). */ - server: any; + server?: any; /** * System number of the BW system where the open hub destination is located. (Usually a two-digit * decimal number represented as a string.) Type: string (or Expression with resultType string). */ - systemNumber: any; + systemNumber?: any; /** * Client ID of the client on the BW system where the open hub destination is located. (Usually a * three-digit decimal number represented as a string) Type: string (or Expression with * resultType string). */ - clientId: any; + clientId?: any; /** * Language of the BW system where the open hub destination is located. The default value is EN. * Type: string (or Expression with resultType string). */ language?: any; + /** + * SystemID of the SAP system where the table is located. Type: string (or Expression with + * resultType string). + */ + systemId?: any; /** * Username to access the SAP BW server where the open hub destination is located. Type: string * (or Expression with resultType string). @@ -5370,6 +5405,19 @@ export interface SapOpenHubLinkedService { * Password to access the SAP BW server where the open hub destination is located. */ password?: SecretBaseUnion; + /** + * The hostname of the SAP Message Server. Type: string (or Expression with resultType string). + */ + messageServer?: any; + /** + * The service name or port number of the Message Server. Type: string (or Expression with + * resultType string). + */ + messageServerService?: any; + /** + * The Logon Group for the SAP System. Type: string (or Expression with resultType string). + */ + logonGroup?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -19706,7 +19754,7 @@ export interface StagingSettings { /** * Contains the possible cases for CopySink. */ -export type CopySinkUnion = CopySink | CosmosDbMongoDbApiSink | SalesforceServiceCloudSink | SalesforceSink | AzureDataExplorerSink | CommonDataServiceForAppsSink | DynamicsCrmSink | DynamicsSink | MicrosoftAccessSink | InformixSink | OdbcSink | AzureSearchIndexSink | AzureBlobFSSink | AzureDataLakeStoreSink | OracleSink | SnowflakeSink | SqlDWSink | SqlMISink | AzureSqlSink | SqlServerSink | SqlSink | CosmosDbSqlApiSink | DocumentDbCollectionSink | FileSystemSink | BlobSink | BinarySink | ParquetSink | AvroSink | AzureTableSink | AzureQueueSink | SapCloudForCustomerSink | AzureMySqlSink | AzurePostgreSqlSink | OrcSink | JsonSink | DelimitedTextSink; +export type CopySinkUnion = CopySink | CosmosDbMongoDbApiSink | SalesforceServiceCloudSink | SalesforceSink | AzureDataExplorerSink | CommonDataServiceForAppsSink | DynamicsCrmSink | DynamicsSink | MicrosoftAccessSink | InformixSink | OdbcSink | AzureSearchIndexSink | AzureBlobFSSink | AzureDataLakeStoreSink | OracleSink | SnowflakeSink | SqlDWSink | SqlMISink | AzureSqlSink | SqlServerSink | SqlSink | CosmosDbSqlApiSink | DocumentDbCollectionSink | FileSystemSink | BlobSink | BinarySink | ParquetSink | AvroSink | AzureTableSink | AzureQueueSink | SapCloudForCustomerSink | AzureMySqlSink | AzurePostgreSqlSink | RestSink | OrcSink | JsonSink | DelimitedTextSink; /** * A copy activity sink. @@ -21477,6 +21525,69 @@ export interface AzurePostgreSqlSink { preCopyScript?: any; } +/** + * A copy activity Rest service Sink. + */ +export interface RestSink { + /** + * Polymorphic Discriminator + */ + type: "RestSink"; + /** + * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + */ + writeBatchSize?: any; + /** + * Write batch timeout. Type: string (or Expression with resultType string), pattern: + * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + writeBatchTimeout?: any; + /** + * Sink retry count. Type: integer (or Expression with resultType integer). + */ + sinkRetryCount?: any; + /** + * Sink retry wait. Type: string (or Expression with resultType string), pattern: + * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + sinkRetryWait?: any; + /** + * The maximum concurrent connection count for the sink data store. Type: integer (or Expression + * with resultType integer). + */ + maxConcurrentConnections?: any; + /** + * The HTTP method used to call the RESTful API. The default is POST. Type: string (or Expression + * with resultType string). + */ + requestMethod?: any; + /** + * The additional HTTP headers in the request to the RESTful API. Type: string (or Expression + * with resultType string). + */ + additionalHeaders?: any; + /** + * The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the + * timeout to read response data. Default value: 00:01:40. Type: string (or Expression with + * resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + httpRequestTimeout?: any; + /** + * The time to await before sending next request, in milliseconds + */ + requestInterval?: any; + /** + * Compression Type to Send data in compressed format with Optimal Compression Level, Default is + * None. And The Only Supported option is Gzip. + */ + compressionType?: any; + /** + * Wraps Request Array Json into an Object before calling the rest endpoint , Default is false. + * ex: if true request content sample format is { rows:[]} else the format is [] + */ + wrapRequestJsonInAnObject?: any; +} + /** * A copy activity ORC sink. */ @@ -22661,7 +22772,7 @@ export interface PackageStore { /** * Contains the possible cases for CustomSetupBase. */ -export type CustomSetupBaseUnion = CustomSetupBase | ComponentSetup | EnvironmentVariableSetup | CmdkeySetup; +export type CustomSetupBaseUnion = CustomSetupBase | AzPowerShellSetup | ComponentSetup | EnvironmentVariableSetup | CmdkeySetup; /** * The base definition of the custom setup. @@ -22673,6 +22784,20 @@ export interface CustomSetupBase { type: "CustomSetupBase"; } +/** + * The express custom setup of installing Azure PowerShell. + */ +export interface AzPowerShellSetup { + /** + * Polymorphic Discriminator + */ + type: "AzPowerShellSetup"; + /** + * The required version of Azure PowerShell to install. + */ + version: string; +} + /** * The custom setup of installing 3rd party components. */ diff --git a/sdk/datafactory/arm-datafactory/src/models/integrationRuntimesMappers.ts b/sdk/datafactory/arm-datafactory/src/models/integrationRuntimesMappers.ts index 4a71bed7230b..1912ff890e36 100644 --- a/sdk/datafactory/arm-datafactory/src/models/integrationRuntimesMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/integrationRuntimesMappers.ts @@ -28,6 +28,7 @@ export { AvroSink, AvroSource, AvroWriteSettings, + AzPowerShellSetup, AzureBatchLinkedService, AzureBlobDataset, AzureBlobFSDataset, @@ -405,6 +406,7 @@ export { ResponsysSource, RestResourceDataset, RestServiceLinkedService, + RestSink, RestSource, RetryPolicy, SalesforceLinkedService, diff --git a/sdk/datafactory/arm-datafactory/src/models/linkedServicesMappers.ts b/sdk/datafactory/arm-datafactory/src/models/linkedServicesMappers.ts index 9faa4f0c6bb8..4163a05e54ee 100644 --- a/sdk/datafactory/arm-datafactory/src/models/linkedServicesMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/linkedServicesMappers.ts @@ -28,6 +28,7 @@ export { AvroSink, AvroSource, AvroWriteSettings, + AzPowerShellSetup, AzureBatchLinkedService, AzureBlobDataset, AzureBlobFSDataset, @@ -391,6 +392,7 @@ export { ResponsysSource, RestResourceDataset, RestServiceLinkedService, + RestSink, RestSource, RetryPolicy, SalesforceLinkedService, diff --git a/sdk/datafactory/arm-datafactory/src/models/mappers.ts b/sdk/datafactory/arm-datafactory/src/models/mappers.ts index 6c1af241b22c..ed56de4f5f23 100644 --- a/sdk/datafactory/arm-datafactory/src/models/mappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/mappers.ts @@ -2891,7 +2891,7 @@ export const DataFlowStagingInfo: msRest.CompositeMapper = { folderPath: { serializedName: "folderPath", type: { - name: "String" + name: "Object" } } } @@ -4045,6 +4045,12 @@ export const AzureDatabricksLinkedService: msRest.CompositeMapper = { } } }, + newClusterLogDestination: { + serializedName: "typeProperties.newClusterLogDestination", + type: { + name: "Object" + } + }, newClusterDriverNodeType: { serializedName: "typeProperties.newClusterDriverNodeType", type: { @@ -4422,8 +4428,13 @@ export const SalesforceMarketingCloudLinkedService: msRest.CompositeMapper = { className: "SalesforceMarketingCloudLinkedService", modelProperties: { ...LinkedService.type.modelProperties, + connectionProperties: { + serializedName: "typeProperties.connectionProperties", + type: { + name: "Object" + } + }, clientId: { - required: true, serializedName: "typeProperties.clientId", type: { name: "Object" @@ -4540,8 +4551,13 @@ export const ZohoLinkedService: msRest.CompositeMapper = { className: "ZohoLinkedService", modelProperties: { ...LinkedService.type.modelProperties, + connectionProperties: { + serializedName: "typeProperties.connectionProperties", + type: { + name: "Object" + } + }, endpoint: { - required: true, serializedName: "typeProperties.endpoint", type: { name: "Object" @@ -4592,8 +4608,13 @@ export const XeroLinkedService: msRest.CompositeMapper = { className: "XeroLinkedService", modelProperties: { ...LinkedService.type.modelProperties, + connectionProperties: { + serializedName: "typeProperties.connectionProperties", + type: { + name: "Object" + } + }, host: { - required: true, serializedName: "typeProperties.host", type: { name: "Object" @@ -4651,15 +4672,19 @@ export const SquareLinkedService: msRest.CompositeMapper = { className: "SquareLinkedService", modelProperties: { ...LinkedService.type.modelProperties, + connectionProperties: { + serializedName: "typeProperties.connectionProperties", + type: { + name: "Object" + } + }, host: { - required: true, serializedName: "typeProperties.host", type: { name: "Object" } }, clientId: { - required: true, serializedName: "typeProperties.clientId", type: { name: "Object" @@ -4673,7 +4698,6 @@ export const SquareLinkedService: msRest.CompositeMapper = { } }, redirectUri: { - required: true, serializedName: "typeProperties.redirectUri", type: { name: "Object" @@ -4949,29 +4973,31 @@ export const QuickBooksLinkedService: msRest.CompositeMapper = { className: "QuickBooksLinkedService", modelProperties: { ...LinkedService.type.modelProperties, + connectionProperties: { + serializedName: "typeProperties.connectionProperties", + type: { + name: "Object" + } + }, endpoint: { - required: true, serializedName: "typeProperties.endpoint", type: { name: "Object" } }, companyId: { - required: true, serializedName: "typeProperties.companyId", type: { name: "Object" } }, consumerKey: { - required: true, serializedName: "typeProperties.consumerKey", type: { name: "Object" } }, consumerSecret: { - required: true, serializedName: "typeProperties.consumerSecret", type: { name: "Composite", @@ -4979,7 +5005,6 @@ export const QuickBooksLinkedService: msRest.CompositeMapper = { } }, accessToken: { - required: true, serializedName: "typeProperties.accessToken", type: { name: "Composite", @@ -4987,7 +5012,6 @@ export const QuickBooksLinkedService: msRest.CompositeMapper = { } }, accessTokenSecret: { - required: true, serializedName: "typeProperties.accessTokenSecret", type: { name: "Composite", @@ -6827,21 +6851,18 @@ export const SapOpenHubLinkedService: msRest.CompositeMapper = { modelProperties: { ...LinkedService.type.modelProperties, server: { - required: true, serializedName: "typeProperties.server", type: { name: "Object" } }, systemNumber: { - required: true, serializedName: "typeProperties.systemNumber", type: { name: "Object" } }, clientId: { - required: true, serializedName: "typeProperties.clientId", type: { name: "Object" @@ -6853,6 +6874,12 @@ export const SapOpenHubLinkedService: msRest.CompositeMapper = { name: "Object" } }, + systemId: { + serializedName: "typeProperties.systemId", + type: { + name: "Object" + } + }, userName: { serializedName: "typeProperties.userName", type: { @@ -6866,6 +6893,24 @@ export const SapOpenHubLinkedService: msRest.CompositeMapper = { className: "SecretBase" } }, + messageServer: { + serializedName: "typeProperties.messageServer", + type: { + name: "Object" + } + }, + messageServerService: { + serializedName: "typeProperties.messageServerService", + type: { + name: "Object" + } + }, + logonGroup: { + serializedName: "typeProperties.logonGroup", + type: { + name: "Object" + } + }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { @@ -20551,6 +20596,56 @@ export const AzurePostgreSqlSink: msRest.CompositeMapper = { } }; +export const RestSink: msRest.CompositeMapper = { + serializedName: "RestSink", + type: { + name: "Composite", + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + uberParent: "CopySink", + className: "RestSink", + modelProperties: { + ...CopySink.type.modelProperties, + requestMethod: { + serializedName: "requestMethod", + type: { + name: "Object" + } + }, + additionalHeaders: { + serializedName: "additionalHeaders", + type: { + name: "Object" + } + }, + httpRequestTimeout: { + serializedName: "httpRequestTimeout", + type: { + name: "Object" + } + }, + requestInterval: { + serializedName: "requestInterval", + type: { + name: "Object" + } + }, + compressionType: { + serializedName: "compressionType", + type: { + name: "Object" + } + }, + wrapRequestJsonInAnObject: { + serializedName: "wrapRequestJsonInAnObject", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySink.type.additionalProperties + } +}; + export const OrcSink: msRest.CompositeMapper = { serializedName: "OrcSink", type: { @@ -22043,6 +22138,26 @@ export const CustomSetupBase: msRest.CompositeMapper = { } }; +export const AzPowerShellSetup: msRest.CompositeMapper = { + serializedName: "AzPowerShellSetup", + type: { + name: "Composite", + polymorphicDiscriminator: CustomSetupBase.type.polymorphicDiscriminator, + uberParent: "CustomSetupBase", + className: "AzPowerShellSetup", + modelProperties: { + ...CustomSetupBase.type.modelProperties, + version: { + required: true, + serializedName: "typeProperties.version", + type: { + name: "String" + } + } + } + } +}; + export const ComponentSetup: msRest.CompositeMapper = { serializedName: "ComponentSetup", type: { @@ -23807,6 +23922,7 @@ export const discriminators = { 'CopySink.SapCloudForCustomerSink' : SapCloudForCustomerSink, 'CopySink.AzureMySqlSink' : AzureMySqlSink, 'CopySink.AzurePostgreSqlSink' : AzurePostgreSqlSink, + 'CopySink.RestSink' : RestSink, 'CopySink.OrcSink' : OrcSink, 'CopySink.JsonSink' : JsonSink, 'CopySink.DelimitedTextSink' : DelimitedTextSink, @@ -23831,6 +23947,7 @@ export const discriminators = { 'LinkedIntegrationRuntimeType.Key' : LinkedIntegrationRuntimeKeyAuthorization, 'LinkedIntegrationRuntimeType' : LinkedIntegrationRuntimeType, 'IntegrationRuntime.SelfHosted' : SelfHostedIntegrationRuntime, + 'CustomSetupBase.AzPowerShellSetup' : AzPowerShellSetup, 'CustomSetupBase.ComponentSetup' : ComponentSetup, 'CustomSetupBase.EnvironmentVariableSetup' : EnvironmentVariableSetup, 'CustomSetupBase.CmdkeySetup' : CmdkeySetup, diff --git a/sdk/datafactory/arm-datafactory/src/models/pipelinesMappers.ts b/sdk/datafactory/arm-datafactory/src/models/pipelinesMappers.ts index 6ab92c2339e4..2bad08fa503d 100644 --- a/sdk/datafactory/arm-datafactory/src/models/pipelinesMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/pipelinesMappers.ts @@ -28,6 +28,7 @@ export { AvroSink, AvroSource, AvroWriteSettings, + AzPowerShellSetup, AzureBatchLinkedService, AzureBlobDataset, AzureBlobFSDataset, @@ -392,6 +393,7 @@ export { ResponsysSource, RestResourceDataset, RestServiceLinkedService, + RestSink, RestSource, RetryPolicy, SalesforceLinkedService, diff --git a/sdk/datafactory/arm-datafactory/src/models/triggersMappers.ts b/sdk/datafactory/arm-datafactory/src/models/triggersMappers.ts index a0bfa10e86a1..0cd8a8827374 100644 --- a/sdk/datafactory/arm-datafactory/src/models/triggersMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/triggersMappers.ts @@ -28,6 +28,7 @@ export { AvroSink, AvroSource, AvroWriteSettings, + AzPowerShellSetup, AzureBatchLinkedService, AzureBlobDataset, AzureBlobFSDataset, @@ -390,6 +391,7 @@ export { ResponsysSource, RestResourceDataset, RestServiceLinkedService, + RestSink, RestSource, RetryPolicy, SalesforceLinkedService, diff --git a/sdk/datafactory/arm-datafactory/src/operations/dataFlowDebugSession.ts b/sdk/datafactory/arm-datafactory/src/operations/dataFlowDebugSession.ts index 9e69b78647cb..7a332a825ec7 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/dataFlowDebugSession.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/dataFlowDebugSession.ts @@ -345,7 +345,8 @@ const beginCreateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.DataFlowDebugSessionCreateHeaders }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.CloudError, + headersMapper: Mappers.DataFlowDebugSessionCreateHeaders } }, serializer @@ -381,7 +382,8 @@ const beginExecuteCommandOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.DataFlowDebugSessionExecuteCommandHeaders }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.CloudError, + headersMapper: Mappers.DataFlowDebugSessionExecuteCommandHeaders } }, serializer From 0b1f10fdc98bb222e57966ef71865589246d8308 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Thu, 23 Jul 2020 09:04:42 +0000 Subject: [PATCH 2/2] Generated from f79fca6dc47f32c358e0a0e42c6828d9ff3ccab0 fix typo --- .../arm-datafactory/src/models/index.ts | 52 ++++++++++++++++++ .../arm-datafactory/src/models/mappers.ts | 54 +++++++++++++++++++ 2 files changed, 106 insertions(+) diff --git a/sdk/datafactory/arm-datafactory/src/models/index.ts b/sdk/datafactory/arm-datafactory/src/models/index.ts index 5e72c20b198d..fecff6e87bfe 100644 --- a/sdk/datafactory/arm-datafactory/src/models/index.ts +++ b/sdk/datafactory/arm-datafactory/src/models/index.ts @@ -5335,6 +5335,12 @@ export interface RestServiceLinkedService { * type under which your application resides. */ tenant?: any; + /** + * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, + * AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud + * type. Type: string (or Expression with resultType string). + */ + azureCloudType?: any; /** * The resource you are requesting authorization to use. */ @@ -5730,6 +5736,12 @@ export interface AzureBlobFSLinkedService { * Expression with resultType string). */ tenant?: any; + /** + * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, + * AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud + * type. Type: string (or Expression with resultType string). + */ + azureCloudType?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -5779,6 +5791,12 @@ export interface AzureDataLakeStoreLinkedService { * Expression with resultType string). */ tenant?: any; + /** + * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, + * AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud + * type. Type: string (or Expression with resultType string). + */ + azureCloudType?: any; /** * Data Lake Store account name. Type: string (or Expression with resultType string). */ @@ -6163,6 +6181,12 @@ export interface ODataLinkedService { * string (or Expression with resultType string). */ servicePrincipalId?: any; + /** + * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, + * AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud + * type. Type: string (or Expression with resultType string). + */ + azureCloudType?: any; /** * Specify the resource you are requesting authorization to use Directory. Type: string (or * Expression with resultType string). @@ -6966,6 +6990,10 @@ export interface AzureFileStorageLinkedService { * Expression with resultType string). */ fileShare?: any; + /** + * The azure file share snapshot version. Type: string (or Expression with resultType string). + */ + snapshot?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -7531,6 +7559,12 @@ export interface AzureSqlMILinkedService { * Expression with resultType string). */ tenant?: any; + /** + * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, + * AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud + * type. Type: string (or Expression with resultType string). + */ + azureCloudType?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -7584,6 +7618,12 @@ export interface AzureSqlDatabaseLinkedService { * Expression with resultType string). */ tenant?: any; + /** + * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, + * AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud + * type. Type: string (or Expression with resultType string). + */ + azureCloudType?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -7682,6 +7722,12 @@ export interface AzureSqlDWLinkedService { * Expression with resultType string). */ tenant?: any; + /** + * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, + * AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud + * type. Type: string (or Expression with resultType string). + */ + azureCloudType?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -7799,6 +7845,12 @@ export interface AzureBlobStorageLinkedService { * Expression with resultType string). */ tenant?: any; + /** + * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, + * AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud + * type. Type: string (or Expression with resultType string). + */ + azureCloudType?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). diff --git a/sdk/datafactory/arm-datafactory/src/models/mappers.ts b/sdk/datafactory/arm-datafactory/src/models/mappers.ts index ed56de4f5f23..9903dd457a5a 100644 --- a/sdk/datafactory/arm-datafactory/src/models/mappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/mappers.ts @@ -6824,6 +6824,12 @@ export const RestServiceLinkedService: msRest.CompositeMapper = { name: "Object" } }, + azureCloudType: { + serializedName: "typeProperties.azureCloudType", + type: { + name: "Object" + } + }, aadResourceId: { serializedName: "typeProperties.aadResourceId", type: { @@ -7202,6 +7208,12 @@ export const AzureBlobFSLinkedService: msRest.CompositeMapper = { name: "Object" } }, + azureCloudType: { + serializedName: "typeProperties.azureCloudType", + type: { + name: "Object" + } + }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { @@ -7248,6 +7260,12 @@ export const AzureDataLakeStoreLinkedService: msRest.CompositeMapper = { name: "Object" } }, + azureCloudType: { + serializedName: "typeProperties.azureCloudType", + type: { + name: "Object" + } + }, accountName: { serializedName: "typeProperties.accountName", type: { @@ -7630,6 +7648,12 @@ export const ODataLinkedService: msRest.CompositeMapper = { name: "Object" } }, + azureCloudType: { + serializedName: "typeProperties.azureCloudType", + type: { + name: "Object" + } + }, aadResourceId: { serializedName: "typeProperties.aadResourceId", type: { @@ -8413,6 +8437,12 @@ export const AzureFileStorageLinkedService: msRest.CompositeMapper = { name: "Object" } }, + snapshot: { + serializedName: "typeProperties.snapshot", + type: { + name: "Object" + } + }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { @@ -8965,6 +8995,12 @@ export const AzureSqlMILinkedService: msRest.CompositeMapper = { name: "Object" } }, + azureCloudType: { + serializedName: "typeProperties.azureCloudType", + type: { + name: "Object" + } + }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { @@ -9018,6 +9054,12 @@ export const AzureSqlDatabaseLinkedService: msRest.CompositeMapper = { name: "Object" } }, + azureCloudType: { + serializedName: "typeProperties.azureCloudType", + type: { + name: "Object" + } + }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { @@ -9111,6 +9153,12 @@ export const AzureSqlDWLinkedService: msRest.CompositeMapper = { name: "Object" } }, + azureCloudType: { + serializedName: "typeProperties.azureCloudType", + type: { + name: "Object" + } + }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { @@ -9228,6 +9276,12 @@ export const AzureBlobStorageLinkedService: msRest.CompositeMapper = { name: "Object" } }, + azureCloudType: { + serializedName: "typeProperties.azureCloudType", + type: { + name: "Object" + } + }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: {