Interface SourceControl
-
public interface SourceControl
An immutable client-side representation of SourceControl.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
SourceControl.Definition
The entirety of the SourceControl definition.static interface
SourceControl.DefinitionStages
The SourceControl definition stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<ContentType>
contentTypes()
Gets the contentTypes property: Array of source control content types.String
description()
Gets the description property: A description of the source control.String
displayName()
Gets the displayName property: The display name of the source control.String
etag()
Gets the etag property: Etag of the azure resource.String
id()
Gets the id property: Fully qualified resource Id for the resource.String
idPropertiesId()
Gets the idPropertiesId property: The id (a Guid) of the source control.SourceControlInner
innerModel()
Gets the inner com.azure.resourcemanager.securityinsights.fluent.models.SourceControlInner object.DeploymentInfo
lastDeploymentInfo()
Gets the lastDeploymentInfo property: Information regarding the latest deployment for the source control.String
name()
Gets the name property: The name of the resource.SourceControl
refresh()
Refreshes the resource to sync with Azure.SourceControl
refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.Repository
repository()
Gets the repository property: Repository metadata.RepositoryResourceInfo
repositoryResourceInfo()
Gets the repositoryResourceInfo property: Information regarding the resources created in user's repository.RepoType
repoType()
Gets the repoType property: The repository type of the source control.com.azure.core.management.SystemData
systemData()
Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.String
type()
Gets the type property: The type of the resource.Version
version()
Gets the version property: The version number associated with the source control.
-
-
-
Method Detail
-
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.
-
etag
String etag()
Gets the etag property: Etag of the azure resource.- Returns:
- the etag value.
-
systemData
com.azure.core.management.SystemData systemData()
Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
idPropertiesId
String idPropertiesId()
Gets the idPropertiesId property: The id (a Guid) of the source control.- Returns:
- the idPropertiesId value.
-
version
Version version()
Gets the version property: The version number associated with the source control.- Returns:
- the version value.
-
displayName
String displayName()
Gets the displayName property: The display name of the source control.- Returns:
- the displayName value.
-
description
String description()
Gets the description property: A description of the source control.- Returns:
- the description value.
-
repoType
RepoType repoType()
Gets the repoType property: The repository type of the source control.- Returns:
- the repoType value.
-
contentTypes
List<ContentType> contentTypes()
Gets the contentTypes property: Array of source control content types.- Returns:
- the contentTypes value.
-
repository
Repository repository()
Gets the repository property: Repository metadata.- Returns:
- the repository value.
-
repositoryResourceInfo
RepositoryResourceInfo repositoryResourceInfo()
Gets the repositoryResourceInfo property: Information regarding the resources created in user's repository.- Returns:
- the repositoryResourceInfo value.
-
lastDeploymentInfo
DeploymentInfo lastDeploymentInfo()
Gets the lastDeploymentInfo property: Information regarding the latest deployment for the source control.- Returns:
- the lastDeploymentInfo value.
-
innerModel
SourceControlInner innerModel()
Gets the inner com.azure.resourcemanager.securityinsights.fluent.models.SourceControlInner object.- Returns:
- the inner object.
-
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.
-
-