awx.WorkflowJobTemplateNotificationTemplateError
Explore with Pulumi AI
Create WorkflowJobTemplateNotificationTemplateError Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WorkflowJobTemplateNotificationTemplateError(name: string, args: WorkflowJobTemplateNotificationTemplateErrorArgs, opts?: CustomResourceOptions);
@overload
def WorkflowJobTemplateNotificationTemplateError(resource_name: str,
args: WorkflowJobTemplateNotificationTemplateErrorArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WorkflowJobTemplateNotificationTemplateError(resource_name: str,
opts: Optional[ResourceOptions] = None,
notification_template_id: Optional[float] = None,
workflow_job_template_id: Optional[float] = None,
workflow_job_template_notification_template_error_id: Optional[str] = None)
func NewWorkflowJobTemplateNotificationTemplateError(ctx *Context, name string, args WorkflowJobTemplateNotificationTemplateErrorArgs, opts ...ResourceOption) (*WorkflowJobTemplateNotificationTemplateError, error)
public WorkflowJobTemplateNotificationTemplateError(string name, WorkflowJobTemplateNotificationTemplateErrorArgs args, CustomResourceOptions? opts = null)
public WorkflowJobTemplateNotificationTemplateError(String name, WorkflowJobTemplateNotificationTemplateErrorArgs args)
public WorkflowJobTemplateNotificationTemplateError(String name, WorkflowJobTemplateNotificationTemplateErrorArgs args, CustomResourceOptions options)
type: awx:WorkflowJobTemplateNotificationTemplateError
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. WorkflowJobTemplateNotificationTemplateErrorArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. WorkflowJobTemplateNotificationTemplateErrorArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. WorkflowJobTemplateNotificationTemplateErrorArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. WorkflowJobTemplateNotificationTemplateErrorArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. WorkflowJobTemplateNotificationTemplateErrorArgs - 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 workflowJobTemplateNotificationTemplateErrorResource = new Awx.WorkflowJobTemplateNotificationTemplateError("workflowJobTemplateNotificationTemplateErrorResource", new()
{
NotificationTemplateId = 0,
WorkflowJobTemplateId = 0,
WorkflowJobTemplateNotificationTemplateErrorId = "string",
});
example, err := awx.NewWorkflowJobTemplateNotificationTemplateError(ctx, "workflowJobTemplateNotificationTemplateErrorResource", &awx.WorkflowJobTemplateNotificationTemplateErrorArgs{
NotificationTemplateId: pulumi.Float64(0),
WorkflowJobTemplateId: pulumi.Float64(0),
WorkflowJobTemplateNotificationTemplateErrorId: pulumi.String("string"),
})
var workflowJobTemplateNotificationTemplateErrorResource = new WorkflowJobTemplateNotificationTemplateError("workflowJobTemplateNotificationTemplateErrorResource", WorkflowJobTemplateNotificationTemplateErrorArgs.builder()
.notificationTemplateId(0)
.workflowJobTemplateId(0)
.workflowJobTemplateNotificationTemplateErrorId("string")
.build());
workflow_job_template_notification_template_error_resource = awx.WorkflowJobTemplateNotificationTemplateError("workflowJobTemplateNotificationTemplateErrorResource",
notification_template_id=0,
workflow_job_template_id=0,
workflow_job_template_notification_template_error_id="string")
const workflowJobTemplateNotificationTemplateErrorResource = new awx.WorkflowJobTemplateNotificationTemplateError("workflowJobTemplateNotificationTemplateErrorResource", {
notificationTemplateId: 0,
workflowJobTemplateId: 0,
workflowJobTemplateNotificationTemplateErrorId: "string",
});
type: awx:WorkflowJobTemplateNotificationTemplateError
properties:
notificationTemplateId: 0
workflowJobTemplateId: 0
workflowJobTemplateNotificationTemplateErrorId: string
WorkflowJobTemplateNotificationTemplateError 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 WorkflowJobTemplateNotificationTemplateError resource accepts the following input properties:
- Notification
Template Id This property is required. double - Workflow
Job Template Id This property is required. double - Workflow
Job stringTemplate Notification Template Error Id
- Notification
Template Id This property is required. float64 - Workflow
Job Template Id This property is required. float64 - Workflow
Job stringTemplate Notification Template Error Id
- notification
Template Id This property is required. Double - workflow
Job Template Id This property is required. Double - workflow
Job StringTemplate Notification Template Error Id
- notification
Template Id This property is required. number - workflow
Job Template Id This property is required. number - workflow
Job stringTemplate Notification Template Error Id
- notification_
template_ id This property is required. float - workflow_
job_ template_ id This property is required. float - workflow_
job_ strtemplate_ notification_ template_ error_ id
- notification
Template Id This property is required. Number - workflow
Job Template Id This property is required. Number - workflow
Job StringTemplate Notification Template Error Id
Outputs
All input properties are implicitly available as output properties. Additionally, the WorkflowJobTemplateNotificationTemplateError 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 WorkflowJobTemplateNotificationTemplateError Resource
Get an existing WorkflowJobTemplateNotificationTemplateError 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?: WorkflowJobTemplateNotificationTemplateErrorState, opts?: CustomResourceOptions): WorkflowJobTemplateNotificationTemplateError
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
notification_template_id: Optional[float] = None,
workflow_job_template_id: Optional[float] = None,
workflow_job_template_notification_template_error_id: Optional[str] = None) -> WorkflowJobTemplateNotificationTemplateError
func GetWorkflowJobTemplateNotificationTemplateError(ctx *Context, name string, id IDInput, state *WorkflowJobTemplateNotificationTemplateErrorState, opts ...ResourceOption) (*WorkflowJobTemplateNotificationTemplateError, error)
public static WorkflowJobTemplateNotificationTemplateError Get(string name, Input<string> id, WorkflowJobTemplateNotificationTemplateErrorState? state, CustomResourceOptions? opts = null)
public static WorkflowJobTemplateNotificationTemplateError get(String name, Output<String> id, WorkflowJobTemplateNotificationTemplateErrorState state, CustomResourceOptions options)
resources: _: type: awx:WorkflowJobTemplateNotificationTemplateError get: id: ${id}
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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.
- Notification
Template float64Id - Workflow
Job float64Template Id - Workflow
Job stringTemplate Notification Template Error Id
Package Details
- Repository
- awx denouche/terraform-provider-awx
- License
- Notes
- This Pulumi package is based on the
awx
Terraform Provider.