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 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")
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={
"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")
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={
"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:
- Resource
Group 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
- Aks
Resource stringId - The Azure Kubernetes Cluster Resource the application will be deployed to.
- App
Name string - The name of the app.
- Branch
Name string - Repository Branch Name
- Builder
Version string - The version of the language image used for building the code in the generated dockerfile.
- Deployment
Properties Pulumi.Azure Native. Dev Hub. Inputs. Deployment Properties - Docker
Build stringContext - Path to Dockerfile Build Context within the repository.
- Dockerfile string
- Path to the Dockerfile within the repository.
- Dockerfile
Generation string | Pulumi.Mode Azure Native. Dev Hub. Dockerfile Generation Mode - The mode of generation to be used for generating Dockerfiles.
- Dockerfile
Output stringDirectory - The directory to output the generated Dockerfile to.
- Generation
Language string | Pulumi.Azure Native. Dev Hub. Generation Language - The programming language used.
- Image
Name string - The name of the image to be generated.
- Image
Tag string - The tag to apply to the generated image.
- Language
Version string - The version of the language image used for execution in the generated dockerfile.
- Last
Workflow Pulumi.Run Azure Native. Dev Hub. Inputs. Workflow Run - Location string
- The geo-location where the resource lives
- Manifest
Generation string | Pulumi.Mode Azure Native. Dev Hub. Manifest Generation Mode - The mode of generation to be used for generating Manifest.
- Manifest
Output stringDirectory - The directory to output the generated manifests to.
- Manifest
Type 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.
- Oidc
Credentials 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.
- Repository
Name string - Repository Name
- Repository
Owner string - Repository Owner
- Dictionary<string, string>
- Resource tags.
- Workflow
Name string - The name of the workflow resource.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Acr ACRArgs
- Information on the azure container registry
- Aks
Resource stringId - The Azure Kubernetes Cluster Resource the application will be deployed to.
- App
Name string - The name of the app.
- Branch
Name string - Repository Branch Name
- Builder
Version string - The version of the language image used for building the code in the generated dockerfile.
- Deployment
Properties DeploymentProperties Args - Docker
Build stringContext - Path to Dockerfile Build Context within the repository.
- Dockerfile string
- Path to the Dockerfile within the repository.
- Dockerfile
Generation string | DockerfileMode Generation Mode - The mode of generation to be used for generating Dockerfiles.
- Dockerfile
Output stringDirectory - The directory to output the generated Dockerfile to.
- Generation
Language string | GenerationLanguage - The programming language used.
- Image
Name string - The name of the image to be generated.
- Image
Tag string - The tag to apply to the generated image.
- Language
Version string - The version of the language image used for execution in the generated dockerfile.
- Last
Workflow WorkflowRun Run Args - Location string
- The geo-location where the resource lives
- Manifest
Generation string | ManifestMode Generation Mode - The mode of generation to be used for generating Manifest.
- Manifest
Output stringDirectory - The directory to output the generated manifests to.
- Manifest
Type string | GenerationManifest Type - Determines the type of manifests to be generated.
- Namespace string
- Kubernetes namespace the application is deployed to.
- Oidc
Credentials GitHub Workflow Profile Oidc Credentials Args - The fields needed for OIDC with GitHub.
- Port string
- The port the application is exposed on.
- Repository
Name string - Repository Name
- Repository
Owner string - Repository Owner
- map[string]string
- Resource tags.
- Workflow
Name string - The name of the workflow resource.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- acr ACR
- Information on the azure container registry
- aks
Resource StringId - The Azure Kubernetes Cluster Resource the application will be deployed to.
- app
Name String - The name of the app.
- branch
Name String - Repository Branch Name
- builder
Version String - The version of the language image used for building the code in the generated dockerfile.
- deployment
Properties DeploymentProperties - docker
Build StringContext - Path to Dockerfile Build Context within the repository.
- dockerfile String
- Path to the Dockerfile within the repository.
- dockerfile
Generation String | DockerfileMode Generation Mode - The mode of generation to be used for generating Dockerfiles.
- dockerfile
Output StringDirectory - The directory to output the generated Dockerfile to.
- generation
Language String | GenerationLanguage - The programming language used.
- image
Name String - The name of the image to be generated.
- image
Tag String - The tag to apply to the generated image.
- language
Version String - The version of the language image used for execution in the generated dockerfile.
- last
Workflow WorkflowRun Run - location String
- The geo-location where the resource lives
- manifest
Generation String | ManifestMode Generation Mode - The mode of generation to be used for generating Manifest.
- manifest
Output StringDirectory - The directory to output the generated manifests to.
- manifest
Type String | GenerationManifest Type - Determines the type of manifests to be generated.
- namespace String
- Kubernetes namespace the application is deployed to.
- oidc
Credentials GitHub Workflow Profile Oidc Credentials - The fields needed for OIDC with GitHub.
- port String
- The port the application is exposed on.
- repository
Name String - Repository Name
- repository
Owner String - Repository Owner
- Map<String,String>
- Resource tags.
- workflow
Name String - The name of the workflow resource.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- acr ACR
- Information on the azure container registry
- aks
Resource stringId - The Azure Kubernetes Cluster Resource the application will be deployed to.
- app
Name string - The name of the app.
- branch
Name string - Repository Branch Name
- builder
Version string - The version of the language image used for building the code in the generated dockerfile.
- deployment
Properties DeploymentProperties - docker
Build stringContext - Path to Dockerfile Build Context within the repository.
- dockerfile string
- Path to the Dockerfile within the repository.
- dockerfile
Generation string | DockerfileMode Generation Mode - The mode of generation to be used for generating Dockerfiles.
- dockerfile
Output stringDirectory - The directory to output the generated Dockerfile to.
- generation
Language string | GenerationLanguage - The programming language used.
- image
Name string - The name of the image to be generated.
- image
Tag string - The tag to apply to the generated image.
- language
Version string - The version of the language image used for execution in the generated dockerfile.
- last
Workflow WorkflowRun Run - location string
- The geo-location where the resource lives
- manifest
Generation string | ManifestMode Generation Mode - The mode of generation to be used for generating Manifest.
- manifest
Output stringDirectory - The directory to output the generated manifests to.
- manifest
Type string | GenerationManifest Type - Determines the type of manifests to be generated.
- namespace string
- Kubernetes namespace the application is deployed to.
- oidc
Credentials GitHub Workflow Profile Oidc Credentials - The fields needed for OIDC with GitHub.
- port string
- The port the application is exposed on.
- repository
Name string - Repository Name
- repository
Owner string - Repository Owner
- {[key: string]: string}
- Resource tags.
- workflow
Name 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.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- acr Property Map
- Information on the azure container registry
- aks
Resource StringId - The Azure Kubernetes Cluster Resource the application will be deployed to.
- app
Name String - The name of the app.
- branch
Name String - Repository Branch Name
- builder
Version String - The version of the language image used for building the code in the generated dockerfile.
- deployment
Properties Property Map - docker
Build StringContext - Path to Dockerfile Build Context within the repository.
- dockerfile String
- Path to the Dockerfile within the repository.
- dockerfile
Generation String | "enabled" | "disabled"Mode - The mode of generation to be used for generating Dockerfiles.
- dockerfile
Output StringDirectory - The directory to output the generated Dockerfile to.
- generation
Language String | "clojure" | "csharp" | "erlang" | "go" | "gomodule" | "gradle" | "java" | "javascript" | "php" | "python" | "ruby" | "rust" | "swift" - The programming language used.
- image
Name String - The name of the image to be generated.
- image
Tag String - The tag to apply to the generated image.
- language
Version String - The version of the language image used for execution in the generated dockerfile.
- last
Workflow Property MapRun - location String
- The geo-location where the resource lives
- manifest
Generation String | "enabled" | "disabled"Mode - The mode of generation to be used for generating Manifest.
- manifest
Output StringDirectory - The directory to output the generated manifests to.
- manifest
Type String | "helm" | "kube" - Determines the type of manifests to be generated.
- namespace String
- Kubernetes namespace the application is deployed to.
- oidc
Credentials Property Map - The fields needed for OIDC with GitHub.
- port String
- The port the application is exposed on.
- repository
Name String - Repository Name
- repository
Owner String - Repository Owner
- Map<String>
- Resource tags.
- workflow
Name 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:
- Auth
Status 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
- Pr
Status string - The status of the Pull Request submitted against the users repository.
- Pr
URL string - The URL to the Pull Request submitted against the users repository.
- Pull
Number int - The number associated with the submitted pull request.
- System
Data 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"
- Auth
Status 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
- Pr
Status string - The status of the Pull Request submitted against the users repository.
- Pr
URL string - 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 string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- auth
Status 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
- pr
Status String - The status of the Pull Request submitted against the users repository.
- pr
URL String - The URL to the Pull Request submitted against the users repository.
- pull
Number Integer - The number associated with the submitted pull request.
- system
Data 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 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
- pr
Status string - The status of the Pull Request submitted against the users repository.
- pr
URL string - The URL to the Pull Request submitted against the users repository.
- pull
Number number - The number associated with the submitted pull request.
- system
Data 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"
- auth
Status 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
- pr
Status String - The status of the Pull Request submitted against the users repository.
- pr
URL String - The URL to the Pull Request submitted against the users repository.
- pull
Number Number - The number associated with the submitted pull request.
- system
Data 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
- Acr
Registry stringName - ACR registry
- Acr
Repository stringName - ACR repository
- Acr
Resource stringGroup - ACR resource group
- Acr
Subscription stringId - ACR subscription id
- Acr
Registry stringName - ACR registry
- Acr
Repository stringName - ACR repository
- Acr
Resource stringGroup - ACR resource group
- Acr
Subscription stringId - ACR subscription id
- acr
Registry StringName - ACR registry
- acr
Repository StringName - ACR repository
- acr
Resource StringGroup - ACR resource group
- acr
Subscription StringId - ACR subscription id
- acr
Registry stringName - ACR registry
- acr
Repository stringName - ACR repository
- acr
Resource stringGroup - ACR resource group
- acr
Subscription 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
- acr
Registry StringName - ACR registry
- acr
Repository StringName - ACR repository
- acr
Resource StringGroup - ACR resource group
- acr
Subscription StringId - ACR subscription id
ACRResponse, ACRResponseArgs
- Acr
Registry stringName - ACR registry
- Acr
Repository stringName - ACR repository
- Acr
Resource stringGroup - ACR resource group
- Acr
Subscription stringId - ACR subscription id
- Acr
Registry stringName - ACR registry
- Acr
Repository stringName - ACR repository
- Acr
Resource stringGroup - ACR resource group
- Acr
Subscription stringId - ACR subscription id
- acr
Registry StringName - ACR registry
- acr
Repository StringName - ACR repository
- acr
Resource StringGroup - ACR resource group
- acr
Subscription StringId - ACR subscription id
- acr
Registry stringName - ACR registry
- acr
Repository stringName - ACR repository
- acr
Resource stringGroup - ACR resource group
- acr
Subscription 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
- acr
Registry StringName - ACR registry
- acr
Repository StringName - ACR repository
- acr
Resource StringGroup - ACR resource group
- acr
Subscription StringId - ACR subscription id
DeploymentProperties, DeploymentPropertiesArgs
- Helm
Chart stringPath - Helm chart directory path in repository.
- Helm
Values string - Helm Values.yaml file location in repository.
- Kube
Manifest List<string>Locations - Manifest
Type string | Pulumi.Azure Native. Dev Hub. Manifest Type - Determines the type of manifests within the repository.
- Overrides Dictionary<string, string>
- Manifest override values.
- Helm
Chart stringPath - Helm chart directory path in repository.
- Helm
Values string - Helm Values.yaml file location in repository.
- Kube
Manifest []stringLocations - Manifest
Type string | ManifestType - Determines the type of manifests within the repository.
- Overrides map[string]string
- Manifest override values.
- helm
Chart StringPath - Helm chart directory path in repository.
- helm
Values String - Helm Values.yaml file location in repository.
- kube
Manifest List<String>Locations - manifest
Type String | ManifestType - Determines the type of manifests within the repository.
- overrides Map<String,String>
- Manifest override values.
- helm
Chart stringPath - Helm chart directory path in repository.
- helm
Values string - Helm Values.yaml file location in repository.
- kube
Manifest string[]Locations - manifest
Type 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.
- helm
Chart StringPath - Helm chart directory path in repository.
- helm
Values String - Helm Values.yaml file location in repository.
- kube
Manifest List<String>Locations - manifest
Type String | "helm" | "kube" - Determines the type of manifests within the repository.
- overrides Map<String>
- Manifest override values.
DeploymentPropertiesResponse, DeploymentPropertiesResponseArgs
- Helm
Chart stringPath - Helm chart directory path in repository.
- Helm
Values string - Helm Values.yaml file location in repository.
- Kube
Manifest List<string>Locations - Manifest
Type string - Determines the type of manifests within the repository.
- Overrides Dictionary<string, string>
- Manifest override values.
- Helm
Chart stringPath - Helm chart directory path in repository.
- Helm
Values string - Helm Values.yaml file location in repository.
- Kube
Manifest []stringLocations - Manifest
Type string - Determines the type of manifests within the repository.
- Overrides map[string]string
- Manifest override values.
- helm
Chart StringPath - Helm chart directory path in repository.
- helm
Values String - Helm Values.yaml file location in repository.
- kube
Manifest List<String>Locations - manifest
Type String - Determines the type of manifests within the repository.
- overrides Map<String,String>
- Manifest override values.
- helm
Chart stringPath - Helm chart directory path in repository.
- helm
Values string - Helm Values.yaml file location in repository.
- kube
Manifest string[]Locations - manifest
Type 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.
- helm
Chart StringPath - Helm chart directory path in repository.
- helm
Values String - Helm Values.yaml file location in repository.
- kube
Manifest List<String>Locations - manifest
Type 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
- Dockerfile
Generation Mode Enabled - enabledDockerfiles will be generated
- Dockerfile
Generation 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
- Generation
Language Clojure - clojureclojure language
- Generation
Language Csharp - csharpcsharp language
- Generation
Language Erlang - erlangerlang language
- Generation
Language Go - gogo language
- Generation
Language Gomodule - gomodulegomodule language
- Generation
Language Gradle - gradlegradle language
- Generation
Language Java - javajava language
- Generation
Language Javascript - javascriptjavascript language
- Generation
Language Php - phpphp language
- Generation
Language Python - pythonpython language
- Generation
Language Ruby - rubyruby language
- Generation
Language Rust - rustrust language
- Generation
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
- "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
- Generation
Manifest Type Helm - helmHelm manifests
- Generation
Manifest 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
- Azure
Client stringId - Azure Application Client ID
- Azure
Tenant stringId - Azure Directory (tenant) ID
- Azure
Client stringId - Azure Application Client ID
- Azure
Tenant stringId - Azure Directory (tenant) ID
- azure
Client StringId - Azure Application Client ID
- azure
Tenant StringId - Azure Directory (tenant) ID
- azure
Client stringId - Azure Application Client ID
- azure
Tenant stringId - Azure Directory (tenant) ID
- azure_
client_ strid - Azure Application Client ID
- azure_
tenant_ strid - Azure Directory (tenant) ID
- azure
Client StringId - Azure Application Client ID
- azure
Tenant StringId - Azure Directory (tenant) ID
GitHubWorkflowProfileResponseOidcCredentials, GitHubWorkflowProfileResponseOidcCredentialsArgs
- Azure
Client stringId - Azure Application Client ID
- Azure
Tenant stringId - Azure Directory (tenant) ID
- Azure
Client stringId - Azure Application Client ID
- Azure
Tenant stringId - Azure Directory (tenant) ID
- azure
Client StringId - Azure Application Client ID
- azure
Tenant StringId - Azure Directory (tenant) ID
- azure
Client stringId - Azure Application Client ID
- azure
Tenant stringId - Azure Directory (tenant) ID
- azure_
client_ strid - Azure Application Client ID
- azure_
tenant_ strid - Azure Directory (tenant) ID
- azure
Client StringId - Azure Application Client ID
- azure
Tenant StringId - Azure Directory (tenant) ID
ManifestGenerationMode, ManifestGenerationModeArgs
- Enabled
- enabledManifests will be generated
- Disabled
- disabledManifests will not be generated
- Manifest
Generation Mode Enabled - enabledManifests will be generated
- Manifest
Generation 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
- Manifest
Type Helm - helmRepositories using helm
- Manifest
Type 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
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified 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.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
WorkflowRun, WorkflowRunArgs
- Workflow
Run string | Pulumi.Status Azure Native. Dev Hub. Workflow Run Status - Describes the status of the workflow run
- Workflow
Run string | WorkflowStatus Run Status - Describes the status of the workflow run
- workflow
Run String | WorkflowStatus Run Status - Describes the status of the workflow run
- workflow
Run string | WorkflowStatus Run Status - Describes the status of the workflow run
- workflow_
run_ str | Workflowstatus Run Status - Describes the status of the workflow run
- workflow
Run String | "queued" | "inprogress" | "completed"Status - Describes the status of the workflow run
WorkflowRunResponse, WorkflowRunResponseArgs
- Last
Run stringAt - The timestamp of the last workflow run.
- Succeeded bool
- Describes if the workflow run succeeded.
- Workflow
Run stringURL - URL to the run of the workflow.
- Workflow
Run stringStatus - Describes the status of the workflow run
- Last
Run stringAt - The timestamp of the last workflow run.
- Succeeded bool
- Describes if the workflow run succeeded.
- Workflow
Run stringURL - URL to the run of the workflow.
- Workflow
Run stringStatus - Describes the status of the workflow run
- last
Run StringAt - The timestamp of the last workflow run.
- succeeded Boolean
- Describes if the workflow run succeeded.
- workflow
Run StringURL - URL to the run of the workflow.
- workflow
Run StringStatus - Describes the status of the workflow run
- last
Run stringAt - The timestamp of the last workflow run.
- succeeded boolean
- Describes if the workflow run succeeded.
- workflow
Run stringURL - URL to the run of the workflow.
- workflow
Run 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
- last
Run StringAt - The timestamp of the last workflow run.
- succeeded Boolean
- Describes if the workflow run succeeded.
- workflow
Run StringURL - URL to the run of the workflow.
- workflow
Run 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
- Workflow
Run Status Queued - queuedWorkflow run is queued
- Workflow
Run Status Inprogress - inprogressWorkflow run is inprogress
- Workflow
Run 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