Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Generated from 2afd6dfd8ad7749ca0b7ca83b9e2a16d59ce169b
Addressing PR comments.
  • Loading branch information
AutorestCI committed Aug 5, 2018
commit a96ccfaaed63ff04413fed4507f7a691f485a706
Original file line number Diff line number Diff line change
Expand Up @@ -24,27 +24,26 @@ class SourceControl(ProxyResource):
:vartype name: str
:ivar type: The type of the resource.
:vartype type: str
:param repo_url: Gets or sets the repo url of the source control.
:param repo_url: The repo url of the source control.
:type repo_url: str
:param branch: Gets or sets the repo branch of the source control. Include
branch as empty string for VsoTfvc.
:param branch: The repo branch of the source control. Include branch as
empty string for VsoTfvc.
:type branch: str
:param folder_path: Gets or sets the folder path of the source control.
:param folder_path: The folder path of the source control.
:type folder_path: str
:param auto_sync: Gets or sets auto async of the source control. Default
is false.
:param auto_sync: The auto sync of the source control. Default is false.
:type auto_sync: bool
:param publish_runbook: Gets or sets the auto publish of the source
control. Default is true.
:param publish_runbook: The auto publish of the source control. Default is
true.
:type publish_runbook: bool
:param source_type: The source type. Must be one of VsoGit, VsoTfvc,
GitHub. Possible values include: 'VsoGit', 'VsoTfvc', 'GitHub'
:type source_type: str or ~azure.mgmt.automation.models.SourceType
:param description: Gets or sets the description.
:param description: The description.
:type description: str
:param creation_time: Gets or sets the creation time.
:param creation_time: The creation time.
:type creation_time: datetime
:param last_modified_time: Gets or sets the last modified time.
:param last_modified_time: The last modified time.
:type last_modified_time: datetime
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,28 @@
class SourceControlCreateOrUpdateParameters(Model):
"""The parameters supplied to the create or update source control operation.

:param repo_url: Gets or sets the repo url of the source control.
:param repo_url: The repo url of the source control.
:type repo_url: str
:param branch: Gets or sets the repo branch of the source control. Include
branch as empty string for VsoTfvc.
:param branch: The repo branch of the source control. Include branch as
empty string for VsoTfvc.
:type branch: str
:param folder_path: Gets or sets the folder path of the source control.
Path must be relative.
:param folder_path: The folder path of the source control. Path must be
relative.
:type folder_path: str
:param auto_sync: Gets or sets auto async of the source control. Default
is false.
:param auto_sync: The auto async of the source control. Default is false.
:type auto_sync: bool
:param publish_runbook: Gets or sets the auto publish of the source
control. Default is true.
:param publish_runbook: The auto publish of the source control. Default is
true.
:type publish_runbook: bool
:param source_type: The source type. Must be one of VsoGit, VsoTfvc,
GitHub, case sensitive. Possible values include: 'VsoGit', 'VsoTfvc',
'GitHub'
:type source_type: str or ~azure.mgmt.automation.models.SourceType
:param security_token: Gets or sets the authorization token for the repo
of the source control.
:param security_token: The authorization token for the repo of the source
control.
:type security_token:
~azure.mgmt.automation.models.SourceControlSecurityTokenProperties
:param description: Gets or sets the user description of the source
control.
:param description: The user description of the source control.
:type description: str
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
class SourceControlSecurityTokenProperties(Model):
"""SourceControlSecurityTokenProperties.

:param access_token: Gets or sets the access token.
:param access_token: The access token.
:type access_token: str
:param refresh_token: Gets or sets the refresh token.
:param refresh_token: The refresh token.
:type refresh_token: str
:param token_type: The token type. Must be either PersonalAccessToken or
Oauth. Possible values include: 'PersonalAccessToken', 'Oauth'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,20 @@ class SourceControlSyncJob(Model):
:vartype type: str
:ivar id: Resource id.
:vartype id: str
:param source_control_sync_job_id: Gets the source control sync job id.
:param source_control_sync_job_id: The source control sync job id.
:type source_control_sync_job_id: str
:ivar creation_time: Gets the creation time of the job.
:ivar creation_time: The creation time of the job.
:vartype creation_time: datetime
:param provisioning_state: Gets the provisioning state of the job.
Possible values include: 'Completed', 'Failed', 'Running'
:param provisioning_state: The provisioning state of the job. Possible
values include: 'Completed', 'Failed', 'Running'
:type provisioning_state: str or
~azure.mgmt.automation.models.ProvisioningState
:ivar start_time: Gets the start time of the job.
:ivar start_time: The start time of the job.
:vartype start_time: datetime
:ivar end_time: Gets the end time of the job.
:ivar end_time: The end time of the job.
:vartype end_time: datetime
:param start_type: Gets the type of start for the sync job. Possible
values include: 'AutoSync', 'ManualSync'
:param start_type: The type of start for the sync job. Possible values
include: 'AutoSync', 'ManualSync'
:type start_type: str or ~azure.mgmt.automation.models.StartType
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,24 @@ class SourceControlSyncJobById(Model):
Variables are only populated by the server, and will be ignored when
sending a request.

:param id: Gets the id of the job.
:param id: The id of the job.
:type id: str
:param source_control_sync_job_id: Gets the source control sync job id.
:param source_control_sync_job_id: The source control sync job id.
:type source_control_sync_job_id: str
:ivar creation_time: Gets the creation time of the job.
:ivar creation_time: The creation time of the job.
:vartype creation_time: datetime
:param provisioning_state: Gets the provisioning state of the job.
Possible values include: 'Completed', 'Failed', 'Running'
:param provisioning_state: The provisioning state of the job. Possible
values include: 'Completed', 'Failed', 'Running'
:type provisioning_state: str or
~azure.mgmt.automation.models.ProvisioningState
:ivar start_time: Gets the start time of the job.
:ivar start_time: The start time of the job.
:vartype start_time: datetime
:ivar end_time: Gets the end time of the job.
:ivar end_time: The end time of the job.
:vartype end_time: datetime
:param start_type: Gets the type of start for the sync job. Possible
values include: 'AutoSync', 'ManualSync'
:param start_type: The type of start for the sync job. Possible values
include: 'AutoSync', 'ManualSync'
:type start_type: str or ~azure.mgmt.automation.models.StartType
:param exception: Gets the exceptions that occured while running the sync
job.
:param exception: The exceptions that occured while running the sync job.
:type exception: str
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
class SourceControlSyncJobCreateParameters(Model):
"""The parameters supplied to the create source control sync job operation.

:param commit_id: Sets the commit id of the source control sync job. If
not syncing to a commitId, enter an empty string.
:param commit_id: The commit id of the source control sync job. If not
syncing to a commitId, enter an empty string.
:type commit_id: str
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ class SourceControlSyncJobStream(Model):

:ivar id: Resource id.
:vartype id: str
:param sync_job_stream_id: Gets the sync job stream id.
:param sync_job_stream_id: The sync job stream id.
:type sync_job_stream_id: str
:param summary: Gets the summary of the sync job stream.
:param summary: The summary of the sync job stream.
:type summary: str
:ivar time: Gets the time of the sync job stream.
:ivar time: The time of the sync job stream.
:vartype time: datetime
:param stream_type: Gets the type of the sync job stream. Possible values
:param stream_type: The type of the sync job stream. Possible values
include: 'Error', 'Output'
:type stream_type: str or ~azure.mgmt.automation.models.StreamType
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@ class SourceControlSyncJobStreamById(Model):

:ivar id: Resource id.
:vartype id: str
:param sync_job_stream_id: Gets the sync job stream id.
:param sync_job_stream_id: The sync job stream id.
:type sync_job_stream_id: str
:param summary: Gets the summary of the sync job stream.
:param summary: The summary of the sync job stream.
:type summary: str
:ivar time: Gets the time of the sync job stream.
:ivar time: The time of the sync job stream.
:vartype time: datetime
:param stream_type: Gets the type of the sync job stream. Possible values
:param stream_type: The type of the sync job stream. Possible values
include: 'Error', 'Output'
:type stream_type: str or ~azure.mgmt.automation.models.StreamType
:param stream_text: Gets the text of the sync job stream.
:param stream_text: The text of the sync job stream.
:type stream_text: str
:param value: Gets or sets the values of the job stream.
:param value: The values of the job stream.
:type value: dict[str, object]
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,21 @@
class SourceControlUpdateParameters(Model):
"""The parameters supplied to the update source control operation.

:param branch: Gets or sets the repo branch of the source control.
:param branch: The repo branch of the source control.
:type branch: str
:param folder_path: Gets or sets the folder path of the source control.
Path must be relative.
:param folder_path: The folder path of the source control. Path must be
relative.
:type folder_path: str
:param auto_sync: Gets or sets auto async of the source control. Default
is false.
:param auto_sync: The auto sync of the source control. Default is false.
:type auto_sync: bool
:param publish_runbook: Gets or sets the auto publish of the source
control. Default is true.
:param publish_runbook: The auto publish of the source control. Default is
true.
:type publish_runbook: bool
:param security_token: Gets or sets the authorization token for the repo
of the source control.
:param security_token: The authorization token for the repo of the source
control.
:type security_token:
~azure.mgmt.automation.models.SourceControlSecurityTokenProperties
:param description: Gets or sets the user description of the source
control.
:param description: The user description of the source control.
:type description: str
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ def create(
:type source_control_name: str
:param source_control_sync_job_id: The source control sync job id.
:type source_control_sync_job_id: str
:param commit_id: Sets the commit id of the source control sync job.
If not syncing to a commitId, enter an empty string.
:param commit_id: The commit id of the source control sync job. If not
syncing to a commitId, enter an empty string.
:type commit_id: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
Expand Down