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
91 changes: 88 additions & 3 deletions lib/services/datafactoryManagement/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ export interface IntegrationRuntimeReference {
* integration runtime belong to.
* @member {string} [state] The state of integration runtime. Possible values
* include: 'Initial', 'Stopped', 'Started', 'Starting', 'Stopping',
* 'NeedRegistration', 'Online', 'Limited', 'Offline'
* 'NeedRegistration', 'Online', 'Limited', 'Offline', 'AccessDenied'
* @member {string} type Polymorphic Discriminator
*/
export interface IntegrationRuntimeStatus {
Expand All @@ -283,7 +283,8 @@ export interface IntegrationRuntimeStatus {
* the integration runtime belong to.
* @member {string} [properties.state] The state of integration runtime.
* Possible values include: 'Initial', 'Stopped', 'Started', 'Starting',
* 'Stopping', 'NeedRegistration', 'Online', 'Limited', 'Offline'
* 'Stopping', 'NeedRegistration', 'Online', 'Limited', 'Offline',
* 'AccessDenied'
* @member {string} [properties.type] Polymorphic Discriminator
*/
export interface IntegrationRuntimeStatusResponse {
Expand Down Expand Up @@ -339,6 +340,19 @@ export interface UpdateIntegrationRuntimeNodeRequest {
concurrentJobsLimit?: number;
}

/**
* @class
* Initializes a new instance of the LinkedIntegrationRuntimeRequest class.
* @constructor
* Data factory name for linked integration runtime request.
*
* @member {string} linkedFactoryName The data factory name for linked
* integration runtime.
*/
export interface LinkedIntegrationRuntimeRequest {
linkedFactoryName: string;
}

/**
* @class
* Initializes a new instance of the ParameterSpecification class.
Expand Down Expand Up @@ -6615,6 +6629,30 @@ export interface ExecutePipelineActivity extends ControlActivity {
waitOnCompletion?: boolean;
}

/**
* @class
* Initializes a new instance of the LinkedIntegrationRuntime class.
* @constructor
* The linked integration runtime information.
*
* @member {string} [name] The name of the linked integration runtime.
* @member {string} [subscriptionId] The subscription ID for which the linked
* integration runtime belong to.
* @member {string} [dataFactoryName] The name of the data factory for which
* the linked integration runtime belong to.
* @member {string} [dataFactoryLocation] The location of the data factory for
* which the linked integration runtime belong to.
* @member {date} [createTime] The creating time of the linked integration
* runtime.
*/
export interface LinkedIntegrationRuntime {
readonly name?: string;
readonly subscriptionId?: string;
readonly dataFactoryName?: string;
readonly dataFactoryLocation?: string;
readonly createTime?: Date;
}

/**
* @class
* Initializes a new instance of the SelfHostedIntegrationRuntimeNode class.
Expand Down Expand Up @@ -6707,6 +6745,10 @@ export interface SelfHostedIntegrationRuntimeNode {
* @member {string} [autoUpdate] Whether Self-hosted integration runtime auto
* update has been turned on. Possible values include: 'On', 'Off'
* @member {string} [versionStatus] Status of the integration runtime version.
* @member {array} [links] The list of linked integration runtimes that are
* created to share with this integration runtime.
* @member {array} [sharedWithFactories] The MSI-s of the data factories to
* which the integration runtime is shared.
* @member {string} [pushedVersion] The version that the integration runtime is
* going to update to.
* @member {string} [latestVersion] The latest version on download center.
Expand All @@ -6724,6 +6766,8 @@ export interface SelfHostedIntegrationRuntimeStatus extends IntegrationRuntimeSt
readonly serviceUrls?: string[];
readonly autoUpdate?: string;
readonly versionStatus?: string;
links?: LinkedIntegrationRuntime[];
readonly sharedWithFactories?: string[];
readonly pushedVersion?: string;
readonly latestVersion?: string;
}
Expand Down Expand Up @@ -6831,14 +6875,55 @@ export interface ManagedIntegrationRuntimeStatus extends IntegrationRuntimeStatu
readonly lastOperation?: ManagedIntegrationRuntimeOperationResult;
}

/**
* @class
* Initializes a new instance of the LinkedIntegrationRuntimeType class.
* @constructor
* The base definition of a linked integration runtime.
*
* @member {string} authorizationType Polymorphic Discriminator
*/
export interface LinkedIntegrationRuntimeType {
authorizationType: string;
}

/**
* @class
* Initializes a new instance of the LinkedIntegrationRuntimeRbacAuthorization class.
* @constructor
* The role based access control (RBAC) authorization type integration runtime.
*
* @member {string} resourceId The resource identifier of the integration
* runtime to be shared.
*/
export interface LinkedIntegrationRuntimeRbacAuthorization extends LinkedIntegrationRuntimeType {
resourceId: string;
}

/**
* @class
* Initializes a new instance of the LinkedIntegrationRuntimeKeyAuthorization class.
* @constructor
* The key authorization type integration runtime.
*
* @member {object} key The key used for authorization.
* @member {string} [key.value] Value of secure string.
*/
export interface LinkedIntegrationRuntimeKeyAuthorization extends LinkedIntegrationRuntimeType {
key: SecureString;
}

/**
* @class
* Initializes a new instance of the SelfHostedIntegrationRuntime class.
* @constructor
* Self-hosted integration runtime.
*
* @member {object} [linkedInfo]
* @member {string} [linkedInfo.authorizationType] Polymorphic Discriminator
*/
export interface SelfHostedIntegrationRuntime extends IntegrationRuntime {
linkedInfo?: LinkedIntegrationRuntimeType;
}

/**
Expand Down Expand Up @@ -6997,7 +7082,7 @@ export interface IntegrationRuntimeComputeProperties {
* @member {string} [state] Integration runtime state, only valid for managed
* dedicated integration runtime. Possible values include: 'Initial',
* 'Stopped', 'Started', 'Starting', 'Stopping', 'NeedRegistration', 'Online',
* 'Limited', 'Offline'
* 'Limited', 'Offline', 'AccessDenied'
* @member {object} [computeProperties] The compute resource for managed
* integration runtime.
* @member {string} [computeProperties.location] The location for managed
Expand Down
8 changes: 8 additions & 0 deletions lib/services/datafactoryManagement/lib/models/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ exports.IntegrationRuntimeStatusResponse = require('./integrationRuntimeStatusRe
exports.IntegrationRuntimeStatusListResponse = require('./integrationRuntimeStatusListResponse');
exports.UpdateIntegrationRuntimeRequest = require('./updateIntegrationRuntimeRequest');
exports.UpdateIntegrationRuntimeNodeRequest = require('./updateIntegrationRuntimeNodeRequest');
exports.LinkedIntegrationRuntimeRequest = require('./linkedIntegrationRuntimeRequest');
exports.ParameterSpecification = require('./parameterSpecification');
exports.LinkedService = require('./linkedService');
exports.LinkedServiceResource = require('./linkedServiceResource');
Expand Down Expand Up @@ -323,12 +324,16 @@ exports.WaitActivity = require('./waitActivity');
exports.ForEachActivity = require('./forEachActivity');
exports.IfConditionActivity = require('./ifConditionActivity');
exports.ExecutePipelineActivity = require('./executePipelineActivity');
exports.LinkedIntegrationRuntime = require('./linkedIntegrationRuntime');
exports.SelfHostedIntegrationRuntimeNode = require('./selfHostedIntegrationRuntimeNode');
exports.SelfHostedIntegrationRuntimeStatus = require('./selfHostedIntegrationRuntimeStatus');
exports.ManagedIntegrationRuntimeOperationResult = require('./managedIntegrationRuntimeOperationResult');
exports.ManagedIntegrationRuntimeError = require('./managedIntegrationRuntimeError');
exports.ManagedIntegrationRuntimeNode = require('./managedIntegrationRuntimeNode');
exports.ManagedIntegrationRuntimeStatus = require('./managedIntegrationRuntimeStatus');
exports.LinkedIntegrationRuntimeType = require('./linkedIntegrationRuntimeType');
exports.LinkedIntegrationRuntimeRbacAuthorization = require('./linkedIntegrationRuntimeRbacAuthorization');
exports.LinkedIntegrationRuntimeKeyAuthorization = require('./linkedIntegrationRuntimeKeyAuthorization');
exports.SelfHostedIntegrationRuntime = require('./selfHostedIntegrationRuntime');
exports.IntegrationRuntimeCustomSetupScriptProperties = require('./integrationRuntimeCustomSetupScriptProperties');
exports.IntegrationRuntimeSsisCatalogInfo = require('./integrationRuntimeSsisCatalogInfo');
Expand Down Expand Up @@ -599,6 +604,9 @@ exports.discriminators = {
'Activity.Container' : exports.ControlActivity,
'IntegrationRuntimeStatus.SelfHosted' : exports.SelfHostedIntegrationRuntimeStatus,
'IntegrationRuntimeStatus.Managed' : exports.ManagedIntegrationRuntimeStatus,
'LinkedIntegrationRuntimeType.RBAC' : exports.LinkedIntegrationRuntimeRbacAuthorization,
'LinkedIntegrationRuntimeType.Key' : exports.LinkedIntegrationRuntimeKeyAuthorization,
'LinkedIntegrationRuntimeType' : exports.LinkedIntegrationRuntimeType,
'IntegrationRuntime.SelfHosted' : exports.SelfHostedIntegrationRuntime,
'IntegrationRuntime.Managed' : exports.ManagedIntegrationRuntime
};
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class IntegrationRuntimeStatus {
* integration runtime belong to.
* @member {string} [state] The state of integration runtime. Possible values
* include: 'Initial', 'Stopped', 'Started', 'Starting', 'Stopping',
* 'NeedRegistration', 'Online', 'Limited', 'Offline'
* 'NeedRegistration', 'Online', 'Limited', 'Offline', 'AccessDenied'
* @member {string} type Polymorphic Discriminator
*/
constructor() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ class IntegrationRuntimeStatusResponse {
* the integration runtime belong to.
* @member {string} [properties.state] The state of integration runtime.
* Possible values include: 'Initial', 'Stopped', 'Started', 'Starting',
* 'Stopping', 'NeedRegistration', 'Online', 'Limited', 'Offline'
* 'Stopping', 'NeedRegistration', 'Online', 'Limited', 'Offline',
* 'AccessDenied'
* @member {string} [properties.type] Polymorphic Discriminator
*/
constructor() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
const models = require('./index');

/**
* The base definition of a secret type.
* The key authorization type.
*
* @extends models['LinkedIntegrationRuntimeProperties']
*/
class LinkedIntegrationRuntimeKey extends models['LinkedIntegrationRuntimeProperties'] {
/**
* Create a LinkedIntegrationRuntimeKey.
* @member {object} key Type of the secret.
* @member {object} key The key used for authorization.
* @member {string} [key.value] Value of secure string.
*/
constructor() {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
/*
* 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');

/**
* The key authorization type integration runtime.
*
* @extends models['LinkedIntegrationRuntimeType']
*/
class LinkedIntegrationRuntimeKeyAuthorization extends models['LinkedIntegrationRuntimeType'] {
/**
* Create a LinkedIntegrationRuntimeKeyAuthorization.
* @member {object} key The key used for authorization.
* @member {string} [key.value] Value of secure string.
*/
constructor() {
super();
}

/**
* Defines the metadata of LinkedIntegrationRuntimeKeyAuthorization
*
* @returns {object} metadata of LinkedIntegrationRuntimeKeyAuthorization
*
*/
mapper() {
return {
required: false,
serializedName: 'Key',
type: {
name: 'Composite',
polymorphicDiscriminator: {
serializedName: 'authorizationType',
clientName: 'authorizationType'
},
uberParent: 'LinkedIntegrationRuntimeType',
className: 'LinkedIntegrationRuntimeKeyAuthorization',
modelProperties: {
authorizationType: {
required: true,
serializedName: 'authorizationType',
isPolymorphicDiscriminator: true,
type: {
name: 'String'
}
},
key: {
required: true,
serializedName: 'key',
type: {
name: 'Composite',
polymorphicDiscriminator: {
serializedName: 'type',
clientName: 'type'
},
uberParent: 'SecretBase',
className: 'SecureString'
}
}
}
}
};
}
}

module.exports = LinkedIntegrationRuntimeKeyAuthorization;
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
'use strict';

/**
* The base definition of a secret type.
* The base definition of a linked integration runtime properties.
*
*/
class LinkedIntegrationRuntimeProperties {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
const models = require('./index');

/**
* The base definition of a secret type.
* The role based access control (RBAC) authorization type.
*
* @extends models['LinkedIntegrationRuntimeProperties']
*/
class LinkedIntegrationRuntimeRbac extends models['LinkedIntegrationRuntimeProperties'] {
/**
* Create a LinkedIntegrationRuntimeRbac.
* @member {string} resourceId The resource ID of the integration runtime to
* be shared.
* @member {string} resourceId The resource identifier of the integration
* runtime to be shared.
*/
constructor() {
super();
Expand Down
Loading