1. Packages
  2. Fortios
  3. API Docs
  4. firewall
  5. SecuritypolicyMove
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

fortios.firewall.SecuritypolicyMove

Explore with Pulumi AI

fortios logo
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

    Create SecuritypolicyMove Resource

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

    Constructor syntax

    new SecuritypolicyMove(name: string, args: SecuritypolicyMoveArgs, opts?: CustomResourceOptions);
    @overload
    def SecuritypolicyMove(resource_name: str,
                           args: SecuritypolicyMoveArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def SecuritypolicyMove(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           move: Optional[str] = None,
                           policyid_dst: Optional[int] = None,
                           policyid_src: Optional[int] = None,
                           comment: Optional[str] = None,
                           state_policy_srcdst_pos: Optional[str] = None,
                           vdomparam: Optional[str] = None)
    func NewSecuritypolicyMove(ctx *Context, name string, args SecuritypolicyMoveArgs, opts ...ResourceOption) (*SecuritypolicyMove, error)
    public SecuritypolicyMove(string name, SecuritypolicyMoveArgs args, CustomResourceOptions? opts = null)
    public SecuritypolicyMove(String name, SecuritypolicyMoveArgs args)
    public SecuritypolicyMove(String name, SecuritypolicyMoveArgs args, CustomResourceOptions options)
    
    type: fortios:firewall:SecuritypolicyMove
    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 SecuritypolicyMoveArgs
    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 SecuritypolicyMoveArgs
    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 SecuritypolicyMoveArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SecuritypolicyMoveArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SecuritypolicyMoveArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var securitypolicyMoveResource = new Fortios.Firewall.SecuritypolicyMove("securitypolicyMoveResource", new()
    {
        Move = "string",
        PolicyidDst = 0,
        PolicyidSrc = 0,
        Comment = "string",
        StatePolicySrcdstPos = "string",
        Vdomparam = "string",
    });
    
    example, err := firewall.NewSecuritypolicyMove(ctx, "securitypolicyMoveResource", &firewall.SecuritypolicyMoveArgs{
    	Move:                 pulumi.String("string"),
    	PolicyidDst:          pulumi.Int(0),
    	PolicyidSrc:          pulumi.Int(0),
    	Comment:              pulumi.String("string"),
    	StatePolicySrcdstPos: pulumi.String("string"),
    	Vdomparam:            pulumi.String("string"),
    })
    
    var securitypolicyMoveResource = new SecuritypolicyMove("securitypolicyMoveResource", SecuritypolicyMoveArgs.builder()
        .move("string")
        .policyidDst(0)
        .policyidSrc(0)
        .comment("string")
        .statePolicySrcdstPos("string")
        .vdomparam("string")
        .build());
    
    securitypolicy_move_resource = fortios.firewall.SecuritypolicyMove("securitypolicyMoveResource",
        move="string",
        policyid_dst=0,
        policyid_src=0,
        comment="string",
        state_policy_srcdst_pos="string",
        vdomparam="string")
    
    const securitypolicyMoveResource = new fortios.firewall.SecuritypolicyMove("securitypolicyMoveResource", {
        move: "string",
        policyidDst: 0,
        policyidSrc: 0,
        comment: "string",
        statePolicySrcdstPos: "string",
        vdomparam: "string",
    });
    
    type: fortios:firewall:SecuritypolicyMove
    properties:
        comment: string
        move: string
        policyidDst: 0
        policyidSrc: 0
        statePolicySrcdstPos: string
        vdomparam: string
    

    SecuritypolicyMove Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The SecuritypolicyMove resource accepts the following input properties:

    move String
    policyidDst Integer
    policyidSrc Integer
    comment String
    statePolicySrcdstPos String
    vdomparam String
    move string
    policyidDst number
    policyidSrc number
    comment string
    statePolicySrcdstPos string
    vdomparam string
    move String
    policyidDst Number
    policyidSrc Number
    comment String
    statePolicySrcdstPos String
    vdomparam String

    Outputs

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

    Get an existing SecuritypolicyMove 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?: SecuritypolicyMoveState, opts?: CustomResourceOptions): SecuritypolicyMove
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            comment: Optional[str] = None,
            move: Optional[str] = None,
            policyid_dst: Optional[int] = None,
            policyid_src: Optional[int] = None,
            state_policy_srcdst_pos: Optional[str] = None,
            vdomparam: Optional[str] = None) -> SecuritypolicyMove
    func GetSecuritypolicyMove(ctx *Context, name string, id IDInput, state *SecuritypolicyMoveState, opts ...ResourceOption) (*SecuritypolicyMove, error)
    public static SecuritypolicyMove Get(string name, Input<string> id, SecuritypolicyMoveState? state, CustomResourceOptions? opts = null)
    public static SecuritypolicyMove get(String name, Output<String> id, SecuritypolicyMoveState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    comment String
    move String
    policyidDst Integer
    policyidSrc Integer
    statePolicySrcdstPos String
    vdomparam String
    comment string
    move string
    policyidDst number
    policyidSrc number
    statePolicySrcdstPos string
    vdomparam string
    comment String
    move String
    policyidDst Number
    policyidSrc Number
    statePolicySrcdstPos String
    vdomparam String

    Package Details

    Repository
    fortios pulumiverse/pulumi-fortios
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the fortios Terraform Provider.
    fortios logo
    Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse