Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export default class DataFactoryManagementClient extends AzureServiceClient {
// Operation groups
operations: operations.Operations;
factories: operations.Factories;
exposureControl: operations.ExposureControl;
integrationRuntimes: operations.IntegrationRuntimes;
integrationRuntimeObjectMetadata: operations.IntegrationRuntimeObjectMetadata;
integrationRuntimeNodes: operations.IntegrationRuntimeNodes;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ class DataFactoryManagementClient extends ServiceClient {
}
this.operations = new operations.Operations(this);
this.factories = new operations.Factories(this);
this.exposureControl = new operations.ExposureControl(this);
this.integrationRuntimes = new operations.IntegrationRuntimes(this);
this.integrationRuntimeObjectMetadata = new operations.IntegrationRuntimeObjectMetadata(this);
this.integrationRuntimeNodes = new operations.IntegrationRuntimeNodes(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@ class AmazonMWSObjectDataset extends models['Dataset'] {
name: 'Object'
}
},
schema: {
required: false,
serializedName: 'schema',
type: {
name: 'Object'
}
},
linkedServiceName: {
required: true,
serializedName: 'linkedServiceName',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,13 @@ class AmazonS3Dataset extends models['Dataset'] {
name: 'Object'
}
},
schema: {
required: false,
serializedName: 'schema',
type: {
name: 'Object'
}
},
linkedServiceName: {
required: true,
serializedName: 'linkedServiceName',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,13 @@ class AzureBlobDataset extends models['Dataset'] {
name: 'Object'
}
},
schema: {
required: false,
serializedName: 'schema',
type: {
name: 'Object'
}
},
linkedServiceName: {
required: true,
serializedName: 'linkedServiceName',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@ class AzureDataLakeStoreDataset extends models['Dataset'] {
name: 'Object'
}
},
schema: {
required: false,
serializedName: 'schema',
type: {
name: 'Object'
}
},
linkedServiceName: {
required: true,
serializedName: 'linkedServiceName',
Expand Down
185 changes: 185 additions & 0 deletions lib/services/datafactoryManagement/lib/models/azureFunctionActivity.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,185 @@
/*
* 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.
*/

'use strict';

const models = require('./index');

/**
* Azure Function activity.
*
* @extends models['ExecutionActivity']
*/
class AzureFunctionActivity extends models['ExecutionActivity'] {
/**
* Create a AzureFunctionActivity.
* @property {string} method Rest API method for target endpoint. Possible
* values include: 'GET', 'POST', 'PUT', 'DELETE', 'OPTIONS', 'HEAD', 'TRACE'
* @property {object} functionName Name of the Function that the Azure
* Function Activity will call. Type: string (or Expression with resultType
* string)
* @property {object} [headers] Represents the headers that will be sent to
* the request. For example, to set the language and type on a request:
* "headers" : { "Accept-Language": "en-us", "Content-Type":
* "application/json" }. Type: string (or Expression with resultType string).
* @property {object} [body] Represents the payload that will be sent to the
* endpoint. Required for POST/PUT method, not allowed for GET method Type:
* string (or Expression with resultType string).
*/
constructor() {
super();
}

/**
* Defines the metadata of AzureFunctionActivity
*
* @returns {object} metadata of AzureFunctionActivity
*
*/
mapper() {
return {
required: false,
serializedName: 'AzureFunctionActivity',
type: {
name: 'Composite',
polymorphicDiscriminator: {
serializedName: 'type',
clientName: 'type'
},
uberParent: 'Activity',
className: 'AzureFunctionActivity',
modelProperties: {
name: {
required: true,
serializedName: 'name',
type: {
name: 'String'
}
},
description: {
required: false,
serializedName: 'description',
type: {
name: 'String'
}
},
dependsOn: {
required: false,
serializedName: 'dependsOn',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'ActivityDependencyElementType',
type: {
name: 'Composite',
additionalProperties: {
type: {
name: 'Dictionary',
value: {
required: false,
serializedName: 'ObjectElementType',
type: {
name: 'Object'
}
}
}
},
className: 'ActivityDependency'
}
}
}
},
userProperties: {
required: false,
serializedName: 'userProperties',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'UserPropertyElementType',
type: {
name: 'Composite',
className: 'UserProperty'
}
}
}
},
type: {
required: true,
serializedName: 'type',
isPolymorphicDiscriminator: true,
type: {
name: 'String'
}
},
linkedServiceName: {
required: false,
serializedName: 'linkedServiceName',
type: {
name: 'Composite',
className: 'LinkedServiceReference'
}
},
policy: {
required: false,
serializedName: 'policy',
type: {
name: 'Composite',
additionalProperties: {
type: {
name: 'Dictionary',
value: {
required: false,
serializedName: 'ObjectElementType',
type: {
name: 'Object'
}
}
}
},
className: 'ActivityPolicy'
}
},
method: {
required: true,
serializedName: 'typeProperties.method',
type: {
name: 'String'
}
},
functionName: {
required: true,
serializedName: 'typeProperties.functionName',
type: {
name: 'Object'
}
},
headers: {
required: false,
serializedName: 'typeProperties.headers',
type: {
name: 'Object'
}
},
body: {
required: false,
serializedName: 'typeProperties.body',
type: {
name: 'Object'
}
}
}
}
};
}
}

module.exports = AzureFunctionActivity;
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
/*
* 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.
*/

'use strict';

const models = require('./index');

/**
* Azure Function linked service.
*
* @extends models['LinkedService']
*/
class AzureFunctionLinkedService extends models['LinkedService'] {
/**
* Create a AzureFunctionLinkedService.
* @property {object} functionAppUrl The endpoint of the Azure Function App.
* URL will be in the format https://<accountName>.azurewebsites.net.
* @property {object} [functionKey] Function or Host key for Azure Function
* App.
* @property {string} [functionKey.type] Polymorphic Discriminator
* @property {object} [encryptedCredential] The encrypted credential used for
* authentication. Credentials are encrypted using the integration runtime
* credential manager. Type: string (or Expression with resultType string).
*/
constructor() {
super();
}

/**
* Defines the metadata of AzureFunctionLinkedService
*
* @returns {object} metadata of AzureFunctionLinkedService
*
*/
mapper() {
return {
required: false,
serializedName: 'AzureFunction',
type: {
name: 'Composite',
polymorphicDiscriminator: {
serializedName: 'type',
clientName: 'type'
},
uberParent: 'LinkedService',
className: 'AzureFunctionLinkedService',
modelProperties: {
connectVia: {
required: false,
serializedName: 'connectVia',
type: {
name: 'Composite',
className: 'IntegrationRuntimeReference'
}
},
description: {
required: false,
serializedName: 'description',
type: {
name: 'String'
}
},
parameters: {
required: false,
serializedName: 'parameters',
type: {
name: 'Dictionary',
value: {
required: false,
serializedName: 'ParameterSpecificationElementType',
type: {
name: 'Composite',
className: 'ParameterSpecification'
}
}
}
},
annotations: {
required: false,
serializedName: 'annotations',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'ObjectElementType',
type: {
name: 'Object'
}
}
}
},
type: {
required: true,
serializedName: 'type',
isPolymorphicDiscriminator: true,
type: {
name: 'String'
}
},
functionAppUrl: {
required: true,
serializedName: 'typeProperties.functionAppUrl',
type: {
name: 'Object'
}
},
functionKey: {
required: false,
serializedName: 'typeProperties.functionKey',
type: {
name: 'Composite',
polymorphicDiscriminator: {
serializedName: 'type',
clientName: 'type'
},
uberParent: 'SecretBase',
className: 'SecretBase'
}
},
encryptedCredential: {
required: false,
serializedName: 'typeProperties.encryptedCredential',
type: {
name: 'Object'
}
}
}
}
};
}
}

module.exports = AzureFunctionLinkedService;
Loading