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

fortimanager.SystemMetadataAdmins

Explore with Pulumi AI

Configure admins.

Example Usage

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

const trname = new fortimanager.SystemMetadataAdmins("trname", {
    fieldlength: "50",
    fieldname: "terraform tefv1",
    importance: "optional",
    status: "enabled",
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname = fortimanager.SystemMetadataAdmins("trname",
    fieldlength="50",
    fieldname="terraform tefv1",
    importance="optional",
    status="enabled")
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 {
		_, err := fortimanager.NewSystemMetadataAdmins(ctx, "trname", &fortimanager.SystemMetadataAdminsArgs{
			Fieldlength: pulumi.String("50"),
			Fieldname:   pulumi.String("terraform tefv1"),
			Importance:  pulumi.String("optional"),
			Status:      pulumi.String("enabled"),
		})
		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 trname = new Fortimanager.SystemMetadataAdmins("trname", new()
    {
        Fieldlength = "50",
        Fieldname = "terraform tefv1",
        Importance = "optional",
        Status = "enabled",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.SystemMetadataAdmins;
import com.pulumi.fortimanager.SystemMetadataAdminsArgs;
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 SystemMetadataAdmins("trname", SystemMetadataAdminsArgs.builder()
            .fieldlength(50)
            .fieldname("terraform tefv1")
            .importance("optional")
            .status("enabled")
            .build());

    }
}
Copy
resources:
  trname:
    type: fortimanager:SystemMetadataAdmins
    properties:
      fieldlength: 50
      fieldname: terraform tefv1
      importance: optional
      status: enabled
Copy

Create SystemMetadataAdmins Resource

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

Constructor syntax

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

@overload
def SystemMetadataAdmins(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         fieldlength: Optional[str] = None,
                         fieldname: Optional[str] = None,
                         importance: Optional[str] = None,
                         status: Optional[str] = None,
                         system_metadata_admins_id: Optional[str] = None)
func NewSystemMetadataAdmins(ctx *Context, name string, args *SystemMetadataAdminsArgs, opts ...ResourceOption) (*SystemMetadataAdmins, error)
public SystemMetadataAdmins(string name, SystemMetadataAdminsArgs? args = null, CustomResourceOptions? opts = null)
public SystemMetadataAdmins(String name, SystemMetadataAdminsArgs args)
public SystemMetadataAdmins(String name, SystemMetadataAdminsArgs args, CustomResourceOptions options)
type: fortimanager:SystemMetadataAdmins
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 SystemMetadataAdminsArgs
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 SystemMetadataAdminsArgs
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 SystemMetadataAdminsArgs
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 SystemMetadataAdminsArgs
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. SystemMetadataAdminsArgs
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 systemMetadataAdminsResource = new Fortimanager.SystemMetadataAdmins("systemMetadataAdminsResource", new()
{
    Fieldlength = "string",
    Fieldname = "string",
    Importance = "string",
    Status = "string",
    SystemMetadataAdminsId = "string",
});
Copy
example, err := fortimanager.NewSystemMetadataAdmins(ctx, "systemMetadataAdminsResource", &fortimanager.SystemMetadataAdminsArgs{
Fieldlength: pulumi.String("string"),
Fieldname: pulumi.String("string"),
Importance: pulumi.String("string"),
Status: pulumi.String("string"),
SystemMetadataAdminsId: pulumi.String("string"),
})
Copy
var systemMetadataAdminsResource = new SystemMetadataAdmins("systemMetadataAdminsResource", SystemMetadataAdminsArgs.builder()
    .fieldlength("string")
    .fieldname("string")
    .importance("string")
    .status("string")
    .systemMetadataAdminsId("string")
    .build());
Copy
system_metadata_admins_resource = fortimanager.SystemMetadataAdmins("systemMetadataAdminsResource",
    fieldlength="string",
    fieldname="string",
    importance="string",
    status="string",
    system_metadata_admins_id="string")
Copy
const systemMetadataAdminsResource = new fortimanager.SystemMetadataAdmins("systemMetadataAdminsResource", {
    fieldlength: "string",
    fieldname: "string",
    importance: "string",
    status: "string",
    systemMetadataAdminsId: "string",
});
Copy
type: fortimanager:SystemMetadataAdmins
properties:
    fieldlength: string
    fieldname: string
    importance: string
    status: string
    systemMetadataAdminsId: string
Copy

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

Fieldlength string
Field length. 20 - Field length of 20. 50 - Field length of 50. 255 - Field length of 255. Valid values: 20, 50, 255.
Fieldname string
Field name.
Importance string
Field importance. optional - This field is optional. required - This field is required. Valid values: optional, required.
Status string
Field status. disabled - This field is disabled. enabled - This field is enabled. Valid values: disabled, enabled.
SystemMetadataAdminsId string
an identifier for the resource with format {{fieldname}}.
Fieldlength string
Field length. 20 - Field length of 20. 50 - Field length of 50. 255 - Field length of 255. Valid values: 20, 50, 255.
Fieldname string
Field name.
Importance string
Field importance. optional - This field is optional. required - This field is required. Valid values: optional, required.
Status string
Field status. disabled - This field is disabled. enabled - This field is enabled. Valid values: disabled, enabled.
SystemMetadataAdminsId string
an identifier for the resource with format {{fieldname}}.
fieldlength String
Field length. 20 - Field length of 20. 50 - Field length of 50. 255 - Field length of 255. Valid values: 20, 50, 255.
fieldname String
Field name.
importance String
Field importance. optional - This field is optional. required - This field is required. Valid values: optional, required.
status String
Field status. disabled - This field is disabled. enabled - This field is enabled. Valid values: disabled, enabled.
systemMetadataAdminsId String
an identifier for the resource with format {{fieldname}}.
fieldlength string
Field length. 20 - Field length of 20. 50 - Field length of 50. 255 - Field length of 255. Valid values: 20, 50, 255.
fieldname string
Field name.
importance string
Field importance. optional - This field is optional. required - This field is required. Valid values: optional, required.
status string
Field status. disabled - This field is disabled. enabled - This field is enabled. Valid values: disabled, enabled.
systemMetadataAdminsId string
an identifier for the resource with format {{fieldname}}.
fieldlength str
Field length. 20 - Field length of 20. 50 - Field length of 50. 255 - Field length of 255. Valid values: 20, 50, 255.
fieldname str
Field name.
importance str
Field importance. optional - This field is optional. required - This field is required. Valid values: optional, required.
status str
Field status. disabled - This field is disabled. enabled - This field is enabled. Valid values: disabled, enabled.
system_metadata_admins_id str
an identifier for the resource with format {{fieldname}}.
fieldlength String
Field length. 20 - Field length of 20. 50 - Field length of 50. 255 - Field length of 255. Valid values: 20, 50, 255.
fieldname String
Field name.
importance String
Field importance. optional - This field is optional. required - This field is required. Valid values: optional, required.
status String
Field status. disabled - This field is disabled. enabled - This field is enabled. Valid values: disabled, enabled.
systemMetadataAdminsId String
an identifier for the resource with format {{fieldname}}.

Outputs

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

Get an existing SystemMetadataAdmins 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?: SystemMetadataAdminsState, opts?: CustomResourceOptions): SystemMetadataAdmins
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        fieldlength: Optional[str] = None,
        fieldname: Optional[str] = None,
        importance: Optional[str] = None,
        status: Optional[str] = None,
        system_metadata_admins_id: Optional[str] = None) -> SystemMetadataAdmins
func GetSystemMetadataAdmins(ctx *Context, name string, id IDInput, state *SystemMetadataAdminsState, opts ...ResourceOption) (*SystemMetadataAdmins, error)
public static SystemMetadataAdmins Get(string name, Input<string> id, SystemMetadataAdminsState? state, CustomResourceOptions? opts = null)
public static SystemMetadataAdmins get(String name, Output<String> id, SystemMetadataAdminsState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:SystemMetadataAdmins    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:
Fieldlength string
Field length. 20 - Field length of 20. 50 - Field length of 50. 255 - Field length of 255. Valid values: 20, 50, 255.
Fieldname string
Field name.
Importance string
Field importance. optional - This field is optional. required - This field is required. Valid values: optional, required.
Status string
Field status. disabled - This field is disabled. enabled - This field is enabled. Valid values: disabled, enabled.
SystemMetadataAdminsId string
an identifier for the resource with format {{fieldname}}.
Fieldlength string
Field length. 20 - Field length of 20. 50 - Field length of 50. 255 - Field length of 255. Valid values: 20, 50, 255.
Fieldname string
Field name.
Importance string
Field importance. optional - This field is optional. required - This field is required. Valid values: optional, required.
Status string
Field status. disabled - This field is disabled. enabled - This field is enabled. Valid values: disabled, enabled.
SystemMetadataAdminsId string
an identifier for the resource with format {{fieldname}}.
fieldlength String
Field length. 20 - Field length of 20. 50 - Field length of 50. 255 - Field length of 255. Valid values: 20, 50, 255.
fieldname String
Field name.
importance String
Field importance. optional - This field is optional. required - This field is required. Valid values: optional, required.
status String
Field status. disabled - This field is disabled. enabled - This field is enabled. Valid values: disabled, enabled.
systemMetadataAdminsId String
an identifier for the resource with format {{fieldname}}.
fieldlength string
Field length. 20 - Field length of 20. 50 - Field length of 50. 255 - Field length of 255. Valid values: 20, 50, 255.
fieldname string
Field name.
importance string
Field importance. optional - This field is optional. required - This field is required. Valid values: optional, required.
status string
Field status. disabled - This field is disabled. enabled - This field is enabled. Valid values: disabled, enabled.
systemMetadataAdminsId string
an identifier for the resource with format {{fieldname}}.
fieldlength str
Field length. 20 - Field length of 20. 50 - Field length of 50. 255 - Field length of 255. Valid values: 20, 50, 255.
fieldname str
Field name.
importance str
Field importance. optional - This field is optional. required - This field is required. Valid values: optional, required.
status str
Field status. disabled - This field is disabled. enabled - This field is enabled. Valid values: disabled, enabled.
system_metadata_admins_id str
an identifier for the resource with format {{fieldname}}.
fieldlength String
Field length. 20 - Field length of 20. 50 - Field length of 50. 255 - Field length of 255. Valid values: 20, 50, 255.
fieldname String
Field name.
importance String
Field importance. optional - This field is optional. required - This field is required. Valid values: optional, required.
status String
Field status. disabled - This field is disabled. enabled - This field is enabled. Valid values: disabled, enabled.
systemMetadataAdminsId String
an identifier for the resource with format {{fieldname}}.

Import

System MetadataAdmins can be imported using any of these accepted formats:

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/systemMetadataAdmins:SystemMetadataAdmins labelname {{fieldname}}
Copy

$ 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.