GitHubWorkflowProfile Class
- java.
lang. Object - com.
azure. resourcemanager. devhub. fluent. models. GitHubWorkflowProfile
- com.
Implements
public final class GitHubWorkflowProfile
implements JsonSerializable<GitHubWorkflowProfile>
GitHub Workflow Profile.
Constructor Summary
| Constructor | Description |
|---|---|
| GitHubWorkflowProfile() |
Creates an instance of Git |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Acr |
acr()
Get the acr property: Information on the azure container registry. |
| String |
aksResourceId()
Get the aks |
|
Authorization |
authStatus()
Get the auth |
| String |
branchName()
Get the branch |
|
Deployment |
deploymentProperties()
Get the deployment |
| String |
dockerBuildContext()
Get the docker |
| String |
dockerfile()
Get the dockerfile property: Path to the Dockerfile within the repository. |
|
static
Git |
fromJson(JsonReader jsonReader)
Reads an instance of Git |
|
Workflow |
lastWorkflowRun()
Get the last |
| String |
namespace()
Get the namespace property: Kubernetes namespace the application is deployed to. |
|
Git |
oidcCredentials()
Get the oidc |
|
Pull |
prStatus()
Get the pr |
| String |
prUrl()
Get the pr |
| Integer |
pullNumber()
Get the pull |
| String |
repositoryName()
Get the repository |
| String |
repositoryOwner()
Get the repository |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Git |
withAcr(Acr acr)
Set the acr property: Information on the azure container registry. |
|
Git |
withAksResourceId(String aksResourceId)
Set the aks |
|
Git |
withBranchName(String branchName)
Set the branch |
|
Git |
withDeploymentProperties(DeploymentProperties deploymentProperties)
Set the deployment |
|
Git |
withDockerBuildContext(String dockerBuildContext)
Set the docker |
|
Git |
withDockerfile(String dockerfile)
Set the dockerfile property: Path to the Dockerfile within the repository. |
|
Git |
withLastWorkflowRun(WorkflowRun lastWorkflowRun)
Set the last |
|
Git |
withNamespace(String namespace)
Set the namespace property: Kubernetes namespace the application is deployed to. |
|
Git |
withOidcCredentials(GitHubWorkflowProfileOidcCredentials oidcCredentials)
Set the oidc |
|
Git |
withRepositoryName(String repositoryName)
Set the repository |
|
Git |
withRepositoryOwner(String repositoryOwner)
Set the repository |
Methods inherited from java.lang.Object
Constructor Details
GitHubWorkflowProfile
public GitHubWorkflowProfile()
Creates an instance of GitHubWorkflowProfile class.
Method Details
acr
public Acr acr()
Get the acr property: Information on the azure container registry.
Returns:
aksResourceId
public String aksResourceId()
Get the aksResourceId property: The Azure Kubernetes Cluster Resource the application will be deployed to.
Returns:
authStatus
public AuthorizationStatus authStatus()
Get the authStatus property: Determines the authorization status of requests.
Returns:
branchName
public String branchName()
Get the branchName property: Repository Branch Name.
Returns:
deploymentProperties
public DeploymentProperties deploymentProperties()
Get the deploymentProperties property: The deploymentProperties property.
Returns:
dockerBuildContext
public String dockerBuildContext()
Get the dockerBuildContext property: Path to Dockerfile Build Context within the repository.
Returns:
dockerfile
public String dockerfile()
Get the dockerfile property: Path to the Dockerfile within the repository.
Returns:
fromJson
public static GitHubWorkflowProfile fromJson(JsonReader jsonReader)
Reads an instance of GitHubWorkflowProfile from the JsonReader.
Parameters:
Returns:
Throws:
lastWorkflowRun
public WorkflowRun lastWorkflowRun()
Get the lastWorkflowRun property: The lastWorkflowRun property.
Returns:
namespace
public String namespace()
Get the namespace property: Kubernetes namespace the application is deployed to.
Returns:
oidcCredentials
public GitHubWorkflowProfileOidcCredentials oidcCredentials()
Get the oidcCredentials property: The fields needed for OIDC with GitHub.
Returns:
prStatus
public PullRequestStatus prStatus()
Get the prStatus property: The status of the Pull Request submitted against the users repository.
Returns:
prUrl
public String prUrl()
Get the prUrl property: The URL to the Pull Request submitted against the users repository.
Returns:
pullNumber
public Integer pullNumber()
Get the pullNumber property: The number associated with the submitted pull request.
Returns:
repositoryName
public String repositoryName()
Get the repositoryName property: Repository Name.
Returns:
repositoryOwner
public String repositoryOwner()
Get the repositoryOwner property: Repository Owner.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAcr
public GitHubWorkflowProfile withAcr(Acr acr)
Set the acr property: Information on the azure container registry.
Parameters:
Returns:
withAksResourceId
public GitHubWorkflowProfile withAksResourceId(String aksResourceId)
Set the aksResourceId property: The Azure Kubernetes Cluster Resource the application will be deployed to.
Parameters:
Returns:
withBranchName
public GitHubWorkflowProfile withBranchName(String branchName)
Set the branchName property: Repository Branch Name.
Parameters:
Returns:
withDeploymentProperties
public GitHubWorkflowProfile withDeploymentProperties(DeploymentProperties deploymentProperties)
Set the deploymentProperties property: The deploymentProperties property.
Parameters:
Returns:
withDockerBuildContext
public GitHubWorkflowProfile withDockerBuildContext(String dockerBuildContext)
Set the dockerBuildContext property: Path to Dockerfile Build Context within the repository.
Parameters:
Returns:
withDockerfile
public GitHubWorkflowProfile withDockerfile(String dockerfile)
Set the dockerfile property: Path to the Dockerfile within the repository.
Parameters:
Returns:
withLastWorkflowRun
public GitHubWorkflowProfile withLastWorkflowRun(WorkflowRun lastWorkflowRun)
Set the lastWorkflowRun property: The lastWorkflowRun property.
Parameters:
Returns:
withNamespace
public GitHubWorkflowProfile withNamespace(String namespace)
Set the namespace property: Kubernetes namespace the application is deployed to.
Parameters:
Returns:
withOidcCredentials
public GitHubWorkflowProfile withOidcCredentials(GitHubWorkflowProfileOidcCredentials oidcCredentials)
Set the oidcCredentials property: The fields needed for OIDC with GitHub.
Parameters:
Returns:
withRepositoryName
public GitHubWorkflowProfile withRepositoryName(String repositoryName)
Set the repositoryName property: Repository Name.
Parameters:
Returns:
withRepositoryOwner
public GitHubWorkflowProfile withRepositoryOwner(String repositoryOwner)
Set the repositoryOwner property: Repository Owner.
Parameters:
Returns: