fortimanager.FmupdateServeroverridestatus
Explore with Pulumi AI
Configure strict/loose server override.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";
const trname = new fortimanager.FmupdateServeroverridestatus("trname", {mode: "strict"});
import pulumi
import pulumi_fortimanager as fortimanager
trname = fortimanager.FmupdateServeroverridestatus("trname", mode="strict")
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.NewFmupdateServeroverridestatus(ctx, "trname", &fortimanager.FmupdateServeroverridestatusArgs{
Mode: pulumi.String("strict"),
})
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.FmupdateServeroverridestatus("trname", new()
{
Mode = "strict",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.FmupdateServeroverridestatus;
import com.pulumi.fortimanager.FmupdateServeroverridestatusArgs;
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 FmupdateServeroverridestatus("trname", FmupdateServeroverridestatusArgs.builder()
.mode("strict")
.build());
}
}
resources:
trname:
type: fortimanager:FmupdateServeroverridestatus
properties:
mode: strict
Create FmupdateServeroverridestatus Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FmupdateServeroverridestatus(name: string, args?: FmupdateServeroverridestatusArgs, opts?: CustomResourceOptions);
@overload
def FmupdateServeroverridestatus(resource_name: str,
args: Optional[FmupdateServeroverridestatusArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def FmupdateServeroverridestatus(resource_name: str,
opts: Optional[ResourceOptions] = None,
fmupdate_serveroverridestatus_id: Optional[str] = None,
mode: Optional[str] = None)
func NewFmupdateServeroverridestatus(ctx *Context, name string, args *FmupdateServeroverridestatusArgs, opts ...ResourceOption) (*FmupdateServeroverridestatus, error)
public FmupdateServeroverridestatus(string name, FmupdateServeroverridestatusArgs? args = null, CustomResourceOptions? opts = null)
public FmupdateServeroverridestatus(String name, FmupdateServeroverridestatusArgs args)
public FmupdateServeroverridestatus(String name, FmupdateServeroverridestatusArgs args, CustomResourceOptions options)
type: fortimanager:FmupdateServeroverridestatus
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 FmupdateServeroverridestatusArgs
- 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 FmupdateServeroverridestatusArgs
- 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 FmupdateServeroverridestatusArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FmupdateServeroverridestatusArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FmupdateServeroverridestatusArgs
- 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 fmupdateServeroverridestatusResource = new Fortimanager.FmupdateServeroverridestatus("fmupdateServeroverridestatusResource", new()
{
FmupdateServeroverridestatusId = "string",
Mode = "string",
});
example, err := fortimanager.NewFmupdateServeroverridestatus(ctx, "fmupdateServeroverridestatusResource", &fortimanager.FmupdateServeroverridestatusArgs{
FmupdateServeroverridestatusId: pulumi.String("string"),
Mode: pulumi.String("string"),
})
var fmupdateServeroverridestatusResource = new FmupdateServeroverridestatus("fmupdateServeroverridestatusResource", FmupdateServeroverridestatusArgs.builder()
.fmupdateServeroverridestatusId("string")
.mode("string")
.build());
fmupdate_serveroverridestatus_resource = fortimanager.FmupdateServeroverridestatus("fmupdateServeroverridestatusResource",
fmupdate_serveroverridestatus_id="string",
mode="string")
const fmupdateServeroverridestatusResource = new fortimanager.FmupdateServeroverridestatus("fmupdateServeroverridestatusResource", {
fmupdateServeroverridestatusId: "string",
mode: "string",
});
type: fortimanager:FmupdateServeroverridestatus
properties:
fmupdateServeroverridestatusId: string
mode: string
FmupdateServeroverridestatus 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 FmupdateServeroverridestatus resource accepts the following input properties:
- Fmupdate
Serveroverridestatus stringId - an identifier for the resource.
- Mode string
- Server override mode (default = loose). strict - Access override server only. loose - Allow access other servers. Valid values:
strict
,loose
.
- Fmupdate
Serveroverridestatus stringId - an identifier for the resource.
- Mode string
- Server override mode (default = loose). strict - Access override server only. loose - Allow access other servers. Valid values:
strict
,loose
.
- fmupdate
Serveroverridestatus StringId - an identifier for the resource.
- mode String
- Server override mode (default = loose). strict - Access override server only. loose - Allow access other servers. Valid values:
strict
,loose
.
- fmupdate
Serveroverridestatus stringId - an identifier for the resource.
- mode string
- Server override mode (default = loose). strict - Access override server only. loose - Allow access other servers. Valid values:
strict
,loose
.
- fmupdate_
serveroverridestatus_ strid - an identifier for the resource.
- mode str
- Server override mode (default = loose). strict - Access override server only. loose - Allow access other servers. Valid values:
strict
,loose
.
- fmupdate
Serveroverridestatus StringId - an identifier for the resource.
- mode String
- Server override mode (default = loose). strict - Access override server only. loose - Allow access other servers. Valid values:
strict
,loose
.
Outputs
All input properties are implicitly available as output properties. Additionally, the FmupdateServeroverridestatus 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 FmupdateServeroverridestatus Resource
Get an existing FmupdateServeroverridestatus 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?: FmupdateServeroverridestatusState, opts?: CustomResourceOptions): FmupdateServeroverridestatus
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
fmupdate_serveroverridestatus_id: Optional[str] = None,
mode: Optional[str] = None) -> FmupdateServeroverridestatus
func GetFmupdateServeroverridestatus(ctx *Context, name string, id IDInput, state *FmupdateServeroverridestatusState, opts ...ResourceOption) (*FmupdateServeroverridestatus, error)
public static FmupdateServeroverridestatus Get(string name, Input<string> id, FmupdateServeroverridestatusState? state, CustomResourceOptions? opts = null)
public static FmupdateServeroverridestatus get(String name, Output<String> id, FmupdateServeroverridestatusState state, CustomResourceOptions options)
resources: _: type: fortimanager:FmupdateServeroverridestatus 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
Serveroverridestatus stringId - an identifier for the resource.
- Mode string
- Server override mode (default = loose). strict - Access override server only. loose - Allow access other servers. Valid values:
strict
,loose
.
- Fmupdate
Serveroverridestatus stringId - an identifier for the resource.
- Mode string
- Server override mode (default = loose). strict - Access override server only. loose - Allow access other servers. Valid values:
strict
,loose
.
- fmupdate
Serveroverridestatus StringId - an identifier for the resource.
- mode String
- Server override mode (default = loose). strict - Access override server only. loose - Allow access other servers. Valid values:
strict
,loose
.
- fmupdate
Serveroverridestatus stringId - an identifier for the resource.
- mode string
- Server override mode (default = loose). strict - Access override server only. loose - Allow access other servers. Valid values:
strict
,loose
.
- fmupdate_
serveroverridestatus_ strid - an identifier for the resource.
- mode str
- Server override mode (default = loose). strict - Access override server only. loose - Allow access other servers. Valid values:
strict
,loose
.
- fmupdate
Serveroverridestatus StringId - an identifier for the resource.
- mode String
- Server override mode (default = loose). strict - Access override server only. loose - Allow access other servers. Valid values:
strict
,loose
.
Import
Fmupdate ServerOverrideStatus can be imported using any of these accepted formats:
$ export “FORTIMANAGER_IMPORT_TABLE”=“true”
$ pulumi import fortimanager:index/fmupdateServeroverridestatus:FmupdateServeroverridestatus labelname FmupdateServerOverrideStatus
$ 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.