1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectSystemReplacemsggroupAlertmail
fortimanager 1.13.0 published on Thursday, Mar 13, 2025 by fortinetdev

fortimanager.ObjectSystemReplacemsggroupAlertmail

Explore with Pulumi AI

Replacement message table entries.

This resource is a sub resource for variable alertmail of resource fortimanager.ObjectSystemReplacemsggroup. Conflict and overwrite may occur if use both of them.

Create ObjectSystemReplacemsggroupAlertmail Resource

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

Constructor syntax

new ObjectSystemReplacemsggroupAlertmail(name: string, args: ObjectSystemReplacemsggroupAlertmailArgs, opts?: CustomResourceOptions);
@overload
def ObjectSystemReplacemsggroupAlertmail(resource_name: str,
                                         args: ObjectSystemReplacemsggroupAlertmailInitArgs,
                                         opts: Optional[ResourceOptions] = None)

@overload
def ObjectSystemReplacemsggroupAlertmail(resource_name: str,
                                         opts: Optional[ResourceOptions] = None,
                                         replacemsg_group: Optional[str] = None,
                                         adom: Optional[str] = None,
                                         buffer: Optional[str] = None,
                                         format: Optional[str] = None,
                                         fosid: Optional[float] = None,
                                         header: Optional[str] = None,
                                         msg_type: Optional[str] = None,
                                         object_system_replacemsggroup_alertmail_id: Optional[str] = None,
                                         scopetype: Optional[str] = None)
func NewObjectSystemReplacemsggroupAlertmail(ctx *Context, name string, args ObjectSystemReplacemsggroupAlertmailArgs, opts ...ResourceOption) (*ObjectSystemReplacemsggroupAlertmail, error)
public ObjectSystemReplacemsggroupAlertmail(string name, ObjectSystemReplacemsggroupAlertmailArgs args, CustomResourceOptions? opts = null)
public ObjectSystemReplacemsggroupAlertmail(String name, ObjectSystemReplacemsggroupAlertmailArgs args)
public ObjectSystemReplacemsggroupAlertmail(String name, ObjectSystemReplacemsggroupAlertmailArgs args, CustomResourceOptions options)
type: fortimanager:ObjectSystemReplacemsggroupAlertmail
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. ObjectSystemReplacemsggroupAlertmailArgs
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. ObjectSystemReplacemsggroupAlertmailInitArgs
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. ObjectSystemReplacemsggroupAlertmailArgs
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. ObjectSystemReplacemsggroupAlertmailArgs
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. ObjectSystemReplacemsggroupAlertmailArgs
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 objectSystemReplacemsggroupAlertmailResource = new Fortimanager.ObjectSystemReplacemsggroupAlertmail("objectSystemReplacemsggroupAlertmailResource", new()
{
    ReplacemsgGroup = "string",
    Adom = "string",
    Buffer = "string",
    Format = "string",
    Fosid = 0,
    Header = "string",
    MsgType = "string",
    ObjectSystemReplacemsggroupAlertmailId = "string",
    Scopetype = "string",
});
Copy
example, err := fortimanager.NewObjectSystemReplacemsggroupAlertmail(ctx, "objectSystemReplacemsggroupAlertmailResource", &fortimanager.ObjectSystemReplacemsggroupAlertmailArgs{
ReplacemsgGroup: pulumi.String("string"),
Adom: pulumi.String("string"),
Buffer: pulumi.String("string"),
Format: pulumi.String("string"),
Fosid: pulumi.Float64(0),
Header: pulumi.String("string"),
MsgType: pulumi.String("string"),
ObjectSystemReplacemsggroupAlertmailId: pulumi.String("string"),
Scopetype: pulumi.String("string"),
})
Copy
var objectSystemReplacemsggroupAlertmailResource = new ObjectSystemReplacemsggroupAlertmail("objectSystemReplacemsggroupAlertmailResource", ObjectSystemReplacemsggroupAlertmailArgs.builder()
    .replacemsgGroup("string")
    .adom("string")
    .buffer("string")
    .format("string")
    .fosid(0)
    .header("string")
    .msgType("string")
    .objectSystemReplacemsggroupAlertmailId("string")
    .scopetype("string")
    .build());
Copy
object_system_replacemsggroup_alertmail_resource = fortimanager.ObjectSystemReplacemsggroupAlertmail("objectSystemReplacemsggroupAlertmailResource",
    replacemsg_group="string",
    adom="string",
    buffer="string",
    format="string",
    fosid=0,
    header="string",
    msg_type="string",
    object_system_replacemsggroup_alertmail_id="string",
    scopetype="string")
Copy
const objectSystemReplacemsggroupAlertmailResource = new fortimanager.ObjectSystemReplacemsggroupAlertmail("objectSystemReplacemsggroupAlertmailResource", {
    replacemsgGroup: "string",
    adom: "string",
    buffer: "string",
    format: "string",
    fosid: 0,
    header: "string",
    msgType: "string",
    objectSystemReplacemsggroupAlertmailId: "string",
    scopetype: "string",
});
Copy
type: fortimanager:ObjectSystemReplacemsggroupAlertmail
properties:
    adom: string
    buffer: string
    format: string
    fosid: 0
    header: string
    msgType: string
    objectSystemReplacemsggroupAlertmailId: string
    replacemsgGroup: string
    scopetype: string
Copy

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

ReplacemsgGroup This property is required. string
Replacemsg Group.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Buffer string
Message string.
Format string
Format flag. Valid values: none, text, html, wml.
Fosid double
Id.
Header string
Header flag. Valid values: none, http, 8bit.
MsgType string
Message type.
ObjectSystemReplacemsggroupAlertmailId string
an identifier for the resource with format {{msg_type}}.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
ReplacemsgGroup This property is required. string
Replacemsg Group.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Buffer string
Message string.
Format string
Format flag. Valid values: none, text, html, wml.
Fosid float64
Id.
Header string
Header flag. Valid values: none, http, 8bit.
MsgType string
Message type.
ObjectSystemReplacemsggroupAlertmailId string
an identifier for the resource with format {{msg_type}}.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
replacemsgGroup This property is required. String
Replacemsg Group.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
buffer String
Message string.
format String
Format flag. Valid values: none, text, html, wml.
fosid Double
Id.
header String
Header flag. Valid values: none, http, 8bit.
msgType String
Message type.
objectSystemReplacemsggroupAlertmailId String
an identifier for the resource with format {{msg_type}}.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
replacemsgGroup This property is required. string
Replacemsg Group.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
buffer string
Message string.
format string
Format flag. Valid values: none, text, html, wml.
fosid number
Id.
header string
Header flag. Valid values: none, http, 8bit.
msgType string
Message type.
objectSystemReplacemsggroupAlertmailId string
an identifier for the resource with format {{msg_type}}.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
replacemsg_group This property is required. str
Replacemsg Group.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
buffer str
Message string.
format str
Format flag. Valid values: none, text, html, wml.
fosid float
Id.
header str
Header flag. Valid values: none, http, 8bit.
msg_type str
Message type.
object_system_replacemsggroup_alertmail_id str
an identifier for the resource with format {{msg_type}}.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
replacemsgGroup This property is required. String
Replacemsg Group.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
buffer String
Message string.
format String
Format flag. Valid values: none, text, html, wml.
fosid Number
Id.
header String
Header flag. Valid values: none, http, 8bit.
msgType String
Message type.
objectSystemReplacemsggroupAlertmailId String
an identifier for the resource with format {{msg_type}}.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.

Outputs

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

Get an existing ObjectSystemReplacemsggroupAlertmail 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?: ObjectSystemReplacemsggroupAlertmailState, opts?: CustomResourceOptions): ObjectSystemReplacemsggroupAlertmail
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        buffer: Optional[str] = None,
        format: Optional[str] = None,
        fosid: Optional[float] = None,
        header: Optional[str] = None,
        msg_type: Optional[str] = None,
        object_system_replacemsggroup_alertmail_id: Optional[str] = None,
        replacemsg_group: Optional[str] = None,
        scopetype: Optional[str] = None) -> ObjectSystemReplacemsggroupAlertmail
func GetObjectSystemReplacemsggroupAlertmail(ctx *Context, name string, id IDInput, state *ObjectSystemReplacemsggroupAlertmailState, opts ...ResourceOption) (*ObjectSystemReplacemsggroupAlertmail, error)
public static ObjectSystemReplacemsggroupAlertmail Get(string name, Input<string> id, ObjectSystemReplacemsggroupAlertmailState? state, CustomResourceOptions? opts = null)
public static ObjectSystemReplacemsggroupAlertmail get(String name, Output<String> id, ObjectSystemReplacemsggroupAlertmailState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectSystemReplacemsggroupAlertmail    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:
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Buffer string
Message string.
Format string
Format flag. Valid values: none, text, html, wml.
Fosid double
Id.
Header string
Header flag. Valid values: none, http, 8bit.
MsgType string
Message type.
ObjectSystemReplacemsggroupAlertmailId string
an identifier for the resource with format {{msg_type}}.
ReplacemsgGroup string
Replacemsg Group.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Buffer string
Message string.
Format string
Format flag. Valid values: none, text, html, wml.
Fosid float64
Id.
Header string
Header flag. Valid values: none, http, 8bit.
MsgType string
Message type.
ObjectSystemReplacemsggroupAlertmailId string
an identifier for the resource with format {{msg_type}}.
ReplacemsgGroup string
Replacemsg Group.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
buffer String
Message string.
format String
Format flag. Valid values: none, text, html, wml.
fosid Double
Id.
header String
Header flag. Valid values: none, http, 8bit.
msgType String
Message type.
objectSystemReplacemsggroupAlertmailId String
an identifier for the resource with format {{msg_type}}.
replacemsgGroup String
Replacemsg Group.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
buffer string
Message string.
format string
Format flag. Valid values: none, text, html, wml.
fosid number
Id.
header string
Header flag. Valid values: none, http, 8bit.
msgType string
Message type.
objectSystemReplacemsggroupAlertmailId string
an identifier for the resource with format {{msg_type}}.
replacemsgGroup string
Replacemsg Group.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
buffer str
Message string.
format str
Format flag. Valid values: none, text, html, wml.
fosid float
Id.
header str
Header flag. Valid values: none, http, 8bit.
msg_type str
Message type.
object_system_replacemsggroup_alertmail_id str
an identifier for the resource with format {{msg_type}}.
replacemsg_group str
Replacemsg Group.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
buffer String
Message string.
format String
Format flag. Valid values: none, text, html, wml.
fosid Number
Id.
header String
Header flag. Valid values: none, http, 8bit.
msgType String
Message type.
objectSystemReplacemsggroupAlertmailId String
an identifier for the resource with format {{msg_type}}.
replacemsgGroup String
Replacemsg Group.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.

Import

ObjectSystem ReplacemsgGroupAlertmail can be imported using any of these accepted formats:

Set import_options = [“replacemsg_group=YOUR_VALUE”] in the provider section.

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectSystemReplacemsggroupAlertmail:ObjectSystemReplacemsggroupAlertmail labelname {{msg_type}}
Copy

$ unset “FORTIMANAGER_IMPORT_TABLE”

-> Hint: The scopetype and adom for import will directly inherit the scopetype and adom configuration of the provider.

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.