1. Packages
  2. Awx Provider
  3. API Docs
  4. JobTemplateNotificationTemplateStarted
awx 0.29.1 published on Monday, Apr 14, 2025 by denouche

awx.JobTemplateNotificationTemplateStarted

Explore with Pulumi AI

awx logo
awx 0.29.1 published on Monday, Apr 14, 2025 by denouche

    TBD

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as awx from "@pulumi/awx";
    
    const baseconfig = new awx.JobTemplateNotificationTemplateStarted("baseconfig", {
        jobTemplateId: awx_job_template.baseconfig.id,
        notificationTemplateId: awx_notification_template["default"].id,
    });
    
    import pulumi
    import pulumi_awx as awx
    
    baseconfig = awx.JobTemplateNotificationTemplateStarted("baseconfig",
        job_template_id=awx_job_template["baseconfig"]["id"],
        notification_template_id=awx_notification_template["default"]["id"])
    
    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.NewJobTemplateNotificationTemplateStarted(ctx, "baseconfig", &awx.JobTemplateNotificationTemplateStartedArgs{
    			JobTemplateId:          pulumi.Any(awx_job_template.Baseconfig.Id),
    			NotificationTemplateId: pulumi.Any(awx_notification_template.Default.Id),
    		})
    		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 baseconfig = new Awx.JobTemplateNotificationTemplateStarted("baseconfig", new()
        {
            JobTemplateId = awx_job_template.Baseconfig.Id,
            NotificationTemplateId = awx_notification_template.Default.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.awx.JobTemplateNotificationTemplateStarted;
    import com.pulumi.awx.JobTemplateNotificationTemplateStartedArgs;
    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 baseconfig = new JobTemplateNotificationTemplateStarted("baseconfig", JobTemplateNotificationTemplateStartedArgs.builder()
                .jobTemplateId(awx_job_template.baseconfig().id())
                .notificationTemplateId(awx_notification_template.default().id())
                .build());
    
        }
    }
    
    resources:
      baseconfig:
        type: awx:JobTemplateNotificationTemplateStarted
        properties:
          jobTemplateId: ${awx_job_template.baseconfig.id}
          notificationTemplateId: ${awx_notification_template.default.id}
    

    Create JobTemplateNotificationTemplateStarted Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new JobTemplateNotificationTemplateStarted(name: string, args: JobTemplateNotificationTemplateStartedArgs, opts?: CustomResourceOptions);
    @overload
    def JobTemplateNotificationTemplateStarted(resource_name: str,
                                               args: JobTemplateNotificationTemplateStartedArgs,
                                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def JobTemplateNotificationTemplateStarted(resource_name: str,
                                               opts: Optional[ResourceOptions] = None,
                                               job_template_id: Optional[float] = None,
                                               notification_template_id: Optional[float] = None,
                                               job_template_notification_template_started_id: Optional[str] = None)
    func NewJobTemplateNotificationTemplateStarted(ctx *Context, name string, args JobTemplateNotificationTemplateStartedArgs, opts ...ResourceOption) (*JobTemplateNotificationTemplateStarted, error)
    public JobTemplateNotificationTemplateStarted(string name, JobTemplateNotificationTemplateStartedArgs args, CustomResourceOptions? opts = null)
    public JobTemplateNotificationTemplateStarted(String name, JobTemplateNotificationTemplateStartedArgs args)
    public JobTemplateNotificationTemplateStarted(String name, JobTemplateNotificationTemplateStartedArgs args, CustomResourceOptions options)
    
    type: awx:JobTemplateNotificationTemplateStarted
    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 JobTemplateNotificationTemplateStartedArgs
    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 JobTemplateNotificationTemplateStartedArgs
    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 JobTemplateNotificationTemplateStartedArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args JobTemplateNotificationTemplateStartedArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args JobTemplateNotificationTemplateStartedArgs
    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 jobTemplateNotificationTemplateStartedResource = new Awx.JobTemplateNotificationTemplateStarted("jobTemplateNotificationTemplateStartedResource", new()
    {
        JobTemplateId = 0,
        NotificationTemplateId = 0,
        JobTemplateNotificationTemplateStartedId = "string",
    });
    
    example, err := awx.NewJobTemplateNotificationTemplateStarted(ctx, "jobTemplateNotificationTemplateStartedResource", &awx.JobTemplateNotificationTemplateStartedArgs{
    	JobTemplateId:                            pulumi.Float64(0),
    	NotificationTemplateId:                   pulumi.Float64(0),
    	JobTemplateNotificationTemplateStartedId: pulumi.String("string"),
    })
    
    var jobTemplateNotificationTemplateStartedResource = new JobTemplateNotificationTemplateStarted("jobTemplateNotificationTemplateStartedResource", JobTemplateNotificationTemplateStartedArgs.builder()
        .jobTemplateId(0)
        .notificationTemplateId(0)
        .jobTemplateNotificationTemplateStartedId("string")
        .build());
    
    job_template_notification_template_started_resource = awx.JobTemplateNotificationTemplateStarted("jobTemplateNotificationTemplateStartedResource",
        job_template_id=0,
        notification_template_id=0,
        job_template_notification_template_started_id="string")
    
    const jobTemplateNotificationTemplateStartedResource = new awx.JobTemplateNotificationTemplateStarted("jobTemplateNotificationTemplateStartedResource", {
        jobTemplateId: 0,
        notificationTemplateId: 0,
        jobTemplateNotificationTemplateStartedId: "string",
    });
    
    type: awx:JobTemplateNotificationTemplateStarted
    properties:
        jobTemplateId: 0
        jobTemplateNotificationTemplateStartedId: string
        notificationTemplateId: 0
    

    JobTemplateNotificationTemplateStarted 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 JobTemplateNotificationTemplateStarted resource accepts the following input properties:

    Outputs

    All input properties are implicitly available as output properties. Additionally, the JobTemplateNotificationTemplateStarted 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 JobTemplateNotificationTemplateStarted Resource

    Get an existing JobTemplateNotificationTemplateStarted 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?: JobTemplateNotificationTemplateStartedState, opts?: CustomResourceOptions): JobTemplateNotificationTemplateStarted
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            job_template_id: Optional[float] = None,
            job_template_notification_template_started_id: Optional[str] = None,
            notification_template_id: Optional[float] = None) -> JobTemplateNotificationTemplateStarted
    func GetJobTemplateNotificationTemplateStarted(ctx *Context, name string, id IDInput, state *JobTemplateNotificationTemplateStartedState, opts ...ResourceOption) (*JobTemplateNotificationTemplateStarted, error)
    public static JobTemplateNotificationTemplateStarted Get(string name, Input<string> id, JobTemplateNotificationTemplateStartedState? state, CustomResourceOptions? opts = null)
    public static JobTemplateNotificationTemplateStarted get(String name, Output<String> id, JobTemplateNotificationTemplateStartedState state, CustomResourceOptions options)
    resources:  _:    type: awx:JobTemplateNotificationTemplateStarted    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.

    Package Details

    Repository
    awx denouche/terraform-provider-awx
    License
    Notes
    This Pulumi package is based on the awx Terraform Provider.
    awx logo
    awx 0.29.1 published on Monday, Apr 14, 2025 by denouche