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

fortimanager.ObjectSystemExternalresourceMove

Explore with Pulumi AI

Create ObjectSystemExternalresourceMove Resource

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

Constructor syntax

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

@overload
def ObjectSystemExternalresourceMove(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     external_resource: Optional[str] = None,
                                     option: Optional[str] = None,
                                     target: Optional[str] = None,
                                     adom: Optional[str] = None,
                                     object_system_externalresource_move_id: Optional[str] = None,
                                     scopetype: Optional[str] = None,
                                     state_pos: Optional[str] = None)
func NewObjectSystemExternalresourceMove(ctx *Context, name string, args ObjectSystemExternalresourceMoveArgs, opts ...ResourceOption) (*ObjectSystemExternalresourceMove, error)
public ObjectSystemExternalresourceMove(string name, ObjectSystemExternalresourceMoveArgs args, CustomResourceOptions? opts = null)
public ObjectSystemExternalresourceMove(String name, ObjectSystemExternalresourceMoveArgs args)
public ObjectSystemExternalresourceMove(String name, ObjectSystemExternalresourceMoveArgs args, CustomResourceOptions options)
type: fortimanager:ObjectSystemExternalresourceMove
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. ObjectSystemExternalresourceMoveArgs
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. ObjectSystemExternalresourceMoveArgs
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. ObjectSystemExternalresourceMoveArgs
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. ObjectSystemExternalresourceMoveArgs
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. ObjectSystemExternalresourceMoveArgs
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 objectSystemExternalresourceMoveResource = new Fortimanager.ObjectSystemExternalresourceMove("objectSystemExternalresourceMoveResource", new()
{
    ExternalResource = "string",
    Option = "string",
    Target = "string",
    Adom = "string",
    ObjectSystemExternalresourceMoveId = "string",
    Scopetype = "string",
    StatePos = "string",
});
Copy
example, err := fortimanager.NewObjectSystemExternalresourceMove(ctx, "objectSystemExternalresourceMoveResource", &fortimanager.ObjectSystemExternalresourceMoveArgs{
ExternalResource: pulumi.String("string"),
Option: pulumi.String("string"),
Target: pulumi.String("string"),
Adom: pulumi.String("string"),
ObjectSystemExternalresourceMoveId: pulumi.String("string"),
Scopetype: pulumi.String("string"),
StatePos: pulumi.String("string"),
})
Copy
var objectSystemExternalresourceMoveResource = new ObjectSystemExternalresourceMove("objectSystemExternalresourceMoveResource", ObjectSystemExternalresourceMoveArgs.builder()
    .externalResource("string")
    .option("string")
    .target("string")
    .adom("string")
    .objectSystemExternalresourceMoveId("string")
    .scopetype("string")
    .statePos("string")
    .build());
Copy
object_system_externalresource_move_resource = fortimanager.ObjectSystemExternalresourceMove("objectSystemExternalresourceMoveResource",
    external_resource="string",
    option="string",
    target="string",
    adom="string",
    object_system_externalresource_move_id="string",
    scopetype="string",
    state_pos="string")
Copy
const objectSystemExternalresourceMoveResource = new fortimanager.ObjectSystemExternalresourceMove("objectSystemExternalresourceMoveResource", {
    externalResource: "string",
    option: "string",
    target: "string",
    adom: "string",
    objectSystemExternalresourceMoveId: "string",
    scopetype: "string",
    statePos: "string",
});
Copy
type: fortimanager:ObjectSystemExternalresourceMove
properties:
    adom: string
    externalResource: string
    objectSystemExternalresourceMoveId: string
    option: string
    scopetype: string
    statePos: string
    target: string
Copy

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

ExternalResource This property is required. string
External Resource.
Option This property is required. string
Option. Valid values: before, after.
Target This property is required. string
Key to the target entry.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ObjectSystemExternalresourceMoveId 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.
StatePos string
The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
ExternalResource This property is required. string
External Resource.
Option This property is required. string
Option. Valid values: before, after.
Target This property is required. string
Key to the target entry.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ObjectSystemExternalresourceMoveId 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.
StatePos string
The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
externalResource This property is required. String
External Resource.
option This property is required. String
Option. Valid values: before, after.
target This property is required. String
Key to the target entry.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
objectSystemExternalresourceMoveId 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.
statePos String
The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
externalResource This property is required. string
External Resource.
option This property is required. string
Option. Valid values: before, after.
target This property is required. string
Key to the target entry.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
objectSystemExternalresourceMoveId 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.
statePos string
The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
external_resource This property is required. str
External Resource.
option This property is required. str
Option. Valid values: before, after.
target This property is required. str
Key to the target entry.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
object_system_externalresource_move_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.
state_pos str
The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
externalResource This property is required. String
External Resource.
option This property is required. String
Option. Valid values: before, after.
target This property is required. String
Key to the target entry.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
objectSystemExternalresourceMoveId 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.
statePos String
The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.

Outputs

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

Get an existing ObjectSystemExternalresourceMove 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?: ObjectSystemExternalresourceMoveState, opts?: CustomResourceOptions): ObjectSystemExternalresourceMove
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        external_resource: Optional[str] = None,
        object_system_externalresource_move_id: Optional[str] = None,
        option: Optional[str] = None,
        scopetype: Optional[str] = None,
        state_pos: Optional[str] = None,
        target: Optional[str] = None) -> ObjectSystemExternalresourceMove
func GetObjectSystemExternalresourceMove(ctx *Context, name string, id IDInput, state *ObjectSystemExternalresourceMoveState, opts ...ResourceOption) (*ObjectSystemExternalresourceMove, error)
public static ObjectSystemExternalresourceMove Get(string name, Input<string> id, ObjectSystemExternalresourceMoveState? state, CustomResourceOptions? opts = null)
public static ObjectSystemExternalresourceMove get(String name, Output<String> id, ObjectSystemExternalresourceMoveState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectSystemExternalresourceMove    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.
ExternalResource string
External Resource.
ObjectSystemExternalresourceMoveId string
an identifier for the resource with format {{name}}.
Option string
Option. Valid values: before, after.
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.
StatePos string
The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
Target string
Key to the target entry.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ExternalResource string
External Resource.
ObjectSystemExternalresourceMoveId string
an identifier for the resource with format {{name}}.
Option string
Option. Valid values: before, after.
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.
StatePos string
The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
Target string
Key to the target entry.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
externalResource String
External Resource.
objectSystemExternalresourceMoveId String
an identifier for the resource with format {{name}}.
option String
Option. Valid values: before, after.
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.
statePos String
The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
target String
Key to the target entry.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
externalResource string
External Resource.
objectSystemExternalresourceMoveId string
an identifier for the resource with format {{name}}.
option string
Option. Valid values: before, after.
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.
statePos string
The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
target string
Key to the target entry.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
external_resource str
External Resource.
object_system_externalresource_move_id str
an identifier for the resource with format {{name}}.
option str
Option. Valid values: before, after.
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.
state_pos str
The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
target str
Key to the target entry.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
externalResource String
External Resource.
objectSystemExternalresourceMoveId String
an identifier for the resource with format {{name}}.
option String
Option. Valid values: before, after.
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.
statePos String
The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
target String
Key to the target entry.

Package Details

Repository
fortimanager fortinetdev/terraform-provider-fortimanager
License
Notes
This Pulumi package is based on the fortimanager Terraform Provider.