Interface Workflow
public interface Workflow
An immutable client-side representation of Workflow.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the Workflow definition.static interface
The Workflow definition stages.static interface
The template for Workflow update.static interface
The Workflow update stages. -
Method Summary
Modifier and TypeMethodDescriptionacr()
Gets the acr property: Information on the azure container registry.Gets the aksResourceId property: The Azure Kubernetes Managed Cluster resource.Gets the authStatus property: Determines the type of manifests within the repository.Gets the branchName property: The name of the branch the workflow is associated with.Gets the deploymentProperties property: The deploymentProperties property.Gets the dockerBuildContext property: Path to Dockerfile Build Context within the repository.Gets the dockerfile property: Path to Dockerfile within the repository.id()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.devhub.fluent.models.WorkflowInner object.Gets the lastWorkflowRun property: The lastWorkflowRun property.location()
Gets the location property: The geo-location where the resource lives.name()
Gets the name property: The name of the resource.Gets the namespace property: The Kubernetes namespace the application is deployed toGets the oidcCredentials property: The fields needed for OIDC with GitHub.prStatus()
Gets the prStatus property: The status of the Pull Request submitted against the users repository.prUrl()
Gets the prUrl property: The URL to the Pull Request submitted against the users repository.Gets the pullNumber property: The number associated with the submitted pull request.refresh()
Refreshes the resource to sync with Azure.refresh
(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.com.azure.core.management.Region
region()
Gets the region of the resource.Gets the name of the resource region.Gets the repositoryName property: The name of the repository the workflow is associated with.Gets the repositoryOwner property: The owner of the repository the workflow is associated with.Gets the name of the resource group.tags()
Gets the tags property: Resource tags.type()
Gets the type property: The type of the resource.update()
Begins update for the Workflow 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.
-
location
String location()Gets the location property: The geo-location where the resource lives.- Returns:
- the location value.
-
tags
Gets the tags property: Resource tags.- Returns:
- the tags value.
-
repositoryOwner
String repositoryOwner()Gets the repositoryOwner property: The owner of the repository the workflow is associated with.Repository Owner.
- Returns:
- the repositoryOwner value.
-
repositoryName
String repositoryName()Gets the repositoryName property: The name of the repository the workflow is associated with.Repository Name.
- Returns:
- the repositoryName value.
-
branchName
String branchName()Gets the branchName property: The name of the branch the workflow is associated with.Repository Branch Name.
- Returns:
- the branchName value.
-
dockerfile
String dockerfile()Gets the dockerfile property: Path to Dockerfile within the repository.Path to the Dockerfile within the repository.
- Returns:
- the dockerfile value.
-
dockerBuildContext
String dockerBuildContext()Gets the dockerBuildContext property: Path to Dockerfile Build Context within the repository.- Returns:
- the dockerBuildContext value.
-
deploymentProperties
DeploymentProperties deploymentProperties()Gets the deploymentProperties property: The deploymentProperties property.- Returns:
- the deploymentProperties value.
-
namespace
String namespace()Gets the namespace property: The Kubernetes namespace the application is deployed toKubernetes namespace the application is deployed to.
- Returns:
- the namespace value.
-
acr
Acr acr()Gets the acr property: Information on the azure container registry.- Returns:
- the acr value.
-
oidcCredentials
GitHubWorkflowProfileOidcCredentials oidcCredentials()Gets the oidcCredentials property: The fields needed for OIDC with GitHub.- Returns:
- the oidcCredentials value.
-
aksResourceId
String aksResourceId()Gets the aksResourceId property: The Azure Kubernetes Managed Cluster resource.The Azure Kubernetes Cluster Resource the application will be deployed to.
- Returns:
- the aksResourceId value.
-
prUrl
String prUrl()Gets the prUrl property: The URL to the Pull Request submitted against the users repository.- Returns:
- the prUrl value.
-
pullNumber
Integer pullNumber()Gets the pullNumber property: The number associated with the submitted pull request.- Returns:
- the pullNumber value.
-
prStatus
PullRequestStatus prStatus()Gets the prStatus property: The status of the Pull Request submitted against the users repository.- Returns:
- the prStatus value.
-
lastWorkflowRun
WorkflowRun lastWorkflowRun()Gets the lastWorkflowRun property: The lastWorkflowRun property.- Returns:
- the lastWorkflowRun value.
-
authStatus
ManifestType authStatus()Gets the authStatus property: Determines the type of manifests within the repository.- Returns:
- the authStatus value.
-
region
com.azure.core.management.Region region()Gets the region of the resource.- Returns:
- the region of the resource.
-
regionName
String regionName()Gets the name of the resource region.- Returns:
- the name of the resource region.
-
resourceGroupName
String resourceGroupName()Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
WorkflowInner innerModel()Gets the inner com.azure.resourcemanager.devhub.fluent.models.WorkflowInner object.- Returns:
- the inner object.
-
update
Workflow.Update update()Begins update for the Workflow resource.- Returns:
- the stage of resource update.
-
refresh
Workflow 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.
-