Class WorkflowInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.devhub.fluent.models.WorkflowInner
public final class WorkflowInner
extends com.azure.core.management.Resource
Workflow
Resource representation of a workflow.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionacr()
Get the acr property: Information on the azure container registry.Get the aksResourceId property: The Azure Kubernetes Managed Cluster resource.Get the authStatus property: Determines the type of manifests within the repository.Get the branchName property: The name of the branch the workflow is associated with.Get the deploymentProperties property: The deploymentProperties property.Get the dockerBuildContext property: Path to Dockerfile Build Context within the repository.Get the dockerfile property: Path to Dockerfile within the repository.Get the lastWorkflowRun property: The lastWorkflowRun property.Get the namespace property: The Kubernetes namespace the application is deployed toGet the oidcCredentials property: The fields needed for OIDC with GitHub.prStatus()
Get the prStatus property: The status of the Pull Request submitted against the users repository.prUrl()
Get the prUrl property: The URL to the Pull Request submitted against the users repository.Get the pullNumber property: The number associated with the submitted pull request.Get the repositoryName property: The name of the repository the workflow is associated with.Get the repositoryOwner property: The owner of the repository the workflow is associated with.void
validate()
Validates the instance.Set the acr property: Information on the azure container registry.withAksResourceId
(String aksResourceId) Set the aksResourceId property: The Azure Kubernetes Managed Cluster resource.withAuthStatus
(ManifestType authStatus) Set the authStatus property: Determines the type of manifests within the repository.withBranchName
(String branchName) Set the branchName property: The name of the branch the workflow is associated with.withDeploymentProperties
(DeploymentProperties deploymentProperties) Set the deploymentProperties property: The deploymentProperties property.withDockerBuildContext
(String dockerBuildContext) Set the dockerBuildContext property: Path to Dockerfile Build Context within the repository.withDockerfile
(String dockerfile) Set the dockerfile property: Path to Dockerfile within the repository.withLastWorkflowRun
(WorkflowRun lastWorkflowRun) Set the lastWorkflowRun property: The lastWorkflowRun property.withLocation
(String location) withNamespace
(String namespace) Set the namespace property: The Kubernetes namespace the application is deployed towithOidcCredentials
(GitHubWorkflowProfileOidcCredentials oidcCredentials) Set the oidcCredentials property: The fields needed for OIDC with GitHub.withRepositoryName
(String repositoryName) Set the repositoryName property: The name of the repository the workflow is associated with.withRepositoryOwner
(String repositoryOwner) Set the repositoryOwner property: The owner of the repository the workflow is associated with.Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
WorkflowInner
public WorkflowInner()
-
-
Method Details
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
repositoryOwner
Get the repositoryOwner property: The owner of the repository the workflow is associated with.Repository Owner.
- Returns:
- the repositoryOwner value.
-
withRepositoryOwner
Set the repositoryOwner property: The owner of the repository the workflow is associated with.Repository Owner.
- Parameters:
repositoryOwner
- the repositoryOwner value to set.- Returns:
- the WorkflowInner object itself.
-
repositoryName
Get the repositoryName property: The name of the repository the workflow is associated with.Repository Name.
- Returns:
- the repositoryName value.
-
withRepositoryName
Set the repositoryName property: The name of the repository the workflow is associated with.Repository Name.
- Parameters:
repositoryName
- the repositoryName value to set.- Returns:
- the WorkflowInner object itself.
-
branchName
Get the branchName property: The name of the branch the workflow is associated with.Repository Branch Name.
- Returns:
- the branchName value.
-
withBranchName
Set the branchName property: The name of the branch the workflow is associated with.Repository Branch Name.
- Parameters:
branchName
- the branchName value to set.- Returns:
- the WorkflowInner object itself.
-
dockerfile
Get the dockerfile property: Path to Dockerfile within the repository.Path to the Dockerfile within the repository.
- Returns:
- the dockerfile value.
-
withDockerfile
Set the dockerfile property: Path to Dockerfile within the repository.Path to the Dockerfile within the repository.
- Parameters:
dockerfile
- the dockerfile value to set.- Returns:
- the WorkflowInner object itself.
-
dockerBuildContext
Get the dockerBuildContext property: Path to Dockerfile Build Context within the repository.- Returns:
- the dockerBuildContext value.
-
withDockerBuildContext
Set the dockerBuildContext property: Path to Dockerfile Build Context within the repository.- Parameters:
dockerBuildContext
- the dockerBuildContext value to set.- Returns:
- the WorkflowInner object itself.
-
deploymentProperties
Get the deploymentProperties property: The deploymentProperties property.- Returns:
- the deploymentProperties value.
-
withDeploymentProperties
Set the deploymentProperties property: The deploymentProperties property.- Parameters:
deploymentProperties
- the deploymentProperties value to set.- Returns:
- the WorkflowInner object itself.
-
namespace
Get the namespace property: The Kubernetes namespace the application is deployed toKubernetes namespace the application is deployed to.
- Returns:
- the namespace value.
-
withNamespace
Set the namespace property: The Kubernetes namespace the application is deployed toKubernetes namespace the application is deployed to.
- Parameters:
namespace
- the namespace value to set.- Returns:
- the WorkflowInner object itself.
-
acr
Get the acr property: Information on the azure container registry.- Returns:
- the acr value.
-
withAcr
Set the acr property: Information on the azure container registry.- Parameters:
acr
- the acr value to set.- Returns:
- the WorkflowInner object itself.
-
oidcCredentials
Get the oidcCredentials property: The fields needed for OIDC with GitHub.- Returns:
- the oidcCredentials value.
-
withOidcCredentials
Set the oidcCredentials property: The fields needed for OIDC with GitHub.- Parameters:
oidcCredentials
- the oidcCredentials value to set.- Returns:
- the WorkflowInner object itself.
-
aksResourceId
Get the aksResourceId property: The Azure Kubernetes Managed Cluster resource.The Azure Kubernetes Cluster Resource the application will be deployed to.
- Returns:
- the aksResourceId value.
-
withAksResourceId
Set the aksResourceId property: The Azure Kubernetes Managed Cluster resource.The Azure Kubernetes Cluster Resource the application will be deployed to.
- Parameters:
aksResourceId
- the aksResourceId value to set.- Returns:
- the WorkflowInner object itself.
-
prUrl
Get the prUrl property: The URL to the Pull Request submitted against the users repository.- Returns:
- the prUrl value.
-
pullNumber
Get the pullNumber property: The number associated with the submitted pull request.- Returns:
- the pullNumber value.
-
prStatus
Get the prStatus property: The status of the Pull Request submitted against the users repository.- Returns:
- the prStatus value.
-
lastWorkflowRun
Get the lastWorkflowRun property: The lastWorkflowRun property.- Returns:
- the lastWorkflowRun value.
-
withLastWorkflowRun
Set the lastWorkflowRun property: The lastWorkflowRun property.- Parameters:
lastWorkflowRun
- the lastWorkflowRun value to set.- Returns:
- the WorkflowInner object itself.
-
authStatus
Get the authStatus property: Determines the type of manifests within the repository.- Returns:
- the authStatus value.
-
withAuthStatus
Set the authStatus property: Determines the type of manifests within the repository.- Parameters:
authStatus
- the authStatus value to set.- Returns:
- the WorkflowInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-