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

Commit

Permalink
Generated from ad46e205e322a7981412bb3b79ce29bcb757e175 (#3163)
Browse files Browse the repository at this point in the history
Add x-ms-parameter-location property
  • Loading branch information
AutorestCI authored Jul 11, 2018
1 parent 26b6458 commit 1ad93c9
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 74 deletions.
120 changes: 60 additions & 60 deletions lib/services/automationManagement/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
8 changes: 4 additions & 4 deletions lib/services/automationManagement/lib/models/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -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');
Expand Down Expand Up @@ -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');
Expand All @@ -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');
Expand Down
8 changes: 4 additions & 4 deletions lib/services/automationManagement/lib/operations/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand All @@ -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.
*
Expand Down Expand Up @@ -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.
*
Expand All @@ -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.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down Expand Up @@ -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.
*
Expand Down Expand Up @@ -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.
*
Expand Down Expand Up @@ -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.
*
Expand Down Expand Up @@ -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.
*
Expand Down Expand Up @@ -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.
*
Expand Down

0 comments on commit 1ad93c9

Please sign in to comment.