1. Packages
  2. Azure Native
  3. API Docs
  4. devhub
  5. Workflow
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.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.devhub.Workflow

Explore with Pulumi AI

azure-native logo
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.47.1 published on Monday, Jun 24, 2024 by Pulumi

    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.

    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 pulumi
    import pulumi_azure_native as azure_native
    
    workflow = azure_native.devhub.Workflow("workflow",
        acr=azure_native.devhub.ACRArgs(
            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=azure_native.devhub.DeploymentPropertiesArgs(
            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_native.devhub.GitHubWorkflowProfileOidcCredentialsArgs(
            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")
    
    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",
    });
    
    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 pulumi
    import pulumi_azure_native as azure_native
    
    workflow = azure_native.devhub.Workflow("workflow",
        acr=azure_native.devhub.ACRArgs(
            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=azure_native.devhub.DeploymentPropertiesArgs(
            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_native.devhub.GitHubWorkflowProfileOidcCredentialsArgs(
            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")
    
    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",
    });
    
    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=azure_native.devhub.WorkflowRunArgs(
            workflow_run_status="string",
        ),
        location="string",
        deployment_properties=azure_native.devhub.DeploymentPropertiesArgs(
            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=azure_native.devhub.ACRArgs(
            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_native.devhub.GitHubWorkflowProfileOidcCredentialsArgs(
            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

    The Workflow resource accepts the following input properties:

    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Acr Pulumi.AzureNative.DevHub.Inputs.ACR
    Information on the azure container registry
    AksResourceId string
    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.AzureNative.DevHub.Inputs.DeploymentProperties
    DockerBuildContext string
    Path to Dockerfile Build Context within the repository.
    Dockerfile string
    Path to the Dockerfile within the repository.
    DockerfileGenerationMode string | Pulumi.AzureNative.DevHub.DockerfileGenerationMode
    The mode of generation to be used for generating Dockerfiles.
    DockerfileOutputDirectory string
    The directory to output the generated Dockerfile to.
    GenerationLanguage string | Pulumi.AzureNative.DevHub.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.
    LastWorkflowRun Pulumi.AzureNative.DevHub.Inputs.WorkflowRun
    Location string
    The geo-location where the resource lives
    ManifestGenerationMode string | Pulumi.AzureNative.DevHub.ManifestGenerationMode
    The mode of generation to be used for generating Manifest.
    ManifestOutputDirectory string
    The directory to output the generated manifests to.
    ManifestType string | Pulumi.AzureNative.DevHub.GenerationManifestType
    Determines the type of manifests to be generated.
    Namespace string
    Kubernetes namespace the application is deployed to.
    OidcCredentials Pulumi.AzureNative.DevHub.Inputs.GitHubWorkflowProfileOidcCredentials
    The fields needed for OIDC with GitHub.
    Port string
    The port the application is exposed on.
    RepositoryName string
    Repository Name
    RepositoryOwner string
    Repository Owner
    Tags Dictionary<string, string>
    Resource tags.
    WorkflowName string
    The name of the workflow resource.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Acr ACRArgs
    Information on the azure container registry
    AksResourceId string
    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 DeploymentPropertiesArgs
    DockerBuildContext string
    Path to Dockerfile Build Context within the repository.
    Dockerfile string
    Path to the Dockerfile within the repository.
    DockerfileGenerationMode string | DockerfileGenerationMode
    The mode of generation to be used for generating Dockerfiles.
    DockerfileOutputDirectory string
    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.
    LastWorkflowRun WorkflowRunArgs
    Location string
    The geo-location where the resource lives
    ManifestGenerationMode string | ManifestGenerationMode
    The mode of generation to be used for generating Manifest.
    ManifestOutputDirectory string
    The directory to output the generated manifests to.
    ManifestType string | GenerationManifestType
    Determines the type of manifests to be generated.
    Namespace string
    Kubernetes namespace the application is deployed to.
    OidcCredentials GitHubWorkflowProfileOidcCredentialsArgs
    The fields needed for OIDC with GitHub.
    Port string
    The port the application is exposed on.
    RepositoryName string
    Repository Name
    RepositoryOwner string
    Repository Owner
    Tags map[string]string
    Resource tags.
    WorkflowName string
    The name of the workflow resource.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    acr ACR
    Information on the azure container registry
    aksResourceId String
    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
    dockerBuildContext String
    Path to Dockerfile Build Context within the repository.
    dockerfile String
    Path to the Dockerfile within the repository.
    dockerfileGenerationMode String | DockerfileGenerationMode
    The mode of generation to be used for generating Dockerfiles.
    dockerfileOutputDirectory String
    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.
    lastWorkflowRun WorkflowRun
    location String
    The geo-location where the resource lives
    manifestGenerationMode String | ManifestGenerationMode
    The mode of generation to be used for generating Manifest.
    manifestOutputDirectory String
    The directory to output the generated manifests to.
    manifestType String | GenerationManifestType
    Determines the type of manifests to be generated.
    namespace String
    Kubernetes namespace the application is deployed to.
    oidcCredentials GitHubWorkflowProfileOidcCredentials
    The fields needed for OIDC with GitHub.
    port String
    The port the application is exposed on.
    repositoryName String
    Repository Name
    repositoryOwner String
    Repository Owner
    tags Map<String,String>
    Resource tags.
    workflowName String
    The name of the workflow resource.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    acr ACR
    Information on the azure container registry
    aksResourceId string
    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
    dockerBuildContext string
    Path to Dockerfile Build Context within the repository.
    dockerfile string
    Path to the Dockerfile within the repository.
    dockerfileGenerationMode string | DockerfileGenerationMode
    The mode of generation to be used for generating Dockerfiles.
    dockerfileOutputDirectory string
    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.
    lastWorkflowRun WorkflowRun
    location string
    The geo-location where the resource lives
    manifestGenerationMode string | ManifestGenerationMode
    The mode of generation to be used for generating Manifest.
    manifestOutputDirectory string
    The directory to output the generated manifests to.
    manifestType string | GenerationManifestType
    Determines the type of manifests to be generated.
    namespace string
    Kubernetes namespace the application is deployed to.
    oidcCredentials GitHubWorkflowProfileOidcCredentials
    The fields needed for OIDC with GitHub.
    port string
    The port the application is exposed on.
    repositoryName string
    Repository Name
    repositoryOwner string
    Repository Owner
    tags {[key: string]: string}
    Resource tags.
    workflowName string
    The name of the workflow resource.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    acr ACRArgs
    Information on the azure container registry
    aks_resource_id str
    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 DeploymentPropertiesArgs
    docker_build_context str
    Path to Dockerfile Build Context within the repository.
    dockerfile str
    Path to the Dockerfile within the repository.
    dockerfile_generation_mode str | DockerfileGenerationMode
    The mode of generation to be used for generating Dockerfiles.
    dockerfile_output_directory str
    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_run WorkflowRunArgs
    location str
    The geo-location where the resource lives
    manifest_generation_mode str | ManifestGenerationMode
    The mode of generation to be used for generating Manifest.
    manifest_output_directory str
    The directory to output the generated manifests to.
    manifest_type str | GenerationManifestType
    Determines the type of manifests to be generated.
    namespace str
    Kubernetes namespace the application is deployed to.
    oidc_credentials GitHubWorkflowProfileOidcCredentialsArgs
    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
    tags Mapping[str, str]
    Resource tags.
    workflow_name str
    The name of the workflow resource.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    acr Property Map
    Information on the azure container registry
    aksResourceId String
    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
    dockerBuildContext String
    Path to Dockerfile Build Context within the repository.
    dockerfile String
    Path to the Dockerfile within the repository.
    dockerfileGenerationMode String | "enabled" | "disabled"
    The mode of generation to be used for generating Dockerfiles.
    dockerfileOutputDirectory String
    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.
    lastWorkflowRun Property Map
    location String
    The geo-location where the resource lives
    manifestGenerationMode String | "enabled" | "disabled"
    The mode of generation to be used for generating Manifest.
    manifestOutputDirectory String
    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
    tags 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.AzureNative.DevHub.Outputs.SystemDataResponse
    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 SystemDataResponse
    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 SystemDataResponse
    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 SystemDataResponse
    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 SystemDataResponse
    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

    AcrRegistryName string
    ACR registry
    AcrRepositoryName string
    ACR repository
    AcrResourceGroup string
    ACR resource group
    AcrSubscriptionId string
    ACR subscription id
    AcrRegistryName string
    ACR registry
    AcrRepositoryName string
    ACR repository
    AcrResourceGroup string
    ACR resource group
    AcrSubscriptionId string
    ACR subscription id
    acrRegistryName String
    ACR registry
    acrRepositoryName String
    ACR repository
    acrResourceGroup String
    ACR resource group
    acrSubscriptionId String
    ACR subscription id
    acrRegistryName string
    ACR registry
    acrRepositoryName string
    ACR repository
    acrResourceGroup string
    ACR resource group
    acrSubscriptionId string
    ACR subscription id
    acr_registry_name str
    ACR registry
    acr_repository_name str
    ACR repository
    acr_resource_group str
    ACR resource group
    acr_subscription_id str
    ACR subscription id
    acrRegistryName String
    ACR registry
    acrRepositoryName String
    ACR repository
    acrResourceGroup String
    ACR resource group
    acrSubscriptionId String
    ACR subscription id

    ACRResponse, ACRResponseArgs

    AcrRegistryName string
    ACR registry
    AcrRepositoryName string
    ACR repository
    AcrResourceGroup string
    ACR resource group
    AcrSubscriptionId string
    ACR subscription id
    AcrRegistryName string
    ACR registry
    AcrRepositoryName string
    ACR repository
    AcrResourceGroup string
    ACR resource group
    AcrSubscriptionId string
    ACR subscription id
    acrRegistryName String
    ACR registry
    acrRepositoryName String
    ACR repository
    acrResourceGroup String
    ACR resource group
    acrSubscriptionId String
    ACR subscription id
    acrRegistryName string
    ACR registry
    acrRepositoryName string
    ACR repository
    acrResourceGroup string
    ACR resource group
    acrSubscriptionId string
    ACR subscription id
    acr_registry_name str
    ACR registry
    acr_repository_name str
    ACR repository
    acr_resource_group str
    ACR resource group
    acr_subscription_id str
    ACR subscription id
    acrRegistryName String
    ACR registry
    acrRepositoryName String
    ACR repository
    acrResourceGroup String
    ACR resource group
    acrSubscriptionId String
    ACR subscription id

    DeploymentProperties, DeploymentPropertiesArgs

    HelmChartPath string
    Helm chart directory path in repository.
    HelmValues string
    Helm Values.yaml file location in repository.
    KubeManifestLocations List<string>
    ManifestType string | Pulumi.AzureNative.DevHub.ManifestType
    Determines the type of manifests within the repository.
    Overrides Dictionary<string, string>
    Manifest override values.
    HelmChartPath string
    Helm chart directory path in repository.
    HelmValues string
    Helm Values.yaml file location in repository.
    KubeManifestLocations []string
    ManifestType string | ManifestType
    Determines the type of manifests within the repository.
    Overrides map[string]string
    Manifest override values.
    helmChartPath String
    Helm chart directory path in repository.
    helmValues String
    Helm Values.yaml file location in repository.
    kubeManifestLocations List<String>
    manifestType String | ManifestType
    Determines the type of manifests within the repository.
    overrides Map<String,String>
    Manifest override values.
    helmChartPath string
    Helm chart directory path in repository.
    helmValues string
    Helm Values.yaml file location in repository.
    kubeManifestLocations string[]
    manifestType string | ManifestType
    Determines the type of manifests within the repository.
    overrides {[key: string]: string}
    Manifest override values.
    helm_chart_path str
    Helm chart directory path in repository.
    helm_values str
    Helm Values.yaml file location in repository.
    kube_manifest_locations Sequence[str]
    manifest_type str | ManifestType
    Determines the type of manifests within the repository.
    overrides Mapping[str, str]
    Manifest override values.
    helmChartPath String
    Helm chart directory path in repository.
    helmValues String
    Helm Values.yaml file location in repository.
    kubeManifestLocations List<String>
    manifestType String | "helm" | "kube"
    Determines the type of manifests within the repository.
    overrides Map<String>
    Manifest override values.

    DeploymentPropertiesResponse, DeploymentPropertiesResponseArgs

    HelmChartPath string
    Helm chart directory path in repository.
    HelmValues string
    Helm Values.yaml file location in repository.
    KubeManifestLocations List<string>
    ManifestType string
    Determines the type of manifests within the repository.
    Overrides Dictionary<string, string>
    Manifest override values.
    HelmChartPath string
    Helm chart directory path in repository.
    HelmValues string
    Helm Values.yaml file location in repository.
    KubeManifestLocations []string
    ManifestType string
    Determines the type of manifests within the repository.
    Overrides map[string]string
    Manifest override values.
    helmChartPath String
    Helm chart directory path in repository.
    helmValues String
    Helm Values.yaml file location in repository.
    kubeManifestLocations List<String>
    manifestType String
    Determines the type of manifests within the repository.
    overrides Map<String,String>
    Manifest override values.
    helmChartPath string
    Helm chart directory path in repository.
    helmValues string
    Helm Values.yaml file location in repository.
    kubeManifestLocations string[]
    manifestType string
    Determines the type of manifests within the repository.
    overrides {[key: string]: string}
    Manifest override values.
    helm_chart_path str
    Helm chart directory path in repository.
    helm_values str
    Helm Values.yaml file location in repository.
    kube_manifest_locations Sequence[str]
    manifest_type str
    Determines the type of manifests within the repository.
    overrides Mapping[str, str]
    Manifest override values.
    helmChartPath String
    Helm chart directory path in repository.
    helmValues String
    Helm Values.yaml file location in repository.
    kubeManifestLocations List<String>
    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
    DockerfileGenerationModeEnabled
    enabledDockerfiles will be generated
    DockerfileGenerationModeDisabled
    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
    GenerationLanguageClojure
    clojureclojure language
    GenerationLanguageCsharp
    csharpcsharp language
    GenerationLanguageErlang
    erlangerlang language
    GenerationLanguageGo
    gogo language
    GenerationLanguageGomodule
    gomodulegomodule language
    GenerationLanguageGradle
    gradlegradle language
    GenerationLanguageJava
    javajava language
    GenerationLanguageJavascript
    javascriptjavascript language
    GenerationLanguagePhp
    phpphp language
    GenerationLanguagePython
    pythonpython language
    GenerationLanguageRuby
    rubyruby language
    GenerationLanguageRust
    rustrust language
    GenerationLanguageSwift
    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
    GenerationManifestTypeHelm
    helmHelm manifests
    GenerationManifestTypeKube
    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

    AzureClientId string
    Azure Application Client ID
    AzureTenantId string
    Azure Directory (tenant) ID
    AzureClientId string
    Azure Application Client ID
    AzureTenantId string
    Azure Directory (tenant) ID
    azureClientId String
    Azure Application Client ID
    azureTenantId String
    Azure Directory (tenant) ID
    azureClientId string
    Azure Application Client ID
    azureTenantId string
    Azure Directory (tenant) ID
    azure_client_id str
    Azure Application Client ID
    azure_tenant_id str
    Azure Directory (tenant) ID
    azureClientId String
    Azure Application Client ID
    azureTenantId String
    Azure Directory (tenant) ID

    GitHubWorkflowProfileResponseOidcCredentials, GitHubWorkflowProfileResponseOidcCredentialsArgs

    AzureClientId string
    Azure Application Client ID
    AzureTenantId string
    Azure Directory (tenant) ID
    AzureClientId string
    Azure Application Client ID
    AzureTenantId string
    Azure Directory (tenant) ID
    azureClientId String
    Azure Application Client ID
    azureTenantId String
    Azure Directory (tenant) ID
    azureClientId string
    Azure Application Client ID
    azureTenantId string
    Azure Directory (tenant) ID
    azure_client_id str
    Azure Application Client ID
    azure_tenant_id str
    Azure Directory (tenant) ID
    azureClientId String
    Azure Application Client ID
    azureTenantId String
    Azure Directory (tenant) ID

    ManifestGenerationMode, ManifestGenerationModeArgs

    Enabled
    enabledManifests will be generated
    Disabled
    disabledManifests will not be generated
    ManifestGenerationModeEnabled
    enabledManifests will be generated
    ManifestGenerationModeDisabled
    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
    ManifestTypeHelm
    helmRepositories using helm
    ManifestTypeKube
    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.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    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.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    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.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    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.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    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_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    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.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    WorkflowRun, WorkflowRunArgs

    WorkflowRunStatus string | Pulumi.AzureNative.DevHub.WorkflowRunStatus
    Describes the status of the workflow run
    WorkflowRunStatus string | WorkflowRunStatus
    Describes the status of the workflow run
    workflowRunStatus String | WorkflowRunStatus
    Describes the status of the workflow run
    workflowRunStatus string | WorkflowRunStatus
    Describes the status of the workflow run
    workflow_run_status str | WorkflowRunStatus
    Describes the status of the workflow run
    workflowRunStatus String | "queued" | "inprogress" | "completed"
    Describes the status of the workflow run

    WorkflowRunResponse, WorkflowRunResponseArgs

    LastRunAt string
    The timestamp of the last workflow run.
    Succeeded bool
    Describes if the workflow run succeeded.
    WorkflowRunURL string
    URL to the run of the workflow.
    WorkflowRunStatus string
    Describes the status of the workflow run
    LastRunAt string
    The timestamp of the last workflow run.
    Succeeded bool
    Describes if the workflow run succeeded.
    WorkflowRunURL string
    URL to the run of the workflow.
    WorkflowRunStatus string
    Describes the status of the workflow run
    lastRunAt String
    The timestamp of the last workflow run.
    succeeded Boolean
    Describes if the workflow run succeeded.
    workflowRunURL String
    URL to the run of the workflow.
    workflowRunStatus String
    Describes the status of the workflow run
    lastRunAt string
    The timestamp of the last workflow run.
    succeeded boolean
    Describes if the workflow run succeeded.
    workflowRunURL string
    URL to the run of the workflow.
    workflowRunStatus string
    Describes the status of the workflow run
    last_run_at str
    The timestamp of the last workflow run.
    succeeded bool
    Describes if the workflow run succeeded.
    workflow_run_url str
    URL to the run of the workflow.
    workflow_run_status str
    Describes the status of the workflow run
    lastRunAt String
    The timestamp of the last workflow run.
    succeeded Boolean
    Describes if the workflow run succeeded.
    workflowRunURL String
    URL to the run of the workflow.
    workflowRunStatus String
    Describes the status of the workflow run

    WorkflowRunStatus, WorkflowRunStatusArgs

    Queued
    queuedWorkflow run is queued
    Inprogress
    inprogressWorkflow run is inprogress
    Completed
    completedWorkflow run is completed
    WorkflowRunStatusQueued
    queuedWorkflow run is queued
    WorkflowRunStatusInprogress
    inprogressWorkflow run is inprogress
    WorkflowRunStatusCompleted
    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
    azure-native logo
    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.47.1 published on Monday, Jun 24, 2024 by Pulumi