fortimanager.FmupdateMultilayer
Explore with Pulumi AI
Configure multilayer mode.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";
const trname = new fortimanager.FmupdateMultilayer("trname", {webspamRating: "enable"});
import pulumi
import pulumi_fortimanager as fortimanager
trname = fortimanager.FmupdateMultilayer("trname", webspam_rating="enable")
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.NewFmupdateMultilayer(ctx, "trname", &fortimanager.FmupdateMultilayerArgs{
WebspamRating: pulumi.String("enable"),
})
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.FmupdateMultilayer("trname", new()
{
WebspamRating = "enable",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.FmupdateMultilayer;
import com.pulumi.fortimanager.FmupdateMultilayerArgs;
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 FmupdateMultilayer("trname", FmupdateMultilayerArgs.builder()
.webspamRating("enable")
.build());
}
}
resources:
trname:
type: fortimanager:FmupdateMultilayer
properties:
webspamRating: enable
Create FmupdateMultilayer Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FmupdateMultilayer(name: string, args?: FmupdateMultilayerArgs, opts?: CustomResourceOptions);
@overload
def FmupdateMultilayer(resource_name: str,
args: Optional[FmupdateMultilayerArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def FmupdateMultilayer(resource_name: str,
opts: Optional[ResourceOptions] = None,
fmupdate_multilayer_id: Optional[str] = None,
webspam_rating: Optional[str] = None)
func NewFmupdateMultilayer(ctx *Context, name string, args *FmupdateMultilayerArgs, opts ...ResourceOption) (*FmupdateMultilayer, error)
public FmupdateMultilayer(string name, FmupdateMultilayerArgs? args = null, CustomResourceOptions? opts = null)
public FmupdateMultilayer(String name, FmupdateMultilayerArgs args)
public FmupdateMultilayer(String name, FmupdateMultilayerArgs args, CustomResourceOptions options)
type: fortimanager:FmupdateMultilayer
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 FmupdateMultilayerArgs
- 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 FmupdateMultilayerArgs
- 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 FmupdateMultilayerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FmupdateMultilayerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FmupdateMultilayerArgs
- 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 fmupdateMultilayerResource = new Fortimanager.FmupdateMultilayer("fmupdateMultilayerResource", new()
{
FmupdateMultilayerId = "string",
WebspamRating = "string",
});
example, err := fortimanager.NewFmupdateMultilayer(ctx, "fmupdateMultilayerResource", &fortimanager.FmupdateMultilayerArgs{
FmupdateMultilayerId: pulumi.String("string"),
WebspamRating: pulumi.String("string"),
})
var fmupdateMultilayerResource = new FmupdateMultilayer("fmupdateMultilayerResource", FmupdateMultilayerArgs.builder()
.fmupdateMultilayerId("string")
.webspamRating("string")
.build());
fmupdate_multilayer_resource = fortimanager.FmupdateMultilayer("fmupdateMultilayerResource",
fmupdate_multilayer_id="string",
webspam_rating="string")
const fmupdateMultilayerResource = new fortimanager.FmupdateMultilayer("fmupdateMultilayerResource", {
fmupdateMultilayerId: "string",
webspamRating: "string",
});
type: fortimanager:FmupdateMultilayer
properties:
fmupdateMultilayerId: string
webspamRating: string
FmupdateMultilayer 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 FmupdateMultilayer resource accepts the following input properties:
- Fmupdate
Multilayer stringId - an identifier for the resource.
- Webspam
Rating string - Enable/disable URL/Antispam rating service (default = enable). disable - Disable setting. enable - Enable setting. Valid values:
disable
,enable
.
- Fmupdate
Multilayer stringId - an identifier for the resource.
- Webspam
Rating string - Enable/disable URL/Antispam rating service (default = enable). disable - Disable setting. enable - Enable setting. Valid values:
disable
,enable
.
- fmupdate
Multilayer StringId - an identifier for the resource.
- webspam
Rating String - Enable/disable URL/Antispam rating service (default = enable). disable - Disable setting. enable - Enable setting. Valid values:
disable
,enable
.
- fmupdate
Multilayer stringId - an identifier for the resource.
- webspam
Rating string - Enable/disable URL/Antispam rating service (default = enable). disable - Disable setting. enable - Enable setting. Valid values:
disable
,enable
.
- fmupdate_
multilayer_ strid - an identifier for the resource.
- webspam_
rating str - Enable/disable URL/Antispam rating service (default = enable). disable - Disable setting. enable - Enable setting. Valid values:
disable
,enable
.
- fmupdate
Multilayer StringId - an identifier for the resource.
- webspam
Rating String - Enable/disable URL/Antispam rating service (default = enable). disable - Disable setting. enable - Enable setting. Valid values:
disable
,enable
.
Outputs
All input properties are implicitly available as output properties. Additionally, the FmupdateMultilayer 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 FmupdateMultilayer Resource
Get an existing FmupdateMultilayer 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?: FmupdateMultilayerState, opts?: CustomResourceOptions): FmupdateMultilayer
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
fmupdate_multilayer_id: Optional[str] = None,
webspam_rating: Optional[str] = None) -> FmupdateMultilayer
func GetFmupdateMultilayer(ctx *Context, name string, id IDInput, state *FmupdateMultilayerState, opts ...ResourceOption) (*FmupdateMultilayer, error)
public static FmupdateMultilayer Get(string name, Input<string> id, FmupdateMultilayerState? state, CustomResourceOptions? opts = null)
public static FmupdateMultilayer get(String name, Output<String> id, FmupdateMultilayerState state, CustomResourceOptions options)
resources: _: type: fortimanager:FmupdateMultilayer 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.
- Fmupdate
Multilayer stringId - an identifier for the resource.
- Webspam
Rating string - Enable/disable URL/Antispam rating service (default = enable). disable - Disable setting. enable - Enable setting. Valid values:
disable
,enable
.
- Fmupdate
Multilayer stringId - an identifier for the resource.
- Webspam
Rating string - Enable/disable URL/Antispam rating service (default = enable). disable - Disable setting. enable - Enable setting. Valid values:
disable
,enable
.
- fmupdate
Multilayer StringId - an identifier for the resource.
- webspam
Rating String - Enable/disable URL/Antispam rating service (default = enable). disable - Disable setting. enable - Enable setting. Valid values:
disable
,enable
.
- fmupdate
Multilayer stringId - an identifier for the resource.
- webspam
Rating string - Enable/disable URL/Antispam rating service (default = enable). disable - Disable setting. enable - Enable setting. Valid values:
disable
,enable
.
- fmupdate_
multilayer_ strid - an identifier for the resource.
- webspam_
rating str - Enable/disable URL/Antispam rating service (default = enable). disable - Disable setting. enable - Enable setting. Valid values:
disable
,enable
.
- fmupdate
Multilayer StringId - an identifier for the resource.
- webspam
Rating String - Enable/disable URL/Antispam rating service (default = enable). disable - Disable setting. enable - Enable setting. Valid values:
disable
,enable
.
Import
Fmupdate Multilayer can be imported using any of these accepted formats:
$ export “FORTIMANAGER_IMPORT_TABLE”=“true”
$ pulumi import fortimanager:index/fmupdateMultilayer:FmupdateMultilayer labelname FmupdateMultilayer
$ 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.