Interface SourceControl
public interface SourceControl
An immutable client-side representation of SourceControl.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the SourceControl definition.static interface
The SourceControl definition stages.static interface
The template for SourceControl update.static interface
The SourceControl update stages. -
Method Summary
Modifier and TypeMethodDescriptionautoSync()
Gets the autoSync property: The auto sync of the source control.branch()
Gets the branch property: The repo branch of the source control.Gets the creationTime property: The creation time.Gets the description property: The description.Gets the folderPath property: The folder path of the source control.id()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.automation.fluent.models.SourceControlInner object.Gets the lastModifiedTime property: The last modified time.name()
Gets the name property: The name of the resource.Gets the publishRunbook property: The auto publish of the source control.refresh()
Refreshes the resource to sync with Azure.refresh
(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.repoUrl()
Gets the repoUrl property: The repo url of the source control.Gets the name of the resource group.Gets the sourceType property: The source type.type()
Gets the type property: The type of the resource.update()
Begins update for the SourceControl resource.
-
Method Details
-
id
String id()Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()Gets the type property: The type of the resource.- Returns:
- the type value.
-
repoUrl
String repoUrl()Gets the repoUrl property: The repo url of the source control.- Returns:
- the repoUrl value.
-
branch
String branch()Gets the branch property: The repo branch of the source control. Include branch as empty string for VsoTfvc.- Returns:
- the branch value.
-
folderPath
String folderPath()Gets the folderPath property: The folder path of the source control.- Returns:
- the folderPath value.
-
autoSync
Boolean autoSync()Gets the autoSync property: The auto sync of the source control. Default is false.- Returns:
- the autoSync value.
-
publishRunbook
Boolean publishRunbook()Gets the publishRunbook property: The auto publish of the source control. Default is true.- Returns:
- the publishRunbook value.
-
sourceType
SourceType sourceType()Gets the sourceType property: The source type. Must be one of VsoGit, VsoTfvc, GitHub.- Returns:
- the sourceType value.
-
description
String description()Gets the description property: The description.- Returns:
- the description value.
-
creationTime
OffsetDateTime creationTime()Gets the creationTime property: The creation time.- Returns:
- the creationTime value.
-
lastModifiedTime
OffsetDateTime lastModifiedTime()Gets the lastModifiedTime property: The last modified time.- Returns:
- the lastModifiedTime value.
-
resourceGroupName
String resourceGroupName()Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
SourceControlInner innerModel()Gets the inner com.azure.resourcemanager.automation.fluent.models.SourceControlInner object.- Returns:
- the inner object.
-
update
SourceControl.Update update()Begins update for the SourceControl resource.- Returns:
- the stage of resource update.
-
refresh
SourceControl refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-