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

fortimanager.SecurityconsolePackageClone

Explore with Pulumi AI

fortimanager logo
fortimanager 1.13.0 published on Thursday, Mar 13, 2025 by fortinetdev

    Import

    Securityconsole PackageClone can be imported using any of these accepted formats:

    $ export “FORTIMANAGER_IMPORT_TABLE”=“true”

    $ pulumi import fortimanager:index/securityconsolePackageClone:SecurityconsolePackageClone labelname SecurityconsolePackageClone
    

    $ unset “FORTIMANAGER_IMPORT_TABLE”

    Create SecurityconsolePackageClone Resource

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

    Constructor syntax

    new SecurityconsolePackageClone(name: string, args?: SecurityconsolePackageCloneArgs, opts?: CustomResourceOptions);
    @overload
    def SecurityconsolePackageClone(resource_name: str,
                                    args: Optional[SecurityconsolePackageCloneArgs] = None,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def SecurityconsolePackageClone(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    dst_name: Optional[str] = None,
                                    dst_parent: Optional[str] = None,
                                    dynamic_sort_subtable: Optional[str] = None,
                                    fmgadom: Optional[str] = None,
                                    force_recreate: Optional[str] = None,
                                    pkg: Optional[str] = None,
                                    scopes: Optional[Sequence[SecurityconsolePackageCloneScopeArgs]] = None,
                                    securityconsole_package_clone_id: Optional[str] = None)
    func NewSecurityconsolePackageClone(ctx *Context, name string, args *SecurityconsolePackageCloneArgs, opts ...ResourceOption) (*SecurityconsolePackageClone, error)
    public SecurityconsolePackageClone(string name, SecurityconsolePackageCloneArgs? args = null, CustomResourceOptions? opts = null)
    public SecurityconsolePackageClone(String name, SecurityconsolePackageCloneArgs args)
    public SecurityconsolePackageClone(String name, SecurityconsolePackageCloneArgs args, CustomResourceOptions options)
    
    type: fortimanager:SecurityconsolePackageClone
    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 SecurityconsolePackageCloneArgs
    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 SecurityconsolePackageCloneArgs
    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 SecurityconsolePackageCloneArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SecurityconsolePackageCloneArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SecurityconsolePackageCloneArgs
    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 securityconsolePackageCloneResource = new Fortimanager.SecurityconsolePackageClone("securityconsolePackageCloneResource", new()
    {
        DstName = "string",
        DstParent = "string",
        DynamicSortSubtable = "string",
        Fmgadom = "string",
        ForceRecreate = "string",
        Pkg = "string",
        Scopes = new[]
        {
            new Fortimanager.Inputs.SecurityconsolePackageCloneScopeArgs
            {
                Name = "string",
                Vdom = "string",
            },
        },
        SecurityconsolePackageCloneId = "string",
    });
    
    example, err := fortimanager.NewSecurityconsolePackageClone(ctx, "securityconsolePackageCloneResource", &fortimanager.SecurityconsolePackageCloneArgs{
    DstName: pulumi.String("string"),
    DstParent: pulumi.String("string"),
    DynamicSortSubtable: pulumi.String("string"),
    Fmgadom: pulumi.String("string"),
    ForceRecreate: pulumi.String("string"),
    Pkg: pulumi.String("string"),
    Scopes: .SecurityconsolePackageCloneScopeArray{
    &.SecurityconsolePackageCloneScopeArgs{
    Name: pulumi.String("string"),
    Vdom: pulumi.String("string"),
    },
    },
    SecurityconsolePackageCloneId: pulumi.String("string"),
    })
    
    var securityconsolePackageCloneResource = new SecurityconsolePackageClone("securityconsolePackageCloneResource", SecurityconsolePackageCloneArgs.builder()
        .dstName("string")
        .dstParent("string")
        .dynamicSortSubtable("string")
        .fmgadom("string")
        .forceRecreate("string")
        .pkg("string")
        .scopes(SecurityconsolePackageCloneScopeArgs.builder()
            .name("string")
            .vdom("string")
            .build())
        .securityconsolePackageCloneId("string")
        .build());
    
    securityconsole_package_clone_resource = fortimanager.SecurityconsolePackageClone("securityconsolePackageCloneResource",
        dst_name="string",
        dst_parent="string",
        dynamic_sort_subtable="string",
        fmgadom="string",
        force_recreate="string",
        pkg="string",
        scopes=[{
            "name": "string",
            "vdom": "string",
        }],
        securityconsole_package_clone_id="string")
    
    const securityconsolePackageCloneResource = new fortimanager.SecurityconsolePackageClone("securityconsolePackageCloneResource", {
        dstName: "string",
        dstParent: "string",
        dynamicSortSubtable: "string",
        fmgadom: "string",
        forceRecreate: "string",
        pkg: "string",
        scopes: [{
            name: "string",
            vdom: "string",
        }],
        securityconsolePackageCloneId: "string",
    });
    
    type: fortimanager:SecurityconsolePackageClone
    properties:
        dstName: string
        dstParent: string
        dynamicSortSubtable: string
        fmgadom: string
        forceRecreate: string
        pkg: string
        scopes:
            - name: string
              vdom: string
        securityconsolePackageCloneId: string
    

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

    DstName string
    Name of the new policy package.
    DstParent string
    Path to the folder for the target package. If the package is to be placed in root, leave this field blank.
    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.
    Fmgadom string
    Source ADOM name.
    ForceRecreate string
    The argument is optional, if it is set, when the value changes, the resource will be re-created.
    Pkg string
    Source package path and name.
    Scopes List<SecurityconsolePackageCloneScope>
    Scope. The structure of scope block is documented below.
    SecurityconsolePackageCloneId string
    an identifier for the resource.
    DstName string
    Name of the new policy package.
    DstParent string
    Path to the folder for the target package. If the package is to be placed in root, leave this field blank.
    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.
    Fmgadom string
    Source ADOM name.
    ForceRecreate string
    The argument is optional, if it is set, when the value changes, the resource will be re-created.
    Pkg string
    Source package path and name.
    Scopes []SecurityconsolePackageCloneScopeArgs
    Scope. The structure of scope block is documented below.
    SecurityconsolePackageCloneId string
    an identifier for the resource.
    dstName String
    Name of the new policy package.
    dstParent String
    Path to the folder for the target package. If the package is to be placed in root, leave this field blank.
    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.
    fmgadom String
    Source ADOM name.
    forceRecreate String
    The argument is optional, if it is set, when the value changes, the resource will be re-created.
    pkg String
    Source package path and name.
    scopes List<SecurityconsolePackageCloneScope>
    Scope. The structure of scope block is documented below.
    securityconsolePackageCloneId String
    an identifier for the resource.
    dstName string
    Name of the new policy package.
    dstParent string
    Path to the folder for the target package. If the package is to be placed in root, leave this field blank.
    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.
    fmgadom string
    Source ADOM name.
    forceRecreate string
    The argument is optional, if it is set, when the value changes, the resource will be re-created.
    pkg string
    Source package path and name.
    scopes SecurityconsolePackageCloneScope[]
    Scope. The structure of scope block is documented below.
    securityconsolePackageCloneId string
    an identifier for the resource.
    dst_name str
    Name of the new policy package.
    dst_parent str
    Path to the folder for the target package. If the package is to be placed in root, leave this field blank.
    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.
    fmgadom str
    Source ADOM name.
    force_recreate str
    The argument is optional, if it is set, when the value changes, the resource will be re-created.
    pkg str
    Source package path and name.
    scopes Sequence[SecurityconsolePackageCloneScopeArgs]
    Scope. The structure of scope block is documented below.
    securityconsole_package_clone_id str
    an identifier for the resource.
    dstName String
    Name of the new policy package.
    dstParent String
    Path to the folder for the target package. If the package is to be placed in root, leave this field blank.
    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.
    fmgadom String
    Source ADOM name.
    forceRecreate String
    The argument is optional, if it is set, when the value changes, the resource will be re-created.
    pkg String
    Source package path and name.
    scopes List<Property Map>
    Scope. The structure of scope block is documented below.
    securityconsolePackageCloneId String
    an identifier for the resource.

    Outputs

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

    Get an existing SecurityconsolePackageClone 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?: SecurityconsolePackageCloneState, opts?: CustomResourceOptions): SecurityconsolePackageClone
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            dst_name: Optional[str] = None,
            dst_parent: Optional[str] = None,
            dynamic_sort_subtable: Optional[str] = None,
            fmgadom: Optional[str] = None,
            force_recreate: Optional[str] = None,
            pkg: Optional[str] = None,
            scopes: Optional[Sequence[SecurityconsolePackageCloneScopeArgs]] = None,
            securityconsole_package_clone_id: Optional[str] = None) -> SecurityconsolePackageClone
    func GetSecurityconsolePackageClone(ctx *Context, name string, id IDInput, state *SecurityconsolePackageCloneState, opts ...ResourceOption) (*SecurityconsolePackageClone, error)
    public static SecurityconsolePackageClone Get(string name, Input<string> id, SecurityconsolePackageCloneState? state, CustomResourceOptions? opts = null)
    public static SecurityconsolePackageClone get(String name, Output<String> id, SecurityconsolePackageCloneState state, CustomResourceOptions options)
    resources:  _:    type: fortimanager:SecurityconsolePackageClone    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.
    The following state arguments are supported:
    DstName string
    Name of the new policy package.
    DstParent string
    Path to the folder for the target package. If the package is to be placed in root, leave this field blank.
    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.
    Fmgadom string
    Source ADOM name.
    ForceRecreate string
    The argument is optional, if it is set, when the value changes, the resource will be re-created.
    Pkg string
    Source package path and name.
    Scopes List<SecurityconsolePackageCloneScope>
    Scope. The structure of scope block is documented below.
    SecurityconsolePackageCloneId string
    an identifier for the resource.
    DstName string
    Name of the new policy package.
    DstParent string
    Path to the folder for the target package. If the package is to be placed in root, leave this field blank.
    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.
    Fmgadom string
    Source ADOM name.
    ForceRecreate string
    The argument is optional, if it is set, when the value changes, the resource will be re-created.
    Pkg string
    Source package path and name.
    Scopes []SecurityconsolePackageCloneScopeArgs
    Scope. The structure of scope block is documented below.
    SecurityconsolePackageCloneId string
    an identifier for the resource.
    dstName String
    Name of the new policy package.
    dstParent String
    Path to the folder for the target package. If the package is to be placed in root, leave this field blank.
    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.
    fmgadom String
    Source ADOM name.
    forceRecreate String
    The argument is optional, if it is set, when the value changes, the resource will be re-created.
    pkg String
    Source package path and name.
    scopes List<SecurityconsolePackageCloneScope>
    Scope. The structure of scope block is documented below.
    securityconsolePackageCloneId String
    an identifier for the resource.
    dstName string
    Name of the new policy package.
    dstParent string
    Path to the folder for the target package. If the package is to be placed in root, leave this field blank.
    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.
    fmgadom string
    Source ADOM name.
    forceRecreate string
    The argument is optional, if it is set, when the value changes, the resource will be re-created.
    pkg string
    Source package path and name.
    scopes SecurityconsolePackageCloneScope[]
    Scope. The structure of scope block is documented below.
    securityconsolePackageCloneId string
    an identifier for the resource.
    dst_name str
    Name of the new policy package.
    dst_parent str
    Path to the folder for the target package. If the package is to be placed in root, leave this field blank.
    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.
    fmgadom str
    Source ADOM name.
    force_recreate str
    The argument is optional, if it is set, when the value changes, the resource will be re-created.
    pkg str
    Source package path and name.
    scopes Sequence[SecurityconsolePackageCloneScopeArgs]
    Scope. The structure of scope block is documented below.
    securityconsole_package_clone_id str
    an identifier for the resource.
    dstName String
    Name of the new policy package.
    dstParent String
    Path to the folder for the target package. If the package is to be placed in root, leave this field blank.
    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.
    fmgadom String
    Source ADOM name.
    forceRecreate String
    The argument is optional, if it is set, when the value changes, the resource will be re-created.
    pkg String
    Source package path and name.
    scopes List<Property Map>
    Scope. The structure of scope block is documented below.
    securityconsolePackageCloneId String
    an identifier for the resource.

    Supporting Types

    SecurityconsolePackageCloneScope, SecurityconsolePackageCloneScopeArgs

    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.

    Package Details

    Repository
    fortimanager fortinetdev/terraform-provider-fortimanager
    License
    Notes
    This Pulumi package is based on the fortimanager Terraform Provider.
    fortimanager logo
    fortimanager 1.13.0 published on Thursday, Mar 13, 2025 by fortinetdev