Workflow Interface

public interface Workflow

An immutable client-side representation of Workflow.

Method Summary

Modifier and Type Method and Description
abstract Acr acr()

Gets the acr property: Information on the azure container registry.

abstract String aksResourceId()

Gets the aksResourceId property: The Azure Kubernetes Cluster Resource the application will be deployed to.

abstract String appName()

Gets the appName property: The name of the app.

abstract AuthorizationStatus authStatus()

Gets the authStatus property: Determines the authorization status of requests.

abstract String branchName()

Gets the branchName property: Repository Branch Name.

abstract String builderVersion()

Gets the builderVersion property: The version of the language image used for building the code in the generated dockerfile.

abstract DeploymentProperties deploymentProperties()

Gets the deploymentProperties property: The deploymentProperties property.

abstract String dockerBuildContext()

Gets the dockerBuildContext property: Path to Dockerfile Build Context within the repository.

abstract String dockerfile()

Gets the dockerfile property: Path to the Dockerfile within the repository.

abstract DockerfileGenerationMode dockerfileGenerationMode()

Gets the dockerfileGenerationMode property: The mode of generation to be used for generating Dockerfiles.

abstract String dockerfileOutputDirectory()

Gets the dockerfileOutputDirectory property: The directory to output the generated Dockerfile to.

abstract GenerationLanguage generationLanguage()

Gets the generationLanguage property: The programming language used.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract String imageName()

Gets the imageName property: The name of the image to be generated.

abstract String imageTag()

Gets the imageTag property: The tag to apply to the generated image.

abstract WorkflowInner innerModel()

Gets the inner com.azure.resourcemanager.devhub.fluent.models.WorkflowInner object.

abstract String languageVersion()

Gets the languageVersion property: The version of the language image used for execution in the generated dockerfile.

abstract WorkflowRun lastWorkflowRun()

Gets the lastWorkflowRun property: The lastWorkflowRun property.

abstract String location()

Gets the location property: The geo-location where the resource lives.

abstract ManifestGenerationMode manifestGenerationMode()

Gets the manifestGenerationMode property: The mode of generation to be used for generating Manifest.

abstract String manifestOutputDirectory()

Gets the manifestOutputDirectory property: The directory to output the generated manifests to.

abstract GenerationManifestType manifestType()

Gets the manifestType property: Determines the type of manifests to be generated.

abstract String name()

Gets the name property: The name of the resource.

abstract String namespace()

Gets the namespace property: Kubernetes namespace the application is deployed to.

abstract String namespaceArtifactGenerationPropertiesNamespace()

Gets the namespaceArtifactGenerationPropertiesNamespace property: The namespace to deploy the application to.

abstract GitHubWorkflowProfileOidcCredentials oidcCredentials()

Gets the oidcCredentials property: The fields needed for OIDC with GitHub.

abstract String port()

Gets the port property: The port the application is exposed on.

abstract PullRequestStatus prStatus()

Gets the prStatus property: The status of the Pull Request submitted against the users repository.

abstract String prUrl()

Gets the prUrl property: The URL to the Pull Request submitted against the users repository.

abstract Integer pullNumber()

Gets the pullNumber property: The number associated with the submitted pull request.

abstract Workflow refresh()

Refreshes the resource to sync with Azure.

abstract Workflow refresh(Context context)

Refreshes the resource to sync with Azure.

abstract Region region()

Gets the region of the resource.

abstract String regionName()

Gets the name of the resource region.

abstract String repositoryName()

Gets the repositoryName property: Repository Name.

abstract String repositoryOwner()

Gets the repositoryOwner property: Repository Owner.

abstract String resourceGroupName()

Gets the name of the resource group.

abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

abstract Map<String,String> tags()

Gets the tags property: Resource tags.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the Workflow resource.

Method Details

acr

public abstract Acr acr()

Gets the acr property: Information on the azure container registry.

Returns:

the acr value.

aksResourceId

public abstract String aksResourceId()

Gets the aksResourceId property: The Azure Kubernetes Cluster Resource the application will be deployed to.

Returns:

the aksResourceId value.

appName

public abstract String appName()

Gets the appName property: The name of the app.

Returns:

the appName value.

authStatus

public abstract AuthorizationStatus authStatus()

Gets the authStatus property: Determines the authorization status of requests.

Returns:

the authStatus value.

branchName

public abstract String branchName()

Gets the branchName property: Repository Branch Name.

Returns:

the branchName value.

builderVersion

public abstract String builderVersion()

Gets the builderVersion property: The version of the language image used for building the code in the generated dockerfile.

Returns:

the builderVersion value.

deploymentProperties

public abstract DeploymentProperties deploymentProperties()

Gets the deploymentProperties property: The deploymentProperties property.

Returns:

the deploymentProperties value.

dockerBuildContext

public abstract String dockerBuildContext()

Gets the dockerBuildContext property: Path to Dockerfile Build Context within the repository.

Returns:

the dockerBuildContext value.

dockerfile

public abstract String dockerfile()

Gets the dockerfile property: Path to the Dockerfile within the repository.

Returns:

the dockerfile value.

dockerfileGenerationMode

public abstract DockerfileGenerationMode dockerfileGenerationMode()

Gets the dockerfileGenerationMode property: The mode of generation to be used for generating Dockerfiles.

Returns:

the dockerfileGenerationMode value.

dockerfileOutputDirectory

public abstract String dockerfileOutputDirectory()

Gets the dockerfileOutputDirectory property: The directory to output the generated Dockerfile to.

Returns:

the dockerfileOutputDirectory value.

generationLanguage

public abstract GenerationLanguage generationLanguage()

Gets the generationLanguage property: The programming language used.

Returns:

the generationLanguage value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

imageName

public abstract String imageName()

Gets the imageName property: The name of the image to be generated.

Returns:

the imageName value.

imageTag

public abstract String imageTag()

Gets the imageTag property: The tag to apply to the generated image.

Returns:

the imageTag value.

innerModel

public abstract WorkflowInner innerModel()

Gets the inner com.azure.resourcemanager.devhub.fluent.models.WorkflowInner object.

Returns:

the inner object.

languageVersion

public abstract String languageVersion()

Gets the languageVersion property: The version of the language image used for execution in the generated dockerfile.

Returns:

the languageVersion value.

lastWorkflowRun

public abstract WorkflowRun lastWorkflowRun()

Gets the lastWorkflowRun property: The lastWorkflowRun property.

Returns:

the lastWorkflowRun value.

location

public abstract String location()

Gets the location property: The geo-location where the resource lives.

Returns:

the location value.

manifestGenerationMode

public abstract ManifestGenerationMode manifestGenerationMode()

Gets the manifestGenerationMode property: The mode of generation to be used for generating Manifest.

Returns:

the manifestGenerationMode value.

manifestOutputDirectory

public abstract String manifestOutputDirectory()

Gets the manifestOutputDirectory property: The directory to output the generated manifests to.

Returns:

the manifestOutputDirectory value.

manifestType

public abstract GenerationManifestType manifestType()

Gets the manifestType property: Determines the type of manifests to be generated.

Returns:

the manifestType value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

namespace

public abstract String namespace()

Gets the namespace property: Kubernetes namespace the application is deployed to.

Returns:

the namespace value.

namespaceArtifactGenerationPropertiesNamespace

public abstract String namespaceArtifactGenerationPropertiesNamespace()

Gets the namespaceArtifactGenerationPropertiesNamespace property: The namespace to deploy the application to.

Returns:

the namespaceArtifactGenerationPropertiesNamespace value.

oidcCredentials

public abstract GitHubWorkflowProfileOidcCredentials oidcCredentials()

Gets the oidcCredentials property: The fields needed for OIDC with GitHub.

Returns:

the oidcCredentials value.

port

public abstract String port()

Gets the port property: The port the application is exposed on.

Returns:

the port value.

prStatus

public abstract PullRequestStatus prStatus()

Gets the prStatus property: The status of the Pull Request submitted against the users repository.

Returns:

the prStatus value.

prUrl

public abstract String prUrl()

Gets the prUrl property: The URL to the Pull Request submitted against the users repository.

Returns:

the prUrl value.

pullNumber

public abstract Integer pullNumber()

Gets the pullNumber property: The number associated with the submitted pull request.

Returns:

the pullNumber value.

refresh

public abstract Workflow refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract Workflow refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

region

public abstract Region region()

Gets the region of the resource.

Returns:

the region of the resource.

regionName

public abstract String regionName()

Gets the name of the resource region.

Returns:

the name of the resource region.

repositoryName

public abstract String repositoryName()

Gets the repositoryName property: Repository Name.

Returns:

the repositoryName value.

repositoryOwner

public abstract String repositoryOwner()

Gets the repositoryOwner property: Repository Owner.

Returns:

the repositoryOwner value.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

systemData

public abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

tags

public abstract Map<String,String> tags()

Gets the tags property: Resource tags.

Returns:

the tags value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract Workflow.Update update()

Begins update for the Workflow resource.

Returns:

the stage of resource update.

Applies to