Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.
Closed
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 @@ -98,6 +98,7 @@ export default class AutomationClient extends AzureServiceClient {
runbookOperations: operations.RunbookOperations;
testJobStreams: operations.TestJobStreams;
testJobOperations: operations.TestJobOperations;
python2Package: operations.Python2Package;
}

export { AutomationClient, models as AutomationModels };
1 change: 1 addition & 0 deletions lib/services/automationManagement/lib/automationClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ class AutomationClient extends ServiceClient {
this.runbookOperations = new operations.RunbookOperations(this);
this.testJobStreams = new operations.TestJobStreams(this);
this.testJobOperations = new operations.TestJobOperations(this);
this.python2Package = new operations.Python2Package(this);
this.models = models;
msRest.addSerializationMixin(this);
}
Expand Down
35 changes: 35 additions & 0 deletions lib/services/automationManagement/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3154,6 +3154,41 @@ export interface RunbookCreateOrUpdateDraftParameters {
runbookContent: string;
}

/**
* @class
* Initializes a new instance of the PythonPackageCreateParameters class.
* @constructor
* The parameters supplied to the create or update module operation.
*
* @member {object} contentLink Gets or sets the module content link.
* @member {string} [contentLink.uri] Gets or sets the uri of the runbook
* content.
* @member {object} [contentLink.contentHash] Gets or sets the hash.
* @member {string} [contentLink.contentHash.algorithm] Gets or sets the
* content hash algorithm used to hash the content.
* @member {string} [contentLink.contentHash.value] Gets or sets expected hash
* value of the content.
* @member {string} [contentLink.version] Gets or sets the version of the
* content.
* @member {object} [tags] Gets or sets the tags attached to the resource.
*/
export interface PythonPackageCreateParameters {
contentLink: ContentLink;
tags?: { [propertyName: string]: string };
}

/**
* @class
* Initializes a new instance of the PythonPackageUpdateParameters class.
* @constructor
* The parameters supplied to the update module operation.
*
* @member {object} [tags] Gets or sets the tags attached to the resource.
*/
export interface PythonPackageUpdateParameters {
tags?: { [propertyName: string]: string };
}


/**
* @class
Expand Down
2 changes: 2 additions & 0 deletions lib/services/automationManagement/lib/models/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ exports.TestJobCreateParameters = require('./testJobCreateParameters');
exports.TestJob = require('./testJob');
exports.RunbookCreateOrUpdateDraftProperties = require('./runbookCreateOrUpdateDraftProperties');
exports.RunbookCreateOrUpdateDraftParameters = require('./runbookCreateOrUpdateDraftParameters');
exports.PythonPackageCreateParameters = require('./pythonPackageCreateParameters');
exports.PythonPackageUpdateParameters = require('./pythonPackageUpdateParameters');
exports.AutomationAccountListResult = require('./automationAccountListResult');
exports.OperationListResult = require('./operationListResult');
exports.StatisticsListResult = require('./statisticsListResult');
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
/*
* 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 parameters supplied to the create or update module operation.
*
*/
class PythonPackageCreateParameters {
/**
* Create a PythonPackageCreateParameters.
* @member {object} contentLink Gets or sets the module content link.
* @member {string} [contentLink.uri] Gets or sets the uri of the runbook
* content.
* @member {object} [contentLink.contentHash] Gets or sets the hash.
* @member {string} [contentLink.contentHash.algorithm] Gets or sets the
* content hash algorithm used to hash the content.
* @member {string} [contentLink.contentHash.value] Gets or sets expected
* hash value of the content.
* @member {string} [contentLink.version] Gets or sets the version of the
* content.
* @member {object} [tags] Gets or sets the tags attached to the resource.
*/
constructor() {
}

/**
* Defines the metadata of PythonPackageCreateParameters
*
* @returns {object} metadata of PythonPackageCreateParameters
*
*/
mapper() {
return {
required: false,
serializedName: 'PythonPackageCreateParameters',
type: {
name: 'Composite',
className: 'PythonPackageCreateParameters',
modelProperties: {
contentLink: {
required: true,
serializedName: 'properties.contentLink',
type: {
name: 'Composite',
className: 'ContentLink'
}
},
tags: {
required: false,
serializedName: 'tags',
type: {
name: 'Dictionary',
value: {
required: false,
serializedName: 'StringElementType',
type: {
name: 'String'
}
}
}
}
}
}
};
}
}

module.exports = PythonPackageCreateParameters;
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
/*
* 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 parameters supplied to the update module operation.
*
*/
class PythonPackageUpdateParameters {
/**
* Create a PythonPackageUpdateParameters.
* @member {object} [tags] Gets or sets the tags attached to the resource.
*/
constructor() {
}

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

module.exports = PythonPackageUpdateParameters;
Loading