diff --git a/lib/services/automationManagement/lib/models/index.d.ts b/lib/services/automationManagement/lib/models/index.d.ts index 636ac5d545..6c78555b52 100644 --- a/lib/services/automationManagement/lib/models/index.d.ts +++ b/lib/services/automationManagement/lib/models/index.d.ts @@ -2347,20 +2347,19 @@ export interface SoftwareUpdateConfigurationMachineRunListResult { * @constructor * Definition of the source control. * - * @member {string} [repoUrl] Gets or sets the repo url of the source control. - * @member {string} [branch] Gets or sets the repo branch of the source - * control. Include branch as empty string for VsoTfvc. - * @member {string} [folderPath] Gets or sets the folder path of the source - * control. - * @member {boolean} [autoSync] Gets or sets auto async of the source control. - * Default is false. - * @member {boolean} [publishRunbook] Gets or sets the auto publish of the - * source control. Default is true. + * @member {string} [repoUrl] The repo url of the source control. + * @member {string} [branch] The repo branch of the source control. Include + * branch as empty string for VsoTfvc. + * @member {string} [folderPath] The folder path of the source control. + * @member {boolean} [autoSync] The auto sync of the source control. Default is + * false. + * @member {boolean} [publishRunbook] The auto publish of the source control. + * Default is true. * @member {string} [sourceType] The source type. Must be one of VsoGit, * VsoTfvc, GitHub. Possible values include: 'VsoGit', 'VsoTfvc', 'GitHub' - * @member {string} [description] Gets or sets the description. - * @member {date} [creationTime] Gets or sets the creation time. - * @member {date} [lastModifiedTime] Gets or sets the last modified time. + * @member {string} [description] The description. + * @member {date} [creationTime] The creation time. + * @member {date} [lastModifiedTime] The last modified time. */ export interface SourceControl extends ProxyResource { repoUrl?: string; @@ -2374,31 +2373,50 @@ export interface SourceControl extends ProxyResource { lastModifiedTime?: Date; } +/** + * @class + * Initializes a new instance of the SourceControlSecurityTokenProperties class. + * @constructor + * @member {string} [accessToken] The access token. + * @member {string} [refreshToken] The refresh token. + * @member {string} [tokenType] The token type. Must be either + * PersonalAccessToken or Oauth. Possible values include: + * 'PersonalAccessToken', 'Oauth' + */ +export interface SourceControlSecurityTokenProperties { + accessToken?: string; + refreshToken?: string; + tokenType?: string; +} + /** * @class * Initializes a new instance of the SourceControlUpdateParameters class. * @constructor * The parameters supplied to the update source control operation. * - * @member {string} [branch] Gets or sets the repo branch of the source - * control. - * @member {string} [folderPath] Gets or sets the folder path of the source - * control. Path must be relative. - * @member {boolean} [autoSync] Gets or sets auto async of the source control. - * Default is false. - * @member {boolean} [publishRunbook] Gets or sets the auto publish of the - * source control. Default is true. - * @member {string} [securityToken] Gets or sets the authorization token for - * the repo of the source control. - * @member {string} [description] Gets or sets the user description of the + * @member {string} [branch] The repo branch of the source control. + * @member {string} [folderPath] The folder path of the source control. Path + * must be relative. + * @member {boolean} [autoSync] The auto sync of the source control. Default is + * false. + * @member {boolean} [publishRunbook] The auto publish of the source control. + * Default is true. + * @member {object} [securityToken] The authorization token for the repo of the * source control. + * @member {string} [securityToken.accessToken] The access token. + * @member {string} [securityToken.refreshToken] The refresh token. + * @member {string} [securityToken.tokenType] The token type. Must be either + * PersonalAccessToken or Oauth. Possible values include: + * 'PersonalAccessToken', 'Oauth' + * @member {string} [description] The user description of the source control. */ export interface SourceControlUpdateParameters { branch?: string; folderPath?: string; autoSync?: boolean; publishRunbook?: boolean; - securityToken?: string; + securityToken?: SourceControlSecurityTokenProperties; description?: string; } @@ -2408,22 +2426,26 @@ export interface SourceControlUpdateParameters { * @constructor * The parameters supplied to the create or update source control operation. * - * @member {string} [repoUrl] Gets or sets the repo url of the source control. - * @member {string} [branch] Gets or sets the repo branch of the source - * control. Include branch as empty string for VsoTfvc. - * @member {string} [folderPath] Gets or sets the folder path of the source - * control. Path must be relative. - * @member {boolean} [autoSync] Gets or sets auto async of the source control. - * Default is false. - * @member {boolean} [publishRunbook] Gets or sets the auto publish of the - * source control. Default is true. + * @member {string} [repoUrl] The repo url of the source control. + * @member {string} [branch] The repo branch of the source control. Include + * branch as empty string for VsoTfvc. + * @member {string} [folderPath] The folder path of the source control. Path + * must be relative. + * @member {boolean} [autoSync] The auto async of the source control. Default + * is false. + * @member {boolean} [publishRunbook] The auto publish of the source control. + * Default is true. * @member {string} [sourceType] The source type. Must be one of VsoGit, * VsoTfvc, GitHub, case sensitive. Possible values include: 'VsoGit', * 'VsoTfvc', 'GitHub' - * @member {string} [securityToken] Gets or sets the authorization token for - * the repo of the source control. - * @member {string} [description] Gets or sets the user description of the + * @member {object} [securityToken] The authorization token for the repo of the * source control. + * @member {string} [securityToken.accessToken] The access token. + * @member {string} [securityToken.refreshToken] The refresh token. + * @member {string} [securityToken.tokenType] The token type. Must be either + * PersonalAccessToken or Oauth. Possible values include: + * 'PersonalAccessToken', 'Oauth' + * @member {string} [description] The user description of the source control. */ export interface SourceControlCreateOrUpdateParameters { repoUrl?: string; @@ -2432,7 +2454,7 @@ export interface SourceControlCreateOrUpdateParameters { autoSync?: boolean; publishRunbook?: boolean; sourceType?: string; - securityToken?: string; + securityToken?: SourceControlSecurityTokenProperties; description?: string; } @@ -2445,20 +2467,20 @@ export interface SourceControlCreateOrUpdateParameters { * @member {string} [name] Resource name. * @member {string} [type] Resource type. * @member {string} [id] Resource id. - * @member {string} [syncJobId] Gets the source control sync job id. - * @member {date} [creationTime] Gets the creation time of the job. - * @member {string} [provisioningState] Gets the provisioning state of the job. + * @member {string} [sourceControlSyncJobId] The source control sync job id. + * @member {date} [creationTime] The creation time of the job. + * @member {string} [provisioningState] The provisioning state of the job. * Possible values include: 'Completed', 'Failed', 'Running' - * @member {date} [startTime] Gets the start time of the job. - * @member {date} [endTime] Gets the end time of the job. - * @member {string} [startType] Gets the type of start for the sync job. - * Possible values include: 'AutoSync', 'ManualSync' + * @member {date} [startTime] The start time of the job. + * @member {date} [endTime] The end time of the job. + * @member {string} [startType] The type of start for the sync job. Possible + * values include: 'AutoSync', 'ManualSync' */ export interface SourceControlSyncJob { readonly name?: string; readonly type?: string; readonly id?: string; - syncJobId?: string; + sourceControlSyncJobId?: string; readonly creationTime?: Date; provisioningState?: string; readonly startTime?: Date; @@ -2472,11 +2494,11 @@ export interface SourceControlSyncJob { * @constructor * The parameters supplied to the create source control sync job operation. * - * @member {string} [commitId] Sets the commit id of the source control sync - * job. + * @member {string} commitId The commit id of the source control sync job. If + * not syncing to a commitId, enter an empty string. */ export interface SourceControlSyncJobCreateParameters { - commitId?: string; + commitId: string; } /** @@ -2485,21 +2507,21 @@ export interface SourceControlSyncJobCreateParameters { * @constructor * Definition of the source control sync job. * - * @member {string} [id] Gets the id of the job. - * @member {string} [syncJobId] Gets the source control sync job id. - * @member {date} [creationTime] Gets the creation time of the job. - * @member {string} [provisioningState] Gets the provisioning state of the job. + * @member {string} [id] The id of the job. + * @member {string} [sourceControlSyncJobId] The source control sync job id. + * @member {date} [creationTime] The creation time of the job. + * @member {string} [provisioningState] The provisioning state of the job. * Possible values include: 'Completed', 'Failed', 'Running' - * @member {date} [startTime] Gets the start time of the job. - * @member {date} [endTime] Gets the end time of the job. - * @member {string} [startType] Gets the type of start for the sync job. - * Possible values include: 'AutoSync', 'ManualSync' - * @member {string} [exception] Gets the exceptions that occured while running - * the sync job. + * @member {date} [startTime] The start time of the job. + * @member {date} [endTime] The end time of the job. + * @member {string} [startType] The type of start for the sync job. Possible + * values include: 'AutoSync', 'ManualSync' + * @member {string} [exception] The exceptions that occured while running the + * sync job. */ export interface SourceControlSyncJobById { id?: string; - syncJobId?: string; + sourceControlSyncJobId?: string; readonly creationTime?: Date; provisioningState?: string; readonly startTime?: Date; @@ -2515,10 +2537,10 @@ export interface SourceControlSyncJobById { * Definition of the source control sync job stream. * * @member {string} [id] Resource id. - * @member {string} [syncJobStreamId] Gets the sync job stream id. - * @member {string} [summary] Gets the summary of the sync job stream. - * @member {date} [time] Gets the time of the sync job stream. - * @member {string} [streamType] Gets the type of the sync job stream. Possible + * @member {string} [syncJobStreamId] The sync job stream id. + * @member {string} [summary] The summary of the sync job stream. + * @member {date} [time] The time of the sync job stream. + * @member {string} [streamType] The type of the sync job stream. Possible * values include: 'Error', 'Output' */ export interface SourceControlSyncJobStream { @@ -2536,13 +2558,13 @@ export interface SourceControlSyncJobStream { * Definition of the source control sync job stream by id. * * @member {string} [id] Resource id. - * @member {string} [syncJobStreamId] Gets the sync job stream id. - * @member {string} [summary] Gets the summary of the sync job stream. - * @member {date} [time] Gets the time of the sync job stream. - * @member {string} [streamType] Gets the type of the sync job stream. Possible + * @member {string} [syncJobStreamId] The sync job stream id. + * @member {string} [summary] The summary of the sync job stream. + * @member {date} [time] The time of the sync job stream. + * @member {string} [streamType] The type of the sync job stream. Possible * values include: 'Error', 'Output' - * @member {string} [streamText] Gets the text of the sync job stream. - * @member {string} [value] Gets the value of the sync job stream. + * @member {string} [streamText] The text of the sync job stream. + * @member {object} [value] The values of the job stream. */ export interface SourceControlSyncJobStreamById { readonly id?: string; @@ -2551,7 +2573,7 @@ export interface SourceControlSyncJobStreamById { readonly time?: Date; streamType?: string; streamText?: string; - value?: string; + value?: { [propertyName: string]: any }; } /** @@ -3373,7 +3395,7 @@ export interface WatcherListResult extends Array { * @constructor * The response model for the list source controls operation. * - * @member {string} [nextLink] Gets or sets the next link. + * @member {string} [nextLink] The next link. */ export interface SourceControlListResult extends Array { nextLink?: string; @@ -3385,7 +3407,7 @@ export interface SourceControlListResult extends Array { * @constructor * The response model for the list source control sync jobs operation. * - * @member {string} [nextLink] Gets or sets the next link. + * @member {string} [nextLink] The next link. */ export interface SourceControlSyncJobListResult extends Array { nextLink?: string; @@ -3397,7 +3419,7 @@ export interface SourceControlSyncJobListResult extends Array { readonly nextLink?: string; diff --git a/lib/services/automationManagement/lib/models/index.js b/lib/services/automationManagement/lib/models/index.js index 450c7f4b5d..26f86dea74 100644 --- a/lib/services/automationManagement/lib/models/index.js +++ b/lib/services/automationManagement/lib/models/index.js @@ -111,6 +111,7 @@ exports.JobNavigation = require('./jobNavigation'); exports.SoftwareUpdateConfigurationMachineRun = require('./softwareUpdateConfigurationMachineRun'); exports.SoftwareUpdateConfigurationMachineRunListResult = require('./softwareUpdateConfigurationMachineRunListResult'); exports.SourceControl = require('./sourceControl'); +exports.SourceControlSecurityTokenProperties = require('./sourceControlSecurityTokenProperties'); exports.SourceControlUpdateParameters = require('./sourceControlUpdateParameters'); exports.SourceControlCreateOrUpdateParameters = require('./sourceControlCreateOrUpdateParameters'); exports.SourceControlSyncJob = require('./sourceControlSyncJob'); diff --git a/lib/services/automationManagement/lib/models/sourceControl.js b/lib/services/automationManagement/lib/models/sourceControl.js index 65d21d0307..f769dc0034 100644 --- a/lib/services/automationManagement/lib/models/sourceControl.js +++ b/lib/services/automationManagement/lib/models/sourceControl.js @@ -20,21 +20,19 @@ const models = require('./index'); class SourceControl extends models['ProxyResource'] { /** * Create a SourceControl. - * @member {string} [repoUrl] Gets or sets the repo url of the source - * control. - * @member {string} [branch] Gets or sets the repo branch of the source - * control. Include branch as empty string for VsoTfvc. - * @member {string} [folderPath] Gets or sets the folder path of the source - * control. - * @member {boolean} [autoSync] Gets or sets auto async of the source - * control. Default is false. - * @member {boolean} [publishRunbook] Gets or sets the auto publish of the - * source control. Default is true. + * @member {string} [repoUrl] The repo url of the source control. + * @member {string} [branch] The repo branch of the source control. Include + * branch as empty string for VsoTfvc. + * @member {string} [folderPath] The folder path of the source control. + * @member {boolean} [autoSync] The auto sync of the source control. Default + * is false. + * @member {boolean} [publishRunbook] The auto publish of the source control. + * Default is true. * @member {string} [sourceType] The source type. Must be one of VsoGit, * VsoTfvc, GitHub. Possible values include: 'VsoGit', 'VsoTfvc', 'GitHub' - * @member {string} [description] Gets or sets the description. - * @member {date} [creationTime] Gets or sets the creation time. - * @member {date} [lastModifiedTime] Gets or sets the last modified time. + * @member {string} [description] The description. + * @member {date} [creationTime] The creation time. + * @member {date} [lastModifiedTime] The last modified time. */ constructor() { super(); diff --git a/lib/services/automationManagement/lib/models/sourceControlCreateOrUpdateParameters.js b/lib/services/automationManagement/lib/models/sourceControlCreateOrUpdateParameters.js index ebed49622d..a76ea4af41 100644 --- a/lib/services/automationManagement/lib/models/sourceControlCreateOrUpdateParameters.js +++ b/lib/services/automationManagement/lib/models/sourceControlCreateOrUpdateParameters.js @@ -10,6 +10,8 @@ 'use strict'; +const models = require('./index'); + /** * The parameters supplied to the create or update source control operation. * @@ -17,23 +19,26 @@ class SourceControlCreateOrUpdateParameters { /** * Create a SourceControlCreateOrUpdateParameters. - * @member {string} [repoUrl] Gets or sets the repo url of the source - * control. - * @member {string} [branch] Gets or sets the repo branch of the source - * control. Include branch as empty string for VsoTfvc. - * @member {string} [folderPath] Gets or sets the folder path of the source - * control. Path must be relative. - * @member {boolean} [autoSync] Gets or sets auto async of the source - * control. Default is false. - * @member {boolean} [publishRunbook] Gets or sets the auto publish of the - * source control. Default is true. + * @member {string} [repoUrl] The repo url of the source control. + * @member {string} [branch] The repo branch of the source control. Include + * branch as empty string for VsoTfvc. + * @member {string} [folderPath] The folder path of the source control. Path + * must be relative. + * @member {boolean} [autoSync] The auto async of the source control. Default + * is false. + * @member {boolean} [publishRunbook] The auto publish of the source control. + * Default is true. * @member {string} [sourceType] The source type. Must be one of VsoGit, * VsoTfvc, GitHub, case sensitive. Possible values include: 'VsoGit', * 'VsoTfvc', 'GitHub' - * @member {string} [securityToken] Gets or sets the authorization token for - * the repo of the source control. - * @member {string} [description] Gets or sets the user description of the - * source control. + * @member {object} [securityToken] The authorization token for the repo of + * the source control. + * @member {string} [securityToken.accessToken] The access token. + * @member {string} [securityToken.refreshToken] The refresh token. + * @member {string} [securityToken.tokenType] The token type. Must be either + * PersonalAccessToken or Oauth. Possible values include: + * 'PersonalAccessToken', 'Oauth' + * @member {string} [description] The user description of the source control. */ constructor() { } @@ -106,11 +111,9 @@ class SourceControlCreateOrUpdateParameters { securityToken: { required: false, serializedName: 'properties.securityToken', - constraints: { - MaxLength: 1024 - }, type: { - name: 'String' + name: 'Composite', + className: 'SourceControlSecurityTokenProperties' } }, description: { diff --git a/lib/services/automationManagement/lib/models/sourceControlListResult.js b/lib/services/automationManagement/lib/models/sourceControlListResult.js index 18028ab656..59a050c147 100644 --- a/lib/services/automationManagement/lib/models/sourceControlListResult.js +++ b/lib/services/automationManagement/lib/models/sourceControlListResult.js @@ -16,7 +16,7 @@ class SourceControlListResult extends Array { /** * Create a SourceControlListResult. - * @member {string} [nextLink] Gets or sets the next link. + * @member {string} [nextLink] The next link. */ constructor() { super(); diff --git a/lib/services/automationManagement/lib/models/sourceControlSecurityTokenProperties.js b/lib/services/automationManagement/lib/models/sourceControlSecurityTokenProperties.js new file mode 100644 index 0000000000..40a2ccc881 --- /dev/null +++ b/lib/services/automationManagement/lib/models/sourceControlSecurityTokenProperties.js @@ -0,0 +1,75 @@ +/* + * 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'; + +/** + * Class representing a SourceControlSecurityTokenProperties. + */ +class SourceControlSecurityTokenProperties { + /** + * Create a SourceControlSecurityTokenProperties. + * @member {string} [accessToken] The access token. + * @member {string} [refreshToken] The refresh token. + * @member {string} [tokenType] The token type. Must be either + * PersonalAccessToken or Oauth. Possible values include: + * 'PersonalAccessToken', 'Oauth' + */ + constructor() { + } + + /** + * Defines the metadata of SourceControlSecurityTokenProperties + * + * @returns {object} metadata of SourceControlSecurityTokenProperties + * + */ + mapper() { + return { + required: false, + serializedName: 'SourceControlSecurityTokenProperties', + type: { + name: 'Composite', + className: 'SourceControlSecurityTokenProperties', + modelProperties: { + accessToken: { + required: false, + serializedName: 'accessToken', + constraints: { + MaxLength: 1024 + }, + type: { + name: 'String' + } + }, + refreshToken: { + required: false, + serializedName: 'refreshToken', + constraints: { + MaxLength: 1024 + }, + type: { + name: 'String' + } + }, + tokenType: { + required: false, + serializedName: 'tokenType', + type: { + name: 'String' + } + } + } + } + }; + } +} + +module.exports = SourceControlSecurityTokenProperties; diff --git a/lib/services/automationManagement/lib/models/sourceControlSyncJob.js b/lib/services/automationManagement/lib/models/sourceControlSyncJob.js index 91ef7d3416..5338dff39e 100644 --- a/lib/services/automationManagement/lib/models/sourceControlSyncJob.js +++ b/lib/services/automationManagement/lib/models/sourceControlSyncJob.js @@ -20,14 +20,14 @@ class SourceControlSyncJob { * @member {string} [name] Resource name. * @member {string} [type] Resource type. * @member {string} [id] Resource id. - * @member {string} [syncJobId] Gets the source control sync job id. - * @member {date} [creationTime] Gets the creation time of the job. - * @member {string} [provisioningState] Gets the provisioning state of the - * job. Possible values include: 'Completed', 'Failed', 'Running' - * @member {date} [startTime] Gets the start time of the job. - * @member {date} [endTime] Gets the end time of the job. - * @member {string} [startType] Gets the type of start for the sync job. - * Possible values include: 'AutoSync', 'ManualSync' + * @member {string} [sourceControlSyncJobId] The source control sync job id. + * @member {date} [creationTime] The creation time of the job. + * @member {string} [provisioningState] The provisioning state of the job. + * Possible values include: 'Completed', 'Failed', 'Running' + * @member {date} [startTime] The start time of the job. + * @member {date} [endTime] The end time of the job. + * @member {string} [startType] The type of start for the sync job. Possible + * values include: 'AutoSync', 'ManualSync' */ constructor() { } @@ -70,9 +70,9 @@ class SourceControlSyncJob { name: 'String' } }, - syncJobId: { + sourceControlSyncJobId: { required: false, - serializedName: 'properties.syncJobId', + serializedName: 'properties.sourceControlSyncJobId', type: { name: 'String' } diff --git a/lib/services/automationManagement/lib/models/sourceControlSyncJobById.js b/lib/services/automationManagement/lib/models/sourceControlSyncJobById.js index 243b063ca4..6e72c5031f 100644 --- a/lib/services/automationManagement/lib/models/sourceControlSyncJobById.js +++ b/lib/services/automationManagement/lib/models/sourceControlSyncJobById.js @@ -17,17 +17,17 @@ class SourceControlSyncJobById { /** * Create a SourceControlSyncJobById. - * @member {string} [id] Gets the id of the job. - * @member {string} [syncJobId] Gets the source control sync job id. - * @member {date} [creationTime] Gets the creation time of the job. - * @member {string} [provisioningState] Gets the provisioning state of the - * job. Possible values include: 'Completed', 'Failed', 'Running' - * @member {date} [startTime] Gets the start time of the job. - * @member {date} [endTime] Gets the end time of the job. - * @member {string} [startType] Gets the type of start for the sync job. - * Possible values include: 'AutoSync', 'ManualSync' - * @member {string} [exception] Gets the exceptions that occured while - * running the sync job. + * @member {string} [id] The id of the job. + * @member {string} [sourceControlSyncJobId] The source control sync job id. + * @member {date} [creationTime] The creation time of the job. + * @member {string} [provisioningState] The provisioning state of the job. + * Possible values include: 'Completed', 'Failed', 'Running' + * @member {date} [startTime] The start time of the job. + * @member {date} [endTime] The end time of the job. + * @member {string} [startType] The type of start for the sync job. Possible + * values include: 'AutoSync', 'ManualSync' + * @member {string} [exception] The exceptions that occured while running the + * sync job. */ constructor() { } @@ -53,9 +53,9 @@ class SourceControlSyncJobById { name: 'String' } }, - syncJobId: { + sourceControlSyncJobId: { required: false, - serializedName: 'properties.syncJobId', + serializedName: 'properties.sourceControlSyncJobId', type: { name: 'String' } diff --git a/lib/services/automationManagement/lib/models/sourceControlSyncJobCreateParameters.js b/lib/services/automationManagement/lib/models/sourceControlSyncJobCreateParameters.js index e2ec347211..d44097307b 100644 --- a/lib/services/automationManagement/lib/models/sourceControlSyncJobCreateParameters.js +++ b/lib/services/automationManagement/lib/models/sourceControlSyncJobCreateParameters.js @@ -17,8 +17,8 @@ class SourceControlSyncJobCreateParameters { /** * Create a SourceControlSyncJobCreateParameters. - * @member {string} [commitId] Sets the commit id of the source control sync - * job. + * @member {string} commitId The commit id of the source control sync job. If + * not syncing to a commitId, enter an empty string. */ constructor() { } @@ -38,8 +38,11 @@ class SourceControlSyncJobCreateParameters { className: 'SourceControlSyncJobCreateParameters', modelProperties: { commitId: { - required: false, + required: true, serializedName: 'properties.commitId', + constraints: { + MinLength: 0 + }, type: { name: 'String' } diff --git a/lib/services/automationManagement/lib/models/sourceControlSyncJobListResult.js b/lib/services/automationManagement/lib/models/sourceControlSyncJobListResult.js index 328361f520..d074cd67f9 100644 --- a/lib/services/automationManagement/lib/models/sourceControlSyncJobListResult.js +++ b/lib/services/automationManagement/lib/models/sourceControlSyncJobListResult.js @@ -16,7 +16,7 @@ class SourceControlSyncJobListResult extends Array { /** * Create a SourceControlSyncJobListResult. - * @member {string} [nextLink] Gets or sets the next link. + * @member {string} [nextLink] The next link. */ constructor() { super(); diff --git a/lib/services/automationManagement/lib/models/sourceControlSyncJobStream.js b/lib/services/automationManagement/lib/models/sourceControlSyncJobStream.js index 2c7605db40..15f6c001b0 100644 --- a/lib/services/automationManagement/lib/models/sourceControlSyncJobStream.js +++ b/lib/services/automationManagement/lib/models/sourceControlSyncJobStream.js @@ -18,11 +18,11 @@ class SourceControlSyncJobStream { /** * Create a SourceControlSyncJobStream. * @member {string} [id] Resource id. - * @member {string} [syncJobStreamId] Gets the sync job stream id. - * @member {string} [summary] Gets the summary of the sync job stream. - * @member {date} [time] Gets the time of the sync job stream. - * @member {string} [streamType] Gets the type of the sync job stream. - * Possible values include: 'Error', 'Output' + * @member {string} [syncJobStreamId] The sync job stream id. + * @member {string} [summary] The summary of the sync job stream. + * @member {date} [time] The time of the sync job stream. + * @member {string} [streamType] The type of the sync job stream. Possible + * values include: 'Error', 'Output' */ constructor() { } diff --git a/lib/services/automationManagement/lib/models/sourceControlSyncJobStreamById.js b/lib/services/automationManagement/lib/models/sourceControlSyncJobStreamById.js index 82cd2f7782..879b66fc12 100644 --- a/lib/services/automationManagement/lib/models/sourceControlSyncJobStreamById.js +++ b/lib/services/automationManagement/lib/models/sourceControlSyncJobStreamById.js @@ -18,13 +18,13 @@ class SourceControlSyncJobStreamById { /** * Create a SourceControlSyncJobStreamById. * @member {string} [id] Resource id. - * @member {string} [syncJobStreamId] Gets the sync job stream id. - * @member {string} [summary] Gets the summary of the sync job stream. - * @member {date} [time] Gets the time of the sync job stream. - * @member {string} [streamType] Gets the type of the sync job stream. - * Possible values include: 'Error', 'Output' - * @member {string} [streamText] Gets the text of the sync job stream. - * @member {string} [value] Gets the value of the sync job stream. + * @member {string} [syncJobStreamId] The sync job stream id. + * @member {string} [summary] The summary of the sync job stream. + * @member {date} [time] The time of the sync job stream. + * @member {string} [streamType] The type of the sync job stream. Possible + * values include: 'Error', 'Output' + * @member {string} [streamText] The text of the sync job stream. + * @member {object} [value] The values of the job stream. */ constructor() { } @@ -92,7 +92,14 @@ class SourceControlSyncJobStreamById { required: false, serializedName: 'properties.value', type: { - name: 'String' + name: 'Dictionary', + value: { + required: false, + serializedName: 'ObjectElementType', + type: { + name: 'Object' + } + } } } } diff --git a/lib/services/automationManagement/lib/models/sourceControlSyncJobStreamsListBySyncJob.js b/lib/services/automationManagement/lib/models/sourceControlSyncJobStreamsListBySyncJob.js index 1bd26279c6..51190d5576 100644 --- a/lib/services/automationManagement/lib/models/sourceControlSyncJobStreamsListBySyncJob.js +++ b/lib/services/automationManagement/lib/models/sourceControlSyncJobStreamsListBySyncJob.js @@ -16,7 +16,7 @@ class SourceControlSyncJobStreamsListBySyncJob extends Array { /** * Create a SourceControlSyncJobStreamsListBySyncJob. - * @member {string} [nextLink] Gets or sets the next link. + * @member {string} [nextLink] The next link. */ constructor() { super(); diff --git a/lib/services/automationManagement/lib/models/sourceControlUpdateParameters.js b/lib/services/automationManagement/lib/models/sourceControlUpdateParameters.js index bd0062ebd6..61f3394925 100644 --- a/lib/services/automationManagement/lib/models/sourceControlUpdateParameters.js +++ b/lib/services/automationManagement/lib/models/sourceControlUpdateParameters.js @@ -10,6 +10,8 @@ 'use strict'; +const models = require('./index'); + /** * The parameters supplied to the update source control operation. * @@ -17,18 +19,21 @@ class SourceControlUpdateParameters { /** * Create a SourceControlUpdateParameters. - * @member {string} [branch] Gets or sets the repo branch of the source - * control. - * @member {string} [folderPath] Gets or sets the folder path of the source - * control. Path must be relative. - * @member {boolean} [autoSync] Gets or sets auto async of the source - * control. Default is false. - * @member {boolean} [publishRunbook] Gets or sets the auto publish of the - * source control. Default is true. - * @member {string} [securityToken] Gets or sets the authorization token for - * the repo of the source control. - * @member {string} [description] Gets or sets the user description of the - * source control. + * @member {string} [branch] The repo branch of the source control. + * @member {string} [folderPath] The folder path of the source control. Path + * must be relative. + * @member {boolean} [autoSync] The auto sync of the source control. Default + * is false. + * @member {boolean} [publishRunbook] The auto publish of the source control. + * Default is true. + * @member {object} [securityToken] The authorization token for the repo of + * the source control. + * @member {string} [securityToken.accessToken] The access token. + * @member {string} [securityToken.refreshToken] The refresh token. + * @member {string} [securityToken.tokenType] The token type. Must be either + * PersonalAccessToken or Oauth. Possible values include: + * 'PersonalAccessToken', 'Oauth' + * @member {string} [description] The user description of the source control. */ constructor() { } @@ -79,7 +84,8 @@ class SourceControlUpdateParameters { required: false, serializedName: 'properties.securityToken', type: { - name: 'String' + name: 'Composite', + className: 'SourceControlSecurityTokenProperties' } }, description: { diff --git a/lib/services/automationManagement/lib/operations/index.d.ts b/lib/services/automationManagement/lib/operations/index.d.ts index bce9979388..4e8e0a8e93 100644 --- a/lib/services/automationManagement/lib/operations/index.d.ts +++ b/lib/services/automationManagement/lib/operations/index.d.ts @@ -9218,30 +9218,37 @@ export interface SourceControlOperations { * @param {object} parameters The parameters supplied to the create or update * source control operation. * - * @param {string} [parameters.repoUrl] Gets or sets the repo url of the source - * control. + * @param {string} [parameters.repoUrl] The repo url of the source control. * - * @param {string} [parameters.branch] Gets or sets the repo branch of the - * source control. Include branch as empty string for VsoTfvc. + * @param {string} [parameters.branch] The repo branch of the source control. + * Include branch as empty string for VsoTfvc. * - * @param {string} [parameters.folderPath] Gets or sets the folder path of the - * source control. Path must be relative. + * @param {string} [parameters.folderPath] The folder path of the source + * control. Path must be relative. * - * @param {boolean} [parameters.autoSync] Gets or sets auto async of the source - * control. Default is false. + * @param {boolean} [parameters.autoSync] The auto async of the source control. + * Default is false. * - * @param {boolean} [parameters.publishRunbook] Gets or sets the auto publish - * of the source control. Default is true. + * @param {boolean} [parameters.publishRunbook] The auto publish of the source + * control. Default is true. * * @param {string} [parameters.sourceType] The source type. Must be one of * VsoGit, VsoTfvc, GitHub, case sensitive. Possible values include: 'VsoGit', * 'VsoTfvc', 'GitHub' * - * @param {string} [parameters.securityToken] Gets or sets the authorization - * token for the repo of the source control. + * @param {object} [parameters.securityToken] The authorization token for the + * repo of the source control. + * + * @param {string} [parameters.securityToken.accessToken] The access token. + * + * @param {string} [parameters.securityToken.refreshToken] The refresh token. * - * @param {string} [parameters.description] Gets or sets the user description - * of the source control. + * @param {string} [parameters.securityToken.tokenType] The token type. Must be + * either PersonalAccessToken or Oauth. Possible values include: + * 'PersonalAccessToken', 'Oauth' + * + * @param {string} [parameters.description] The user description of the source + * control. * * @param {object} [options] Optional Parameters. * @@ -9268,30 +9275,37 @@ export interface SourceControlOperations { * @param {object} parameters The parameters supplied to the create or update * source control operation. * - * @param {string} [parameters.repoUrl] Gets or sets the repo url of the source - * control. + * @param {string} [parameters.repoUrl] The repo url of the source control. * - * @param {string} [parameters.branch] Gets or sets the repo branch of the - * source control. Include branch as empty string for VsoTfvc. + * @param {string} [parameters.branch] The repo branch of the source control. + * Include branch as empty string for VsoTfvc. * - * @param {string} [parameters.folderPath] Gets or sets the folder path of the - * source control. Path must be relative. + * @param {string} [parameters.folderPath] The folder path of the source + * control. Path must be relative. * - * @param {boolean} [parameters.autoSync] Gets or sets auto async of the source - * control. Default is false. + * @param {boolean} [parameters.autoSync] The auto async of the source control. + * Default is false. * - * @param {boolean} [parameters.publishRunbook] Gets or sets the auto publish - * of the source control. Default is true. + * @param {boolean} [parameters.publishRunbook] The auto publish of the source + * control. Default is true. * * @param {string} [parameters.sourceType] The source type. Must be one of * VsoGit, VsoTfvc, GitHub, case sensitive. Possible values include: 'VsoGit', * 'VsoTfvc', 'GitHub' * - * @param {string} [parameters.securityToken] Gets or sets the authorization - * token for the repo of the source control. + * @param {object} [parameters.securityToken] The authorization token for the + * repo of the source control. + * + * @param {string} [parameters.securityToken.accessToken] The access token. + * + * @param {string} [parameters.securityToken.refreshToken] The refresh token. + * + * @param {string} [parameters.securityToken.tokenType] The token type. Must be + * either PersonalAccessToken or Oauth. Possible values include: + * 'PersonalAccessToken', 'Oauth' * - * @param {string} [parameters.description] Gets or sets the user description - * of the source control. + * @param {string} [parameters.description] The user description of the source + * control. * * @param {object} [options] Optional Parameters. * @@ -9337,23 +9351,30 @@ export interface SourceControlOperations { * @param {object} parameters The parameters supplied to the update source * control operation. * - * @param {string} [parameters.branch] Gets or sets the repo branch of the - * source control. + * @param {string} [parameters.branch] The repo branch of the source control. + * + * @param {string} [parameters.folderPath] The folder path of the source + * control. Path must be relative. + * + * @param {boolean} [parameters.autoSync] The auto sync of the source control. + * Default is false. * - * @param {string} [parameters.folderPath] Gets or sets the folder path of the - * source control. Path must be relative. + * @param {boolean} [parameters.publishRunbook] The auto publish of the source + * control. Default is true. * - * @param {boolean} [parameters.autoSync] Gets or sets auto async of the source - * control. Default is false. + * @param {object} [parameters.securityToken] The authorization token for the + * repo of the source control. * - * @param {boolean} [parameters.publishRunbook] Gets or sets the auto publish - * of the source control. Default is true. + * @param {string} [parameters.securityToken.accessToken] The access token. * - * @param {string} [parameters.securityToken] Gets or sets the authorization - * token for the repo of the source control. + * @param {string} [parameters.securityToken.refreshToken] The refresh token. * - * @param {string} [parameters.description] Gets or sets the user description - * of the source control. + * @param {string} [parameters.securityToken.tokenType] The token type. Must be + * either PersonalAccessToken or Oauth. Possible values include: + * 'PersonalAccessToken', 'Oauth' + * + * @param {string} [parameters.description] The user description of the source + * control. * * @param {object} [options] Optional Parameters. * @@ -9380,23 +9401,30 @@ export interface SourceControlOperations { * @param {object} parameters The parameters supplied to the update source * control operation. * - * @param {string} [parameters.branch] Gets or sets the repo branch of the - * source control. + * @param {string} [parameters.branch] The repo branch of the source control. * - * @param {string} [parameters.folderPath] Gets or sets the folder path of the - * source control. Path must be relative. + * @param {string} [parameters.folderPath] The folder path of the source + * control. Path must be relative. * - * @param {boolean} [parameters.autoSync] Gets or sets auto async of the source - * control. Default is false. + * @param {boolean} [parameters.autoSync] The auto sync of the source control. + * Default is false. * - * @param {boolean} [parameters.publishRunbook] Gets or sets the auto publish - * of the source control. Default is true. + * @param {boolean} [parameters.publishRunbook] The auto publish of the source + * control. Default is true. * - * @param {string} [parameters.securityToken] Gets or sets the authorization - * token for the repo of the source control. + * @param {object} [parameters.securityToken] The authorization token for the + * repo of the source control. * - * @param {string} [parameters.description] Gets or sets the user description - * of the source control. + * @param {string} [parameters.securityToken.accessToken] The access token. + * + * @param {string} [parameters.securityToken.refreshToken] The refresh token. + * + * @param {string} [parameters.securityToken.tokenType] The token type. Must be + * either PersonalAccessToken or Oauth. Possible values include: + * 'PersonalAccessToken', 'Oauth' + * + * @param {string} [parameters.description] The user description of the source + * control. * * @param {object} [options] Optional Parameters. * @@ -9700,8 +9728,8 @@ export interface SourceControlSyncJobOperations { * @param {object} parameters The parameters supplied to the create source * control sync job operation. * - * @param {string} [parameters.commitId] Sets the commit id of the source - * control sync job. + * @param {string} parameters.commitId The commit id of the source control sync + * job. If not syncing to a commitId, enter an empty string. * * @param {object} [options] Optional Parameters. * @@ -9730,8 +9758,8 @@ export interface SourceControlSyncJobOperations { * @param {object} parameters The parameters supplied to the create source * control sync job operation. * - * @param {string} [parameters.commitId] Sets the commit id of the source - * control sync job. + * @param {string} parameters.commitId The commit id of the source control sync + * job. If not syncing to a commitId, enter an empty string. * * @param {object} [options] Optional Parameters. * diff --git a/lib/services/automationManagement/lib/operations/sourceControlOperations.js b/lib/services/automationManagement/lib/operations/sourceControlOperations.js index 8e34846c2e..e61701cdea 100644 --- a/lib/services/automationManagement/lib/operations/sourceControlOperations.js +++ b/lib/services/automationManagement/lib/operations/sourceControlOperations.js @@ -26,30 +26,37 @@ const WebResource = msRest.WebResource; * @param {object} parameters The parameters supplied to the create or update * source control operation. * - * @param {string} [parameters.repoUrl] Gets or sets the repo url of the source - * control. + * @param {string} [parameters.repoUrl] The repo url of the source control. * - * @param {string} [parameters.branch] Gets or sets the repo branch of the - * source control. Include branch as empty string for VsoTfvc. + * @param {string} [parameters.branch] The repo branch of the source control. + * Include branch as empty string for VsoTfvc. * - * @param {string} [parameters.folderPath] Gets or sets the folder path of the - * source control. Path must be relative. + * @param {string} [parameters.folderPath] The folder path of the source + * control. Path must be relative. * - * @param {boolean} [parameters.autoSync] Gets or sets auto async of the source - * control. Default is false. + * @param {boolean} [parameters.autoSync] The auto async of the source control. + * Default is false. * - * @param {boolean} [parameters.publishRunbook] Gets or sets the auto publish - * of the source control. Default is true. + * @param {boolean} [parameters.publishRunbook] The auto publish of the source + * control. Default is true. * * @param {string} [parameters.sourceType] The source type. Must be one of * VsoGit, VsoTfvc, GitHub, case sensitive. Possible values include: 'VsoGit', * 'VsoTfvc', 'GitHub' * - * @param {string} [parameters.securityToken] Gets or sets the authorization - * token for the repo of the source control. + * @param {object} [parameters.securityToken] The authorization token for the + * repo of the source control. + * + * @param {string} [parameters.securityToken.accessToken] The access token. * - * @param {string} [parameters.description] Gets or sets the user description - * of the source control. + * @param {string} [parameters.securityToken.refreshToken] The refresh token. + * + * @param {string} [parameters.securityToken.tokenType] The token type. Must be + * either PersonalAccessToken or Oauth. Possible values include: + * 'PersonalAccessToken', 'Oauth' + * + * @param {string} [parameters.description] The user description of the source + * control. * * @param {object} [options] Optional Parameters. * @@ -252,23 +259,30 @@ function _createOrUpdate(resourceGroupName, automationAccountName, sourceControl * @param {object} parameters The parameters supplied to the update source * control operation. * - * @param {string} [parameters.branch] Gets or sets the repo branch of the - * source control. + * @param {string} [parameters.branch] The repo branch of the source control. + * + * @param {string} [parameters.folderPath] The folder path of the source + * control. Path must be relative. + * + * @param {boolean} [parameters.autoSync] The auto sync of the source control. + * Default is false. * - * @param {string} [parameters.folderPath] Gets or sets the folder path of the - * source control. Path must be relative. + * @param {boolean} [parameters.publishRunbook] The auto publish of the source + * control. Default is true. * - * @param {boolean} [parameters.autoSync] Gets or sets auto async of the source - * control. Default is false. + * @param {object} [parameters.securityToken] The authorization token for the + * repo of the source control. * - * @param {boolean} [parameters.publishRunbook] Gets or sets the auto publish - * of the source control. Default is true. + * @param {string} [parameters.securityToken.accessToken] The access token. * - * @param {string} [parameters.securityToken] Gets or sets the authorization - * token for the repo of the source control. + * @param {string} [parameters.securityToken.refreshToken] The refresh token. * - * @param {string} [parameters.description] Gets or sets the user description - * of the source control. + * @param {string} [parameters.securityToken.tokenType] The token type. Must be + * either PersonalAccessToken or Oauth. Possible values include: + * 'PersonalAccessToken', 'Oauth' + * + * @param {string} [parameters.description] The user description of the source + * control. * * @param {object} [options] Optional Parameters. * @@ -1077,30 +1091,37 @@ class SourceControlOperations { * @param {object} parameters The parameters supplied to the create or update * source control operation. * - * @param {string} [parameters.repoUrl] Gets or sets the repo url of the source - * control. + * @param {string} [parameters.repoUrl] The repo url of the source control. * - * @param {string} [parameters.branch] Gets or sets the repo branch of the - * source control. Include branch as empty string for VsoTfvc. + * @param {string} [parameters.branch] The repo branch of the source control. + * Include branch as empty string for VsoTfvc. * - * @param {string} [parameters.folderPath] Gets or sets the folder path of the - * source control. Path must be relative. + * @param {string} [parameters.folderPath] The folder path of the source + * control. Path must be relative. * - * @param {boolean} [parameters.autoSync] Gets or sets auto async of the source - * control. Default is false. + * @param {boolean} [parameters.autoSync] The auto async of the source control. + * Default is false. * - * @param {boolean} [parameters.publishRunbook] Gets or sets the auto publish - * of the source control. Default is true. + * @param {boolean} [parameters.publishRunbook] The auto publish of the source + * control. Default is true. * * @param {string} [parameters.sourceType] The source type. Must be one of * VsoGit, VsoTfvc, GitHub, case sensitive. Possible values include: 'VsoGit', * 'VsoTfvc', 'GitHub' * - * @param {string} [parameters.securityToken] Gets or sets the authorization - * token for the repo of the source control. + * @param {object} [parameters.securityToken] The authorization token for the + * repo of the source control. + * + * @param {string} [parameters.securityToken.accessToken] The access token. * - * @param {string} [parameters.description] Gets or sets the user description - * of the source control. + * @param {string} [parameters.securityToken.refreshToken] The refresh token. + * + * @param {string} [parameters.securityToken.tokenType] The token type. Must be + * either PersonalAccessToken or Oauth. Possible values include: + * 'PersonalAccessToken', 'Oauth' + * + * @param {string} [parameters.description] The user description of the source + * control. * * @param {object} [options] Optional Parameters. * @@ -1139,30 +1160,37 @@ class SourceControlOperations { * @param {object} parameters The parameters supplied to the create or update * source control operation. * - * @param {string} [parameters.repoUrl] Gets or sets the repo url of the source - * control. + * @param {string} [parameters.repoUrl] The repo url of the source control. * - * @param {string} [parameters.branch] Gets or sets the repo branch of the - * source control. Include branch as empty string for VsoTfvc. + * @param {string} [parameters.branch] The repo branch of the source control. + * Include branch as empty string for VsoTfvc. * - * @param {string} [parameters.folderPath] Gets or sets the folder path of the - * source control. Path must be relative. + * @param {string} [parameters.folderPath] The folder path of the source + * control. Path must be relative. * - * @param {boolean} [parameters.autoSync] Gets or sets auto async of the source - * control. Default is false. + * @param {boolean} [parameters.autoSync] The auto async of the source control. + * Default is false. * - * @param {boolean} [parameters.publishRunbook] Gets or sets the auto publish - * of the source control. Default is true. + * @param {boolean} [parameters.publishRunbook] The auto publish of the source + * control. Default is true. * * @param {string} [parameters.sourceType] The source type. Must be one of * VsoGit, VsoTfvc, GitHub, case sensitive. Possible values include: 'VsoGit', * 'VsoTfvc', 'GitHub' * - * @param {string} [parameters.securityToken] Gets or sets the authorization - * token for the repo of the source control. + * @param {object} [parameters.securityToken] The authorization token for the + * repo of the source control. + * + * @param {string} [parameters.securityToken.accessToken] The access token. * - * @param {string} [parameters.description] Gets or sets the user description - * of the source control. + * @param {string} [parameters.securityToken.refreshToken] The refresh token. + * + * @param {string} [parameters.securityToken.tokenType] The token type. Must be + * either PersonalAccessToken or Oauth. Possible values include: + * 'PersonalAccessToken', 'Oauth' + * + * @param {string} [parameters.description] The user description of the source + * control. * * @param {object} [options] Optional Parameters. * @@ -1223,23 +1251,30 @@ class SourceControlOperations { * @param {object} parameters The parameters supplied to the update source * control operation. * - * @param {string} [parameters.branch] Gets or sets the repo branch of the - * source control. + * @param {string} [parameters.branch] The repo branch of the source control. + * + * @param {string} [parameters.folderPath] The folder path of the source + * control. Path must be relative. + * + * @param {boolean} [parameters.autoSync] The auto sync of the source control. + * Default is false. * - * @param {string} [parameters.folderPath] Gets or sets the folder path of the - * source control. Path must be relative. + * @param {boolean} [parameters.publishRunbook] The auto publish of the source + * control. Default is true. * - * @param {boolean} [parameters.autoSync] Gets or sets auto async of the source - * control. Default is false. + * @param {object} [parameters.securityToken] The authorization token for the + * repo of the source control. * - * @param {boolean} [parameters.publishRunbook] Gets or sets the auto publish - * of the source control. Default is true. + * @param {string} [parameters.securityToken.accessToken] The access token. * - * @param {string} [parameters.securityToken] Gets or sets the authorization - * token for the repo of the source control. + * @param {string} [parameters.securityToken.refreshToken] The refresh token. * - * @param {string} [parameters.description] Gets or sets the user description - * of the source control. + * @param {string} [parameters.securityToken.tokenType] The token type. Must be + * either PersonalAccessToken or Oauth. Possible values include: + * 'PersonalAccessToken', 'Oauth' + * + * @param {string} [parameters.description] The user description of the source + * control. * * @param {object} [options] Optional Parameters. * @@ -1278,23 +1313,30 @@ class SourceControlOperations { * @param {object} parameters The parameters supplied to the update source * control operation. * - * @param {string} [parameters.branch] Gets or sets the repo branch of the - * source control. + * @param {string} [parameters.branch] The repo branch of the source control. + * + * @param {string} [parameters.folderPath] The folder path of the source + * control. Path must be relative. * - * @param {string} [parameters.folderPath] Gets or sets the folder path of the - * source control. Path must be relative. + * @param {boolean} [parameters.autoSync] The auto sync of the source control. + * Default is false. * - * @param {boolean} [parameters.autoSync] Gets or sets auto async of the source - * control. Default is false. + * @param {boolean} [parameters.publishRunbook] The auto publish of the source + * control. Default is true. * - * @param {boolean} [parameters.publishRunbook] Gets or sets the auto publish - * of the source control. Default is true. + * @param {object} [parameters.securityToken] The authorization token for the + * repo of the source control. * - * @param {string} [parameters.securityToken] Gets or sets the authorization - * token for the repo of the source control. + * @param {string} [parameters.securityToken.accessToken] The access token. * - * @param {string} [parameters.description] Gets or sets the user description - * of the source control. + * @param {string} [parameters.securityToken.refreshToken] The refresh token. + * + * @param {string} [parameters.securityToken.tokenType] The token type. Must be + * either PersonalAccessToken or Oauth. Possible values include: + * 'PersonalAccessToken', 'Oauth' + * + * @param {string} [parameters.description] The user description of the source + * control. * * @param {object} [options] Optional Parameters. * diff --git a/lib/services/automationManagement/lib/operations/sourceControlSyncJobOperations.js b/lib/services/automationManagement/lib/operations/sourceControlSyncJobOperations.js index 991d33318c..a1d153c72a 100644 --- a/lib/services/automationManagement/lib/operations/sourceControlSyncJobOperations.js +++ b/lib/services/automationManagement/lib/operations/sourceControlSyncJobOperations.js @@ -28,8 +28,8 @@ const WebResource = msRest.WebResource; * @param {object} parameters The parameters supplied to the create source * control sync job operation. * - * @param {string} [parameters.commitId] Sets the commit id of the source - * control sync job. + * @param {string} parameters.commitId The commit id of the source control sync + * job. If not syncing to a commitId, enter an empty string. * * @param {object} [options] Optional Parameters. * @@ -709,8 +709,8 @@ class SourceControlSyncJobOperations { * @param {object} parameters The parameters supplied to the create source * control sync job operation. * - * @param {string} [parameters.commitId] Sets the commit id of the source - * control sync job. + * @param {string} parameters.commitId The commit id of the source control sync + * job. If not syncing to a commitId, enter an empty string. * * @param {object} [options] Optional Parameters. * @@ -751,8 +751,8 @@ class SourceControlSyncJobOperations { * @param {object} parameters The parameters supplied to the create source * control sync job operation. * - * @param {string} [parameters.commitId] Sets the commit id of the source - * control sync job. + * @param {string} parameters.commitId The commit id of the source control sync + * job. If not syncing to a commitId, enter an empty string. * * @param {object} [options] Optional Parameters. * diff --git a/lib/services/automationManagement/package.json b/lib/services/automationManagement/package.json index 7c501d1658..0066807941 100644 --- a/lib/services/automationManagement/package.json +++ b/lib/services/automationManagement/package.json @@ -14,7 +14,7 @@ "license": "MIT", "main": "./lib/automationClient.js", "types": "./lib/automationClient.d.ts", - "homepage": "https://github.com/azure/azure-sdk-for-node/lib/services/automationManagement", + "homepage": "https://github.com/azure/azure-sdk-for-node", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-node.git"