This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.devhub.getWorkflow
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Resource representation of a workflow Azure REST API version: 2022-10-11-preview.
Other available API versions: 2023-08-01, 2024-05-01-preview, 2024-08-01-preview.
Using getWorkflow
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getWorkflow(args: GetWorkflowArgs, opts?: InvokeOptions): Promise<GetWorkflowResult>
function getWorkflowOutput(args: GetWorkflowOutputArgs, opts?: InvokeOptions): Output<GetWorkflowResult>def get_workflow(resource_group_name: Optional[str] = None,
                 workflow_name: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetWorkflowResult
def get_workflow_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                 workflow_name: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetWorkflowResult]func LookupWorkflow(ctx *Context, args *LookupWorkflowArgs, opts ...InvokeOption) (*LookupWorkflowResult, error)
func LookupWorkflowOutput(ctx *Context, args *LookupWorkflowOutputArgs, opts ...InvokeOption) LookupWorkflowResultOutput> Note: This function is named LookupWorkflow in the Go SDK.
public static class GetWorkflow 
{
    public static Task<GetWorkflowResult> InvokeAsync(GetWorkflowArgs args, InvokeOptions? opts = null)
    public static Output<GetWorkflowResult> Invoke(GetWorkflowInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetWorkflowResult> getWorkflow(GetWorkflowArgs args, InvokeOptions options)
public static Output<GetWorkflowResult> getWorkflow(GetWorkflowArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:devhub:getWorkflow
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- WorkflowName string
- The name of the workflow resource.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- WorkflowName string
- The name of the workflow resource.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- workflowName String
- The name of the workflow resource.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- workflowName string
- The name of the workflow resource.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- workflow_name str
- The name of the workflow resource.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- workflowName String
- The name of the workflow resource.
getWorkflow Result
The following output properties are available:
- AuthStatus string
- Determines the authorization status of requests.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- PrStatus string
- The status of the Pull Request submitted against the users repository.
- PrURL string
- The URL to the Pull Request submitted against the users repository.
- PullNumber int
- The number associated with the submitted pull request.
- SystemData Pulumi.Azure Native. Dev Hub. Outputs. System Data Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Acr
Pulumi.Azure Native. Dev Hub. Outputs. ACRResponse 
- Information on the azure container registry
- AksResource stringId 
- The Azure Kubernetes Cluster Resource the application will be deployed to.
- AppName string
- The name of the app.
- BranchName string
- Repository Branch Name
- BuilderVersion string
- The version of the language image used for building the code in the generated dockerfile.
- DeploymentProperties Pulumi.Azure Native. Dev Hub. Outputs. Deployment Properties Response 
- DockerBuild stringContext 
- Path to Dockerfile Build Context within the repository.
- Dockerfile string
- Path to the Dockerfile within the repository.
- DockerfileGeneration stringMode 
- The mode of generation to be used for generating Dockerfiles.
- DockerfileOutput stringDirectory 
- The directory to output the generated Dockerfile to.
- GenerationLanguage string
- The programming language used.
- ImageName string
- The name of the image to be generated.
- ImageTag string
- The tag to apply to the generated image.
- LanguageVersion string
- The version of the language image used for execution in the generated dockerfile.
- LastWorkflow Pulumi.Run Azure Native. Dev Hub. Outputs. Workflow Run Response 
- ManifestGeneration stringMode 
- The mode of generation to be used for generating Manifest.
- ManifestOutput stringDirectory 
- The directory to output the generated manifests to.
- ManifestType string
- Determines the type of manifests to be generated.
- Namespace string
- Kubernetes namespace the application is deployed to.
- OidcCredentials Pulumi.Azure Native. Dev Hub. Outputs. Git Hub Workflow Profile Response Oidc Credentials 
- The fields needed for OIDC with GitHub.
- Port string
- The port the application is exposed on.
- RepositoryName string
- Repository Name
- RepositoryOwner string
- Repository Owner
- Dictionary<string, string>
- Resource tags.
- AuthStatus string
- Determines the authorization status of requests.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- PrStatus string
- The status of the Pull Request submitted against the users repository.
- PrURL string
- The URL to the Pull Request submitted against the users repository.
- PullNumber int
- The number associated with the submitted pull request.
- SystemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Acr ACRResponse
- Information on the azure container registry
- AksResource stringId 
- The Azure Kubernetes Cluster Resource the application will be deployed to.
- AppName string
- The name of the app.
- BranchName string
- Repository Branch Name
- BuilderVersion string
- The version of the language image used for building the code in the generated dockerfile.
- DeploymentProperties DeploymentProperties Response 
- DockerBuild stringContext 
- Path to Dockerfile Build Context within the repository.
- Dockerfile string
- Path to the Dockerfile within the repository.
- DockerfileGeneration stringMode 
- The mode of generation to be used for generating Dockerfiles.
- DockerfileOutput stringDirectory 
- The directory to output the generated Dockerfile to.
- GenerationLanguage string
- The programming language used.
- ImageName string
- The name of the image to be generated.
- ImageTag string
- The tag to apply to the generated image.
- LanguageVersion string
- The version of the language image used for execution in the generated dockerfile.
- LastWorkflow WorkflowRun Run Response 
- ManifestGeneration stringMode 
- The mode of generation to be used for generating Manifest.
- ManifestOutput stringDirectory 
- The directory to output the generated manifests to.
- ManifestType string
- Determines the type of manifests to be generated.
- Namespace string
- Kubernetes namespace the application is deployed to.
- OidcCredentials GitHub Workflow Profile Response Oidc Credentials 
- The fields needed for OIDC with GitHub.
- Port string
- The port the application is exposed on.
- RepositoryName string
- Repository Name
- RepositoryOwner string
- Repository Owner
- map[string]string
- Resource tags.
- authStatus String
- Determines the authorization status of requests.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- prStatus String
- The status of the Pull Request submitted against the users repository.
- prURL String
- The URL to the Pull Request submitted against the users repository.
- pullNumber Integer
- The number associated with the submitted pull request.
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- acr ACRResponse
- Information on the azure container registry
- aksResource StringId 
- The Azure Kubernetes Cluster Resource the application will be deployed to.
- appName String
- The name of the app.
- branchName String
- Repository Branch Name
- builderVersion String
- The version of the language image used for building the code in the generated dockerfile.
- deploymentProperties DeploymentProperties Response 
- dockerBuild StringContext 
- Path to Dockerfile Build Context within the repository.
- dockerfile String
- Path to the Dockerfile within the repository.
- dockerfileGeneration StringMode 
- The mode of generation to be used for generating Dockerfiles.
- dockerfileOutput StringDirectory 
- The directory to output the generated Dockerfile to.
- generationLanguage String
- The programming language used.
- imageName String
- The name of the image to be generated.
- imageTag String
- The tag to apply to the generated image.
- languageVersion String
- The version of the language image used for execution in the generated dockerfile.
- lastWorkflow WorkflowRun Run Response 
- manifestGeneration StringMode 
- The mode of generation to be used for generating Manifest.
- manifestOutput StringDirectory 
- The directory to output the generated manifests to.
- manifestType String
- Determines the type of manifests to be generated.
- namespace String
- Kubernetes namespace the application is deployed to.
- oidcCredentials GitHub Workflow Profile Response Oidc Credentials 
- The fields needed for OIDC with GitHub.
- port String
- The port the application is exposed on.
- repositoryName String
- Repository Name
- repositoryOwner String
- Repository Owner
- Map<String,String>
- Resource tags.
- authStatus string
- Determines the authorization status of requests.
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- prStatus string
- The status of the Pull Request submitted against the users repository.
- prURL string
- The URL to the Pull Request submitted against the users repository.
- pullNumber number
- The number associated with the submitted pull request.
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- acr ACRResponse
- Information on the azure container registry
- aksResource stringId 
- The Azure Kubernetes Cluster Resource the application will be deployed to.
- appName string
- The name of the app.
- branchName string
- Repository Branch Name
- builderVersion string
- The version of the language image used for building the code in the generated dockerfile.
- deploymentProperties DeploymentProperties Response 
- dockerBuild stringContext 
- Path to Dockerfile Build Context within the repository.
- dockerfile string
- Path to the Dockerfile within the repository.
- dockerfileGeneration stringMode 
- The mode of generation to be used for generating Dockerfiles.
- dockerfileOutput stringDirectory 
- The directory to output the generated Dockerfile to.
- generationLanguage string
- The programming language used.
- imageName string
- The name of the image to be generated.
- imageTag string
- The tag to apply to the generated image.
- languageVersion string
- The version of the language image used for execution in the generated dockerfile.
- lastWorkflow WorkflowRun Run Response 
- manifestGeneration stringMode 
- The mode of generation to be used for generating Manifest.
- manifestOutput stringDirectory 
- The directory to output the generated manifests to.
- manifestType string
- Determines the type of manifests to be generated.
- namespace string
- Kubernetes namespace the application is deployed to.
- oidcCredentials GitHub Workflow Profile Response Oidc Credentials 
- The fields needed for OIDC with GitHub.
- port string
- The port the application is exposed on.
- repositoryName string
- Repository Name
- repositoryOwner string
- Repository Owner
- {[key: string]: string}
- Resource tags.
- auth_status str
- Determines the authorization status of requests.
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location str
- The geo-location where the resource lives
- name str
- The name of the resource
- pr_status str
- The status of the Pull Request submitted against the users repository.
- pr_url str
- The URL to the Pull Request submitted against the users repository.
- pull_number int
- The number associated with the submitted pull request.
- system_data SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- acr ACRResponse
- Information on the azure container registry
- aks_resource_ strid 
- The Azure Kubernetes Cluster Resource the application will be deployed to.
- app_name str
- The name of the app.
- branch_name str
- Repository Branch Name
- builder_version str
- The version of the language image used for building the code in the generated dockerfile.
- deployment_properties DeploymentProperties Response 
- docker_build_ strcontext 
- Path to Dockerfile Build Context within the repository.
- dockerfile str
- Path to the Dockerfile within the repository.
- dockerfile_generation_ strmode 
- The mode of generation to be used for generating Dockerfiles.
- dockerfile_output_ strdirectory 
- The directory to output the generated Dockerfile to.
- generation_language str
- The programming language used.
- image_name str
- The name of the image to be generated.
- image_tag str
- The tag to apply to the generated image.
- language_version str
- The version of the language image used for execution in the generated dockerfile.
- last_workflow_ Workflowrun Run Response 
- manifest_generation_ strmode 
- The mode of generation to be used for generating Manifest.
- manifest_output_ strdirectory 
- The directory to output the generated manifests to.
- manifest_type str
- Determines the type of manifests to be generated.
- namespace str
- Kubernetes namespace the application is deployed to.
- oidc_credentials GitHub Workflow Profile Response Oidc Credentials 
- The fields needed for OIDC with GitHub.
- port str
- The port the application is exposed on.
- repository_name str
- Repository Name
- repository_owner str
- Repository Owner
- Mapping[str, str]
- Resource tags.
- authStatus String
- Determines the authorization status of requests.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- prStatus String
- The status of the Pull Request submitted against the users repository.
- prURL String
- The URL to the Pull Request submitted against the users repository.
- pullNumber Number
- The number associated with the submitted pull request.
- systemData Property Map
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- acr Property Map
- Information on the azure container registry
- aksResource StringId 
- The Azure Kubernetes Cluster Resource the application will be deployed to.
- appName String
- The name of the app.
- branchName String
- Repository Branch Name
- builderVersion String
- The version of the language image used for building the code in the generated dockerfile.
- deploymentProperties Property Map
- dockerBuild StringContext 
- Path to Dockerfile Build Context within the repository.
- dockerfile String
- Path to the Dockerfile within the repository.
- dockerfileGeneration StringMode 
- The mode of generation to be used for generating Dockerfiles.
- dockerfileOutput StringDirectory 
- The directory to output the generated Dockerfile to.
- generationLanguage String
- The programming language used.
- imageName String
- The name of the image to be generated.
- imageTag String
- The tag to apply to the generated image.
- languageVersion String
- The version of the language image used for execution in the generated dockerfile.
- lastWorkflow Property MapRun 
- manifestGeneration StringMode 
- The mode of generation to be used for generating Manifest.
- manifestOutput StringDirectory 
- The directory to output the generated manifests to.
- manifestType String
- Determines the type of manifests to be generated.
- namespace String
- Kubernetes namespace the application is deployed to.
- oidcCredentials Property Map
- The fields needed for OIDC with GitHub.
- port String
- The port the application is exposed on.
- repositoryName String
- Repository Name
- repositoryOwner String
- Repository Owner
- Map<String>
- Resource tags.
Supporting Types
ACRResponse
- AcrRegistry stringName 
- ACR registry
- AcrRepository stringName 
- ACR repository
- AcrResource stringGroup 
- ACR resource group
- AcrSubscription stringId 
- ACR subscription id
- AcrRegistry stringName 
- ACR registry
- AcrRepository stringName 
- ACR repository
- AcrResource stringGroup 
- ACR resource group
- AcrSubscription stringId 
- ACR subscription id
- acrRegistry StringName 
- ACR registry
- acrRepository StringName 
- ACR repository
- acrResource StringGroup 
- ACR resource group
- acrSubscription StringId 
- ACR subscription id
- acrRegistry stringName 
- ACR registry
- acrRepository stringName 
- ACR repository
- acrResource stringGroup 
- ACR resource group
- acrSubscription stringId 
- ACR subscription id
- acr_registry_ strname 
- ACR registry
- acr_repository_ strname 
- ACR repository
- acr_resource_ strgroup 
- ACR resource group
- acr_subscription_ strid 
- ACR subscription id
- acrRegistry StringName 
- ACR registry
- acrRepository StringName 
- ACR repository
- acrResource StringGroup 
- ACR resource group
- acrSubscription StringId 
- ACR subscription id
DeploymentPropertiesResponse  
- HelmChart stringPath 
- Helm chart directory path in repository.
- HelmValues string
- Helm Values.yaml file location in repository.
- KubeManifest List<string>Locations 
- ManifestType string
- Determines the type of manifests within the repository.
- Overrides Dictionary<string, string>
- Manifest override values.
- HelmChart stringPath 
- Helm chart directory path in repository.
- HelmValues string
- Helm Values.yaml file location in repository.
- KubeManifest []stringLocations 
- ManifestType string
- Determines the type of manifests within the repository.
- Overrides map[string]string
- Manifest override values.
- helmChart StringPath 
- Helm chart directory path in repository.
- helmValues String
- Helm Values.yaml file location in repository.
- kubeManifest List<String>Locations 
- manifestType String
- Determines the type of manifests within the repository.
- overrides Map<String,String>
- Manifest override values.
- helmChart stringPath 
- Helm chart directory path in repository.
- helmValues string
- Helm Values.yaml file location in repository.
- kubeManifest string[]Locations 
- manifestType string
- Determines the type of manifests within the repository.
- overrides {[key: string]: string}
- Manifest override values.
- helm_chart_ strpath 
- Helm chart directory path in repository.
- helm_values str
- Helm Values.yaml file location in repository.
- kube_manifest_ Sequence[str]locations 
- manifest_type str
- Determines the type of manifests within the repository.
- overrides Mapping[str, str]
- Manifest override values.
- helmChart StringPath 
- Helm chart directory path in repository.
- helmValues String
- Helm Values.yaml file location in repository.
- kubeManifest List<String>Locations 
- manifestType String
- Determines the type of manifests within the repository.
- overrides Map<String>
- Manifest override values.
GitHubWorkflowProfileResponseOidcCredentials      
- AzureClient stringId 
- Azure Application Client ID
- AzureTenant stringId 
- Azure Directory (tenant) ID
- AzureClient stringId 
- Azure Application Client ID
- AzureTenant stringId 
- Azure Directory (tenant) ID
- azureClient StringId 
- Azure Application Client ID
- azureTenant StringId 
- Azure Directory (tenant) ID
- azureClient stringId 
- Azure Application Client ID
- azureTenant stringId 
- Azure Directory (tenant) ID
- azure_client_ strid 
- Azure Application Client ID
- azure_tenant_ strid 
- Azure Directory (tenant) ID
- azureClient StringId 
- Azure Application Client ID
- azureTenant StringId 
- Azure Directory (tenant) ID
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
WorkflowRunResponse  
- LastRun stringAt 
- The timestamp of the last workflow run.
- Succeeded bool
- Describes if the workflow run succeeded.
- WorkflowRun stringURL 
- URL to the run of the workflow.
- WorkflowRun stringStatus 
- Describes the status of the workflow run
- LastRun stringAt 
- The timestamp of the last workflow run.
- Succeeded bool
- Describes if the workflow run succeeded.
- WorkflowRun stringURL 
- URL to the run of the workflow.
- WorkflowRun stringStatus 
- Describes the status of the workflow run
- lastRun StringAt 
- The timestamp of the last workflow run.
- succeeded Boolean
- Describes if the workflow run succeeded.
- workflowRun StringURL 
- URL to the run of the workflow.
- workflowRun StringStatus 
- Describes the status of the workflow run
- lastRun stringAt 
- The timestamp of the last workflow run.
- succeeded boolean
- Describes if the workflow run succeeded.
- workflowRun stringURL 
- URL to the run of the workflow.
- workflowRun stringStatus 
- Describes the status of the workflow run
- last_run_ strat 
- The timestamp of the last workflow run.
- succeeded bool
- Describes if the workflow run succeeded.
- workflow_run_ strurl 
- URL to the run of the workflow.
- workflow_run_ strstatus 
- Describes the status of the workflow run
- lastRun StringAt 
- The timestamp of the last workflow run.
- succeeded Boolean
- Describes if the workflow run succeeded.
- workflowRun StringURL 
- URL to the run of the workflow.
- workflowRun StringStatus 
- Describes the status of the workflow run
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi