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

fortimanager.ObjectDynamicCertificateLocal

Explore with Pulumi AI

ObjectDynamic CertificateLocal

The following variables have sub resource. Avoid using them together, otherwise conflicts and overwrites may occur.

  • dynamic_mapping: fortimanager.ObjectDynamicCertificateLocalDynamicMapping

Example Usage

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

const trname = new fortimanager.ObjectDynamicCertificateLocal("trname", {description: "This is a Terraform example"});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname = fortimanager.ObjectDynamicCertificateLocal("trname", description="This is a Terraform example")
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.NewObjectDynamicCertificateLocal(ctx, "trname", &fortimanager.ObjectDynamicCertificateLocalArgs{
			Description: pulumi.String("This is a Terraform example"),
		})
		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.ObjectDynamicCertificateLocal("trname", new()
    {
        Description = "This is a Terraform example",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.ObjectDynamicCertificateLocal;
import com.pulumi.fortimanager.ObjectDynamicCertificateLocalArgs;
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 ObjectDynamicCertificateLocal("trname", ObjectDynamicCertificateLocalArgs.builder()
            .description("This is a Terraform example")
            .build());

    }
}
Copy
resources:
  trname:
    type: fortimanager:ObjectDynamicCertificateLocal
    properties:
      description: This is a Terraform example
Copy

Create ObjectDynamicCertificateLocal Resource

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

Constructor syntax

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

@overload
def ObjectDynamicCertificateLocal(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  adom: Optional[str] = None,
                                  description: Optional[str] = None,
                                  dynamic_mappings: Optional[Sequence[ObjectDynamicCertificateLocalDynamicMappingArgs]] = None,
                                  dynamic_sort_subtable: Optional[str] = None,
                                  name: Optional[str] = None,
                                  object_dynamic_certificate_local_id: Optional[str] = None,
                                  scopetype: Optional[str] = None)
func NewObjectDynamicCertificateLocal(ctx *Context, name string, args *ObjectDynamicCertificateLocalArgs, opts ...ResourceOption) (*ObjectDynamicCertificateLocal, error)
public ObjectDynamicCertificateLocal(string name, ObjectDynamicCertificateLocalArgs? args = null, CustomResourceOptions? opts = null)
public ObjectDynamicCertificateLocal(String name, ObjectDynamicCertificateLocalArgs args)
public ObjectDynamicCertificateLocal(String name, ObjectDynamicCertificateLocalArgs args, CustomResourceOptions options)
type: fortimanager:ObjectDynamicCertificateLocal
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 ObjectDynamicCertificateLocalArgs
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 ObjectDynamicCertificateLocalArgs
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 ObjectDynamicCertificateLocalArgs
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 ObjectDynamicCertificateLocalArgs
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. ObjectDynamicCertificateLocalArgs
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 objectDynamicCertificateLocalResource = new Fortimanager.ObjectDynamicCertificateLocal("objectDynamicCertificateLocalResource", new()
{
    Adom = "string",
    Description = "string",
    DynamicMappings = new[]
    {
        new Fortimanager.Inputs.ObjectDynamicCertificateLocalDynamicMappingArgs
        {
            _scopes = new[]
            {
                new Fortimanager.Inputs.ObjectDynamicCertificateLocalDynamicMapping_ScopeArgs
                {
                    Name = "string",
                    Vdom = "string",
                },
            },
            LocalCert = "string",
        },
    },
    DynamicSortSubtable = "string",
    Name = "string",
    ObjectDynamicCertificateLocalId = "string",
    Scopetype = "string",
});
Copy
example, err := fortimanager.NewObjectDynamicCertificateLocal(ctx, "objectDynamicCertificateLocalResource", &fortimanager.ObjectDynamicCertificateLocalArgs{
Adom: pulumi.String("string"),
Description: pulumi.String("string"),
DynamicMappings: .ObjectDynamicCertificateLocalDynamicMappingTypeArray{
&.ObjectDynamicCertificateLocalDynamicMappingTypeArgs{
_scopes: .ObjectDynamicCertificateLocalDynamicMapping_ScopeArray{
&.ObjectDynamicCertificateLocalDynamicMapping_ScopeArgs{
Name: pulumi.String("string"),
Vdom: pulumi.String("string"),
},
},
LocalCert: pulumi.String("string"),
},
},
DynamicSortSubtable: pulumi.String("string"),
Name: pulumi.String("string"),
ObjectDynamicCertificateLocalId: pulumi.String("string"),
Scopetype: pulumi.String("string"),
})
Copy
var objectDynamicCertificateLocalResource = new ObjectDynamicCertificateLocal("objectDynamicCertificateLocalResource", ObjectDynamicCertificateLocalArgs.builder()
    .adom("string")
    .description("string")
    .dynamicMappings(ObjectDynamicCertificateLocalDynamicMappingArgs.builder()
        ._scopes(ObjectDynamicCertificateLocalDynamicMapping_ScopeArgs.builder()
            .name("string")
            .vdom("string")
            .build())
        .localCert("string")
        .build())
    .dynamicSortSubtable("string")
    .name("string")
    .objectDynamicCertificateLocalId("string")
    .scopetype("string")
    .build());
Copy
object_dynamic_certificate_local_resource = fortimanager.ObjectDynamicCertificateLocal("objectDynamicCertificateLocalResource",
    adom="string",
    description="string",
    dynamic_mappings=[{
        "_scopes": [{
            "name": "string",
            "vdom": "string",
        }],
        "local_cert": "string",
    }],
    dynamic_sort_subtable="string",
    name="string",
    object_dynamic_certificate_local_id="string",
    scopetype="string")
Copy
const objectDynamicCertificateLocalResource = new fortimanager.ObjectDynamicCertificateLocal("objectDynamicCertificateLocalResource", {
    adom: "string",
    description: "string",
    dynamicMappings: [{
        _scopes: [{
            name: "string",
            vdom: "string",
        }],
        localCert: "string",
    }],
    dynamicSortSubtable: "string",
    name: "string",
    objectDynamicCertificateLocalId: "string",
    scopetype: "string",
});
Copy
type: fortimanager:ObjectDynamicCertificateLocal
properties:
    adom: string
    description: string
    dynamicMappings:
        - _scopes:
            - name: string
              vdom: string
          localCert: string
    dynamicSortSubtable: string
    name: string
    objectDynamicCertificateLocalId: string
    scopetype: string
Copy

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

Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Description string
Description.
DynamicMappings List<ObjectDynamicCertificateLocalDynamicMapping>
Dynamic_Mapping. The structure of dynamic_mapping block is documented below.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
Name string
Name.
ObjectDynamicCertificateLocalId string
an identifier for the resource with format {{name}}.
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.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Description string
Description.
DynamicMappings []ObjectDynamicCertificateLocalDynamicMappingTypeArgs
Dynamic_Mapping. The structure of dynamic_mapping block is documented below.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
Name string
Name.
ObjectDynamicCertificateLocalId string
an identifier for the resource with format {{name}}.
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.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
description String
Description.
dynamicMappings List<ObjectDynamicCertificateLocalDynamicMapping>
Dynamic_Mapping. The structure of dynamic_mapping block is documented below.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
name String
Name.
objectDynamicCertificateLocalId String
an identifier for the resource with format {{name}}.
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.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
description string
Description.
dynamicMappings ObjectDynamicCertificateLocalDynamicMapping[]
Dynamic_Mapping. The structure of dynamic_mapping block is documented below.
dynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
name string
Name.
objectDynamicCertificateLocalId string
an identifier for the resource with format {{name}}.
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.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
description str
Description.
dynamic_mappings Sequence[ObjectDynamicCertificateLocalDynamicMappingArgs]
Dynamic_Mapping. The structure of dynamic_mapping block is documented below.
dynamic_sort_subtable str
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
name str
Name.
object_dynamic_certificate_local_id str
an identifier for the resource with format {{name}}.
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.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
description String
Description.
dynamicMappings List<Property Map>
Dynamic_Mapping. The structure of dynamic_mapping block is documented below.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
name String
Name.
objectDynamicCertificateLocalId String
an identifier for the resource with format {{name}}.
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.

Outputs

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

Get an existing ObjectDynamicCertificateLocal 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?: ObjectDynamicCertificateLocalState, opts?: CustomResourceOptions): ObjectDynamicCertificateLocal
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        description: Optional[str] = None,
        dynamic_mappings: Optional[Sequence[ObjectDynamicCertificateLocalDynamicMappingArgs]] = None,
        dynamic_sort_subtable: Optional[str] = None,
        name: Optional[str] = None,
        object_dynamic_certificate_local_id: Optional[str] = None,
        scopetype: Optional[str] = None) -> ObjectDynamicCertificateLocal
func GetObjectDynamicCertificateLocal(ctx *Context, name string, id IDInput, state *ObjectDynamicCertificateLocalState, opts ...ResourceOption) (*ObjectDynamicCertificateLocal, error)
public static ObjectDynamicCertificateLocal Get(string name, Input<string> id, ObjectDynamicCertificateLocalState? state, CustomResourceOptions? opts = null)
public static ObjectDynamicCertificateLocal get(String name, Output<String> id, ObjectDynamicCertificateLocalState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectDynamicCertificateLocal    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.
Description string
Description.
DynamicMappings List<ObjectDynamicCertificateLocalDynamicMapping>
Dynamic_Mapping. The structure of dynamic_mapping block is documented below.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
Name string
Name.
ObjectDynamicCertificateLocalId string
an identifier for the resource with format {{name}}.
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.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Description string
Description.
DynamicMappings []ObjectDynamicCertificateLocalDynamicMappingTypeArgs
Dynamic_Mapping. The structure of dynamic_mapping block is documented below.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
Name string
Name.
ObjectDynamicCertificateLocalId string
an identifier for the resource with format {{name}}.
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.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
description String
Description.
dynamicMappings List<ObjectDynamicCertificateLocalDynamicMapping>
Dynamic_Mapping. The structure of dynamic_mapping block is documented below.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
name String
Name.
objectDynamicCertificateLocalId String
an identifier for the resource with format {{name}}.
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.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
description string
Description.
dynamicMappings ObjectDynamicCertificateLocalDynamicMapping[]
Dynamic_Mapping. The structure of dynamic_mapping block is documented below.
dynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
name string
Name.
objectDynamicCertificateLocalId string
an identifier for the resource with format {{name}}.
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.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
description str
Description.
dynamic_mappings Sequence[ObjectDynamicCertificateLocalDynamicMappingArgs]
Dynamic_Mapping. The structure of dynamic_mapping block is documented below.
dynamic_sort_subtable str
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
name str
Name.
object_dynamic_certificate_local_id str
an identifier for the resource with format {{name}}.
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.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
description String
Description.
dynamicMappings List<Property Map>
Dynamic_Mapping. The structure of dynamic_mapping block is documented below.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
name String
Name.
objectDynamicCertificateLocalId String
an identifier for the resource with format {{name}}.
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.

Supporting Types

ObjectDynamicCertificateLocalDynamicMapping
, ObjectDynamicCertificateLocalDynamicMappingArgs

LocalCert string
Local-Cert.
_scopes List<ObjectDynamicCertificateLocalDynamicMapping_Scope>
_Scope. The structure of _scope block is documented below.
LocalCert string
Local-Cert.
_scopes []ObjectDynamicCertificateLocalDynamicMapping_Scope
_Scope. The structure of _scope block is documented below.
_scopes List<ObjectDynamicCertificateLocalDynamicMapping_Scope>
_Scope. The structure of _scope block is documented below.
localCert String
Local-Cert.
_scopes ObjectDynamicCertificateLocalDynamicMapping_Scope[]
_Scope. The structure of _scope block is documented below.
localCert string
Local-Cert.
_scopes Sequence[ObjectDynamicCertificateLocalDynamicMapping_Scope]
_Scope. The structure of _scope block is documented below.
local_cert str
Local-Cert.
_scopes List<Property Map>
_Scope. The structure of _scope block is documented below.
localCert String
Local-Cert.

ObjectDynamicCertificateLocalDynamicMapping_Scope
, ObjectDynamicCertificateLocalDynamicMapping_ScopeArgs

Name string
Name.
Vdom string
Vdom.
Name string
Name.
Vdom string
Vdom.
name String
Name.
vdom String
Vdom.
name string
Name.
vdom string
Vdom.
name str
Name.
vdom str
Vdom.
name String
Name.
vdom String
Vdom.

Import

ObjectDynamic CertificateLocal can be imported using any of these accepted formats:

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectDynamicCertificateLocal:ObjectDynamicCertificateLocal labelname {{name}}
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.