KMIP server list.
This resource is a sub resource for variable
server_listof resourcefortimanager.ObjectVpnKmipserver. Conflict and overwrite may occur if use both of them.
Create ObjectVpnKmipserverServerlist Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ObjectVpnKmipserverServerlist(name: string, args: ObjectVpnKmipserverServerlistArgs, opts?: CustomResourceOptions);@overload
def ObjectVpnKmipserverServerlist(resource_name: str,
args: ObjectVpnKmipserverServerlistArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ObjectVpnKmipserverServerlist(resource_name: str,
opts: Optional[ResourceOptions] = None,
kmip_server: Optional[str] = None,
adom: Optional[str] = None,
certs: Optional[Sequence[str]] = None,
fosid: Optional[float] = None,
object_vpn_kmipserver_serverlist_id: Optional[str] = None,
port: Optional[float] = None,
scopetype: Optional[str] = None,
server: Optional[str] = None,
status: Optional[str] = None)func NewObjectVpnKmipserverServerlist(ctx *Context, name string, args ObjectVpnKmipserverServerlistArgs, opts ...ResourceOption) (*ObjectVpnKmipserverServerlist, error)public ObjectVpnKmipserverServerlist(string name, ObjectVpnKmipserverServerlistArgs args, CustomResourceOptions? opts = null)
public ObjectVpnKmipserverServerlist(String name, ObjectVpnKmipserverServerlistArgs args)
public ObjectVpnKmipserverServerlist(String name, ObjectVpnKmipserverServerlistArgs args, CustomResourceOptions options)
type: fortimanager:ObjectVpnKmipserverServerlist
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 ObjectVpnKmipserverServerlistArgs
- 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 ObjectVpnKmipserverServerlistArgs
- 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 ObjectVpnKmipserverServerlistArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObjectVpnKmipserverServerlistArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ObjectVpnKmipserverServerlistArgs
- 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 objectVpnKmipserverServerlistResource = new Fortimanager.ObjectVpnKmipserverServerlist("objectVpnKmipserverServerlistResource", new()
{
KmipServer = "string",
Adom = "string",
Certs = new[]
{
"string",
},
Fosid = 0,
ObjectVpnKmipserverServerlistId = "string",
Port = 0,
Scopetype = "string",
Server = "string",
Status = "string",
});
example, err := fortimanager.NewObjectVpnKmipserverServerlist(ctx, "objectVpnKmipserverServerlistResource", &fortimanager.ObjectVpnKmipserverServerlistArgs{
KmipServer: pulumi.String("string"),
Adom: pulumi.String("string"),
Certs: pulumi.StringArray{
pulumi.String("string"),
},
Fosid: pulumi.Float64(0),
ObjectVpnKmipserverServerlistId: pulumi.String("string"),
Port: pulumi.Float64(0),
Scopetype: pulumi.String("string"),
Server: pulumi.String("string"),
Status: pulumi.String("string"),
})
var objectVpnKmipserverServerlistResource = new ObjectVpnKmipserverServerlist("objectVpnKmipserverServerlistResource", ObjectVpnKmipserverServerlistArgs.builder()
.kmipServer("string")
.adom("string")
.certs("string")
.fosid(0.0)
.objectVpnKmipserverServerlistId("string")
.port(0.0)
.scopetype("string")
.server("string")
.status("string")
.build());
object_vpn_kmipserver_serverlist_resource = fortimanager.ObjectVpnKmipserverServerlist("objectVpnKmipserverServerlistResource",
kmip_server="string",
adom="string",
certs=["string"],
fosid=0,
object_vpn_kmipserver_serverlist_id="string",
port=0,
scopetype="string",
server="string",
status="string")
const objectVpnKmipserverServerlistResource = new fortimanager.ObjectVpnKmipserverServerlist("objectVpnKmipserverServerlistResource", {
kmipServer: "string",
adom: "string",
certs: ["string"],
fosid: 0,
objectVpnKmipserverServerlistId: "string",
port: 0,
scopetype: "string",
server: "string",
status: "string",
});
type: fortimanager:ObjectVpnKmipserverServerlist
properties:
adom: string
certs:
- string
fosid: 0
kmipServer: string
objectVpnKmipserverServerlistId: string
port: 0
scopetype: string
server: string
status: string
ObjectVpnKmipserverServerlist 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 ObjectVpnKmipserverServerlist resource accepts the following input properties:
- Kmip
Server string - Kmip Server.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Certs List<string>
- Client certificate to use for connectivity to the KMIP server.
- Fosid double
- ID
- Object
Vpn stringKmipserver Serverlist Id - an identifier for the resource with format {{fosid}}.
- Port double
- KMIP server port.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - Server string
- KMIP server FQDN or IP address.
- Status string
- Enable/disable KMIP server. Valid values:
disable,enable.
- Kmip
Server string - Kmip Server.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Certs []string
- Client certificate to use for connectivity to the KMIP server.
- Fosid float64
- ID
- Object
Vpn stringKmipserver Serverlist Id - an identifier for the resource with format {{fosid}}.
- Port float64
- KMIP server port.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - Server string
- KMIP server FQDN or IP address.
- Status string
- Enable/disable KMIP server. Valid values:
disable,enable.
- kmip
Server String - Kmip Server.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - certs List<String>
- Client certificate to use for connectivity to the KMIP server.
- fosid Double
- ID
- object
Vpn StringKmipserver Serverlist Id - an identifier for the resource with format {{fosid}}.
- port Double
- KMIP server port.
- scopetype String
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - server String
- KMIP server FQDN or IP address.
- status String
- Enable/disable KMIP server. Valid values:
disable,enable.
- kmip
Server string - Kmip Server.
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - certs string[]
- Client certificate to use for connectivity to the KMIP server.
- fosid number
- ID
- object
Vpn stringKmipserver Serverlist Id - an identifier for the resource with format {{fosid}}.
- port number
- KMIP server port.
- scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - server string
- KMIP server FQDN or IP address.
- status string
- Enable/disable KMIP server. Valid values:
disable,enable.
- kmip_
server str - Kmip Server.
- adom str
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - certs Sequence[str]
- Client certificate to use for connectivity to the KMIP server.
- fosid float
- ID
- object_
vpn_ strkmipserver_ serverlist_ id - an identifier for the resource with format {{fosid}}.
- port float
- KMIP server port.
- scopetype str
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - server str
- KMIP server FQDN or IP address.
- status str
- Enable/disable KMIP server. Valid values:
disable,enable.
- kmip
Server String - Kmip Server.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - certs List<String>
- Client certificate to use for connectivity to the KMIP server.
- fosid Number
- ID
- object
Vpn StringKmipserver Serverlist Id - an identifier for the resource with format {{fosid}}.
- port Number
- KMIP server port.
- scopetype String
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - server String
- KMIP server FQDN or IP address.
- status String
- Enable/disable KMIP server. Valid values:
disable,enable.
Outputs
All input properties are implicitly available as output properties. Additionally, the ObjectVpnKmipserverServerlist 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 ObjectVpnKmipserverServerlist Resource
Get an existing ObjectVpnKmipserverServerlist 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?: ObjectVpnKmipserverServerlistState, opts?: CustomResourceOptions): ObjectVpnKmipserverServerlist@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
adom: Optional[str] = None,
certs: Optional[Sequence[str]] = None,
fosid: Optional[float] = None,
kmip_server: Optional[str] = None,
object_vpn_kmipserver_serverlist_id: Optional[str] = None,
port: Optional[float] = None,
scopetype: Optional[str] = None,
server: Optional[str] = None,
status: Optional[str] = None) -> ObjectVpnKmipserverServerlistfunc GetObjectVpnKmipserverServerlist(ctx *Context, name string, id IDInput, state *ObjectVpnKmipserverServerlistState, opts ...ResourceOption) (*ObjectVpnKmipserverServerlist, error)public static ObjectVpnKmipserverServerlist Get(string name, Input<string> id, ObjectVpnKmipserverServerlistState? state, CustomResourceOptions? opts = null)public static ObjectVpnKmipserverServerlist get(String name, Output<String> id, ObjectVpnKmipserverServerlistState state, CustomResourceOptions options)resources: _: type: fortimanager:ObjectVpnKmipserverServerlist 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.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Certs List<string>
- Client certificate to use for connectivity to the KMIP server.
- Fosid double
- ID
- Kmip
Server string - Kmip Server.
- Object
Vpn stringKmipserver Serverlist Id - an identifier for the resource with format {{fosid}}.
- Port double
- KMIP server port.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - Server string
- KMIP server FQDN or IP address.
- Status string
- Enable/disable KMIP server. Valid values:
disable,enable.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Certs []string
- Client certificate to use for connectivity to the KMIP server.
- Fosid float64
- ID
- Kmip
Server string - Kmip Server.
- Object
Vpn stringKmipserver Serverlist Id - an identifier for the resource with format {{fosid}}.
- Port float64
- KMIP server port.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - Server string
- KMIP server FQDN or IP address.
- Status string
- Enable/disable KMIP server. Valid values:
disable,enable.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - certs List<String>
- Client certificate to use for connectivity to the KMIP server.
- fosid Double
- ID
- kmip
Server String - Kmip Server.
- object
Vpn StringKmipserver Serverlist Id - an identifier for the resource with format {{fosid}}.
- port Double
- KMIP server port.
- scopetype String
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - server String
- KMIP server FQDN or IP address.
- status String
- Enable/disable KMIP server. Valid values:
disable,enable.
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - certs string[]
- Client certificate to use for connectivity to the KMIP server.
- fosid number
- ID
- kmip
Server string - Kmip Server.
- object
Vpn stringKmipserver Serverlist Id - an identifier for the resource with format {{fosid}}.
- port number
- KMIP server port.
- scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - server string
- KMIP server FQDN or IP address.
- status string
- Enable/disable KMIP server. Valid values:
disable,enable.
- adom str
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - certs Sequence[str]
- Client certificate to use for connectivity to the KMIP server.
- fosid float
- ID
- kmip_
server str - Kmip Server.
- object_
vpn_ strkmipserver_ serverlist_ id - an identifier for the resource with format {{fosid}}.
- port float
- KMIP server port.
- scopetype str
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - server str
- KMIP server FQDN or IP address.
- status str
- Enable/disable KMIP server. Valid values:
disable,enable.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - certs List<String>
- Client certificate to use for connectivity to the KMIP server.
- fosid Number
- ID
- kmip
Server String - Kmip Server.
- object
Vpn StringKmipserver Serverlist Id - an identifier for the resource with format {{fosid}}.
- port Number
- KMIP server port.
- scopetype String
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - server String
- KMIP server FQDN or IP address.
- status String
- Enable/disable KMIP server. Valid values:
disable,enable.
Import
ObjectVpn KmipServerServerList can be imported using any of these accepted formats:
Set import_options = [“kmip_server=YOUR_VALUE”] in the provider section.
$ export “FORTIMANAGER_IMPORT_TABLE”=“true”
$ pulumi import fortimanager:index/objectVpnKmipserverServerlist:ObjectVpnKmipserverServerlist labelname {{fosid}}
$ 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
fortimanagerTerraform Provider.
