awx.WorkflowJobTemplateNodeSuccess
Explore with Pulumi AI
TBD
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as awx from "@pulumi/awx";
import * as random from "@pulumi/random";
const workflowNodeK3sUuid = new random.index.Random_uuid("workflowNodeK3sUuid", {});
const k3s = new awx.WorkflowJobTemplateNodeSuccess("k3s", {
workflowJobTemplateNodeId: awx_workflow_job_template_node["default"].id,
unifiedJobTemplateId: awx_job_template.k3s.id,
inventoryId: awx_inventory["default"].id,
identifier: workflowNodeK3sUuid.result,
});
import pulumi
import pulumi_awx as awx
import pulumi_random as random
workflow_node_k3s_uuid = random.index.Random_uuid("workflowNodeK3sUuid")
k3s = awx.WorkflowJobTemplateNodeSuccess("k3s",
workflow_job_template_node_id=awx_workflow_job_template_node["default"]["id"],
unified_job_template_id=awx_job_template["k3s"]["id"],
inventory_id=awx_inventory["default"]["id"],
identifier=workflow_node_k3s_uuid["result"])
package main
import (
"github.com/pulumi/pulumi-random/sdk/go/random"
"github.com/pulumi/pulumi-terraform-provider/sdks/go/awx/awx"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
workflowNodeK3sUuid, err := random.NewRandom_uuid(ctx, "workflowNodeK3sUuid", nil)
if err != nil {
return err
}
_, err = awx.NewWorkflowJobTemplateNodeSuccess(ctx, "k3s", &awx.WorkflowJobTemplateNodeSuccessArgs{
WorkflowJobTemplateNodeId: pulumi.Any(awx_workflow_job_template_node.Default.Id),
UnifiedJobTemplateId: pulumi.Any(awx_job_template.K3s.Id),
InventoryId: pulumi.Any(awx_inventory.Default.Id),
Identifier: workflowNodeK3sUuid.Result,
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Awx = Pulumi.Awx;
using Random = Pulumi.Random;
return await Deployment.RunAsync(() =>
{
var workflowNodeK3sUuid = new Random.Index.Random_uuid("workflowNodeK3sUuid");
var k3s = new Awx.WorkflowJobTemplateNodeSuccess("k3s", new()
{
WorkflowJobTemplateNodeId = awx_workflow_job_template_node.Default.Id,
UnifiedJobTemplateId = awx_job_template.K3s.Id,
InventoryId = awx_inventory.Default.Id,
Identifier = workflowNodeK3sUuid.Result,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.random.random_uuid;
import com.pulumi.awx.WorkflowJobTemplateNodeSuccess;
import com.pulumi.awx.WorkflowJobTemplateNodeSuccessArgs;
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 workflowNodeK3sUuid = new Random_uuid("workflowNodeK3sUuid");
var k3s = new WorkflowJobTemplateNodeSuccess("k3s", WorkflowJobTemplateNodeSuccessArgs.builder()
.workflowJobTemplateNodeId(awx_workflow_job_template_node.default().id())
.unifiedJobTemplateId(awx_job_template.k3s().id())
.inventoryId(awx_inventory.default().id())
.identifier(workflowNodeK3sUuid.result())
.build());
}
}
resources:
workflowNodeK3sUuid:
type: random:random_uuid
k3s:
type: awx:WorkflowJobTemplateNodeSuccess
properties:
workflowJobTemplateNodeId: ${awx_workflow_job_template_node.default.id}
unifiedJobTemplateId: ${awx_job_template.k3s.id}
inventoryId: ${awx_inventory.default.id}
identifier: ${workflowNodeK3sUuid.result}
Create WorkflowJobTemplateNodeSuccess Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WorkflowJobTemplateNodeSuccess(name: string, args: WorkflowJobTemplateNodeSuccessArgs, opts?: CustomResourceOptions);
@overload
def WorkflowJobTemplateNodeSuccess(resource_name: str,
args: WorkflowJobTemplateNodeSuccessArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WorkflowJobTemplateNodeSuccess(resource_name: str,
opts: Optional[ResourceOptions] = None,
unified_job_template_id: Optional[float] = None,
workflow_job_template_node_id: Optional[float] = None,
workflow_job_template_id: Optional[float] = None,
identifier: Optional[str] = None,
job_type: Optional[str] = None,
job_tags: Optional[str] = None,
all_parents_must_converge: Optional[bool] = None,
limit: Optional[str] = None,
scm_branch: Optional[str] = None,
skip_tags: Optional[str] = None,
inventory_id: Optional[float] = None,
verbosity: Optional[float] = None,
extra_data: Optional[str] = None,
diff_mode: Optional[bool] = None,
workflow_job_template_node_success_id: Optional[str] = None)
func NewWorkflowJobTemplateNodeSuccess(ctx *Context, name string, args WorkflowJobTemplateNodeSuccessArgs, opts ...ResourceOption) (*WorkflowJobTemplateNodeSuccess, error)
public WorkflowJobTemplateNodeSuccess(string name, WorkflowJobTemplateNodeSuccessArgs args, CustomResourceOptions? opts = null)
public WorkflowJobTemplateNodeSuccess(String name, WorkflowJobTemplateNodeSuccessArgs args)
public WorkflowJobTemplateNodeSuccess(String name, WorkflowJobTemplateNodeSuccessArgs args, CustomResourceOptions options)
type: awx:WorkflowJobTemplateNodeSuccess
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 WorkflowJobTemplateNodeSuccessArgs
- 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 WorkflowJobTemplateNodeSuccessArgs
- 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 WorkflowJobTemplateNodeSuccessArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WorkflowJobTemplateNodeSuccessArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WorkflowJobTemplateNodeSuccessArgs
- 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 workflowJobTemplateNodeSuccessResource = new Awx.WorkflowJobTemplateNodeSuccess("workflowJobTemplateNodeSuccessResource", new()
{
UnifiedJobTemplateId = 0,
WorkflowJobTemplateNodeId = 0,
WorkflowJobTemplateId = 0,
Identifier = "string",
JobType = "string",
JobTags = "string",
AllParentsMustConverge = false,
Limit = "string",
ScmBranch = "string",
SkipTags = "string",
InventoryId = 0,
Verbosity = 0,
ExtraData = "string",
DiffMode = false,
WorkflowJobTemplateNodeSuccessId = "string",
});
example, err := awx.NewWorkflowJobTemplateNodeSuccess(ctx, "workflowJobTemplateNodeSuccessResource", &awx.WorkflowJobTemplateNodeSuccessArgs{
UnifiedJobTemplateId: pulumi.Float64(0),
WorkflowJobTemplateNodeId: pulumi.Float64(0),
WorkflowJobTemplateId: pulumi.Float64(0),
Identifier: pulumi.String("string"),
JobType: pulumi.String("string"),
JobTags: pulumi.String("string"),
AllParentsMustConverge: pulumi.Bool(false),
Limit: pulumi.String("string"),
ScmBranch: pulumi.String("string"),
SkipTags: pulumi.String("string"),
InventoryId: pulumi.Float64(0),
Verbosity: pulumi.Float64(0),
ExtraData: pulumi.String("string"),
DiffMode: pulumi.Bool(false),
WorkflowJobTemplateNodeSuccessId: pulumi.String("string"),
})
var workflowJobTemplateNodeSuccessResource = new WorkflowJobTemplateNodeSuccess("workflowJobTemplateNodeSuccessResource", WorkflowJobTemplateNodeSuccessArgs.builder()
.unifiedJobTemplateId(0)
.workflowJobTemplateNodeId(0)
.workflowJobTemplateId(0)
.identifier("string")
.jobType("string")
.jobTags("string")
.allParentsMustConverge(false)
.limit("string")
.scmBranch("string")
.skipTags("string")
.inventoryId(0)
.verbosity(0)
.extraData("string")
.diffMode(false)
.workflowJobTemplateNodeSuccessId("string")
.build());
workflow_job_template_node_success_resource = awx.WorkflowJobTemplateNodeSuccess("workflowJobTemplateNodeSuccessResource",
unified_job_template_id=0,
workflow_job_template_node_id=0,
workflow_job_template_id=0,
identifier="string",
job_type="string",
job_tags="string",
all_parents_must_converge=False,
limit="string",
scm_branch="string",
skip_tags="string",
inventory_id=0,
verbosity=0,
extra_data="string",
diff_mode=False,
workflow_job_template_node_success_id="string")
const workflowJobTemplateNodeSuccessResource = new awx.WorkflowJobTemplateNodeSuccess("workflowJobTemplateNodeSuccessResource", {
unifiedJobTemplateId: 0,
workflowJobTemplateNodeId: 0,
workflowJobTemplateId: 0,
identifier: "string",
jobType: "string",
jobTags: "string",
allParentsMustConverge: false,
limit: "string",
scmBranch: "string",
skipTags: "string",
inventoryId: 0,
verbosity: 0,
extraData: "string",
diffMode: false,
workflowJobTemplateNodeSuccessId: "string",
});
type: awx:WorkflowJobTemplateNodeSuccess
properties:
allParentsMustConverge: false
diffMode: false
extraData: string
identifier: string
inventoryId: 0
jobTags: string
jobType: string
limit: string
scmBranch: string
skipTags: string
unifiedJobTemplateId: 0
verbosity: 0
workflowJobTemplateId: 0
workflowJobTemplateNodeId: 0
workflowJobTemplateNodeSuccessId: string
WorkflowJobTemplateNodeSuccess 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 WorkflowJobTemplateNodeSuccess resource accepts the following input properties:
- Identifier string
- Unified
Job doubleTemplate Id - Workflow
Job doubleTemplate Id - Workflow
Job doubleTemplate Node Id - The workflow_job_template_node id from with the new node will start
- All
Parents boolMust Converge - Diff
Mode bool - Extra
Data string - Inventory
Id double - Inventory applied as a prompt, assuming job template prompts for inventory.
- string
- Job
Type string - Limit string
- Scm
Branch string - string
- Verbosity double
- Workflow
Job stringTemplate Node Success Id
- Identifier string
- Unified
Job float64Template Id - Workflow
Job float64Template Id - Workflow
Job float64Template Node Id - The workflow_job_template_node id from with the new node will start
- All
Parents boolMust Converge - Diff
Mode bool - Extra
Data string - Inventory
Id float64 - Inventory applied as a prompt, assuming job template prompts for inventory.
- string
- Job
Type string - Limit string
- Scm
Branch string - string
- Verbosity float64
- Workflow
Job stringTemplate Node Success Id
- identifier String
- unified
Job DoubleTemplate Id - workflow
Job DoubleTemplate Id - workflow
Job DoubleTemplate Node Id - The workflow_job_template_node id from with the new node will start
- all
Parents BooleanMust Converge - diff
Mode Boolean - extra
Data String - inventory
Id Double - Inventory applied as a prompt, assuming job template prompts for inventory.
- String
- job
Type String - limit String
- scm
Branch String - String
- verbosity Double
- workflow
Job StringTemplate Node Success Id
- identifier string
- unified
Job numberTemplate Id - workflow
Job numberTemplate Id - workflow
Job numberTemplate Node Id - The workflow_job_template_node id from with the new node will start
- all
Parents booleanMust Converge - diff
Mode boolean - extra
Data string - inventory
Id number - Inventory applied as a prompt, assuming job template prompts for inventory.
- string
- job
Type string - limit string
- scm
Branch string - string
- verbosity number
- workflow
Job stringTemplate Node Success Id
- identifier str
- unified_
job_ floattemplate_ id - workflow_
job_ floattemplate_ id - workflow_
job_ floattemplate_ node_ id - The workflow_job_template_node id from with the new node will start
- all_
parents_ boolmust_ converge - diff_
mode bool - extra_
data str - inventory_
id float - Inventory applied as a prompt, assuming job template prompts for inventory.
- str
- job_
type str - limit str
- scm_
branch str - str
- verbosity float
- workflow_
job_ strtemplate_ node_ success_ id
- identifier String
- unified
Job NumberTemplate Id - workflow
Job NumberTemplate Id - workflow
Job NumberTemplate Node Id - The workflow_job_template_node id from with the new node will start
- all
Parents BooleanMust Converge - diff
Mode Boolean - extra
Data String - inventory
Id Number - Inventory applied as a prompt, assuming job template prompts for inventory.
- String
- job
Type String - limit String
- scm
Branch String - String
- verbosity Number
- workflow
Job StringTemplate Node Success Id
Outputs
All input properties are implicitly available as output properties. Additionally, the WorkflowJobTemplateNodeSuccess resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing WorkflowJobTemplateNodeSuccess Resource
Get an existing WorkflowJobTemplateNodeSuccess resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: WorkflowJobTemplateNodeSuccessState, opts?: CustomResourceOptions): WorkflowJobTemplateNodeSuccess
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
all_parents_must_converge: Optional[bool] = None,
diff_mode: Optional[bool] = None,
extra_data: Optional[str] = None,
identifier: Optional[str] = None,
inventory_id: Optional[float] = None,
job_tags: Optional[str] = None,
job_type: Optional[str] = None,
limit: Optional[str] = None,
scm_branch: Optional[str] = None,
skip_tags: Optional[str] = None,
unified_job_template_id: Optional[float] = None,
verbosity: Optional[float] = None,
workflow_job_template_id: Optional[float] = None,
workflow_job_template_node_id: Optional[float] = None,
workflow_job_template_node_success_id: Optional[str] = None) -> WorkflowJobTemplateNodeSuccess
func GetWorkflowJobTemplateNodeSuccess(ctx *Context, name string, id IDInput, state *WorkflowJobTemplateNodeSuccessState, opts ...ResourceOption) (*WorkflowJobTemplateNodeSuccess, error)
public static WorkflowJobTemplateNodeSuccess Get(string name, Input<string> id, WorkflowJobTemplateNodeSuccessState? state, CustomResourceOptions? opts = null)
public static WorkflowJobTemplateNodeSuccess get(String name, Output<String> id, WorkflowJobTemplateNodeSuccessState state, CustomResourceOptions options)
resources: _: type: awx:WorkflowJobTemplateNodeSuccess get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- All
Parents boolMust Converge - Diff
Mode bool - Extra
Data string - Identifier string
- Inventory
Id double - Inventory applied as a prompt, assuming job template prompts for inventory.
- string
- Job
Type string - Limit string
- Scm
Branch string - string
- Unified
Job doubleTemplate Id - Verbosity double
- Workflow
Job doubleTemplate Id - Workflow
Job doubleTemplate Node Id - The workflow_job_template_node id from with the new node will start
- Workflow
Job stringTemplate Node Success Id
- All
Parents boolMust Converge - Diff
Mode bool - Extra
Data string - Identifier string
- Inventory
Id float64 - Inventory applied as a prompt, assuming job template prompts for inventory.
- string
- Job
Type string - Limit string
- Scm
Branch string - string
- Unified
Job float64Template Id - Verbosity float64
- Workflow
Job float64Template Id - Workflow
Job float64Template Node Id - The workflow_job_template_node id from with the new node will start
- Workflow
Job stringTemplate Node Success Id
- all
Parents BooleanMust Converge - diff
Mode Boolean - extra
Data String - identifier String
- inventory
Id Double - Inventory applied as a prompt, assuming job template prompts for inventory.
- String
- job
Type String - limit String
- scm
Branch String - String
- unified
Job DoubleTemplate Id - verbosity Double
- workflow
Job DoubleTemplate Id - workflow
Job DoubleTemplate Node Id - The workflow_job_template_node id from with the new node will start
- workflow
Job StringTemplate Node Success Id
- all
Parents booleanMust Converge - diff
Mode boolean - extra
Data string - identifier string
- inventory
Id number - Inventory applied as a prompt, assuming job template prompts for inventory.
- string
- job
Type string - limit string
- scm
Branch string - string
- unified
Job numberTemplate Id - verbosity number
- workflow
Job numberTemplate Id - workflow
Job numberTemplate Node Id - The workflow_job_template_node id from with the new node will start
- workflow
Job stringTemplate Node Success Id
- all_
parents_ boolmust_ converge - diff_
mode bool - extra_
data str - identifier str
- inventory_
id float - Inventory applied as a prompt, assuming job template prompts for inventory.
- str
- job_
type str - limit str
- scm_
branch str - str
- unified_
job_ floattemplate_ id - verbosity float
- workflow_
job_ floattemplate_ id - workflow_
job_ floattemplate_ node_ id - The workflow_job_template_node id from with the new node will start
- workflow_
job_ strtemplate_ node_ success_ id
- all
Parents BooleanMust Converge - diff
Mode Boolean - extra
Data String - identifier String
- inventory
Id Number - Inventory applied as a prompt, assuming job template prompts for inventory.
- String
- job
Type String - limit String
- scm
Branch String - String
- unified
Job NumberTemplate Id - verbosity Number
- workflow
Job NumberTemplate Id - workflow
Job NumberTemplate Node Id - The workflow_job_template_node id from with the new node will start
- workflow
Job StringTemplate Node Success Id
Package Details
- Repository
- awx denouche/terraform-provider-awx
- License
- Notes
- This Pulumi package is based on the
awx
Terraform Provider.