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 Details

    • WorkflowInner

      public WorkflowInner()
  • Method Details

    • withLocation

      public WorkflowInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public WorkflowInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • repositoryOwner

      public String repositoryOwner()
      Get the repositoryOwner property: The owner of the repository the workflow is associated with.

      Repository Owner.

      Returns:
      the repositoryOwner value.
    • withRepositoryOwner

      public WorkflowInner withRepositoryOwner(String repositoryOwner)
      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

      public String repositoryName()
      Get the repositoryName property: The name of the repository the workflow is associated with.

      Repository Name.

      Returns:
      the repositoryName value.
    • withRepositoryName

      public WorkflowInner withRepositoryName(String repositoryName)
      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

      public String branchName()
      Get the branchName property: The name of the branch the workflow is associated with.

      Repository Branch Name.

      Returns:
      the branchName value.
    • withBranchName

      public WorkflowInner withBranchName(String branchName)
      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

      public String dockerfile()
      Get the dockerfile property: Path to Dockerfile within the repository.

      Path to the Dockerfile within the repository.

      Returns:
      the dockerfile value.
    • withDockerfile

      public WorkflowInner withDockerfile(String dockerfile)
      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

      public String dockerBuildContext()
      Get the dockerBuildContext property: Path to Dockerfile Build Context within the repository.
      Returns:
      the dockerBuildContext value.
    • withDockerBuildContext

      public WorkflowInner withDockerBuildContext(String dockerBuildContext)
      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

      public DeploymentProperties deploymentProperties()
      Get the deploymentProperties property: The deploymentProperties property.
      Returns:
      the deploymentProperties value.
    • withDeploymentProperties

      public WorkflowInner withDeploymentProperties(DeploymentProperties deploymentProperties)
      Set the deploymentProperties property: The deploymentProperties property.
      Parameters:
      deploymentProperties - the deploymentProperties value to set.
      Returns:
      the WorkflowInner object itself.
    • namespace

      public String namespace()
      Get the namespace property: The Kubernetes namespace the application is deployed to

      Kubernetes namespace the application is deployed to.

      Returns:
      the namespace value.
    • withNamespace

      public WorkflowInner withNamespace(String namespace)
      Set the namespace property: The Kubernetes namespace the application is deployed to

      Kubernetes namespace the application is deployed to.

      Parameters:
      namespace - the namespace value to set.
      Returns:
      the WorkflowInner object itself.
    • acr

      public Acr acr()
      Get the acr property: Information on the azure container registry.
      Returns:
      the acr value.
    • withAcr

      public WorkflowInner withAcr(Acr acr)
      Set the acr property: Information on the azure container registry.
      Parameters:
      acr - the acr value to set.
      Returns:
      the WorkflowInner object itself.
    • oidcCredentials

      public GitHubWorkflowProfileOidcCredentials oidcCredentials()
      Get the oidcCredentials property: The fields needed for OIDC with GitHub.
      Returns:
      the oidcCredentials value.
    • withOidcCredentials

      public WorkflowInner withOidcCredentials(GitHubWorkflowProfileOidcCredentials oidcCredentials)
      Set the oidcCredentials property: The fields needed for OIDC with GitHub.
      Parameters:
      oidcCredentials - the oidcCredentials value to set.
      Returns:
      the WorkflowInner object itself.
    • aksResourceId

      public String 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

      public WorkflowInner withAksResourceId(String aksResourceId)
      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

      public String prUrl()
      Get the prUrl property: The URL to the Pull Request submitted against the users repository.
      Returns:
      the prUrl value.
    • pullNumber

      public Integer pullNumber()
      Get the pullNumber property: The number associated with the submitted pull request.
      Returns:
      the pullNumber value.
    • prStatus

      public PullRequestStatus prStatus()
      Get the prStatus property: The status of the Pull Request submitted against the users repository.
      Returns:
      the prStatus value.
    • lastWorkflowRun

      public WorkflowRun lastWorkflowRun()
      Get the lastWorkflowRun property: The lastWorkflowRun property.
      Returns:
      the lastWorkflowRun value.
    • withLastWorkflowRun

      public WorkflowInner withLastWorkflowRun(WorkflowRun lastWorkflowRun)
      Set the lastWorkflowRun property: The lastWorkflowRun property.
      Parameters:
      lastWorkflowRun - the lastWorkflowRun value to set.
      Returns:
      the WorkflowInner object itself.
    • authStatus

      public ManifestType authStatus()
      Get the authStatus property: Determines the type of manifests within the repository.
      Returns:
      the authStatus value.
    • withAuthStatus

      public WorkflowInner withAuthStatus(ManifestType authStatus)
      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.