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

fortimanager.ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver

Explore with Pulumi AI

SMS notification receiver list.

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

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";

const trnameObjectExtendercontrollerExtenderprofile = new fortimanager.ObjectExtendercontrollerExtenderprofile("trnameObjectExtendercontrollerExtenderprofile", {});
const trnameObjectExtendercontrollerExtenderprofileCellularSmsnotification = new fortimanager.ObjectExtendercontrollerExtenderprofileCellularSmsnotification("trnameObjectExtendercontrollerExtenderprofileCellularSmsnotification", {
    status: "disable",
    extenderProfile: trnameObjectExtendercontrollerExtenderprofile.name,
}, {
    dependsOn: [trnameObjectExtendercontrollerExtenderprofile],
});
const trnameObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver = new fortimanager.ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver("trnameObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver", {
    extenderProfile: trnameObjectExtendercontrollerExtenderprofile.name,
    alerts: ["system-reboot"],
    phoneNumber: "+16501234567",
}, {
    dependsOn: [trnameObjectExtendercontrollerExtenderprofileCellularSmsnotification],
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname_object_extendercontroller_extenderprofile = fortimanager.ObjectExtendercontrollerExtenderprofile("trnameObjectExtendercontrollerExtenderprofile")
trname_object_extendercontroller_extenderprofile_cellular_smsnotification = fortimanager.ObjectExtendercontrollerExtenderprofileCellularSmsnotification("trnameObjectExtendercontrollerExtenderprofileCellularSmsnotification",
    status="disable",
    extender_profile=trname_object_extendercontroller_extenderprofile.name,
    opts = pulumi.ResourceOptions(depends_on=[trname_object_extendercontroller_extenderprofile]))
trname_object_extendercontroller_extenderprofile_cellular_smsnotification_receiver = fortimanager.ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver("trnameObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver",
    extender_profile=trname_object_extendercontroller_extenderprofile.name,
    alerts=["system-reboot"],
    phone_number="+16501234567",
    opts = pulumi.ResourceOptions(depends_on=[trname_object_extendercontroller_extenderprofile_cellular_smsnotification]))
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 {
		trnameObjectExtendercontrollerExtenderprofile, err := fortimanager.NewObjectExtendercontrollerExtenderprofile(ctx, "trnameObjectExtendercontrollerExtenderprofile", nil)
		if err != nil {
			return err
		}
		trnameObjectExtendercontrollerExtenderprofileCellularSmsnotification, err := fortimanager.NewObjectExtendercontrollerExtenderprofileCellularSmsnotification(ctx, "trnameObjectExtendercontrollerExtenderprofileCellularSmsnotification", &fortimanager.ObjectExtendercontrollerExtenderprofileCellularSmsnotificationArgs{
			Status:          pulumi.String("disable"),
			ExtenderProfile: trnameObjectExtendercontrollerExtenderprofile.Name,
		}, pulumi.DependsOn([]pulumi.Resource{
			trnameObjectExtendercontrollerExtenderprofile,
		}))
		if err != nil {
			return err
		}
		_, err = fortimanager.NewObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver(ctx, "trnameObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver", &fortimanager.ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverArgs{
			ExtenderProfile: trnameObjectExtendercontrollerExtenderprofile.Name,
			Alerts: pulumi.StringArray{
				pulumi.String("system-reboot"),
			},
			PhoneNumber: pulumi.String("+16501234567"),
		}, pulumi.DependsOn([]pulumi.Resource{
			trnameObjectExtendercontrollerExtenderprofileCellularSmsnotification,
		}))
		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 trnameObjectExtendercontrollerExtenderprofile = new Fortimanager.ObjectExtendercontrollerExtenderprofile("trnameObjectExtendercontrollerExtenderprofile");

    var trnameObjectExtendercontrollerExtenderprofileCellularSmsnotification = new Fortimanager.ObjectExtendercontrollerExtenderprofileCellularSmsnotification("trnameObjectExtendercontrollerExtenderprofileCellularSmsnotification", new()
    {
        Status = "disable",
        ExtenderProfile = trnameObjectExtendercontrollerExtenderprofile.Name,
    }, new CustomResourceOptions
    {
        DependsOn =
        {
            trnameObjectExtendercontrollerExtenderprofile,
        },
    });

    var trnameObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver = new Fortimanager.ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver("trnameObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver", new()
    {
        ExtenderProfile = trnameObjectExtendercontrollerExtenderprofile.Name,
        Alerts = new[]
        {
            "system-reboot",
        },
        PhoneNumber = "+16501234567",
    }, new CustomResourceOptions
    {
        DependsOn =
        {
            trnameObjectExtendercontrollerExtenderprofileCellularSmsnotification,
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.ObjectExtendercontrollerExtenderprofile;
import com.pulumi.fortimanager.ObjectExtendercontrollerExtenderprofileCellularSmsnotification;
import com.pulumi.fortimanager.ObjectExtendercontrollerExtenderprofileCellularSmsnotificationArgs;
import com.pulumi.fortimanager.ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver;
import com.pulumi.fortimanager.ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverArgs;
import com.pulumi.resources.CustomResourceOptions;
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 trnameObjectExtendercontrollerExtenderprofile = new ObjectExtendercontrollerExtenderprofile("trnameObjectExtendercontrollerExtenderprofile");

        var trnameObjectExtendercontrollerExtenderprofileCellularSmsnotification = new ObjectExtendercontrollerExtenderprofileCellularSmsnotification("trnameObjectExtendercontrollerExtenderprofileCellularSmsnotification", ObjectExtendercontrollerExtenderprofileCellularSmsnotificationArgs.builder()
            .status("disable")
            .extenderProfile(trnameObjectExtendercontrollerExtenderprofile.name())
            .build(), CustomResourceOptions.builder()
                .dependsOn(trnameObjectExtendercontrollerExtenderprofile)
                .build());

        var trnameObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver = new ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver("trnameObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver", ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverArgs.builder()
            .extenderProfile(trnameObjectExtendercontrollerExtenderprofile.name())
            .alerts("system-reboot")
            .phoneNumber("+16501234567")
            .build(), CustomResourceOptions.builder()
                .dependsOn(trnameObjectExtendercontrollerExtenderprofileCellularSmsnotification)
                .build());

    }
}
Copy
resources:
  trnameObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver:
    type: fortimanager:ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver
    properties:
      extenderProfile: ${trnameObjectExtendercontrollerExtenderprofile.name}
      alerts:
        - system-reboot
      phoneNumber: '+16501234567'
    options:
      dependsOn:
        - ${trnameObjectExtendercontrollerExtenderprofileCellularSmsnotification}
  trnameObjectExtendercontrollerExtenderprofileCellularSmsnotification:
    type: fortimanager:ObjectExtendercontrollerExtenderprofileCellularSmsnotification
    properties:
      status: disable
      extenderProfile: ${trnameObjectExtendercontrollerExtenderprofile.name}
    options:
      dependsOn:
        - ${trnameObjectExtendercontrollerExtenderprofile}
  trnameObjectExtendercontrollerExtenderprofile:
    type: fortimanager:ObjectExtendercontrollerExtenderprofile
Copy

Create ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver Resource

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

Constructor syntax

new ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver(name: string, args: ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverArgs, opts?: CustomResourceOptions);
@overload
def ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver(resource_name: str,
                                                                           args: ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverInitArgs,
                                                                           opts: Optional[ResourceOptions] = None)

@overload
def ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver(resource_name: str,
                                                                           opts: Optional[ResourceOptions] = None,
                                                                           extender_profile: Optional[str] = None,
                                                                           adom: Optional[str] = None,
                                                                           alerts: Optional[Sequence[str]] = None,
                                                                           name: Optional[str] = None,
                                                                           object_extendercontroller_extenderprofile_cellular_smsnotification_receiver_id: Optional[str] = None,
                                                                           phone_number: Optional[str] = None,
                                                                           scopetype: Optional[str] = None,
                                                                           status: Optional[str] = None)
func NewObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver(ctx *Context, name string, args ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverArgs, opts ...ResourceOption) (*ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver, error)
public ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver(string name, ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverArgs args, CustomResourceOptions? opts = null)
public ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver(String name, ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverArgs args)
public ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver(String name, ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverArgs args, CustomResourceOptions options)
type: fortimanager:ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver
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. ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverArgs
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. ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverInitArgs
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. ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverArgs
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. ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverArgs
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. ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverArgs
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 objectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverResource = new Fortimanager.ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver("objectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverResource", new()
{
    ExtenderProfile = "string",
    Adom = "string",
    Alerts = new[]
    {
        "string",
    },
    Name = "string",
    ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverId = "string",
    PhoneNumber = "string",
    Scopetype = "string",
    Status = "string",
});
Copy
example, err := fortimanager.NewObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver(ctx, "objectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverResource", &fortimanager.ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverArgs{
ExtenderProfile: pulumi.String("string"),
Adom: pulumi.String("string"),
Alerts: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverId: pulumi.String("string"),
PhoneNumber: pulumi.String("string"),
Scopetype: pulumi.String("string"),
Status: pulumi.String("string"),
})
Copy
var objectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverResource = new ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver("objectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverResource", ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverArgs.builder()
    .extenderProfile("string")
    .adom("string")
    .alerts("string")
    .name("string")
    .objectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverId("string")
    .phoneNumber("string")
    .scopetype("string")
    .status("string")
    .build());
Copy
object_extendercontroller_extenderprofile_cellular_smsnotification_receiver_resource = fortimanager.ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver("objectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverResource",
    extender_profile="string",
    adom="string",
    alerts=["string"],
    name="string",
    object_extendercontroller_extenderprofile_cellular_smsnotification_receiver_id="string",
    phone_number="string",
    scopetype="string",
    status="string")
Copy
const objectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverResource = new fortimanager.ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver("objectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverResource", {
    extenderProfile: "string",
    adom: "string",
    alerts: ["string"],
    name: "string",
    objectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverId: "string",
    phoneNumber: "string",
    scopetype: "string",
    status: "string",
});
Copy
type: fortimanager:ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver
properties:
    adom: string
    alerts:
        - string
    extenderProfile: string
    name: string
    objectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverId: string
    phoneNumber: string
    scopetype: string
    status: string
Copy

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

ExtenderProfile This property is required. string
Extender Profile.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Alerts List<string>
Alert multi-options. Valid values: system-reboot, data-exhausted, session-disconnect, low-signal-strength, mode-switch, os-image-fallback, fgt-backup-mode-switch.
Name string
FortiExtender SMS notification receiver name.
ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverId string
an identifier for the resource with format {{name}}.
PhoneNumber string
Receiver phone number. Format: [+][country code][area code][local phone number]. For example: +16501234567.
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.
Status string
SMS notification receiver status. Valid values: disable, enable.
ExtenderProfile This property is required. string
Extender Profile.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Alerts []string
Alert multi-options. Valid values: system-reboot, data-exhausted, session-disconnect, low-signal-strength, mode-switch, os-image-fallback, fgt-backup-mode-switch.
Name string
FortiExtender SMS notification receiver name.
ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverId string
an identifier for the resource with format {{name}}.
PhoneNumber string
Receiver phone number. Format: [+][country code][area code][local phone number]. For example: +16501234567.
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.
Status string
SMS notification receiver status. Valid values: disable, enable.
extenderProfile This property is required. String
Extender Profile.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
alerts List<String>
Alert multi-options. Valid values: system-reboot, data-exhausted, session-disconnect, low-signal-strength, mode-switch, os-image-fallback, fgt-backup-mode-switch.
name String
FortiExtender SMS notification receiver name.
objectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverId String
an identifier for the resource with format {{name}}.
phoneNumber String
Receiver phone number. Format: [+][country code][area code][local phone number]. For example: +16501234567.
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.
status String
SMS notification receiver status. Valid values: disable, enable.
extenderProfile This property is required. string
Extender Profile.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
alerts string[]
Alert multi-options. Valid values: system-reboot, data-exhausted, session-disconnect, low-signal-strength, mode-switch, os-image-fallback, fgt-backup-mode-switch.
name string
FortiExtender SMS notification receiver name.
objectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverId string
an identifier for the resource with format {{name}}.
phoneNumber string
Receiver phone number. Format: [+][country code][area code][local phone number]. For example: +16501234567.
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.
status string
SMS notification receiver status. Valid values: disable, enable.
extender_profile This property is required. str
Extender Profile.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
alerts Sequence[str]
Alert multi-options. Valid values: system-reboot, data-exhausted, session-disconnect, low-signal-strength, mode-switch, os-image-fallback, fgt-backup-mode-switch.
name str
FortiExtender SMS notification receiver name.
object_extendercontroller_extenderprofile_cellular_smsnotification_receiver_id str
an identifier for the resource with format {{name}}.
phone_number str
Receiver phone number. Format: [+][country code][area code][local phone number]. For example: +16501234567.
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.
status str
SMS notification receiver status. Valid values: disable, enable.
extenderProfile This property is required. String
Extender Profile.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
alerts List<String>
Alert multi-options. Valid values: system-reboot, data-exhausted, session-disconnect, low-signal-strength, mode-switch, os-image-fallback, fgt-backup-mode-switch.
name String
FortiExtender SMS notification receiver name.
objectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverId String
an identifier for the resource with format {{name}}.
phoneNumber String
Receiver phone number. Format: [+][country code][area code][local phone number]. For example: +16501234567.
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.
status String
SMS notification receiver status. Valid values: disable, enable.

Outputs

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

Get an existing ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver 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?: ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverState, opts?: CustomResourceOptions): ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        alerts: Optional[Sequence[str]] = None,
        extender_profile: Optional[str] = None,
        name: Optional[str] = None,
        object_extendercontroller_extenderprofile_cellular_smsnotification_receiver_id: Optional[str] = None,
        phone_number: Optional[str] = None,
        scopetype: Optional[str] = None,
        status: Optional[str] = None) -> ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver
func GetObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver(ctx *Context, name string, id IDInput, state *ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverState, opts ...ResourceOption) (*ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver, error)
public static ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver Get(string name, Input<string> id, ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverState? state, CustomResourceOptions? opts = null)
public static ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver get(String name, Output<String> id, ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver    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.
Alerts List<string>
Alert multi-options. Valid values: system-reboot, data-exhausted, session-disconnect, low-signal-strength, mode-switch, os-image-fallback, fgt-backup-mode-switch.
ExtenderProfile string
Extender Profile.
Name string
FortiExtender SMS notification receiver name.
ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverId string
an identifier for the resource with format {{name}}.
PhoneNumber string
Receiver phone number. Format: [+][country code][area code][local phone number]. For example: +16501234567.
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.
Status string
SMS notification receiver status. Valid values: disable, enable.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Alerts []string
Alert multi-options. Valid values: system-reboot, data-exhausted, session-disconnect, low-signal-strength, mode-switch, os-image-fallback, fgt-backup-mode-switch.
ExtenderProfile string
Extender Profile.
Name string
FortiExtender SMS notification receiver name.
ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverId string
an identifier for the resource with format {{name}}.
PhoneNumber string
Receiver phone number. Format: [+][country code][area code][local phone number]. For example: +16501234567.
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.
Status string
SMS notification receiver status. Valid values: disable, enable.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
alerts List<String>
Alert multi-options. Valid values: system-reboot, data-exhausted, session-disconnect, low-signal-strength, mode-switch, os-image-fallback, fgt-backup-mode-switch.
extenderProfile String
Extender Profile.
name String
FortiExtender SMS notification receiver name.
objectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverId String
an identifier for the resource with format {{name}}.
phoneNumber String
Receiver phone number. Format: [+][country code][area code][local phone number]. For example: +16501234567.
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.
status String
SMS notification receiver status. Valid values: disable, enable.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
alerts string[]
Alert multi-options. Valid values: system-reboot, data-exhausted, session-disconnect, low-signal-strength, mode-switch, os-image-fallback, fgt-backup-mode-switch.
extenderProfile string
Extender Profile.
name string
FortiExtender SMS notification receiver name.
objectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverId string
an identifier for the resource with format {{name}}.
phoneNumber string
Receiver phone number. Format: [+][country code][area code][local phone number]. For example: +16501234567.
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.
status string
SMS notification receiver status. Valid values: disable, enable.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
alerts Sequence[str]
Alert multi-options. Valid values: system-reboot, data-exhausted, session-disconnect, low-signal-strength, mode-switch, os-image-fallback, fgt-backup-mode-switch.
extender_profile str
Extender Profile.
name str
FortiExtender SMS notification receiver name.
object_extendercontroller_extenderprofile_cellular_smsnotification_receiver_id str
an identifier for the resource with format {{name}}.
phone_number str
Receiver phone number. Format: [+][country code][area code][local phone number]. For example: +16501234567.
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.
status str
SMS notification receiver status. Valid values: disable, enable.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
alerts List<String>
Alert multi-options. Valid values: system-reboot, data-exhausted, session-disconnect, low-signal-strength, mode-switch, os-image-fallback, fgt-backup-mode-switch.
extenderProfile String
Extender Profile.
name String
FortiExtender SMS notification receiver name.
objectExtendercontrollerExtenderprofileCellularSmsnotificationReceiverId String
an identifier for the resource with format {{name}}.
phoneNumber String
Receiver phone number. Format: [+][country code][area code][local phone number]. For example: +16501234567.
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.
status String
SMS notification receiver status. Valid values: disable, enable.

Import

ObjectExtenderController ExtenderProfileCellularSmsNotificationReceiver can be imported using any of these accepted formats:

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

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver:ObjectExtendercontrollerExtenderprofileCellularSmsnotificationReceiver labelname {{name}}
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.