1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. SystemWorkflowApprovalmatrix
fortimanager 1.14.0 published on Tuesday, Apr 15, 2025 by fortinetdev

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",
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname = fortimanager.SystemWorkflowApprovalmatrix("trname",
    adom_name="terraform",
    notify="terraform-notify")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
resources:
  trname:
    type: fortimanager:SystemWorkflowApprovalmatrix
    properties:
      adomName: terraform
      notify: terraform-notify
Copy

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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. String
The unique name of the resource.
args This property is required. 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",
});
Copy
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"),
})
Copy
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());
Copy
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")
Copy
const systemWorkflowApprovalmatrixResource = new fortimanager.SystemWorkflowApprovalmatrix("systemWorkflowApprovalmatrixResource", {
    adomName: "string",
    approvers: [{
        member: "string",
        seqNum: 0,
    }],
    dynamicSortSubtable: "string",
    mailServer: "string",
    notify: "string",
    systemWorkflowApprovalmatrixId: "string",
});
Copy
type: fortimanager:SystemWorkflowApprovalmatrix
properties:
    adomName: string
    approvers:
        - member: string
          seqNum: 0
    dynamicSortSubtable: string
    mailServer: string
    notify: string
    systemWorkflowApprovalmatrixId: string
Copy

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<SystemWorkflowApprovalmatrixApprover>
Approver. The structure of approver block is documented below.
DynamicSortSubtable string
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
SystemWorkflowApprovalmatrixId string
an identifier for the resource with format {{adom_name}}.
AdomName string
Adom Name
Approvers []SystemWorkflowApprovalmatrixApproverTypeArgs
Approver. The structure of approver block is documented below.
DynamicSortSubtable string
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
SystemWorkflowApprovalmatrixId string
an identifier for the resource with format {{adom_name}}.
adomName String
Adom Name
approvers List<SystemWorkflowApprovalmatrixApprover>
Approver. The structure of approver block is documented below.
dynamicSortSubtable String
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
systemWorkflowApprovalmatrixId String
an identifier for the resource with format {{adom_name}}.
adomName string
Adom Name
approvers SystemWorkflowApprovalmatrixApprover[]
Approver. The structure of approver block is documented below.
dynamicSortSubtable string
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
systemWorkflowApprovalmatrixId string
an identifier for the resource with format {{adom_name}}.
adom_name str
Adom Name
approvers Sequence[SystemWorkflowApprovalmatrixApproverArgs]
Approver. The structure of approver block is documented below.
dynamic_sort_subtable str
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_approvalmatrix_id str
an identifier for the resource with format {{adom_name}}.
adomName String
Adom Name
approvers List<Property Map>
Approver. The structure of approver block is documented below.
dynamicSortSubtable String
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
systemWorkflowApprovalmatrixId String
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) -> SystemWorkflowApprovalmatrix
func 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 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.
The following state arguments are supported:
AdomName string
Adom Name
Approvers List<SystemWorkflowApprovalmatrixApprover>
Approver. The structure of approver block is documented below.
DynamicSortSubtable string
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
SystemWorkflowApprovalmatrixId string
an identifier for the resource with format {{adom_name}}.
AdomName string
Adom Name
Approvers []SystemWorkflowApprovalmatrixApproverTypeArgs
Approver. The structure of approver block is documented below.
DynamicSortSubtable string
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
SystemWorkflowApprovalmatrixId string
an identifier for the resource with format {{adom_name}}.
adomName String
Adom Name
approvers List<SystemWorkflowApprovalmatrixApprover>
Approver. The structure of approver block is documented below.
dynamicSortSubtable String
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
systemWorkflowApprovalmatrixId String
an identifier for the resource with format {{adom_name}}.
adomName string
Adom Name
approvers SystemWorkflowApprovalmatrixApprover[]
Approver. The structure of approver block is documented below.
dynamicSortSubtable string
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
systemWorkflowApprovalmatrixId string
an identifier for the resource with format {{adom_name}}.
adom_name str
Adom Name
approvers Sequence[SystemWorkflowApprovalmatrixApproverArgs]
Approver. The structure of approver block is documented below.
dynamic_sort_subtable str
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_approvalmatrix_id str
an identifier for the resource with format {{adom_name}}.
adomName String
Adom Name
approvers List<Property Map>
Approver. The structure of approver block is documented below.
dynamicSortSubtable String
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
systemWorkflowApprovalmatrixId String
an identifier for the resource with format {{adom_name}}.

Supporting Types

SystemWorkflowApprovalmatrixApprover
, SystemWorkflowApprovalmatrixApproverArgs

Member string
Member of approver.
SeqNum double
Entry number.
Member string
Member of approver.
SeqNum float64
Entry number.
member String
Member of approver.
seqNum Double
Entry number.
member string
Member of approver.
seqNum number
Entry number.
member str
Member of approver.
seq_num float
Entry number.
member String
Member of approver.
seqNum Number
Entry number.

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}}
Copy

$ 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 fortimanager Terraform Provider.