awx.WorkflowJobTemplateSchedule
Explore with Pulumi AI
TBD
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as awx from "@pulumi/awx";
const _default = new awx.WorkflowJobTemplateSchedule("default", {
workflowJobTemplateId: awx_workflow_job_template["default"].id,
rrule: "DTSTART;TZID=Europe/Paris:20211214T120000 RRULE:INTERVAL=1;FREQ=DAILY",
});
import pulumi
import pulumi_awx as awx
default = awx.WorkflowJobTemplateSchedule("default",
workflow_job_template_id=awx_workflow_job_template["default"]["id"],
rrule="DTSTART;TZID=Europe/Paris:20211214T120000 RRULE:INTERVAL=1;FREQ=DAILY")
package main
import (
"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 {
_, err := awx.NewWorkflowJobTemplateSchedule(ctx, "default", &awx.WorkflowJobTemplateScheduleArgs{
WorkflowJobTemplateId: pulumi.Any(awx_workflow_job_template.Default.Id),
Rrule: pulumi.String("DTSTART;TZID=Europe/Paris:20211214T120000 RRULE:INTERVAL=1;FREQ=DAILY"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Awx = Pulumi.Awx;
return await Deployment.RunAsync(() =>
{
var @default = new Awx.WorkflowJobTemplateSchedule("default", new()
{
WorkflowJobTemplateId = awx_workflow_job_template.Default.Id,
Rrule = "DTSTART;TZID=Europe/Paris:20211214T120000 RRULE:INTERVAL=1;FREQ=DAILY",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.awx.WorkflowJobTemplateSchedule;
import com.pulumi.awx.WorkflowJobTemplateScheduleArgs;
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 default_ = new WorkflowJobTemplateSchedule("default", WorkflowJobTemplateScheduleArgs.builder()
.workflowJobTemplateId(awx_workflow_job_template.default().id())
.rrule("DTSTART;TZID=Europe/Paris:20211214T120000 RRULE:INTERVAL=1;FREQ=DAILY")
.build());
}
}
resources:
default:
type: awx:WorkflowJobTemplateSchedule
properties:
workflowJobTemplateId: ${awx_workflow_job_template.default.id}
rrule: DTSTART;TZID=Europe/Paris:20211214T120000 RRULE:INTERVAL=1;FREQ=DAILY
Create WorkflowJobTemplateSchedule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WorkflowJobTemplateSchedule(name: string, args: WorkflowJobTemplateScheduleArgs, opts?: CustomResourceOptions);
@overload
def WorkflowJobTemplateSchedule(resource_name: str,
args: WorkflowJobTemplateScheduleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WorkflowJobTemplateSchedule(resource_name: str,
opts: Optional[ResourceOptions] = None,
rrule: Optional[str] = None,
workflow_job_template_id: Optional[float] = None,
description: Optional[str] = None,
enabled: Optional[bool] = None,
extra_data: Optional[str] = None,
inventory: Optional[str] = None,
name: Optional[str] = None,
unified_job_template_id: Optional[float] = None,
workflow_job_template_schedule_id: Optional[str] = None)
func NewWorkflowJobTemplateSchedule(ctx *Context, name string, args WorkflowJobTemplateScheduleArgs, opts ...ResourceOption) (*WorkflowJobTemplateSchedule, error)
public WorkflowJobTemplateSchedule(string name, WorkflowJobTemplateScheduleArgs args, CustomResourceOptions? opts = null)
public WorkflowJobTemplateSchedule(String name, WorkflowJobTemplateScheduleArgs args)
public WorkflowJobTemplateSchedule(String name, WorkflowJobTemplateScheduleArgs args, CustomResourceOptions options)
type: awx:WorkflowJobTemplateSchedule
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 WorkflowJobTemplateScheduleArgs
- 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 WorkflowJobTemplateScheduleArgs
- 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 WorkflowJobTemplateScheduleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WorkflowJobTemplateScheduleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WorkflowJobTemplateScheduleArgs
- 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 workflowJobTemplateScheduleResource = new Awx.WorkflowJobTemplateSchedule("workflowJobTemplateScheduleResource", new()
{
Rrule = "string",
WorkflowJobTemplateId = 0,
Description = "string",
Enabled = false,
ExtraData = "string",
Inventory = "string",
Name = "string",
UnifiedJobTemplateId = 0,
WorkflowJobTemplateScheduleId = "string",
});
example, err := awx.NewWorkflowJobTemplateSchedule(ctx, "workflowJobTemplateScheduleResource", &awx.WorkflowJobTemplateScheduleArgs{
Rrule: pulumi.String("string"),
WorkflowJobTemplateId: pulumi.Float64(0),
Description: pulumi.String("string"),
Enabled: pulumi.Bool(false),
ExtraData: pulumi.String("string"),
Inventory: pulumi.String("string"),
Name: pulumi.String("string"),
UnifiedJobTemplateId: pulumi.Float64(0),
WorkflowJobTemplateScheduleId: pulumi.String("string"),
})
var workflowJobTemplateScheduleResource = new WorkflowJobTemplateSchedule("workflowJobTemplateScheduleResource", WorkflowJobTemplateScheduleArgs.builder()
.rrule("string")
.workflowJobTemplateId(0)
.description("string")
.enabled(false)
.extraData("string")
.inventory("string")
.name("string")
.unifiedJobTemplateId(0)
.workflowJobTemplateScheduleId("string")
.build());
workflow_job_template_schedule_resource = awx.WorkflowJobTemplateSchedule("workflowJobTemplateScheduleResource",
rrule="string",
workflow_job_template_id=0,
description="string",
enabled=False,
extra_data="string",
inventory="string",
name="string",
unified_job_template_id=0,
workflow_job_template_schedule_id="string")
const workflowJobTemplateScheduleResource = new awx.WorkflowJobTemplateSchedule("workflowJobTemplateScheduleResource", {
rrule: "string",
workflowJobTemplateId: 0,
description: "string",
enabled: false,
extraData: "string",
inventory: "string",
name: "string",
unifiedJobTemplateId: 0,
workflowJobTemplateScheduleId: "string",
});
type: awx:WorkflowJobTemplateSchedule
properties:
description: string
enabled: false
extraData: string
inventory: string
name: string
rrule: string
unifiedJobTemplateId: 0
workflowJobTemplateId: 0
workflowJobTemplateScheduleId: string
WorkflowJobTemplateSchedule 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 WorkflowJobTemplateSchedule resource accepts the following input properties:
- Rrule string
- Workflow
Job doubleTemplate Id - The workflow_job_template id for this schedule
- Description string
- Enabled bool
- Extra
Data string - Extra data to be pass for the schedule (YAML format)
- Inventory string
- Inventory applied as a prompt, assuming job template prompts for inventory (id, default=``)
- Name string
- Unified
Job doubleTemplate Id - Workflow
Job stringTemplate Schedule Id
- Rrule string
- Workflow
Job float64Template Id - The workflow_job_template id for this schedule
- Description string
- Enabled bool
- Extra
Data string - Extra data to be pass for the schedule (YAML format)
- Inventory string
- Inventory applied as a prompt, assuming job template prompts for inventory (id, default=``)
- Name string
- Unified
Job float64Template Id - Workflow
Job stringTemplate Schedule Id
- rrule String
- workflow
Job DoubleTemplate Id - The workflow_job_template id for this schedule
- description String
- enabled Boolean
- extra
Data String - Extra data to be pass for the schedule (YAML format)
- inventory String
- Inventory applied as a prompt, assuming job template prompts for inventory (id, default=``)
- name String
- unified
Job DoubleTemplate Id - workflow
Job StringTemplate Schedule Id
- rrule string
- workflow
Job numberTemplate Id - The workflow_job_template id for this schedule
- description string
- enabled boolean
- extra
Data string - Extra data to be pass for the schedule (YAML format)
- inventory string
- Inventory applied as a prompt, assuming job template prompts for inventory (id, default=``)
- name string
- unified
Job numberTemplate Id - workflow
Job stringTemplate Schedule Id
- rrule str
- workflow_
job_ floattemplate_ id - The workflow_job_template id for this schedule
- description str
- enabled bool
- extra_
data str - Extra data to be pass for the schedule (YAML format)
- inventory str
- Inventory applied as a prompt, assuming job template prompts for inventory (id, default=``)
- name str
- unified_
job_ floattemplate_ id - workflow_
job_ strtemplate_ schedule_ id
- rrule String
- workflow
Job NumberTemplate Id - The workflow_job_template id for this schedule
- description String
- enabled Boolean
- extra
Data String - Extra data to be pass for the schedule (YAML format)
- inventory String
- Inventory applied as a prompt, assuming job template prompts for inventory (id, default=``)
- name String
- unified
Job NumberTemplate Id - workflow
Job StringTemplate Schedule Id
Outputs
All input properties are implicitly available as output properties. Additionally, the WorkflowJobTemplateSchedule 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 WorkflowJobTemplateSchedule Resource
Get an existing WorkflowJobTemplateSchedule 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?: WorkflowJobTemplateScheduleState, opts?: CustomResourceOptions): WorkflowJobTemplateSchedule
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
enabled: Optional[bool] = None,
extra_data: Optional[str] = None,
inventory: Optional[str] = None,
name: Optional[str] = None,
rrule: Optional[str] = None,
unified_job_template_id: Optional[float] = None,
workflow_job_template_id: Optional[float] = None,
workflow_job_template_schedule_id: Optional[str] = None) -> WorkflowJobTemplateSchedule
func GetWorkflowJobTemplateSchedule(ctx *Context, name string, id IDInput, state *WorkflowJobTemplateScheduleState, opts ...ResourceOption) (*WorkflowJobTemplateSchedule, error)
public static WorkflowJobTemplateSchedule Get(string name, Input<string> id, WorkflowJobTemplateScheduleState? state, CustomResourceOptions? opts = null)
public static WorkflowJobTemplateSchedule get(String name, Output<String> id, WorkflowJobTemplateScheduleState state, CustomResourceOptions options)
resources: _: type: awx:WorkflowJobTemplateSchedule 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.
- Description string
- Enabled bool
- Extra
Data string - Extra data to be pass for the schedule (YAML format)
- Inventory string
- Inventory applied as a prompt, assuming job template prompts for inventory (id, default=``)
- Name string
- Rrule string
- Unified
Job doubleTemplate Id - Workflow
Job doubleTemplate Id - The workflow_job_template id for this schedule
- Workflow
Job stringTemplate Schedule Id
- Description string
- Enabled bool
- Extra
Data string - Extra data to be pass for the schedule (YAML format)
- Inventory string
- Inventory applied as a prompt, assuming job template prompts for inventory (id, default=``)
- Name string
- Rrule string
- Unified
Job float64Template Id - Workflow
Job float64Template Id - The workflow_job_template id for this schedule
- Workflow
Job stringTemplate Schedule Id
- description String
- enabled Boolean
- extra
Data String - Extra data to be pass for the schedule (YAML format)
- inventory String
- Inventory applied as a prompt, assuming job template prompts for inventory (id, default=``)
- name String
- rrule String
- unified
Job DoubleTemplate Id - workflow
Job DoubleTemplate Id - The workflow_job_template id for this schedule
- workflow
Job StringTemplate Schedule Id
- description string
- enabled boolean
- extra
Data string - Extra data to be pass for the schedule (YAML format)
- inventory string
- Inventory applied as a prompt, assuming job template prompts for inventory (id, default=``)
- name string
- rrule string
- unified
Job numberTemplate Id - workflow
Job numberTemplate Id - The workflow_job_template id for this schedule
- workflow
Job stringTemplate Schedule Id
- description str
- enabled bool
- extra_
data str - Extra data to be pass for the schedule (YAML format)
- inventory str
- Inventory applied as a prompt, assuming job template prompts for inventory (id, default=``)
- name str
- rrule str
- unified_
job_ floattemplate_ id - workflow_
job_ floattemplate_ id - The workflow_job_template id for this schedule
- workflow_
job_ strtemplate_ schedule_ id
- description String
- enabled Boolean
- extra
Data String - Extra data to be pass for the schedule (YAML format)
- inventory String
- Inventory applied as a prompt, assuming job template prompts for inventory (id, default=``)
- name String
- rrule String
- unified
Job NumberTemplate Id - workflow
Job NumberTemplate Id - The workflow_job_template id for this schedule
- workflow
Job StringTemplate Schedule Id
Package Details
- Repository
- awx denouche/terraform-provider-awx
- License
- Notes
- This Pulumi package is based on the
awx
Terraform Provider.