diff --git a/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClientContext.ts b/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClientContext.ts index def810ba4bc5..1839392c29b9 100644 --- a/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClientContext.ts +++ b/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClientContext.ts @@ -36,7 +36,7 @@ export class DataFactoryManagementClientContext extends msRestAzure.AzureService if (!options) { options = {}; } - if (!options.userAgent) { + if(!options.userAgent) { const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; } @@ -51,10 +51,10 @@ export class DataFactoryManagementClientContext extends msRestAzure.AzureService this.credentials = credentials; this.subscriptionId = subscriptionId; - if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) { + if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } - if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { + if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout; } } diff --git a/sdk/datafactory/arm-datafactory/src/models/dataFlowsMappers.ts b/sdk/datafactory/arm-datafactory/src/models/dataFlowsMappers.ts index ee9fdfa0e41d..4b664b61bbf8 100644 --- a/sdk/datafactory/arm-datafactory/src/models/dataFlowsMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/dataFlowsMappers.ts @@ -392,7 +392,9 @@ export { PhoenixLinkedService, PhoenixObjectDataset, PhoenixSource, + PipelineElapsedTimeMetricPolicy, PipelineFolder, + PipelinePolicy, PipelineReference, PipelineResource, PolybaseSettings, diff --git a/sdk/datafactory/arm-datafactory/src/models/datasetsMappers.ts b/sdk/datafactory/arm-datafactory/src/models/datasetsMappers.ts index b07a238f99f3..87061d97c317 100644 --- a/sdk/datafactory/arm-datafactory/src/models/datasetsMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/datasetsMappers.ts @@ -392,7 +392,9 @@ export { PhoenixLinkedService, PhoenixObjectDataset, PhoenixSource, + PipelineElapsedTimeMetricPolicy, PipelineFolder, + PipelinePolicy, PipelineReference, PipelineResource, PolybaseSettings, diff --git a/sdk/datafactory/arm-datafactory/src/models/factoriesMappers.ts b/sdk/datafactory/arm-datafactory/src/models/factoriesMappers.ts index 5e96aab086fa..9db89bb0360d 100644 --- a/sdk/datafactory/arm-datafactory/src/models/factoriesMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/factoriesMappers.ts @@ -397,7 +397,9 @@ export { PhoenixLinkedService, PhoenixObjectDataset, PhoenixSource, + PipelineElapsedTimeMetricPolicy, PipelineFolder, + PipelinePolicy, PipelineReference, PipelineResource, PolybaseSettings, diff --git a/sdk/datafactory/arm-datafactory/src/models/index.ts b/sdk/datafactory/arm-datafactory/src/models/index.ts index 1cff185ab331..3b6cec8a716f 100644 --- a/sdk/datafactory/arm-datafactory/src/models/index.ts +++ b/sdk/datafactory/arm-datafactory/src/models/index.ts @@ -163,6 +163,11 @@ export interface AzureKeyVaultSecretReference { * Identity properties of the factory resource. */ export interface FactoryIdentity { + /** + * The identity type. Possible values include: 'SystemAssigned', 'UserAssigned', + * 'SystemAssigned,UserAssigned' + */ + type: FactoryIdentityType; /** * The principal id of the identity. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -705,6 +710,23 @@ export interface PipelineFolder { name?: string; } +/** + * Pipeline ElapsedTime Metric Policy. + */ +export interface PipelineElapsedTimeMetricPolicy { + /** + * TimeSpan value, after which an Azure Monitoring Metric is fired. + */ + duration?: any; +} + +/** + * Pipeline Policy. + */ +export interface PipelinePolicy { + elapsedTimeMetric?: PipelineElapsedTimeMetricPolicy; +} + /** * Pipeline resource type. */ @@ -741,6 +763,7 @@ export interface PipelineResource extends SubResource { * The folder that this Pipeline is in. If not specified, Pipeline will appear at the root level. */ folder?: PipelineFolder; + policy?: PipelinePolicy; /** * Describes unknown properties. The value of an unknown property can be of "any" type. */ @@ -5169,7 +5192,7 @@ export interface SftpServerLinkedService { port?: any; /** * The authentication type to be used to connect to the FTP server. Possible values include: - * 'Basic', 'SshPublicKey' + * 'Basic', 'SshPublicKey', 'MultiFactor' */ authenticationType?: SftpAuthenticationType; /** @@ -5322,6 +5345,11 @@ export interface HttpLinkedService { * authentication. */ password?: SecretBaseUnion; + /** + * The additional HTTP headers in the request to RESTful API used for authorization. Type: object + * (or Expression with resultType object). + */ + authHeaders?: any; /** * Base64 encoded certificate data for ClientCertificate authentication. For on-premises copy * with ClientCertificate authentication, either CertThumbprint or EmbeddedCertData/Password @@ -5571,6 +5599,11 @@ export interface RestServiceLinkedService { * The password used in Basic authentication type. */ password?: SecretBaseUnion; + /** + * The additional HTTP headers in the request to RESTful API used for authorization. Type: object + * (or Expression with resultType object). + */ + authHeaders?: any; /** * The application's client ID used in AadServicePrincipal authentication type. */ @@ -6456,6 +6489,11 @@ export interface ODataLinkedService { * Password of the OData service. */ password?: SecretBaseUnion; + /** + * The additional HTTP headers in the request to RESTful API used for authorization. Type: object + * (or Expression with resultType object). + */ + authHeaders?: any; /** * Specify the tenant information (domain name or tenant ID) under which your application * resides. Type: string (or Expression with resultType string). @@ -15354,17 +15392,18 @@ export interface WebActivityAuthentication { pfx?: SecretBaseUnion; /** * Web activity authentication user name for basic authentication or ClientID when used for - * ServicePrincipal + * ServicePrincipal. Type: string (or Expression with resultType string). */ - username?: string; + username?: any; /** * Password for the PFX file or basic authentication / Secret when used for ServicePrincipal */ password?: SecretBaseUnion; /** - * Resource for which Azure Auth token will be requested when using MSI Authentication. + * Resource for which Azure Auth token will be requested when using MSI Authentication. Type: + * string (or Expression with resultType string). */ - resource?: string; + resource?: any; /** * TenantId for which Azure Auth token will be requested when using ServicePrincipal * Authentication. Type: string (or Expression with resultType string). @@ -24961,6 +25000,14 @@ export interface ManagedPrivateEndpointListResponse extends Array