Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Commit

Permalink
[AutoPR datafactory/resource-manager] Adding refresh and get Integrat…
Browse files Browse the repository at this point in the history
…ionRuntimeObjectMetadata API (#4291)

* Generated from aded924bcbec0926d1f273fdc99b3a8d2d51246b

Adding refresh and get IntegrationRuntimeObjectMetadata API

* Generated from 38fb817c3d29a206d1371a3d4cea5002cc960535

Change ssis to upper case

* Generated from 43c2dab88ba9dd4abfe793fddfe0c1156518c4a9

Fix model validation issue
  • Loading branch information
AutorestCI authored Dec 11, 2018
1 parent 8184668 commit 27f451e
Show file tree
Hide file tree
Showing 11 changed files with 1,381 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export default class DataFactoryManagementClient extends AzureServiceClient {
operations: operations.Operations;
factories: operations.Factories;
integrationRuntimes: operations.IntegrationRuntimes;
integrationRuntimeObjectMetadata: operations.IntegrationRuntimeObjectMetadata;
integrationRuntimeNodes: operations.IntegrationRuntimeNodes;
linkedServices: operations.LinkedServices;
datasets: operations.Datasets;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ class DataFactoryManagementClient extends ServiceClient {
this.operations = new operations.Operations(this);
this.factories = new operations.Factories(this);
this.integrationRuntimes = new operations.IntegrationRuntimes(this);
this.integrationRuntimeObjectMetadata = new operations.IntegrationRuntimeObjectMetadata(this);
this.integrationRuntimeNodes = new operations.IntegrationRuntimeNodes(this);
this.linkedServices = new operations.LinkedServices(this);
this.datasets = new operations.Datasets(this);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
/*
* 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';

/**
* The request payload of get SSIS object metadata.
*
*/
class GetSsisObjectMetadataRequest {
/**
* Create a GetSsisObjectMetadataRequest.
* @property {string} [metadataPath] Metadata path.
*/
constructor() {
}

/**
* Defines the metadata of GetSsisObjectMetadataRequest
*
* @returns {object} metadata of GetSsisObjectMetadataRequest
*
*/
mapper() {
return {
required: false,
serializedName: 'GetSsisObjectMetadataRequest',
type: {
name: 'Composite',
className: 'GetSsisObjectMetadataRequest',
modelProperties: {
metadataPath: {
required: false,
serializedName: 'metadataPath',
type: {
name: 'String'
}
}
}
}
};
}
}

module.exports = GetSsisObjectMetadataRequest;
68 changes: 68 additions & 0 deletions lib/services/datafactoryManagement/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1306,6 +1306,38 @@ export interface Operation {
serviceSpecification?: OperationServiceSpecification;
}

/**
* The request payload of get SSIS object metadata.
*/
export interface GetSsisObjectMetadataRequest {
/**
* Metadata path.
*/
metadataPath?: string;
}

/**
* The status of the operation.
*/
export interface SsisObjectMetadataStatusResponse {
/**
* The status of the operation.
*/
status?: string;
/**
* The operation name.
*/
name?: string;
/**
* The operation properties.
*/
properties?: string;
/**
* The operation error message.
*/
error?: string;
}

/**
* Referenced dependency.
*/
Expand Down Expand Up @@ -7514,6 +7546,42 @@ export interface IntegrationRuntimeNodeIpAddress {
readonly ipAddress?: string;
}

/**
* SSIS object metadata.
*/
export interface SsisObjectMetadata {
/**
* Metadata id.
*/
id?: number;
/**
* Metadata name.
*/
name?: string;
/**
* Metadata description.
*/
description?: string;
/**
* Polymorphic Discriminator
*/
type: string;
}

/**
* A list of SSIS object metadata.
*/
export interface SsisObjectMetadataListResponse {
/**
* List of SSIS object metadata.
*/
value?: SsisObjectMetadata[];
/**
* The link to the next page of results, if any remaining results exist.
*/
nextLink?: string;
}

/**
* Monitoring data for integration runtime node.
*/
Expand Down
7 changes: 6 additions & 1 deletion lib/services/datafactoryManagement/lib/models/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ exports.OperationMetricDimension = require('./operationMetricDimension');
exports.OperationMetricSpecification = require('./operationMetricSpecification');
exports.OperationServiceSpecification = require('./operationServiceSpecification');
exports.Operation = require('./operation');
exports.GetSsisObjectMetadataRequest = require('./getSsisObjectMetadataRequest');
exports.SsisObjectMetadataStatusResponse = require('./ssisObjectMetadataStatusResponse');
exports.DependencyReference = require('./dependencyReference');
exports.SelfDependencyTumblingWindowTriggerReference = require('./selfDependencyTumblingWindowTriggerReference');
exports.TriggerReference = require('./triggerReference');
Expand Down Expand Up @@ -368,6 +370,8 @@ exports.IntegrationRuntimeVNetProperties = require('./integrationRuntimeVNetProp
exports.IntegrationRuntimeComputeProperties = require('./integrationRuntimeComputeProperties');
exports.ManagedIntegrationRuntime = require('./managedIntegrationRuntime');
exports.IntegrationRuntimeNodeIpAddress = require('./integrationRuntimeNodeIpAddress');
exports.SsisObjectMetadata = require('./ssisObjectMetadata');
exports.SsisObjectMetadataListResponse = require('./ssisObjectMetadataListResponse');
exports.IntegrationRuntimeNodeMonitoringData = require('./integrationRuntimeNodeMonitoringData');
exports.IntegrationRuntimeMonitoringData = require('./integrationRuntimeMonitoringData');
exports.IntegrationRuntimeAuthKeys = require('./integrationRuntimeAuthKeys');
Expand Down Expand Up @@ -647,5 +651,6 @@ exports.discriminators = {
'LinkedIntegrationRuntimeType.Key' : exports.LinkedIntegrationRuntimeKeyAuthorization,
'LinkedIntegrationRuntimeType' : exports.LinkedIntegrationRuntimeType,
'IntegrationRuntime.SelfHosted' : exports.SelfHostedIntegrationRuntime,
'IntegrationRuntime.Managed' : exports.ManagedIntegrationRuntime
'IntegrationRuntime.Managed' : exports.ManagedIntegrationRuntime,
'SsisObjectMetadata' : exports.SsisObjectMetadata
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
/*
* 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';

/**
* SSIS object metadata.
*
*/
class SsisObjectMetadata {
/**
* Create a SsisObjectMetadata.
* @property {number} [id] Metadata id.
* @property {string} [name] Metadata name.
* @property {string} [description] Metadata description.
* @property {string} type Polymorphic Discriminator
*/
constructor() {
}

/**
* Defines the metadata of SsisObjectMetadata
*
* @returns {object} metadata of SsisObjectMetadata
*
*/
mapper() {
return {
required: false,
serializedName: 'SsisObjectMetadata',
type: {
name: 'Composite',
polymorphicDiscriminator: {
serializedName: 'type',
clientName: 'type'
},
uberParent: 'SsisObjectMetadata',
className: 'SsisObjectMetadata',
modelProperties: {
id: {
required: false,
serializedName: 'id',
type: {
name: 'Number'
}
},
name: {
required: false,
serializedName: 'name',
type: {
name: 'String'
}
},
description: {
required: false,
serializedName: 'description',
type: {
name: 'String'
}
},
type: {
required: true,
serializedName: 'type',
isPolymorphicDiscriminator: true,
type: {
name: 'String'
}
}
}
}
};
}
}

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

/**
* A list of SSIS object metadata.
*
*/
class SsisObjectMetadataListResponse {
/**
* Create a SsisObjectMetadataListResponse.
* @property {array} [value] List of SSIS object metadata.
* @property {string} [nextLink] The link to the next page of results, if any
* remaining results exist.
*/
constructor() {
}

/**
* Defines the metadata of SsisObjectMetadataListResponse
*
* @returns {object} metadata of SsisObjectMetadataListResponse
*
*/
mapper() {
return {
required: false,
serializedName: 'SsisObjectMetadataListResponse',
type: {
name: 'Composite',
className: 'SsisObjectMetadataListResponse',
modelProperties: {
value: {
required: false,
serializedName: 'value',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'SsisObjectMetadataElementType',
type: {
name: 'Composite',
polymorphicDiscriminator: {
serializedName: 'type',
clientName: 'type'
},
uberParent: 'SsisObjectMetadata',
className: 'SsisObjectMetadata'
}
}
}
},
nextLink: {
required: false,
serializedName: 'nextLink',
type: {
name: 'String'
}
}
}
}
};
}
}

module.exports = SsisObjectMetadataListResponse;
Loading

0 comments on commit 27f451e

Please sign in to comment.