azure-native.devhub.Workflow
Explore with Pulumi AI
Resource representation of a workflow Azure REST API version: 2022-10-11-preview. Prior API version in Azure Native 1.x: 2022-04-01-preview.
Other available API versions: 2023-08-01, 2024-05-01-preview, 2024-08-01-preview.
Example Usage
Create Workflow
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var workflow = new AzureNative.DevHub.Workflow("workflow", new()
    {
        Acr = new AzureNative.DevHub.Inputs.ACRArgs
        {
            AcrRegistryName = "registry1",
            AcrRepositoryName = "repo1",
            AcrResourceGroup = "resourceGroup1",
            AcrSubscriptionId = "subscriptionId1",
        },
        AksResourceId = "/subscriptions/subscriptionId1/resourcegroups/resourceGroup1/providers/Microsoft.ContainerService/managedClusters/cluster1",
        BranchName = "branch1",
        DeploymentProperties = new AzureNative.DevHub.Inputs.DeploymentPropertiesArgs
        {
            KubeManifestLocations = new[]
            {
                "/src/manifests/",
            },
            ManifestType = AzureNative.DevHub.ManifestType.Kube,
            Overrides = 
            {
                { "key1", "value1" },
            },
        },
        DockerBuildContext = "repo1/src/",
        Dockerfile = "repo1/images/Dockerfile",
        Location = "location1",
        Namespace = "namespace1",
        OidcCredentials = new AzureNative.DevHub.Inputs.GitHubWorkflowProfileOidcCredentialsArgs
        {
            AzureClientId = "12345678-3456-7890-5678-012345678901",
            AzureTenantId = "66666666-3456-7890-5678-012345678901",
        },
        RepositoryName = "repo1",
        RepositoryOwner = "owner1",
        ResourceGroupName = "resourceGroup1",
        Tags = 
        {
            { "appname", "testApp" },
        },
        WorkflowName = "workflow1",
    });
});
package main
import (
	devhub "github.com/pulumi/pulumi-azure-native-sdk/devhub/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := devhub.NewWorkflow(ctx, "workflow", &devhub.WorkflowArgs{
			Acr: &devhub.ACRArgs{
				AcrRegistryName:   pulumi.String("registry1"),
				AcrRepositoryName: pulumi.String("repo1"),
				AcrResourceGroup:  pulumi.String("resourceGroup1"),
				AcrSubscriptionId: pulumi.String("subscriptionId1"),
			},
			AksResourceId: pulumi.String("/subscriptions/subscriptionId1/resourcegroups/resourceGroup1/providers/Microsoft.ContainerService/managedClusters/cluster1"),
			BranchName:    pulumi.String("branch1"),
			DeploymentProperties: &devhub.DeploymentPropertiesArgs{
				KubeManifestLocations: pulumi.StringArray{
					pulumi.String("/src/manifests/"),
				},
				ManifestType: pulumi.String(devhub.ManifestTypeKube),
				Overrides: pulumi.StringMap{
					"key1": pulumi.String("value1"),
				},
			},
			DockerBuildContext: pulumi.String("repo1/src/"),
			Dockerfile:         pulumi.String("repo1/images/Dockerfile"),
			Location:           pulumi.String("location1"),
			Namespace:          pulumi.String("namespace1"),
			OidcCredentials: &devhub.GitHubWorkflowProfileOidcCredentialsArgs{
				AzureClientId: pulumi.String("12345678-3456-7890-5678-012345678901"),
				AzureTenantId: pulumi.String("66666666-3456-7890-5678-012345678901"),
			},
			RepositoryName:    pulumi.String("repo1"),
			RepositoryOwner:   pulumi.String("owner1"),
			ResourceGroupName: pulumi.String("resourceGroup1"),
			Tags: pulumi.StringMap{
				"appname": pulumi.String("testApp"),
			},
			WorkflowName: pulumi.String("workflow1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.devhub.Workflow;
import com.pulumi.azurenative.devhub.WorkflowArgs;
import com.pulumi.azurenative.devhub.inputs.ACRArgs;
import com.pulumi.azurenative.devhub.inputs.DeploymentPropertiesArgs;
import com.pulumi.azurenative.devhub.inputs.GitHubWorkflowProfileOidcCredentialsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var workflow = new Workflow("workflow", WorkflowArgs.builder()
            .acr(ACRArgs.builder()
                .acrRegistryName("registry1")
                .acrRepositoryName("repo1")
                .acrResourceGroup("resourceGroup1")
                .acrSubscriptionId("subscriptionId1")
                .build())
            .aksResourceId("/subscriptions/subscriptionId1/resourcegroups/resourceGroup1/providers/Microsoft.ContainerService/managedClusters/cluster1")
            .branchName("branch1")
            .deploymentProperties(DeploymentPropertiesArgs.builder()
                .kubeManifestLocations("/src/manifests/")
                .manifestType("kube")
                .overrides(Map.of("key1", "value1"))
                .build())
            .dockerBuildContext("repo1/src/")
            .dockerfile("repo1/images/Dockerfile")
            .location("location1")
            .namespace("namespace1")
            .oidcCredentials(GitHubWorkflowProfileOidcCredentialsArgs.builder()
                .azureClientId("12345678-3456-7890-5678-012345678901")
                .azureTenantId("66666666-3456-7890-5678-012345678901")
                .build())
            .repositoryName("repo1")
            .repositoryOwner("owner1")
            .resourceGroupName("resourceGroup1")
            .tags(Map.of("appname", "testApp"))
            .workflowName("workflow1")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const workflow = new azure_native.devhub.Workflow("workflow", {
    acr: {
        acrRegistryName: "registry1",
        acrRepositoryName: "repo1",
        acrResourceGroup: "resourceGroup1",
        acrSubscriptionId: "subscriptionId1",
    },
    aksResourceId: "/subscriptions/subscriptionId1/resourcegroups/resourceGroup1/providers/Microsoft.ContainerService/managedClusters/cluster1",
    branchName: "branch1",
    deploymentProperties: {
        kubeManifestLocations: ["/src/manifests/"],
        manifestType: azure_native.devhub.ManifestType.Kube,
        overrides: {
            key1: "value1",
        },
    },
    dockerBuildContext: "repo1/src/",
    dockerfile: "repo1/images/Dockerfile",
    location: "location1",
    namespace: "namespace1",
    oidcCredentials: {
        azureClientId: "12345678-3456-7890-5678-012345678901",
        azureTenantId: "66666666-3456-7890-5678-012345678901",
    },
    repositoryName: "repo1",
    repositoryOwner: "owner1",
    resourceGroupName: "resourceGroup1",
    tags: {
        appname: "testApp",
    },
    workflowName: "workflow1",
});
import pulumi
import pulumi_azure_native as azure_native
workflow = azure_native.devhub.Workflow("workflow",
    acr={
        "acr_registry_name": "registry1",
        "acr_repository_name": "repo1",
        "acr_resource_group": "resourceGroup1",
        "acr_subscription_id": "subscriptionId1",
    },
    aks_resource_id="/subscriptions/subscriptionId1/resourcegroups/resourceGroup1/providers/Microsoft.ContainerService/managedClusters/cluster1",
    branch_name="branch1",
    deployment_properties={
        "kube_manifest_locations": ["/src/manifests/"],
        "manifest_type": azure_native.devhub.ManifestType.KUBE,
        "overrides": {
            "key1": "value1",
        },
    },
    docker_build_context="repo1/src/",
    dockerfile="repo1/images/Dockerfile",
    location="location1",
    namespace="namespace1",
    oidc_credentials={
        "azure_client_id": "12345678-3456-7890-5678-012345678901",
        "azure_tenant_id": "66666666-3456-7890-5678-012345678901",
    },
    repository_name="repo1",
    repository_owner="owner1",
    resource_group_name="resourceGroup1",
    tags={
        "appname": "testApp",
    },
    workflow_name="workflow1")
resources:
  workflow:
    type: azure-native:devhub:Workflow
    properties:
      acr:
        acrRegistryName: registry1
        acrRepositoryName: repo1
        acrResourceGroup: resourceGroup1
        acrSubscriptionId: subscriptionId1
      aksResourceId: /subscriptions/subscriptionId1/resourcegroups/resourceGroup1/providers/Microsoft.ContainerService/managedClusters/cluster1
      branchName: branch1
      deploymentProperties:
        kubeManifestLocations:
          - /src/manifests/
        manifestType: kube
        overrides:
          key1: value1
      dockerBuildContext: repo1/src/
      dockerfile: repo1/images/Dockerfile
      location: location1
      namespace: namespace1
      oidcCredentials:
        azureClientId: 12345678-3456-7890-5678-012345678901
        azureTenantId: 66666666-3456-7890-5678-012345678901
      repositoryName: repo1
      repositoryOwner: owner1
      resourceGroupName: resourceGroup1
      tags:
        appname: testApp
      workflowName: workflow1
Create Workflow With Artifact Generation
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var workflow = new AzureNative.DevHub.Workflow("workflow", new()
    {
        Acr = new AzureNative.DevHub.Inputs.ACRArgs
        {
            AcrRegistryName = "registry1",
            AcrRepositoryName = "repo1",
            AcrResourceGroup = "resourceGroup1",
            AcrSubscriptionId = "subscriptionId1",
        },
        AksResourceId = "/subscriptions/subscriptionId1/resourcegroups/resourceGroup1/providers/Microsoft.ContainerService/managedClusters/cluster1",
        AppName = "my-app",
        BranchName = "branch1",
        DeploymentProperties = new AzureNative.DevHub.Inputs.DeploymentPropertiesArgs
        {
            KubeManifestLocations = new[]
            {
                "/src/manifests/",
            },
            ManifestType = AzureNative.DevHub.ManifestType.Kube,
            Overrides = 
            {
                { "key1", "value1" },
            },
        },
        DockerBuildContext = "repo1/src/",
        Dockerfile = "repo1/images/Dockerfile",
        DockerfileGenerationMode = AzureNative.DevHub.DockerfileGenerationMode.Enabled,
        DockerfileOutputDirectory = "./",
        GenerationLanguage = AzureNative.DevHub.GenerationLanguage.Javascript,
        ImageName = "myimage",
        ImageTag = "latest",
        LanguageVersion = "14",
        Location = "location1",
        ManifestGenerationMode = AzureNative.DevHub.ManifestGenerationMode.Enabled,
        ManifestOutputDirectory = "./",
        ManifestType = AzureNative.DevHub.GenerationManifestType.Kube,
        OidcCredentials = new AzureNative.DevHub.Inputs.GitHubWorkflowProfileOidcCredentialsArgs
        {
            AzureClientId = "12345678-3456-7890-5678-012345678901",
            AzureTenantId = "66666666-3456-7890-5678-012345678901",
        },
        Port = "80",
        RepositoryName = "repo1",
        RepositoryOwner = "owner1",
        ResourceGroupName = "resourceGroup1",
        Tags = 
        {
            { "appname", "testApp" },
        },
        WorkflowName = "workflow1",
    });
});
package main
import (
	devhub "github.com/pulumi/pulumi-azure-native-sdk/devhub/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := devhub.NewWorkflow(ctx, "workflow", &devhub.WorkflowArgs{
			Acr: &devhub.ACRArgs{
				AcrRegistryName:   pulumi.String("registry1"),
				AcrRepositoryName: pulumi.String("repo1"),
				AcrResourceGroup:  pulumi.String("resourceGroup1"),
				AcrSubscriptionId: pulumi.String("subscriptionId1"),
			},
			AksResourceId: pulumi.String("/subscriptions/subscriptionId1/resourcegroups/resourceGroup1/providers/Microsoft.ContainerService/managedClusters/cluster1"),
			AppName:       pulumi.String("my-app"),
			BranchName:    pulumi.String("branch1"),
			DeploymentProperties: &devhub.DeploymentPropertiesArgs{
				KubeManifestLocations: pulumi.StringArray{
					pulumi.String("/src/manifests/"),
				},
				ManifestType: pulumi.String(devhub.ManifestTypeKube),
				Overrides: pulumi.StringMap{
					"key1": pulumi.String("value1"),
				},
			},
			DockerBuildContext:        pulumi.String("repo1/src/"),
			Dockerfile:                pulumi.String("repo1/images/Dockerfile"),
			DockerfileGenerationMode:  pulumi.String(devhub.DockerfileGenerationModeEnabled),
			DockerfileOutputDirectory: pulumi.String("./"),
			GenerationLanguage:        pulumi.String(devhub.GenerationLanguageJavascript),
			ImageName:                 pulumi.String("myimage"),
			ImageTag:                  pulumi.String("latest"),
			LanguageVersion:           pulumi.String("14"),
			Location:                  pulumi.String("location1"),
			ManifestGenerationMode:    pulumi.String(devhub.ManifestGenerationModeEnabled),
			ManifestOutputDirectory:   pulumi.String("./"),
			ManifestType:              pulumi.String(devhub.GenerationManifestTypeKube),
			OidcCredentials: &devhub.GitHubWorkflowProfileOidcCredentialsArgs{
				AzureClientId: pulumi.String("12345678-3456-7890-5678-012345678901"),
				AzureTenantId: pulumi.String("66666666-3456-7890-5678-012345678901"),
			},
			Port:              pulumi.String("80"),
			RepositoryName:    pulumi.String("repo1"),
			RepositoryOwner:   pulumi.String("owner1"),
			ResourceGroupName: pulumi.String("resourceGroup1"),
			Tags: pulumi.StringMap{
				"appname": pulumi.String("testApp"),
			},
			WorkflowName: pulumi.String("workflow1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.devhub.Workflow;
import com.pulumi.azurenative.devhub.WorkflowArgs;
import com.pulumi.azurenative.devhub.inputs.ACRArgs;
import com.pulumi.azurenative.devhub.inputs.DeploymentPropertiesArgs;
import com.pulumi.azurenative.devhub.inputs.GitHubWorkflowProfileOidcCredentialsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var workflow = new Workflow("workflow", WorkflowArgs.builder()
            .acr(ACRArgs.builder()
                .acrRegistryName("registry1")
                .acrRepositoryName("repo1")
                .acrResourceGroup("resourceGroup1")
                .acrSubscriptionId("subscriptionId1")
                .build())
            .aksResourceId("/subscriptions/subscriptionId1/resourcegroups/resourceGroup1/providers/Microsoft.ContainerService/managedClusters/cluster1")
            .appName("my-app")
            .branchName("branch1")
            .deploymentProperties(DeploymentPropertiesArgs.builder()
                .kubeManifestLocations("/src/manifests/")
                .manifestType("kube")
                .overrides(Map.of("key1", "value1"))
                .build())
            .dockerBuildContext("repo1/src/")
            .dockerfile("repo1/images/Dockerfile")
            .dockerfileGenerationMode("enabled")
            .dockerfileOutputDirectory("./")
            .generationLanguage("javascript")
            .imageName("myimage")
            .imageTag("latest")
            .languageVersion("14")
            .location("location1")
            .manifestGenerationMode("enabled")
            .manifestOutputDirectory("./")
            .manifestType("kube")
            .oidcCredentials(GitHubWorkflowProfileOidcCredentialsArgs.builder()
                .azureClientId("12345678-3456-7890-5678-012345678901")
                .azureTenantId("66666666-3456-7890-5678-012345678901")
                .build())
            .port("80")
            .repositoryName("repo1")
            .repositoryOwner("owner1")
            .resourceGroupName("resourceGroup1")
            .tags(Map.of("appname", "testApp"))
            .workflowName("workflow1")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const workflow = new azure_native.devhub.Workflow("workflow", {
    acr: {
        acrRegistryName: "registry1",
        acrRepositoryName: "repo1",
        acrResourceGroup: "resourceGroup1",
        acrSubscriptionId: "subscriptionId1",
    },
    aksResourceId: "/subscriptions/subscriptionId1/resourcegroups/resourceGroup1/providers/Microsoft.ContainerService/managedClusters/cluster1",
    appName: "my-app",
    branchName: "branch1",
    deploymentProperties: {
        kubeManifestLocations: ["/src/manifests/"],
        manifestType: azure_native.devhub.ManifestType.Kube,
        overrides: {
            key1: "value1",
        },
    },
    dockerBuildContext: "repo1/src/",
    dockerfile: "repo1/images/Dockerfile",
    dockerfileGenerationMode: azure_native.devhub.DockerfileGenerationMode.Enabled,
    dockerfileOutputDirectory: "./",
    generationLanguage: azure_native.devhub.GenerationLanguage.Javascript,
    imageName: "myimage",
    imageTag: "latest",
    languageVersion: "14",
    location: "location1",
    manifestGenerationMode: azure_native.devhub.ManifestGenerationMode.Enabled,
    manifestOutputDirectory: "./",
    manifestType: azure_native.devhub.GenerationManifestType.Kube,
    oidcCredentials: {
        azureClientId: "12345678-3456-7890-5678-012345678901",
        azureTenantId: "66666666-3456-7890-5678-012345678901",
    },
    port: "80",
    repositoryName: "repo1",
    repositoryOwner: "owner1",
    resourceGroupName: "resourceGroup1",
    tags: {
        appname: "testApp",
    },
    workflowName: "workflow1",
});
import pulumi
import pulumi_azure_native as azure_native
workflow = azure_native.devhub.Workflow("workflow",
    acr={
        "acr_registry_name": "registry1",
        "acr_repository_name": "repo1",
        "acr_resource_group": "resourceGroup1",
        "acr_subscription_id": "subscriptionId1",
    },
    aks_resource_id="/subscriptions/subscriptionId1/resourcegroups/resourceGroup1/providers/Microsoft.ContainerService/managedClusters/cluster1",
    app_name="my-app",
    branch_name="branch1",
    deployment_properties={
        "kube_manifest_locations": ["/src/manifests/"],
        "manifest_type": azure_native.devhub.ManifestType.KUBE,
        "overrides": {
            "key1": "value1",
        },
    },
    docker_build_context="repo1/src/",
    dockerfile="repo1/images/Dockerfile",
    dockerfile_generation_mode=azure_native.devhub.DockerfileGenerationMode.ENABLED,
    dockerfile_output_directory="./",
    generation_language=azure_native.devhub.GenerationLanguage.JAVASCRIPT,
    image_name="myimage",
    image_tag="latest",
    language_version="14",
    location="location1",
    manifest_generation_mode=azure_native.devhub.ManifestGenerationMode.ENABLED,
    manifest_output_directory="./",
    manifest_type=azure_native.devhub.GenerationManifestType.KUBE,
    oidc_credentials={
        "azure_client_id": "12345678-3456-7890-5678-012345678901",
        "azure_tenant_id": "66666666-3456-7890-5678-012345678901",
    },
    port="80",
    repository_name="repo1",
    repository_owner="owner1",
    resource_group_name="resourceGroup1",
    tags={
        "appname": "testApp",
    },
    workflow_name="workflow1")
resources:
  workflow:
    type: azure-native:devhub:Workflow
    properties:
      acr:
        acrRegistryName: registry1
        acrRepositoryName: repo1
        acrResourceGroup: resourceGroup1
        acrSubscriptionId: subscriptionId1
      aksResourceId: /subscriptions/subscriptionId1/resourcegroups/resourceGroup1/providers/Microsoft.ContainerService/managedClusters/cluster1
      appName: my-app
      branchName: branch1
      deploymentProperties:
        kubeManifestLocations:
          - /src/manifests/
        manifestType: kube
        overrides:
          key1: value1
      dockerBuildContext: repo1/src/
      dockerfile: repo1/images/Dockerfile
      dockerfileGenerationMode: enabled
      dockerfileOutputDirectory: ./
      generationLanguage: javascript
      imageName: myimage
      imageTag: latest
      languageVersion: '14'
      location: location1
      manifestGenerationMode: enabled
      manifestOutputDirectory: ./
      manifestType: kube
      oidcCredentials:
        azureClientId: 12345678-3456-7890-5678-012345678901
        azureTenantId: 66666666-3456-7890-5678-012345678901
      port: '80'
      repositoryName: repo1
      repositoryOwner: owner1
      resourceGroupName: resourceGroup1
      tags:
        appname: testApp
      workflowName: workflow1
Create Workflow Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Workflow(name: string, args: WorkflowArgs, opts?: CustomResourceOptions);@overload
def Workflow(resource_name: str,
             args: WorkflowArgs,
             opts: Optional[ResourceOptions] = None)
@overload
def Workflow(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             resource_group_name: Optional[str] = None,
             image_tag: Optional[str] = None,
             branch_name: Optional[str] = None,
             last_workflow_run: Optional[WorkflowRunArgs] = None,
             location: Optional[str] = None,
             deployment_properties: Optional[DeploymentPropertiesArgs] = None,
             docker_build_context: Optional[str] = None,
             dockerfile: Optional[str] = None,
             dockerfile_generation_mode: Optional[Union[str, DockerfileGenerationMode]] = None,
             dockerfile_output_directory: Optional[str] = None,
             generation_language: Optional[Union[str, GenerationLanguage]] = None,
             image_name: Optional[str] = None,
             acr: Optional[ACRArgs] = None,
             workflow_name: Optional[str] = None,
             app_name: Optional[str] = None,
             builder_version: Optional[str] = None,
             manifest_generation_mode: Optional[Union[str, ManifestGenerationMode]] = None,
             manifest_output_directory: Optional[str] = None,
             manifest_type: Optional[Union[str, GenerationManifestType]] = None,
             namespace: Optional[str] = None,
             oidc_credentials: Optional[GitHubWorkflowProfileOidcCredentialsArgs] = None,
             port: Optional[str] = None,
             repository_name: Optional[str] = None,
             repository_owner: Optional[str] = None,
             aks_resource_id: Optional[str] = None,
             tags: Optional[Mapping[str, str]] = None,
             language_version: Optional[str] = None)func NewWorkflow(ctx *Context, name string, args WorkflowArgs, opts ...ResourceOption) (*Workflow, error)public Workflow(string name, WorkflowArgs args, CustomResourceOptions? opts = null)
public Workflow(String name, WorkflowArgs args)
public Workflow(String name, WorkflowArgs args, CustomResourceOptions options)
type: azure-native:devhub:Workflow
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args WorkflowArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args WorkflowArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args WorkflowArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WorkflowArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WorkflowArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var workflowResource = new AzureNative.DevHub.Workflow("workflowResource", new()
{
    ResourceGroupName = "string",
    ImageTag = "string",
    BranchName = "string",
    LastWorkflowRun = new AzureNative.DevHub.Inputs.WorkflowRunArgs
    {
        WorkflowRunStatus = "string",
    },
    Location = "string",
    DeploymentProperties = new AzureNative.DevHub.Inputs.DeploymentPropertiesArgs
    {
        HelmChartPath = "string",
        HelmValues = "string",
        KubeManifestLocations = new[]
        {
            "string",
        },
        ManifestType = "string",
        Overrides = 
        {
            { "string", "string" },
        },
    },
    DockerBuildContext = "string",
    Dockerfile = "string",
    DockerfileGenerationMode = "string",
    DockerfileOutputDirectory = "string",
    GenerationLanguage = "string",
    ImageName = "string",
    Acr = new AzureNative.DevHub.Inputs.ACRArgs
    {
        AcrRegistryName = "string",
        AcrRepositoryName = "string",
        AcrResourceGroup = "string",
        AcrSubscriptionId = "string",
    },
    WorkflowName = "string",
    AppName = "string",
    BuilderVersion = "string",
    ManifestGenerationMode = "string",
    ManifestOutputDirectory = "string",
    ManifestType = "string",
    Namespace = "string",
    OidcCredentials = new AzureNative.DevHub.Inputs.GitHubWorkflowProfileOidcCredentialsArgs
    {
        AzureClientId = "string",
        AzureTenantId = "string",
    },
    Port = "string",
    RepositoryName = "string",
    RepositoryOwner = "string",
    AksResourceId = "string",
    Tags = 
    {
        { "string", "string" },
    },
    LanguageVersion = "string",
});
example, err := devhub.NewWorkflow(ctx, "workflowResource", &devhub.WorkflowArgs{
	ResourceGroupName: pulumi.String("string"),
	ImageTag:          pulumi.String("string"),
	BranchName:        pulumi.String("string"),
	LastWorkflowRun: &devhub.WorkflowRunArgs{
		WorkflowRunStatus: pulumi.String("string"),
	},
	Location: pulumi.String("string"),
	DeploymentProperties: &devhub.DeploymentPropertiesArgs{
		HelmChartPath: pulumi.String("string"),
		HelmValues:    pulumi.String("string"),
		KubeManifestLocations: pulumi.StringArray{
			pulumi.String("string"),
		},
		ManifestType: pulumi.String("string"),
		Overrides: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
	},
	DockerBuildContext:        pulumi.String("string"),
	Dockerfile:                pulumi.String("string"),
	DockerfileGenerationMode:  pulumi.String("string"),
	DockerfileOutputDirectory: pulumi.String("string"),
	GenerationLanguage:        pulumi.String("string"),
	ImageName:                 pulumi.String("string"),
	Acr: &devhub.ACRArgs{
		AcrRegistryName:   pulumi.String("string"),
		AcrRepositoryName: pulumi.String("string"),
		AcrResourceGroup:  pulumi.String("string"),
		AcrSubscriptionId: pulumi.String("string"),
	},
	WorkflowName:            pulumi.String("string"),
	AppName:                 pulumi.String("string"),
	BuilderVersion:          pulumi.String("string"),
	ManifestGenerationMode:  pulumi.String("string"),
	ManifestOutputDirectory: pulumi.String("string"),
	ManifestType:            pulumi.String("string"),
	Namespace:               pulumi.String("string"),
	OidcCredentials: &devhub.GitHubWorkflowProfileOidcCredentialsArgs{
		AzureClientId: pulumi.String("string"),
		AzureTenantId: pulumi.String("string"),
	},
	Port:            pulumi.String("string"),
	RepositoryName:  pulumi.String("string"),
	RepositoryOwner: pulumi.String("string"),
	AksResourceId:   pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	LanguageVersion: pulumi.String("string"),
})
var workflowResource = new Workflow("workflowResource", WorkflowArgs.builder()
    .resourceGroupName("string")
    .imageTag("string")
    .branchName("string")
    .lastWorkflowRun(WorkflowRunArgs.builder()
        .workflowRunStatus("string")
        .build())
    .location("string")
    .deploymentProperties(DeploymentPropertiesArgs.builder()
        .helmChartPath("string")
        .helmValues("string")
        .kubeManifestLocations("string")
        .manifestType("string")
        .overrides(Map.of("string", "string"))
        .build())
    .dockerBuildContext("string")
    .dockerfile("string")
    .dockerfileGenerationMode("string")
    .dockerfileOutputDirectory("string")
    .generationLanguage("string")
    .imageName("string")
    .acr(ACRArgs.builder()
        .acrRegistryName("string")
        .acrRepositoryName("string")
        .acrResourceGroup("string")
        .acrSubscriptionId("string")
        .build())
    .workflowName("string")
    .appName("string")
    .builderVersion("string")
    .manifestGenerationMode("string")
    .manifestOutputDirectory("string")
    .manifestType("string")
    .namespace("string")
    .oidcCredentials(GitHubWorkflowProfileOidcCredentialsArgs.builder()
        .azureClientId("string")
        .azureTenantId("string")
        .build())
    .port("string")
    .repositoryName("string")
    .repositoryOwner("string")
    .aksResourceId("string")
    .tags(Map.of("string", "string"))
    .languageVersion("string")
    .build());
workflow_resource = azure_native.devhub.Workflow("workflowResource",
    resource_group_name="string",
    image_tag="string",
    branch_name="string",
    last_workflow_run={
        "workflow_run_status": "string",
    },
    location="string",
    deployment_properties={
        "helm_chart_path": "string",
        "helm_values": "string",
        "kube_manifest_locations": ["string"],
        "manifest_type": "string",
        "overrides": {
            "string": "string",
        },
    },
    docker_build_context="string",
    dockerfile="string",
    dockerfile_generation_mode="string",
    dockerfile_output_directory="string",
    generation_language="string",
    image_name="string",
    acr={
        "acr_registry_name": "string",
        "acr_repository_name": "string",
        "acr_resource_group": "string",
        "acr_subscription_id": "string",
    },
    workflow_name="string",
    app_name="string",
    builder_version="string",
    manifest_generation_mode="string",
    manifest_output_directory="string",
    manifest_type="string",
    namespace="string",
    oidc_credentials={
        "azure_client_id": "string",
        "azure_tenant_id": "string",
    },
    port="string",
    repository_name="string",
    repository_owner="string",
    aks_resource_id="string",
    tags={
        "string": "string",
    },
    language_version="string")
const workflowResource = new azure_native.devhub.Workflow("workflowResource", {
    resourceGroupName: "string",
    imageTag: "string",
    branchName: "string",
    lastWorkflowRun: {
        workflowRunStatus: "string",
    },
    location: "string",
    deploymentProperties: {
        helmChartPath: "string",
        helmValues: "string",
        kubeManifestLocations: ["string"],
        manifestType: "string",
        overrides: {
            string: "string",
        },
    },
    dockerBuildContext: "string",
    dockerfile: "string",
    dockerfileGenerationMode: "string",
    dockerfileOutputDirectory: "string",
    generationLanguage: "string",
    imageName: "string",
    acr: {
        acrRegistryName: "string",
        acrRepositoryName: "string",
        acrResourceGroup: "string",
        acrSubscriptionId: "string",
    },
    workflowName: "string",
    appName: "string",
    builderVersion: "string",
    manifestGenerationMode: "string",
    manifestOutputDirectory: "string",
    manifestType: "string",
    namespace: "string",
    oidcCredentials: {
        azureClientId: "string",
        azureTenantId: "string",
    },
    port: "string",
    repositoryName: "string",
    repositoryOwner: "string",
    aksResourceId: "string",
    tags: {
        string: "string",
    },
    languageVersion: "string",
});
type: azure-native:devhub:Workflow
properties:
    acr:
        acrRegistryName: string
        acrRepositoryName: string
        acrResourceGroup: string
        acrSubscriptionId: string
    aksResourceId: string
    appName: string
    branchName: string
    builderVersion: string
    deploymentProperties:
        helmChartPath: string
        helmValues: string
        kubeManifestLocations:
            - string
        manifestType: string
        overrides:
            string: string
    dockerBuildContext: string
    dockerfile: string
    dockerfileGenerationMode: string
    dockerfileOutputDirectory: string
    generationLanguage: string
    imageName: string
    imageTag: string
    languageVersion: string
    lastWorkflowRun:
        workflowRunStatus: string
    location: string
    manifestGenerationMode: string
    manifestOutputDirectory: string
    manifestType: string
    namespace: string
    oidcCredentials:
        azureClientId: string
        azureTenantId: string
    port: string
    repositoryName: string
    repositoryOwner: string
    resourceGroupName: string
    tags:
        string: string
    workflowName: string
Workflow Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Workflow resource accepts the following input properties:
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- Acr
Pulumi.Azure Native. Dev Hub. Inputs. ACR 
- 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. Inputs. Deployment Properties 
- DockerBuild stringContext 
- Path to Dockerfile Build Context within the repository.
- Dockerfile string
- Path to the Dockerfile within the repository.
- DockerfileGeneration string | Pulumi.Mode Azure Native. Dev Hub. Dockerfile Generation Mode 
- The mode of generation to be used for generating Dockerfiles.
- DockerfileOutput stringDirectory 
- The directory to output the generated Dockerfile to.
- GenerationLanguage string | Pulumi.Azure Native. Dev Hub. Generation Language 
- 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. Inputs. Workflow Run 
- Location string
- The geo-location where the resource lives
- ManifestGeneration string | Pulumi.Mode Azure Native. Dev Hub. Manifest Generation Mode 
- The mode of generation to be used for generating Manifest.
- ManifestOutput stringDirectory 
- The directory to output the generated manifests to.
- ManifestType string | Pulumi.Azure Native. Dev Hub. Generation Manifest Type 
- Determines the type of manifests to be generated.
- Namespace string
- Kubernetes namespace the application is deployed to.
- OidcCredentials Pulumi.Azure Native. Dev Hub. Inputs. Git Hub Workflow Profile 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.
- WorkflowName string
- The name of the workflow resource.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- Acr ACRArgs
- 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 Args 
- DockerBuild stringContext 
- Path to Dockerfile Build Context within the repository.
- Dockerfile string
- Path to the Dockerfile within the repository.
- DockerfileGeneration string | DockerfileMode Generation Mode 
- The mode of generation to be used for generating Dockerfiles.
- DockerfileOutput stringDirectory 
- The directory to output the generated Dockerfile to.
- GenerationLanguage string | GenerationLanguage 
- 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 Args 
- Location string
- The geo-location where the resource lives
- ManifestGeneration string | ManifestMode Generation Mode 
- The mode of generation to be used for generating Manifest.
- ManifestOutput stringDirectory 
- The directory to output the generated manifests to.
- ManifestType string | GenerationManifest Type 
- Determines the type of manifests to be generated.
- Namespace string
- Kubernetes namespace the application is deployed to.
- OidcCredentials GitHub Workflow Profile Oidc Credentials Args 
- 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.
- WorkflowName string
- The name of the workflow resource.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- acr ACR
- 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 
- dockerBuild StringContext 
- Path to Dockerfile Build Context within the repository.
- dockerfile String
- Path to the Dockerfile within the repository.
- dockerfileGeneration String | DockerfileMode Generation Mode 
- The mode of generation to be used for generating Dockerfiles.
- dockerfileOutput StringDirectory 
- The directory to output the generated Dockerfile to.
- generationLanguage String | GenerationLanguage 
- 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 
- location String
- The geo-location where the resource lives
- manifestGeneration String | ManifestMode Generation Mode 
- The mode of generation to be used for generating Manifest.
- manifestOutput StringDirectory 
- The directory to output the generated manifests to.
- manifestType String | GenerationManifest Type 
- Determines the type of manifests to be generated.
- namespace String
- Kubernetes namespace the application is deployed to.
- oidcCredentials GitHub Workflow Profile 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.
- workflowName String
- The name of the workflow resource.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- acr ACR
- 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 
- dockerBuild stringContext 
- Path to Dockerfile Build Context within the repository.
- dockerfile string
- Path to the Dockerfile within the repository.
- dockerfileGeneration string | DockerfileMode Generation Mode 
- The mode of generation to be used for generating Dockerfiles.
- dockerfileOutput stringDirectory 
- The directory to output the generated Dockerfile to.
- generationLanguage string | GenerationLanguage 
- 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 
- location string
- The geo-location where the resource lives
- manifestGeneration string | ManifestMode Generation Mode 
- The mode of generation to be used for generating Manifest.
- manifestOutput stringDirectory 
- The directory to output the generated manifests to.
- manifestType string | GenerationManifest Type 
- Determines the type of manifests to be generated.
- namespace string
- Kubernetes namespace the application is deployed to.
- oidcCredentials GitHub Workflow Profile 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.
- workflowName string
- The name of the workflow resource.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- acr ACRArgs
- 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 Args 
- docker_build_ strcontext 
- Path to Dockerfile Build Context within the repository.
- dockerfile str
- Path to the Dockerfile within the repository.
- dockerfile_generation_ str | Dockerfilemode Generation Mode 
- The mode of generation to be used for generating Dockerfiles.
- dockerfile_output_ strdirectory 
- The directory to output the generated Dockerfile to.
- generation_language str | GenerationLanguage 
- 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 Args 
- location str
- The geo-location where the resource lives
- manifest_generation_ str | Manifestmode Generation Mode 
- The mode of generation to be used for generating Manifest.
- manifest_output_ strdirectory 
- The directory to output the generated manifests to.
- manifest_type str | GenerationManifest Type 
- Determines the type of manifests to be generated.
- namespace str
- Kubernetes namespace the application is deployed to.
- oidc_credentials GitHub Workflow Profile Oidc Credentials Args 
- 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.
- workflow_name str
- The name of the workflow resource.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- 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 String | "enabled" | "disabled"Mode 
- The mode of generation to be used for generating Dockerfiles.
- dockerfileOutput StringDirectory 
- The directory to output the generated Dockerfile to.
- generationLanguage String | "clojure" | "csharp" | "erlang" | "go" | "gomodule" | "gradle" | "java" | "javascript" | "php" | "python" | "ruby" | "rust" | "swift"
- 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 
- location String
- The geo-location where the resource lives
- manifestGeneration String | "enabled" | "disabled"Mode 
- The mode of generation to be used for generating Manifest.
- manifestOutput StringDirectory 
- The directory to output the generated manifests to.
- manifestType String | "helm" | "kube"
- 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.
- workflowName String
- The name of the workflow resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the Workflow resource produces the following output properties:
- AuthStatus string
- Determines the authorization status of requests.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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"
- AuthStatus string
- Determines the authorization status of requests.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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"
- authStatus String
- Determines the authorization status of requests.
- id String
- The provider-assigned unique ID for this managed resource.
- 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"
- authStatus string
- Determines the authorization status of requests.
- id string
- The provider-assigned unique ID for this managed resource.
- 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"
- auth_status str
- Determines the authorization status of requests.
- id str
- The provider-assigned unique ID for this managed resource.
- 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"
- authStatus String
- Determines the authorization status of requests.
- id String
- The provider-assigned unique ID for this managed resource.
- 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"
Supporting Types
ACR, ACRArgs  
- 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
ACRResponse, ACRResponseArgs  
- 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
DeploymentProperties, DeploymentPropertiesArgs    
- HelmChart stringPath 
- Helm chart directory path in repository.
- HelmValues string
- Helm Values.yaml file location in repository.
- KubeManifest List<string>Locations 
- ManifestType string | Pulumi.Azure Native. Dev Hub. Manifest Type 
- 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 | ManifestType 
- 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 | ManifestType 
- 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 | ManifestType 
- 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 | ManifestType 
- 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 | "helm" | "kube"
- Determines the type of manifests within the repository.
- overrides Map<String>
- Manifest override values.
DeploymentPropertiesResponse, DeploymentPropertiesResponseArgs      
- 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.
DockerfileGenerationMode, DockerfileGenerationModeArgs      
- Enabled
- enabledDockerfiles will be generated
- Disabled
- disabledDockerfiles will not be generated
- DockerfileGeneration Mode Enabled 
- enabledDockerfiles will be generated
- DockerfileGeneration Mode Disabled 
- disabledDockerfiles will not be generated
- Enabled
- enabledDockerfiles will be generated
- Disabled
- disabledDockerfiles will not be generated
- Enabled
- enabledDockerfiles will be generated
- Disabled
- disabledDockerfiles will not be generated
- ENABLED
- enabledDockerfiles will be generated
- DISABLED
- disabledDockerfiles will not be generated
- "enabled"
- enabledDockerfiles will be generated
- "disabled"
- disabledDockerfiles will not be generated
GenerationLanguage, GenerationLanguageArgs    
- Clojure
- clojureclojure language
- Csharp
- csharpcsharp language
- Erlang
- erlangerlang language
- Go
- gogo language
- Gomodule
- gomodulegomodule language
- Gradle
- gradlegradle language
- Java
- javajava language
- Javascript
- javascriptjavascript language
- Php
- phpphp language
- Python
- pythonpython language
- Ruby
- rubyruby language
- Rust
- rustrust language
- Swift
- swiftswift language
- GenerationLanguage Clojure 
- clojureclojure language
- GenerationLanguage Csharp 
- csharpcsharp language
- GenerationLanguage Erlang 
- erlangerlang language
- GenerationLanguage Go 
- gogo language
- GenerationLanguage Gomodule 
- gomodulegomodule language
- GenerationLanguage Gradle 
- gradlegradle language
- GenerationLanguage Java 
- javajava language
- GenerationLanguage Javascript 
- javascriptjavascript language
- GenerationLanguage Php 
- phpphp language
- GenerationLanguage Python 
- pythonpython language
- GenerationLanguage Ruby 
- rubyruby language
- GenerationLanguage Rust 
- rustrust language
- GenerationLanguage Swift 
- swiftswift language
- Clojure
- clojureclojure language
- Csharp
- csharpcsharp language
- Erlang
- erlangerlang language
- Go
- gogo language
- Gomodule
- gomodulegomodule language
- Gradle
- gradlegradle language
- Java
- javajava language
- Javascript
- javascriptjavascript language
- Php
- phpphp language
- Python
- pythonpython language
- Ruby
- rubyruby language
- Rust
- rustrust language
- Swift
- swiftswift language
- Clojure
- clojureclojure language
- Csharp
- csharpcsharp language
- Erlang
- erlangerlang language
- Go
- gogo language
- Gomodule
- gomodulegomodule language
- Gradle
- gradlegradle language
- Java
- javajava language
- Javascript
- javascriptjavascript language
- Php
- phpphp language
- Python
- pythonpython language
- Ruby
- rubyruby language
- Rust
- rustrust language
- Swift
- swiftswift language
- CLOJURE
- clojureclojure language
- CSHARP
- csharpcsharp language
- ERLANG
- erlangerlang language
- GO
- gogo language
- GOMODULE
- gomodulegomodule language
- GRADLE
- gradlegradle language
- JAVA
- javajava language
- JAVASCRIPT
- javascriptjavascript language
- PHP
- phpphp language
- PYTHON
- pythonpython language
- RUBY
- rubyruby language
- RUST
- rustrust language
- SWIFT
- swiftswift language
- "clojure"
- clojureclojure language
- "csharp"
- csharpcsharp language
- "erlang"
- erlangerlang language
- "go"
- gogo language
- "gomodule"
- gomodulegomodule language
- "gradle"
- gradlegradle language
- "java"
- javajava language
- "javascript"
- javascriptjavascript language
- "php"
- phpphp language
- "python"
- pythonpython language
- "ruby"
- rubyruby language
- "rust"
- rustrust language
- "swift"
- swiftswift language
GenerationManifestType, GenerationManifestTypeArgs      
- Helm
- helmHelm manifests
- Kube
- kubeKubernetes manifests
- GenerationManifest Type Helm 
- helmHelm manifests
- GenerationManifest Type Kube 
- kubeKubernetes manifests
- Helm
- helmHelm manifests
- Kube
- kubeKubernetes manifests
- Helm
- helmHelm manifests
- Kube
- kubeKubernetes manifests
- HELM
- helmHelm manifests
- KUBE
- kubeKubernetes manifests
- "helm"
- helmHelm manifests
- "kube"
- kubeKubernetes manifests
GitHubWorkflowProfileOidcCredentials, GitHubWorkflowProfileOidcCredentialsArgs            
- 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
GitHubWorkflowProfileResponseOidcCredentials, GitHubWorkflowProfileResponseOidcCredentialsArgs              
- 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
ManifestGenerationMode, ManifestGenerationModeArgs      
- Enabled
- enabledManifests will be generated
- Disabled
- disabledManifests will not be generated
- ManifestGeneration Mode Enabled 
- enabledManifests will be generated
- ManifestGeneration Mode Disabled 
- disabledManifests will not be generated
- Enabled
- enabledManifests will be generated
- Disabled
- disabledManifests will not be generated
- Enabled
- enabledManifests will be generated
- Disabled
- disabledManifests will not be generated
- ENABLED
- enabledManifests will be generated
- DISABLED
- disabledManifests will not be generated
- "enabled"
- enabledManifests will be generated
- "disabled"
- disabledManifests will not be generated
ManifestType, ManifestTypeArgs    
- Helm
- helmRepositories using helm
- Kube
- kubeRepositories using kubernetes manifests
- ManifestType Helm 
- helmRepositories using helm
- ManifestType Kube 
- kubeRepositories using kubernetes manifests
- Helm
- helmRepositories using helm
- Kube
- kubeRepositories using kubernetes manifests
- Helm
- helmRepositories using helm
- Kube
- kubeRepositories using kubernetes manifests
- HELM
- helmRepositories using helm
- KUBE
- kubeRepositories using kubernetes manifests
- "helm"
- helmRepositories using helm
- "kube"
- kubeRepositories using kubernetes manifests
SystemDataResponse, SystemDataResponseArgs      
- 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.
WorkflowRun, WorkflowRunArgs    
- WorkflowRun string | Pulumi.Status Azure Native. Dev Hub. Workflow Run Status 
- Describes the status of the workflow run
- WorkflowRun string | WorkflowStatus Run Status 
- Describes the status of the workflow run
- workflowRun String | WorkflowStatus Run Status 
- Describes the status of the workflow run
- workflowRun string | WorkflowStatus Run Status 
- Describes the status of the workflow run
- workflow_run_ str | Workflowstatus Run Status 
- Describes the status of the workflow run
- workflowRun String | "queued" | "inprogress" | "completed"Status 
- Describes the status of the workflow run
WorkflowRunResponse, WorkflowRunResponseArgs      
- 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
WorkflowRunStatus, WorkflowRunStatusArgs      
- Queued
- queuedWorkflow run is queued
- Inprogress
- inprogressWorkflow run is inprogress
- Completed
- completedWorkflow run is completed
- WorkflowRun Status Queued 
- queuedWorkflow run is queued
- WorkflowRun Status Inprogress 
- inprogressWorkflow run is inprogress
- WorkflowRun Status Completed 
- completedWorkflow run is completed
- Queued
- queuedWorkflow run is queued
- Inprogress
- inprogressWorkflow run is inprogress
- Completed
- completedWorkflow run is completed
- Queued
- queuedWorkflow run is queued
- Inprogress
- inprogressWorkflow run is inprogress
- Completed
- completedWorkflow run is completed
- QUEUED
- queuedWorkflow run is queued
- INPROGRESS
- inprogressWorkflow run is inprogress
- COMPLETED
- completedWorkflow run is completed
- "queued"
- queuedWorkflow run is queued
- "inprogress"
- inprogressWorkflow run is inprogress
- "completed"
- completedWorkflow run is completed
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:devhub:Workflow workflow1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevHub/workflows/{workflowName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0