1. Packages
  2. Fortios
  3. API Docs
  4. system
  5. SettingGlobal
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.system.SettingGlobal

Explore with Pulumi AI

fortios logo
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

    Create SettingGlobal Resource

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

    Constructor syntax

    new SettingGlobal(name: string, args: SettingGlobalArgs, opts?: CustomResourceOptions);
    @overload
    def SettingGlobal(resource_name: str,
                      args: SettingGlobalArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def SettingGlobal(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      hostname: Optional[str] = None,
                      admin_scp: Optional[str] = None,
                      admin_sport: Optional[str] = None,
                      admin_ssh_port: Optional[str] = None,
                      admintimeout: Optional[str] = None,
                      timezone: Optional[str] = None)
    func NewSettingGlobal(ctx *Context, name string, args SettingGlobalArgs, opts ...ResourceOption) (*SettingGlobal, error)
    public SettingGlobal(string name, SettingGlobalArgs args, CustomResourceOptions? opts = null)
    public SettingGlobal(String name, SettingGlobalArgs args)
    public SettingGlobal(String name, SettingGlobalArgs args, CustomResourceOptions options)
    
    type: fortios:system:SettingGlobal
    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 SettingGlobalArgs
    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 SettingGlobalArgs
    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 SettingGlobalArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SettingGlobalArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SettingGlobalArgs
    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 settingGlobalResource = new Fortios.System.SettingGlobal("settingGlobalResource", new()
    {
        Hostname = "string",
        AdminScp = "string",
        AdminSport = "string",
        AdminSshPort = "string",
        Admintimeout = "string",
        Timezone = "string",
    });
    
    example, err := system.NewSettingGlobal(ctx, "settingGlobalResource", &system.SettingGlobalArgs{
    	Hostname:     pulumi.String("string"),
    	AdminScp:     pulumi.String("string"),
    	AdminSport:   pulumi.String("string"),
    	AdminSshPort: pulumi.String("string"),
    	Admintimeout: pulumi.String("string"),
    	Timezone:     pulumi.String("string"),
    })
    
    var settingGlobalResource = new SettingGlobal("settingGlobalResource", SettingGlobalArgs.builder()
        .hostname("string")
        .adminScp("string")
        .adminSport("string")
        .adminSshPort("string")
        .admintimeout("string")
        .timezone("string")
        .build());
    
    setting_global_resource = fortios.system.SettingGlobal("settingGlobalResource",
        hostname="string",
        admin_scp="string",
        admin_sport="string",
        admin_ssh_port="string",
        admintimeout="string",
        timezone="string")
    
    const settingGlobalResource = new fortios.system.SettingGlobal("settingGlobalResource", {
        hostname: "string",
        adminScp: "string",
        adminSport: "string",
        adminSshPort: "string",
        admintimeout: "string",
        timezone: "string",
    });
    
    type: fortios:system:SettingGlobal
    properties:
        adminScp: string
        adminSport: string
        adminSshPort: string
        admintimeout: string
        hostname: string
        timezone: string
    

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

    Hostname string
    FortiGate unit's hostname.
    AdminScp string
    Enable SCP over SSH
    AdminSport string
    Administrative access port for HTTPS.
    AdminSshPort string
    Administrative access port for SSH.
    Admintimeout string
    Number of minutes before an idle administrator session time out.
    Timezone string
    Number corresponding to your time zone from 00 to 86.
    Hostname string
    FortiGate unit's hostname.
    AdminScp string
    Enable SCP over SSH
    AdminSport string
    Administrative access port for HTTPS.
    AdminSshPort string
    Administrative access port for SSH.
    Admintimeout string
    Number of minutes before an idle administrator session time out.
    Timezone string
    Number corresponding to your time zone from 00 to 86.
    hostname String
    FortiGate unit's hostname.
    adminScp String
    Enable SCP over SSH
    adminSport String
    Administrative access port for HTTPS.
    adminSshPort String
    Administrative access port for SSH.
    admintimeout String
    Number of minutes before an idle administrator session time out.
    timezone String
    Number corresponding to your time zone from 00 to 86.
    hostname string
    FortiGate unit's hostname.
    adminScp string
    Enable SCP over SSH
    adminSport string
    Administrative access port for HTTPS.
    adminSshPort string
    Administrative access port for SSH.
    admintimeout string
    Number of minutes before an idle administrator session time out.
    timezone string
    Number corresponding to your time zone from 00 to 86.
    hostname str
    FortiGate unit's hostname.
    admin_scp str
    Enable SCP over SSH
    admin_sport str
    Administrative access port for HTTPS.
    admin_ssh_port str
    Administrative access port for SSH.
    admintimeout str
    Number of minutes before an idle administrator session time out.
    timezone str
    Number corresponding to your time zone from 00 to 86.
    hostname String
    FortiGate unit's hostname.
    adminScp String
    Enable SCP over SSH
    adminSport String
    Administrative access port for HTTPS.
    adminSshPort String
    Administrative access port for SSH.
    admintimeout String
    Number of minutes before an idle administrator session time out.
    timezone String
    Number corresponding to your time zone from 00 to 86.

    Outputs

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

    Get an existing SettingGlobal 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?: SettingGlobalState, opts?: CustomResourceOptions): SettingGlobal
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            admin_scp: Optional[str] = None,
            admin_sport: Optional[str] = None,
            admin_ssh_port: Optional[str] = None,
            admintimeout: Optional[str] = None,
            hostname: Optional[str] = None,
            timezone: Optional[str] = None) -> SettingGlobal
    func GetSettingGlobal(ctx *Context, name string, id IDInput, state *SettingGlobalState, opts ...ResourceOption) (*SettingGlobal, error)
    public static SettingGlobal Get(string name, Input<string> id, SettingGlobalState? state, CustomResourceOptions? opts = null)
    public static SettingGlobal get(String name, Output<String> id, SettingGlobalState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    AdminScp string
    Enable SCP over SSH
    AdminSport string
    Administrative access port for HTTPS.
    AdminSshPort string
    Administrative access port for SSH.
    Admintimeout string
    Number of minutes before an idle administrator session time out.
    Hostname string
    FortiGate unit's hostname.
    Timezone string
    Number corresponding to your time zone from 00 to 86.
    AdminScp string
    Enable SCP over SSH
    AdminSport string
    Administrative access port for HTTPS.
    AdminSshPort string
    Administrative access port for SSH.
    Admintimeout string
    Number of minutes before an idle administrator session time out.
    Hostname string
    FortiGate unit's hostname.
    Timezone string
    Number corresponding to your time zone from 00 to 86.
    adminScp String
    Enable SCP over SSH
    adminSport String
    Administrative access port for HTTPS.
    adminSshPort String
    Administrative access port for SSH.
    admintimeout String
    Number of minutes before an idle administrator session time out.
    hostname String
    FortiGate unit's hostname.
    timezone String
    Number corresponding to your time zone from 00 to 86.
    adminScp string
    Enable SCP over SSH
    adminSport string
    Administrative access port for HTTPS.
    adminSshPort string
    Administrative access port for SSH.
    admintimeout string
    Number of minutes before an idle administrator session time out.
    hostname string
    FortiGate unit's hostname.
    timezone string
    Number corresponding to your time zone from 00 to 86.
    admin_scp str
    Enable SCP over SSH
    admin_sport str
    Administrative access port for HTTPS.
    admin_ssh_port str
    Administrative access port for SSH.
    admintimeout str
    Number of minutes before an idle administrator session time out.
    hostname str
    FortiGate unit's hostname.
    timezone str
    Number corresponding to your time zone from 00 to 86.
    adminScp String
    Enable SCP over SSH
    adminSport String
    Administrative access port for HTTPS.
    adminSshPort String
    Administrative access port for SSH.
    admintimeout String
    Number of minutes before an idle administrator session time out.
    hostname String
    FortiGate unit's hostname.
    timezone String
    Number corresponding to your time zone from 00 to 86.

    Package Details

    Repository
    fortios pulumiverse/pulumi-fortios
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the fortios Terraform Provider.
    fortios logo
    Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse