Interface SourceControl


public interface SourceControl
An immutable client-side representation of SourceControl.
  • 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

      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

      SourceControl refresh(com.azure.core.util.Context context)
      Refreshes the resource to sync with Azure.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the refreshed resource.