1. Packages
  2. Azure Native
  3. API Docs
  4. edge
  5. getWorkflowVersion
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.7.1 published on Wednesday, Aug 13, 2025 by Pulumi

azure-native.edge.getWorkflowVersion

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.7.1 published on Wednesday, Aug 13, 2025 by Pulumi

    Get a Workflow Version Resource

    Uses Azure REST API version 2025-06-01.

    Using getWorkflowVersion

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getWorkflowVersion(args: GetWorkflowVersionArgs, opts?: InvokeOptions): Promise<GetWorkflowVersionResult>
    function getWorkflowVersionOutput(args: GetWorkflowVersionOutputArgs, opts?: InvokeOptions): Output<GetWorkflowVersionResult>
    def get_workflow_version(context_name: Optional[str] = None,
                             resource_group_name: Optional[str] = None,
                             version_name: Optional[str] = None,
                             workflow_name: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetWorkflowVersionResult
    def get_workflow_version_output(context_name: Optional[pulumi.Input[str]] = None,
                             resource_group_name: Optional[pulumi.Input[str]] = None,
                             version_name: Optional[pulumi.Input[str]] = None,
                             workflow_name: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetWorkflowVersionResult]
    func LookupWorkflowVersion(ctx *Context, args *LookupWorkflowVersionArgs, opts ...InvokeOption) (*LookupWorkflowVersionResult, error)
    func LookupWorkflowVersionOutput(ctx *Context, args *LookupWorkflowVersionOutputArgs, opts ...InvokeOption) LookupWorkflowVersionResultOutput

    > Note: This function is named LookupWorkflowVersion in the Go SDK.

    public static class GetWorkflowVersion 
    {
        public static Task<GetWorkflowVersionResult> InvokeAsync(GetWorkflowVersionArgs args, InvokeOptions? opts = null)
        public static Output<GetWorkflowVersionResult> Invoke(GetWorkflowVersionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetWorkflowVersionResult> getWorkflowVersion(GetWorkflowVersionArgs args, InvokeOptions options)
    public static Output<GetWorkflowVersionResult> getWorkflowVersion(GetWorkflowVersionArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure-native:edge:getWorkflowVersion
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ContextName string
    The name of the Context.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    VersionName string
    The name of the workflowVersion.
    WorkflowName string
    Name of the workflow
    ContextName string
    The name of the Context.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    VersionName string
    The name of the workflowVersion.
    WorkflowName string
    Name of the workflow
    contextName String
    The name of the Context.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    versionName String
    The name of the workflowVersion.
    workflowName String
    Name of the workflow
    contextName string
    The name of the Context.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    versionName string
    The name of the workflowVersion.
    workflowName string
    Name of the workflow
    context_name str
    The name of the Context.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    version_name str
    The name of the workflowVersion.
    workflow_name str
    Name of the workflow
    contextName String
    The name of the Context.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    versionName String
    The name of the workflowVersion.
    workflowName String
    Name of the workflow

    getWorkflowVersion Result

    The following output properties are available:

    AzureApiVersion string
    The Azure API version of the resource.
    ETag string
    If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
    Id string
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    Name string
    The name of the resource
    Properties Pulumi.AzureNative.Edge.Outputs.WorkflowVersionPropertiesResponse
    The resource-specific properties for this resource.
    SystemData Pulumi.AzureNative.Edge.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"
    ExtendedLocation Pulumi.AzureNative.Edge.Outputs.AzureResourceManagerCommonTypesExtendedLocationResponse
    The complex type of the extended location.
    AzureApiVersion string
    The Azure API version of the resource.
    ETag string
    If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
    Id string
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    Name string
    The name of the resource
    Properties WorkflowVersionPropertiesResponse
    The resource-specific properties for this resource.
    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"
    ExtendedLocation AzureResourceManagerCommonTypesExtendedLocationResponse
    The complex type of the extended location.
    azureApiVersion String
    The Azure API version of the resource.
    eTag String
    If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
    id String
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    name String
    The name of the resource
    properties WorkflowVersionPropertiesResponse
    The resource-specific properties for this resource.
    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"
    extendedLocation AzureResourceManagerCommonTypesExtendedLocationResponse
    The complex type of the extended location.
    azureApiVersion string
    The Azure API version of the resource.
    eTag string
    If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
    id string
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    name string
    The name of the resource
    properties WorkflowVersionPropertiesResponse
    The resource-specific properties for this resource.
    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"
    extendedLocation AzureResourceManagerCommonTypesExtendedLocationResponse
    The complex type of the extended location.
    azure_api_version str
    The Azure API version of the resource.
    e_tag str
    If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
    id str
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    name str
    The name of the resource
    properties WorkflowVersionPropertiesResponse
    The resource-specific properties for this resource.
    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"
    extended_location AzureResourceManagerCommonTypesExtendedLocationResponse
    The complex type of the extended location.
    azureApiVersion String
    The Azure API version of the resource.
    eTag String
    If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
    id String
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    name String
    The name of the resource
    properties Property Map
    The resource-specific properties for this resource.
    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"
    extendedLocation Property Map
    The complex type of the extended location.

    Supporting Types

    AzureResourceManagerCommonTypesExtendedLocationResponse

    Name string
    The name of the extended location.
    Type string
    The type of the extended location.
    Name string
    The name of the extended location.
    Type string
    The type of the extended location.
    name String
    The name of the extended location.
    type String
    The type of the extended location.
    name string
    The name of the extended location.
    type string
    The type of the extended location.
    name str
    The name of the extended location.
    type str
    The type of the extended location.
    name String
    The name of the extended location.
    type String
    The type of the extended location.

    ErrorActionResponse

    MaxToleratedFailures int
    Max tolerated failures
    Mode string
    Error action mode
    MaxToleratedFailures int
    Max tolerated failures
    Mode string
    Error action mode
    maxToleratedFailures Integer
    Max tolerated failures
    mode String
    Error action mode
    maxToleratedFailures number
    Max tolerated failures
    mode string
    Error action mode
    max_tolerated_failures int
    Max tolerated failures
    mode str
    Error action mode
    maxToleratedFailures Number
    Max tolerated failures
    mode String
    Error action mode

    StageSpecResponse

    Name string
    Name of Stage
    Specification object
    Stage specification
    TaskOption Pulumi.AzureNative.Edge.Inputs.TaskOptionResponse
    Task option for the stage
    Tasks List<Pulumi.AzureNative.Edge.Inputs.TaskSpecResponse>
    List of tasks in the stage
    Name string
    Name of Stage
    Specification interface{}
    Stage specification
    TaskOption TaskOptionResponse
    Task option for the stage
    Tasks []TaskSpecResponse
    List of tasks in the stage
    name String
    Name of Stage
    specification Object
    Stage specification
    taskOption TaskOptionResponse
    Task option for the stage
    tasks List<TaskSpecResponse>
    List of tasks in the stage
    name string
    Name of Stage
    specification any
    Stage specification
    taskOption TaskOptionResponse
    Task option for the stage
    tasks TaskSpecResponse[]
    List of tasks in the stage
    name str
    Name of Stage
    specification Any
    Stage specification
    task_option TaskOptionResponse
    Task option for the stage
    tasks Sequence[TaskSpecResponse]
    List of tasks in the stage
    name String
    Name of Stage
    specification Any
    Stage specification
    taskOption Property Map
    Task option for the stage
    tasks List<Property Map>
    List of tasks in the stage

    SystemDataResponse

    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.

    TaskOptionResponse

    Concurrency int
    Parallel worker numbers of the tasks
    ErrorAction Pulumi.AzureNative.Edge.Inputs.ErrorActionResponse
    Error action for the tasks
    Concurrency int
    Parallel worker numbers of the tasks
    ErrorAction ErrorActionResponse
    Error action for the tasks
    concurrency Integer
    Parallel worker numbers of the tasks
    errorAction ErrorActionResponse
    Error action for the tasks
    concurrency number
    Parallel worker numbers of the tasks
    errorAction ErrorActionResponse
    Error action for the tasks
    concurrency int
    Parallel worker numbers of the tasks
    error_action ErrorActionResponse
    Error action for the tasks
    concurrency Number
    Parallel worker numbers of the tasks
    errorAction Property Map
    Error action for the tasks

    TaskSpecResponse

    Name string
    Name of Task
    Specification object
    Task specification
    TargetId string
    Target ARM id
    Name string
    Name of Task
    Specification interface{}
    Task specification
    TargetId string
    Target ARM id
    name String
    Name of Task
    specification Object
    Task specification
    targetId String
    Target ARM id
    name string
    Name of Task
    specification any
    Task specification
    targetId string
    Target ARM id
    name str
    Name of Task
    specification Any
    Task specification
    target_id str
    Target ARM id
    name String
    Name of Task
    specification Any
    Task specification
    targetId String
    Target ARM id

    WorkflowVersionPropertiesResponse

    Configuration string
    Resolved configuration values
    ProvisioningState string
    Provisioning state of resource
    ReviewId string
    Review id of resolved config for this workflow version
    Revision int
    Revision number of resolved config for this workflow version
    StageSpec List<Pulumi.AzureNative.Edge.Inputs.StageSpecResponse>
    A list of stage specs
    State string
    State of workflow version
    Specification object
    Execution specification
    Configuration string
    Resolved configuration values
    ProvisioningState string
    Provisioning state of resource
    ReviewId string
    Review id of resolved config for this workflow version
    Revision int
    Revision number of resolved config for this workflow version
    StageSpec []StageSpecResponse
    A list of stage specs
    State string
    State of workflow version
    Specification interface{}
    Execution specification
    configuration String
    Resolved configuration values
    provisioningState String
    Provisioning state of resource
    reviewId String
    Review id of resolved config for this workflow version
    revision Integer
    Revision number of resolved config for this workflow version
    stageSpec List<StageSpecResponse>
    A list of stage specs
    state String
    State of workflow version
    specification Object
    Execution specification
    configuration string
    Resolved configuration values
    provisioningState string
    Provisioning state of resource
    reviewId string
    Review id of resolved config for this workflow version
    revision number
    Revision number of resolved config for this workflow version
    stageSpec StageSpecResponse[]
    A list of stage specs
    state string
    State of workflow version
    specification any
    Execution specification
    configuration str
    Resolved configuration values
    provisioning_state str
    Provisioning state of resource
    review_id str
    Review id of resolved config for this workflow version
    revision int
    Revision number of resolved config for this workflow version
    stage_spec Sequence[StageSpecResponse]
    A list of stage specs
    state str
    State of workflow version
    specification Any
    Execution specification
    configuration String
    Resolved configuration values
    provisioningState String
    Provisioning state of resource
    reviewId String
    Review id of resolved config for this workflow version
    revision Number
    Revision number of resolved config for this workflow version
    stageSpec List<Property Map>
    A list of stage specs
    state String
    State of workflow version
    specification Any
    Execution specification

    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 v2 docs if using the v2 version of this package.
    Azure Native v3.7.1 published on Wednesday, Aug 13, 2025 by Pulumi