1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectWirelesscontrollerApcfgprofileCommandlist
fortimanager 1.14.0 published on Tuesday, Apr 15, 2025 by fortinetdev

fortimanager.ObjectWirelesscontrollerApcfgprofileCommandlist

Explore with Pulumi AI

AP local configuration command list.

This resource is a sub resource for variable command_list of resource fortimanager.ObjectWirelesscontrollerApcfgprofile. 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 trnameObjectWirelesscontrollerApcfgprofile = new fortimanager.ObjectWirelesscontrollerApcfgprofile("trnameObjectWirelesscontrollerApcfgprofile", {});
const trnameObjectWirelesscontrollerApcfgprofileCommandlist = new fortimanager.ObjectWirelesscontrollerApcfgprofileCommandlist("trnameObjectWirelesscontrollerApcfgprofileCommandlist", {
    apcfgProfile: trnameObjectWirelesscontrollerApcfgprofile.name,
    fosid: 23,
    type: "password",
    passwdValues: ["123"],
}, {
    dependsOn: [trnameObjectWirelesscontrollerApcfgprofile],
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname_object_wirelesscontroller_apcfgprofile = fortimanager.ObjectWirelesscontrollerApcfgprofile("trnameObjectWirelesscontrollerApcfgprofile")
trname_object_wirelesscontroller_apcfgprofile_commandlist = fortimanager.ObjectWirelesscontrollerApcfgprofileCommandlist("trnameObjectWirelesscontrollerApcfgprofileCommandlist",
    apcfg_profile=trname_object_wirelesscontroller_apcfgprofile.name,
    fosid=23,
    type="password",
    passwd_values=["123"],
    opts = pulumi.ResourceOptions(depends_on=[trname_object_wirelesscontroller_apcfgprofile]))
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 {
		trnameObjectWirelesscontrollerApcfgprofile, err := fortimanager.NewObjectWirelesscontrollerApcfgprofile(ctx, "trnameObjectWirelesscontrollerApcfgprofile", nil)
		if err != nil {
			return err
		}
		_, err = fortimanager.NewObjectWirelesscontrollerApcfgprofileCommandlist(ctx, "trnameObjectWirelesscontrollerApcfgprofileCommandlist", &fortimanager.ObjectWirelesscontrollerApcfgprofileCommandlistArgs{
			ApcfgProfile: trnameObjectWirelesscontrollerApcfgprofile.Name,
			Fosid:        pulumi.Float64(23),
			Type:         pulumi.String("password"),
			PasswdValues: pulumi.StringArray{
				pulumi.String("123"),
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			trnameObjectWirelesscontrollerApcfgprofile,
		}))
		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 trnameObjectWirelesscontrollerApcfgprofile = new Fortimanager.ObjectWirelesscontrollerApcfgprofile("trnameObjectWirelesscontrollerApcfgprofile");

    var trnameObjectWirelesscontrollerApcfgprofileCommandlist = new Fortimanager.ObjectWirelesscontrollerApcfgprofileCommandlist("trnameObjectWirelesscontrollerApcfgprofileCommandlist", new()
    {
        ApcfgProfile = trnameObjectWirelesscontrollerApcfgprofile.Name,
        Fosid = 23,
        Type = "password",
        PasswdValues = new[]
        {
            "123",
        },
    }, new CustomResourceOptions
    {
        DependsOn =
        {
            trnameObjectWirelesscontrollerApcfgprofile,
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.ObjectWirelesscontrollerApcfgprofile;
import com.pulumi.fortimanager.ObjectWirelesscontrollerApcfgprofileCommandlist;
import com.pulumi.fortimanager.ObjectWirelesscontrollerApcfgprofileCommandlistArgs;
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 trnameObjectWirelesscontrollerApcfgprofile = new ObjectWirelesscontrollerApcfgprofile("trnameObjectWirelesscontrollerApcfgprofile");

        var trnameObjectWirelesscontrollerApcfgprofileCommandlist = new ObjectWirelesscontrollerApcfgprofileCommandlist("trnameObjectWirelesscontrollerApcfgprofileCommandlist", ObjectWirelesscontrollerApcfgprofileCommandlistArgs.builder()
            .apcfgProfile(trnameObjectWirelesscontrollerApcfgprofile.name())
            .fosid(23)
            .type("password")
            .passwdValues("123")
            .build(), CustomResourceOptions.builder()
                .dependsOn(trnameObjectWirelesscontrollerApcfgprofile)
                .build());

    }
}
Copy
resources:
  trnameObjectWirelesscontrollerApcfgprofileCommandlist:
    type: fortimanager:ObjectWirelesscontrollerApcfgprofileCommandlist
    properties:
      apcfgProfile: ${trnameObjectWirelesscontrollerApcfgprofile.name}
      fosid: 23
      type: password
      passwdValues:
        - '123'
    options:
      dependsOn:
        - ${trnameObjectWirelesscontrollerApcfgprofile}
  trnameObjectWirelesscontrollerApcfgprofile:
    type: fortimanager:ObjectWirelesscontrollerApcfgprofile
Copy

Create ObjectWirelesscontrollerApcfgprofileCommandlist Resource

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

Constructor syntax

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

@overload
def ObjectWirelesscontrollerApcfgprofileCommandlist(resource_name: str,
                                                    opts: Optional[ResourceOptions] = None,
                                                    apcfg_profile: Optional[str] = None,
                                                    adom: Optional[str] = None,
                                                    fosid: Optional[float] = None,
                                                    name: Optional[str] = None,
                                                    object_wirelesscontroller_apcfgprofile_commandlist_id: Optional[str] = None,
                                                    passwd_values: Optional[Sequence[str]] = None,
                                                    scopetype: Optional[str] = None,
                                                    type: Optional[str] = None,
                                                    value: Optional[str] = None)
func NewObjectWirelesscontrollerApcfgprofileCommandlist(ctx *Context, name string, args ObjectWirelesscontrollerApcfgprofileCommandlistArgs, opts ...ResourceOption) (*ObjectWirelesscontrollerApcfgprofileCommandlist, error)
public ObjectWirelesscontrollerApcfgprofileCommandlist(string name, ObjectWirelesscontrollerApcfgprofileCommandlistArgs args, CustomResourceOptions? opts = null)
public ObjectWirelesscontrollerApcfgprofileCommandlist(String name, ObjectWirelesscontrollerApcfgprofileCommandlistArgs args)
public ObjectWirelesscontrollerApcfgprofileCommandlist(String name, ObjectWirelesscontrollerApcfgprofileCommandlistArgs args, CustomResourceOptions options)
type: fortimanager:ObjectWirelesscontrollerApcfgprofileCommandlist
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. ObjectWirelesscontrollerApcfgprofileCommandlistArgs
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. ObjectWirelesscontrollerApcfgprofileCommandlistArgs
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. ObjectWirelesscontrollerApcfgprofileCommandlistArgs
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. ObjectWirelesscontrollerApcfgprofileCommandlistArgs
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. ObjectWirelesscontrollerApcfgprofileCommandlistArgs
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 objectWirelesscontrollerApcfgprofileCommandlistResource = new Fortimanager.ObjectWirelesscontrollerApcfgprofileCommandlist("objectWirelesscontrollerApcfgprofileCommandlistResource", new()
{
    ApcfgProfile = "string",
    Adom = "string",
    Fosid = 0,
    Name = "string",
    ObjectWirelesscontrollerApcfgprofileCommandlistId = "string",
    PasswdValues = new[]
    {
        "string",
    },
    Scopetype = "string",
    Type = "string",
    Value = "string",
});
Copy
example, err := fortimanager.NewObjectWirelesscontrollerApcfgprofileCommandlist(ctx, "objectWirelesscontrollerApcfgprofileCommandlistResource", &fortimanager.ObjectWirelesscontrollerApcfgprofileCommandlistArgs{
ApcfgProfile: pulumi.String("string"),
Adom: pulumi.String("string"),
Fosid: pulumi.Float64(0),
Name: pulumi.String("string"),
ObjectWirelesscontrollerApcfgprofileCommandlistId: pulumi.String("string"),
PasswdValues: pulumi.StringArray{
pulumi.String("string"),
},
Scopetype: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
})
Copy
var objectWirelesscontrollerApcfgprofileCommandlistResource = new ObjectWirelesscontrollerApcfgprofileCommandlist("objectWirelesscontrollerApcfgprofileCommandlistResource", ObjectWirelesscontrollerApcfgprofileCommandlistArgs.builder()
    .apcfgProfile("string")
    .adom("string")
    .fosid(0)
    .name("string")
    .objectWirelesscontrollerApcfgprofileCommandlistId("string")
    .passwdValues("string")
    .scopetype("string")
    .type("string")
    .value("string")
    .build());
Copy
object_wirelesscontroller_apcfgprofile_commandlist_resource = fortimanager.ObjectWirelesscontrollerApcfgprofileCommandlist("objectWirelesscontrollerApcfgprofileCommandlistResource",
    apcfg_profile="string",
    adom="string",
    fosid=0,
    name="string",
    object_wirelesscontroller_apcfgprofile_commandlist_id="string",
    passwd_values=["string"],
    scopetype="string",
    type="string",
    value="string")
Copy
const objectWirelesscontrollerApcfgprofileCommandlistResource = new fortimanager.ObjectWirelesscontrollerApcfgprofileCommandlist("objectWirelesscontrollerApcfgprofileCommandlistResource", {
    apcfgProfile: "string",
    adom: "string",
    fosid: 0,
    name: "string",
    objectWirelesscontrollerApcfgprofileCommandlistId: "string",
    passwdValues: ["string"],
    scopetype: "string",
    type: "string",
    value: "string",
});
Copy
type: fortimanager:ObjectWirelesscontrollerApcfgprofileCommandlist
properties:
    adom: string
    apcfgProfile: string
    fosid: 0
    name: string
    objectWirelesscontrollerApcfgprofileCommandlistId: string
    passwdValues:
        - string
    scopetype: string
    type: string
    value: string
Copy

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

ApcfgProfile This property is required. string
Apcfg 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.
Fosid double
Command ID.
Name string
AP local configuration command name.
ObjectWirelesscontrollerApcfgprofileCommandlistId string
an identifier for the resource with format {{fosid}}.
PasswdValues List<string>
AP local configuration command password value.
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.
Type string
The command type (default = non-password). Valid values: non-password, password.
Value string
AP local configuration command value.
ApcfgProfile This property is required. string
Apcfg 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.
Fosid float64
Command ID.
Name string
AP local configuration command name.
ObjectWirelesscontrollerApcfgprofileCommandlistId string
an identifier for the resource with format {{fosid}}.
PasswdValues []string
AP local configuration command password value.
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.
Type string
The command type (default = non-password). Valid values: non-password, password.
Value string
AP local configuration command value.
apcfgProfile This property is required. String
Apcfg 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.
fosid Double
Command ID.
name String
AP local configuration command name.
objectWirelesscontrollerApcfgprofileCommandlistId String
an identifier for the resource with format {{fosid}}.
passwdValues List<String>
AP local configuration command password value.
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.
type String
The command type (default = non-password). Valid values: non-password, password.
value String
AP local configuration command value.
apcfgProfile This property is required. string
Apcfg 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.
fosid number
Command ID.
name string
AP local configuration command name.
objectWirelesscontrollerApcfgprofileCommandlistId string
an identifier for the resource with format {{fosid}}.
passwdValues string[]
AP local configuration command password value.
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.
type string
The command type (default = non-password). Valid values: non-password, password.
value string
AP local configuration command value.
apcfg_profile This property is required. str
Apcfg 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.
fosid float
Command ID.
name str
AP local configuration command name.
object_wirelesscontroller_apcfgprofile_commandlist_id str
an identifier for the resource with format {{fosid}}.
passwd_values Sequence[str]
AP local configuration command password value.
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.
type str
The command type (default = non-password). Valid values: non-password, password.
value str
AP local configuration command value.
apcfgProfile This property is required. String
Apcfg 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.
fosid Number
Command ID.
name String
AP local configuration command name.
objectWirelesscontrollerApcfgprofileCommandlistId String
an identifier for the resource with format {{fosid}}.
passwdValues List<String>
AP local configuration command password value.
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.
type String
The command type (default = non-password). Valid values: non-password, password.
value String
AP local configuration command value.

Outputs

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

Get an existing ObjectWirelesscontrollerApcfgprofileCommandlist 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?: ObjectWirelesscontrollerApcfgprofileCommandlistState, opts?: CustomResourceOptions): ObjectWirelesscontrollerApcfgprofileCommandlist
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        apcfg_profile: Optional[str] = None,
        fosid: Optional[float] = None,
        name: Optional[str] = None,
        object_wirelesscontroller_apcfgprofile_commandlist_id: Optional[str] = None,
        passwd_values: Optional[Sequence[str]] = None,
        scopetype: Optional[str] = None,
        type: Optional[str] = None,
        value: Optional[str] = None) -> ObjectWirelesscontrollerApcfgprofileCommandlist
func GetObjectWirelesscontrollerApcfgprofileCommandlist(ctx *Context, name string, id IDInput, state *ObjectWirelesscontrollerApcfgprofileCommandlistState, opts ...ResourceOption) (*ObjectWirelesscontrollerApcfgprofileCommandlist, error)
public static ObjectWirelesscontrollerApcfgprofileCommandlist Get(string name, Input<string> id, ObjectWirelesscontrollerApcfgprofileCommandlistState? state, CustomResourceOptions? opts = null)
public static ObjectWirelesscontrollerApcfgprofileCommandlist get(String name, Output<String> id, ObjectWirelesscontrollerApcfgprofileCommandlistState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectWirelesscontrollerApcfgprofileCommandlist    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.
ApcfgProfile string
Apcfg Profile.
Fosid double
Command ID.
Name string
AP local configuration command name.
ObjectWirelesscontrollerApcfgprofileCommandlistId string
an identifier for the resource with format {{fosid}}.
PasswdValues List<string>
AP local configuration command password value.
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.
Type string
The command type (default = non-password). Valid values: non-password, password.
Value string
AP local configuration command value.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ApcfgProfile string
Apcfg Profile.
Fosid float64
Command ID.
Name string
AP local configuration command name.
ObjectWirelesscontrollerApcfgprofileCommandlistId string
an identifier for the resource with format {{fosid}}.
PasswdValues []string
AP local configuration command password value.
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.
Type string
The command type (default = non-password). Valid values: non-password, password.
Value string
AP local configuration command value.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
apcfgProfile String
Apcfg Profile.
fosid Double
Command ID.
name String
AP local configuration command name.
objectWirelesscontrollerApcfgprofileCommandlistId String
an identifier for the resource with format {{fosid}}.
passwdValues List<String>
AP local configuration command password value.
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.
type String
The command type (default = non-password). Valid values: non-password, password.
value String
AP local configuration command value.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
apcfgProfile string
Apcfg Profile.
fosid number
Command ID.
name string
AP local configuration command name.
objectWirelesscontrollerApcfgprofileCommandlistId string
an identifier for the resource with format {{fosid}}.
passwdValues string[]
AP local configuration command password value.
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.
type string
The command type (default = non-password). Valid values: non-password, password.
value string
AP local configuration command value.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
apcfg_profile str
Apcfg Profile.
fosid float
Command ID.
name str
AP local configuration command name.
object_wirelesscontroller_apcfgprofile_commandlist_id str
an identifier for the resource with format {{fosid}}.
passwd_values Sequence[str]
AP local configuration command password value.
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.
type str
The command type (default = non-password). Valid values: non-password, password.
value str
AP local configuration command value.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
apcfgProfile String
Apcfg Profile.
fosid Number
Command ID.
name String
AP local configuration command name.
objectWirelesscontrollerApcfgprofileCommandlistId String
an identifier for the resource with format {{fosid}}.
passwdValues List<String>
AP local configuration command password value.
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.
type String
The command type (default = non-password). Valid values: non-password, password.
value String
AP local configuration command value.

Import

ObjectWirelessController ApcfgProfileCommandList can be imported using any of these accepted formats:

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

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectWirelesscontrollerApcfgprofileCommandlist:ObjectWirelesscontrollerApcfgprofileCommandlist labelname {{fosid}}
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.