@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 7.03 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* Resource representation of a workflow
*
* Uses Azure REST API version 2023-08-01. In version 2.x of the Azure Native provider, it used API version 2022-10-11-preview.
*
* Other available API versions: 2022-10-11-preview, 2024-05-01-preview, 2024-08-01-preview, 2025-03-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native devhub [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare class Workflow extends pulumi.CustomResource {
/**
* Get an existing Workflow resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Workflow;
/**
* Returns true if the given object is an instance of Workflow. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is Workflow;
/**
* The name of the app.
*/
readonly appName: pulumi.Output<string | undefined>;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: pulumi.Output<string>;
/**
* The version of the language image used for building the code in the generated dockerfile.
*/
readonly builderVersion: pulumi.Output<string | undefined>;
/**
* The mode of generation to be used for generating Dockerfiles.
*/
readonly dockerfileGenerationMode: pulumi.Output<string | undefined>;
/**
* The directory to output the generated Dockerfile to.
*/
readonly dockerfileOutputDirectory: pulumi.Output<string | undefined>;
/**
* The programming language used.
*/
readonly generationLanguage: pulumi.Output<string | undefined>;
/**
* Profile of a github workflow.
*/
readonly githubWorkflowProfile: pulumi.Output<outputs.devhub.GitHubWorkflowProfileResponse | undefined>;
/**
* The name of the image to be generated.
*/
readonly imageName: pulumi.Output<string | undefined>;
/**
* The tag to apply to the generated image.
*/
readonly imageTag: pulumi.Output<string | undefined>;
/**
* The version of the language image used for execution in the generated dockerfile.
*/
readonly languageVersion: pulumi.Output<string | undefined>;
/**
* The geo-location where the resource lives
*/
readonly location: pulumi.Output<string>;
/**
* The mode of generation to be used for generating Manifest.
*/
readonly manifestGenerationMode: pulumi.Output<string | undefined>;
/**
* The directory to output the generated manifests to.
*/
readonly manifestOutputDirectory: pulumi.Output<string | undefined>;
/**
* Determines the type of manifests to be generated.
*/
readonly manifestType: pulumi.Output<string | undefined>;
/**
* The name of the resource
*/
readonly name: pulumi.Output<string>;
/**
* The namespace to deploy the application to.
*/
readonly namespace: pulumi.Output<string | undefined>;
/**
* The port the application is exposed on.
*/
readonly port: pulumi.Output<string | undefined>;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: pulumi.Output<outputs.devhub.SystemDataResponse>;
/**
* Resource tags.
*/
readonly tags: pulumi.Output<{
[key: string]: string;
} | undefined>;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: pulumi.Output<string>;
/**
* Create a Workflow resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: WorkflowArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a Workflow resource.
*/
export interface WorkflowArgs {
/**
* The name of the app.
*/
appName?: pulumi.Input<string>;
/**
* The version of the language image used for building the code in the generated dockerfile.
*/
builderVersion?: pulumi.Input<string>;
/**
* The mode of generation to be used for generating Dockerfiles.
*/
dockerfileGenerationMode?: pulumi.Input<string | enums.devhub.DockerfileGenerationMode>;
/**
* The directory to output the generated Dockerfile to.
*/
dockerfileOutputDirectory?: pulumi.Input<string>;
/**
* The programming language used.
*/
generationLanguage?: pulumi.Input<string | enums.devhub.GenerationLanguage>;
/**
* Profile of a github workflow.
*/
githubWorkflowProfile?: pulumi.Input<inputs.devhub.GitHubWorkflowProfileArgs>;
/**
* The name of the image to be generated.
*/
imageName?: pulumi.Input<string>;
/**
* The tag to apply to the generated image.
*/
imageTag?: pulumi.Input<string>;
/**
* The version of the language image used for execution in the generated dockerfile.
*/
languageVersion?: pulumi.Input<string>;
/**
* The geo-location where the resource lives
*/
location?: pulumi.Input<string>;
/**
* The mode of generation to be used for generating Manifest.
*/
manifestGenerationMode?: pulumi.Input<string | enums.devhub.ManifestGenerationMode>;
/**
* The directory to output the generated manifests to.
*/
manifestOutputDirectory?: pulumi.Input<string>;
/**
* Determines the type of manifests to be generated.
*/
manifestType?: pulumi.Input<string | enums.devhub.GenerationManifestType>;
/**
* The namespace to deploy the application to.
*/
namespace?: pulumi.Input<string>;
/**
* The port the application is exposed on.
*/
port?: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* Resource tags.
*/
tags?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
/**
* The name of the workflow resource.
*/
workflowName?: pulumi.Input<string>;
}