fortimanager.SystemWorkflowApprovalmatrix
Explore with Pulumi AI
workflow approval matrix.
The following variables have sub resource. Avoid using them together, otherwise conflicts and overwrites may occur.
approver:fortimanager.SystemWorkflowApprovalmatrixApprover
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";
const trname = new fortimanager.SystemWorkflowApprovalmatrix("trname", {
    adomName: "terraform",
    notify: "terraform-notify",
});
import pulumi
import pulumi_fortimanager as fortimanager
trname = fortimanager.SystemWorkflowApprovalmatrix("trname",
    adom_name="terraform",
    notify="terraform-notify")
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/fortimanager/fortimanager"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := fortimanager.NewSystemWorkflowApprovalmatrix(ctx, "trname", &fortimanager.SystemWorkflowApprovalmatrixArgs{
			AdomName: pulumi.String("terraform"),
			Notify:   pulumi.String("terraform-notify"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortimanager = Pulumi.Fortimanager;
return await Deployment.RunAsync(() => 
{
    var trname = new Fortimanager.SystemWorkflowApprovalmatrix("trname", new()
    {
        AdomName = "terraform",
        Notify = "terraform-notify",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.SystemWorkflowApprovalmatrix;
import com.pulumi.fortimanager.SystemWorkflowApprovalmatrixArgs;
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 trname = new SystemWorkflowApprovalmatrix("trname", SystemWorkflowApprovalmatrixArgs.builder()
            .adomName("terraform")
            .notify("terraform-notify")
            .build());
    }
}
resources:
  trname:
    type: fortimanager:SystemWorkflowApprovalmatrix
    properties:
      adomName: terraform
      notify: terraform-notify
Create SystemWorkflowApprovalmatrix Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SystemWorkflowApprovalmatrix(name: string, args?: SystemWorkflowApprovalmatrixArgs, opts?: CustomResourceOptions);@overload
def SystemWorkflowApprovalmatrix(resource_name: str,
                                 args: Optional[SystemWorkflowApprovalmatrixArgs] = None,
                                 opts: Optional[ResourceOptions] = None)
@overload
def SystemWorkflowApprovalmatrix(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 adom_name: Optional[str] = None,
                                 approvers: Optional[Sequence[SystemWorkflowApprovalmatrixApproverArgs]] = None,
                                 dynamic_sort_subtable: Optional[str] = None,
                                 mail_server: Optional[str] = None,
                                 notify: Optional[str] = None,
                                 system_workflow_approvalmatrix_id: Optional[str] = None)func NewSystemWorkflowApprovalmatrix(ctx *Context, name string, args *SystemWorkflowApprovalmatrixArgs, opts ...ResourceOption) (*SystemWorkflowApprovalmatrix, error)public SystemWorkflowApprovalmatrix(string name, SystemWorkflowApprovalmatrixArgs? args = null, CustomResourceOptions? opts = null)
public SystemWorkflowApprovalmatrix(String name, SystemWorkflowApprovalmatrixArgs args)
public SystemWorkflowApprovalmatrix(String name, SystemWorkflowApprovalmatrixArgs args, CustomResourceOptions options)
type: fortimanager:SystemWorkflowApprovalmatrix
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 SystemWorkflowApprovalmatrixArgs
- 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 SystemWorkflowApprovalmatrixArgs
- 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 SystemWorkflowApprovalmatrixArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SystemWorkflowApprovalmatrixArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SystemWorkflowApprovalmatrixArgs
- 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 systemWorkflowApprovalmatrixResource = new Fortimanager.SystemWorkflowApprovalmatrix("systemWorkflowApprovalmatrixResource", new()
{
    AdomName = "string",
    Approvers = new[]
    {
        new Fortimanager.Inputs.SystemWorkflowApprovalmatrixApproverArgs
        {
            Member = "string",
            SeqNum = 0,
        },
    },
    DynamicSortSubtable = "string",
    MailServer = "string",
    Notify = "string",
    SystemWorkflowApprovalmatrixId = "string",
});
example, err := fortimanager.NewSystemWorkflowApprovalmatrix(ctx, "systemWorkflowApprovalmatrixResource", &fortimanager.SystemWorkflowApprovalmatrixArgs{
AdomName: pulumi.String("string"),
Approvers: .SystemWorkflowApprovalmatrixApproverTypeArray{
&.SystemWorkflowApprovalmatrixApproverTypeArgs{
Member: pulumi.String("string"),
SeqNum: pulumi.Float64(0),
},
},
DynamicSortSubtable: pulumi.String("string"),
MailServer: pulumi.String("string"),
Notify: pulumi.String("string"),
SystemWorkflowApprovalmatrixId: pulumi.String("string"),
})
var systemWorkflowApprovalmatrixResource = new SystemWorkflowApprovalmatrix("systemWorkflowApprovalmatrixResource", SystemWorkflowApprovalmatrixArgs.builder()
    .adomName("string")
    .approvers(SystemWorkflowApprovalmatrixApproverArgs.builder()
        .member("string")
        .seqNum(0)
        .build())
    .dynamicSortSubtable("string")
    .mailServer("string")
    .notify("string")
    .systemWorkflowApprovalmatrixId("string")
    .build());
system_workflow_approvalmatrix_resource = fortimanager.SystemWorkflowApprovalmatrix("systemWorkflowApprovalmatrixResource",
    adom_name="string",
    approvers=[{
        "member": "string",
        "seq_num": 0,
    }],
    dynamic_sort_subtable="string",
    mail_server="string",
    notify="string",
    system_workflow_approvalmatrix_id="string")
const systemWorkflowApprovalmatrixResource = new fortimanager.SystemWorkflowApprovalmatrix("systemWorkflowApprovalmatrixResource", {
    adomName: "string",
    approvers: [{
        member: "string",
        seqNum: 0,
    }],
    dynamicSortSubtable: "string",
    mailServer: "string",
    notify: "string",
    systemWorkflowApprovalmatrixId: "string",
});
type: fortimanager:SystemWorkflowApprovalmatrix
properties:
    adomName: string
    approvers:
        - member: string
          seqNum: 0
    dynamicSortSubtable: string
    mailServer: string
    notify: string
    systemWorkflowApprovalmatrixId: string
SystemWorkflowApprovalmatrix 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 SystemWorkflowApprovalmatrix resource accepts the following input properties:
- AdomName string
- Adom Name
- Approvers
List<SystemWorkflow Approvalmatrix Approver> 
- Approver. The structure of approverblock is documented below.
- DynamicSort stringSubtable 
- true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- MailServer string
- Notify mail server id.
- Notify string
- Notify users
- SystemWorkflow stringApprovalmatrix Id 
- an identifier for the resource with format {{adom_name}}.
- AdomName string
- Adom Name
- Approvers
[]SystemWorkflow Approvalmatrix Approver Type Args 
- Approver. The structure of approverblock is documented below.
- DynamicSort stringSubtable 
- true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- MailServer string
- Notify mail server id.
- Notify string
- Notify users
- SystemWorkflow stringApprovalmatrix Id 
- an identifier for the resource with format {{adom_name}}.
- adomName String
- Adom Name
- approvers
List<SystemWorkflow Approvalmatrix Approver> 
- Approver. The structure of approverblock is documented below.
- dynamicSort StringSubtable 
- true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- mailServer String
- Notify mail server id.
- notify_ String
- Notify users
- systemWorkflow StringApprovalmatrix Id 
- an identifier for the resource with format {{adom_name}}.
- adomName string
- Adom Name
- approvers
SystemWorkflow Approvalmatrix Approver[] 
- Approver. The structure of approverblock is documented below.
- dynamicSort stringSubtable 
- true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- mailServer string
- Notify mail server id.
- notify string
- Notify users
- systemWorkflow stringApprovalmatrix Id 
- an identifier for the resource with format {{adom_name}}.
- adom_name str
- Adom Name
- approvers
Sequence[SystemWorkflow Approvalmatrix Approver Args] 
- Approver. The structure of approverblock is documented below.
- dynamic_sort_ strsubtable 
- true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- mail_server str
- Notify mail server id.
- notify str
- Notify users
- system_workflow_ strapprovalmatrix_ id 
- an identifier for the resource with format {{adom_name}}.
- adomName String
- Adom Name
- approvers List<Property Map>
- Approver. The structure of approverblock is documented below.
- dynamicSort StringSubtable 
- true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- mailServer String
- Notify mail server id.
- notify String
- Notify users
- systemWorkflow StringApprovalmatrix Id 
- an identifier for the resource with format {{adom_name}}.
Outputs
All input properties are implicitly available as output properties. Additionally, the SystemWorkflowApprovalmatrix 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 SystemWorkflowApprovalmatrix Resource
Get an existing SystemWorkflowApprovalmatrix 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?: SystemWorkflowApprovalmatrixState, opts?: CustomResourceOptions): SystemWorkflowApprovalmatrix@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom_name: Optional[str] = None,
        approvers: Optional[Sequence[SystemWorkflowApprovalmatrixApproverArgs]] = None,
        dynamic_sort_subtable: Optional[str] = None,
        mail_server: Optional[str] = None,
        notify: Optional[str] = None,
        system_workflow_approvalmatrix_id: Optional[str] = None) -> SystemWorkflowApprovalmatrixfunc GetSystemWorkflowApprovalmatrix(ctx *Context, name string, id IDInput, state *SystemWorkflowApprovalmatrixState, opts ...ResourceOption) (*SystemWorkflowApprovalmatrix, error)public static SystemWorkflowApprovalmatrix Get(string name, Input<string> id, SystemWorkflowApprovalmatrixState? state, CustomResourceOptions? opts = null)public static SystemWorkflowApprovalmatrix get(String name, Output<String> id, SystemWorkflowApprovalmatrixState state, CustomResourceOptions options)resources:  _:    type: fortimanager:SystemWorkflowApprovalmatrix    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.
- AdomName string
- Adom Name
- Approvers
List<SystemWorkflow Approvalmatrix Approver> 
- Approver. The structure of approverblock is documented below.
- DynamicSort stringSubtable 
- true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- MailServer string
- Notify mail server id.
- Notify string
- Notify users
- SystemWorkflow stringApprovalmatrix Id 
- an identifier for the resource with format {{adom_name}}.
- AdomName string
- Adom Name
- Approvers
[]SystemWorkflow Approvalmatrix Approver Type Args 
- Approver. The structure of approverblock is documented below.
- DynamicSort stringSubtable 
- true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- MailServer string
- Notify mail server id.
- Notify string
- Notify users
- SystemWorkflow stringApprovalmatrix Id 
- an identifier for the resource with format {{adom_name}}.
- adomName String
- Adom Name
- approvers
List<SystemWorkflow Approvalmatrix Approver> 
- Approver. The structure of approverblock is documented below.
- dynamicSort StringSubtable 
- true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- mailServer String
- Notify mail server id.
- notify_ String
- Notify users
- systemWorkflow StringApprovalmatrix Id 
- an identifier for the resource with format {{adom_name}}.
- adomName string
- Adom Name
- approvers
SystemWorkflow Approvalmatrix Approver[] 
- Approver. The structure of approverblock is documented below.
- dynamicSort stringSubtable 
- true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- mailServer string
- Notify mail server id.
- notify string
- Notify users
- systemWorkflow stringApprovalmatrix Id 
- an identifier for the resource with format {{adom_name}}.
- adom_name str
- Adom Name
- approvers
Sequence[SystemWorkflow Approvalmatrix Approver Args] 
- Approver. The structure of approverblock is documented below.
- dynamic_sort_ strsubtable 
- true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- mail_server str
- Notify mail server id.
- notify str
- Notify users
- system_workflow_ strapprovalmatrix_ id 
- an identifier for the resource with format {{adom_name}}.
- adomName String
- Adom Name
- approvers List<Property Map>
- Approver. The structure of approverblock is documented below.
- dynamicSort StringSubtable 
- true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- mailServer String
- Notify mail server id.
- notify String
- Notify users
- systemWorkflow StringApprovalmatrix Id 
- an identifier for the resource with format {{adom_name}}.
Supporting Types
SystemWorkflowApprovalmatrixApprover, SystemWorkflowApprovalmatrixApproverArgs        
Import
System WorkflowApprovalMatrix can be imported using any of these accepted formats:
$ export “FORTIMANAGER_IMPORT_TABLE”=“true”
$ pulumi import fortimanager:index/systemWorkflowApprovalmatrix:SystemWorkflowApprovalmatrix labelname {{adom_name}}
$ unset “FORTIMANAGER_IMPORT_TABLE”
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- fortimanager fortinetdev/terraform-provider-fortimanager
- License
- Notes
- This Pulumi package is based on the fortimanagerTerraform Provider.