From 1ad93c95e5337af524fdf1f151b00d8ee13b5398 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 11 Jul 2018 15:47:27 -0700 Subject: [PATCH] Generated from ad46e205e322a7981412bb3b79ce29bcb757e175 (#3163) Add x-ms-parameter-location property --- .../lib/models/index.d.ts | 120 +++++++++--------- .../automationManagement/lib/models/index.js | 8 +- .../lib/operations/index.d.ts | 8 +- .../lib/operations/runbookDraftOperations.js | 12 +- 4 files changed, 74 insertions(+), 74 deletions(-) diff --git a/lib/services/automationManagement/lib/models/index.d.ts b/lib/services/automationManagement/lib/models/index.d.ts index 09653aae3f..636ac5d545 100644 --- a/lib/services/automationManagement/lib/models/index.d.ts +++ b/lib/services/automationManagement/lib/models/index.d.ts @@ -18,17 +18,19 @@ export { CloudError } from 'ms-rest-azure'; /** * @class - * Initializes a new instance of the ErrorResponse class. + * Initializes a new instance of the Sku class. * @constructor - * Error response of an operation failure + * The account SKU. * - * @member {string} [code] Error code - * @member {string} [message] Error message indicating why the operation - * failed. + * @member {string} name Gets or sets the SKU name of the account. Possible + * values include: 'Free', 'Basic' + * @member {string} [family] Gets or sets the SKU family. + * @member {number} [capacity] Gets or sets the SKU capacity. */ -export interface ErrorResponse { - code?: string; - message?: string; +export interface Sku { + name: string; + family?: string; + capacity?: number; } /** @@ -61,33 +63,6 @@ export interface TrackedResource extends Resource { location?: string; } -/** - * @class - * Initializes a new instance of the ProxyResource class. - * @constructor - * ARM proxy resource. - * - */ -export interface ProxyResource extends Resource { -} - -/** - * @class - * Initializes a new instance of the Sku class. - * @constructor - * The account SKU. - * - * @member {string} name Gets or sets the SKU name of the account. Possible - * values include: 'Free', 'Basic' - * @member {string} [family] Gets or sets the SKU family. - * @member {number} [capacity] Gets or sets the SKU capacity. - */ -export interface Sku { - name: string; - family?: string; - capacity?: number; -} - /** * @class * Initializes a new instance of the AutomationAccount class. @@ -286,6 +261,31 @@ export interface AutomationAccountUpdateParameters { tags?: { [propertyName: string]: string }; } +/** + * @class + * Initializes a new instance of the ProxyResource class. + * @constructor + * ARM proxy resource. + * + */ +export interface ProxyResource extends Resource { +} + +/** + * @class + * Initializes a new instance of the ErrorResponse class. + * @constructor + * Error response of an operation failure + * + * @member {string} [code] Error code + * @member {string} [message] Error message indicating why the operation + * failed. + */ +export interface ErrorResponse { + code?: string; + message?: string; +} + /** * @class * Initializes a new instance of the CertificateCreateOrUpdateParameters class. @@ -1148,31 +1148,6 @@ export interface TypeField { type?: string; } -/** - * @class - * Initializes a new instance of the JobStream class. - * @constructor - * Definition of the job stream. - * - * @member {string} [id] Gets or sets the id of the resource. - * @member {string} [jobStreamId] Gets or sets the id of the job stream. - * @member {date} [time] Gets or sets the creation time of the job. - * @member {string} [streamType] Gets or sets the stream type. Possible values - * include: 'Progress', 'Output', 'Warning', 'Error', 'Debug', 'Verbose', 'Any' - * @member {string} [streamText] Gets or sets the stream text. - * @member {string} [summary] Gets or sets the summary. - * @member {object} [value] Gets or sets the values of the job stream. - */ -export interface JobStream { - id?: string; - jobStreamId?: string; - time?: Date; - streamType?: string; - streamText?: string; - summary?: string; - value?: { [propertyName: string]: any }; -} - /** * @class * Initializes a new instance of the RunbookParameter class. @@ -1525,6 +1500,31 @@ export interface RunbookCreateOrUpdateDraftParameters { runbookContent: string; } +/** + * @class + * Initializes a new instance of the JobStream class. + * @constructor + * Definition of the job stream. + * + * @member {string} [id] Gets or sets the id of the resource. + * @member {string} [jobStreamId] Gets or sets the id of the job stream. + * @member {date} [time] Gets or sets the creation time of the job. + * @member {string} [streamType] Gets or sets the stream type. Possible values + * include: 'Progress', 'Output', 'Warning', 'Error', 'Debug', 'Verbose', 'Any' + * @member {string} [streamText] Gets or sets the stream text. + * @member {string} [summary] Gets or sets the summary. + * @member {object} [value] Gets or sets the values of the job stream. + */ +export interface JobStream { + id?: string; + jobStreamId?: string; + time?: Date; + streamType?: string; + streamText?: string; + summary?: string; + value?: { [propertyName: string]: any }; +} + /** * @class * Initializes a new instance of the AdvancedScheduleMonthlyOccurrence class. diff --git a/lib/services/automationManagement/lib/models/index.js b/lib/services/automationManagement/lib/models/index.js index 8563572b4d..450c7f4b5d 100644 --- a/lib/services/automationManagement/lib/models/index.js +++ b/lib/services/automationManagement/lib/models/index.js @@ -18,11 +18,9 @@ var msRestAzure = require('ms-rest-azure'); exports.BaseResource = msRestAzure.BaseResource; exports.CloudError = msRestAzure.CloudError; -exports.ErrorResponse = require('./errorResponse'); +exports.Sku = require('./sku'); exports.Resource = require('./resource'); exports.TrackedResource = require('./trackedResource'); -exports.ProxyResource = require('./proxyResource'); -exports.Sku = require('./sku'); exports.AutomationAccount = require('./automationAccount'); exports.AutomationAccountCreateOrUpdateParameters = require('./automationAccountCreateOrUpdateParameters'); exports.OperationDisplay = require('./operationDisplay'); @@ -33,6 +31,8 @@ exports.Usage = require('./usage'); exports.Key = require('./key'); exports.KeyListResult = require('./keyListResult'); exports.AutomationAccountUpdateParameters = require('./automationAccountUpdateParameters'); +exports.ProxyResource = require('./proxyResource'); +exports.ErrorResponse = require('./errorResponse'); exports.CertificateCreateOrUpdateParameters = require('./certificateCreateOrUpdateParameters'); exports.Certificate = require('./certificate'); exports.CertificateUpdateParameters = require('./certificateUpdateParameters'); @@ -72,7 +72,6 @@ exports.Module = require('./module'); exports.ModuleCreateOrUpdateParameters = require('./moduleCreateOrUpdateParameters'); exports.ModuleUpdateParameters = require('./moduleUpdateParameters'); exports.TypeField = require('./typeField'); -exports.JobStream = require('./jobStream'); exports.RunbookParameter = require('./runbookParameter'); exports.RunbookDraft = require('./runbookDraft'); exports.Runbook = require('./runbook'); @@ -83,6 +82,7 @@ exports.TestJobCreateParameters = require('./testJobCreateParameters'); exports.TestJob = require('./testJob'); exports.RunbookCreateOrUpdateDraftProperties = require('./runbookCreateOrUpdateDraftProperties'); exports.RunbookCreateOrUpdateDraftParameters = require('./runbookCreateOrUpdateDraftParameters'); +exports.JobStream = require('./jobStream'); exports.AdvancedScheduleMonthlyOccurrence = require('./advancedScheduleMonthlyOccurrence'); exports.AdvancedSchedule = require('./advancedSchedule'); exports.ScheduleCreateOrUpdateParameters = require('./scheduleCreateOrUpdateParameters'); diff --git a/lib/services/automationManagement/lib/operations/index.d.ts b/lib/services/automationManagement/lib/operations/index.d.ts index 42cb8888bd..0d8c507d7f 100644 --- a/lib/services/automationManagement/lib/operations/index.d.ts +++ b/lib/services/automationManagement/lib/operations/index.d.ts @@ -4839,7 +4839,7 @@ export interface RunbookDraftOperations { * * @param {string} runbookName The runbook name. * - * @param {string} runbookContent The runbook draft content. + * @param {string} runbookContent The runbook draft content. * * @param {object} [options] Optional Parameters. * @@ -4863,7 +4863,7 @@ export interface RunbookDraftOperations { * * @param {string} runbookName The runbook name. * - * @param {string} runbookContent The runbook draft content. + * @param {string} runbookContent The runbook draft content. * * @param {object} [options] Optional Parameters. * @@ -5096,7 +5096,7 @@ export interface RunbookDraftOperations { * * @param {string} runbookName The runbook name. * - * @param {string} runbookContent The runbook draft content. + * @param {string} runbookContent The runbook draft content. * * @param {object} [options] Optional Parameters. * @@ -5120,7 +5120,7 @@ export interface RunbookDraftOperations { * * @param {string} runbookName The runbook name. * - * @param {string} runbookContent The runbook draft content. + * @param {string} runbookContent The runbook draft content. * * @param {object} [options] Optional Parameters. * diff --git a/lib/services/automationManagement/lib/operations/runbookDraftOperations.js b/lib/services/automationManagement/lib/operations/runbookDraftOperations.js index 182c2feead..f2d61adec8 100644 --- a/lib/services/automationManagement/lib/operations/runbookDraftOperations.js +++ b/lib/services/automationManagement/lib/operations/runbookDraftOperations.js @@ -192,7 +192,7 @@ function _getContent(resourceGroupName, automationAccountName, runbookName, opti * * @param {string} runbookName The runbook name. * - * @param {string} runbookContent The runbook draft content. + * @param {string} runbookContent The runbook draft content. * * @param {object} [options] Optional Parameters. * @@ -673,7 +673,7 @@ function _undoEdit(resourceGroupName, automationAccountName, runbookName, option * * @param {string} runbookName The runbook name. * - * @param {string} runbookContent The runbook draft content. + * @param {string} runbookContent The runbook draft content. * * @param {object} [options] Optional Parameters. * @@ -1120,7 +1120,7 @@ class RunbookDraftOperations { * * @param {string} runbookName The runbook name. * - * @param {string} runbookContent The runbook draft content. + * @param {string} runbookContent The runbook draft content. * * @param {object} [options] Optional Parameters. * @@ -1156,7 +1156,7 @@ class RunbookDraftOperations { * * @param {string} runbookName The runbook name. * - * @param {string} runbookContent The runbook draft content. + * @param {string} runbookContent The runbook draft content. * * @param {object} [options] Optional Parameters. * @@ -1485,7 +1485,7 @@ class RunbookDraftOperations { * * @param {string} runbookName The runbook name. * - * @param {string} runbookContent The runbook draft content. + * @param {string} runbookContent The runbook draft content. * * @param {object} [options] Optional Parameters. * @@ -1521,7 +1521,7 @@ class RunbookDraftOperations { * * @param {string} runbookName The runbook name. * - * @param {string} runbookContent The runbook draft content. + * @param {string} runbookContent The runbook draft content. * * @param {object} [options] Optional Parameters. *