Configure FortiTelemetry predefined applications.
Create ObjectTelemetrycontrollerApplicationPredefine Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ObjectTelemetrycontrollerApplicationPredefine(name: string, args?: ObjectTelemetrycontrollerApplicationPredefineArgs, opts?: CustomResourceOptions);@overload
def ObjectTelemetrycontrollerApplicationPredefine(resource_name: str,
args: Optional[ObjectTelemetrycontrollerApplicationPredefineArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ObjectTelemetrycontrollerApplicationPredefine(resource_name: str,
opts: Optional[ResourceOptions] = None,
adom: Optional[str] = None,
app_name: Optional[str] = None,
comment: Optional[str] = None,
object_telemetrycontroller_application_predefine_id: Optional[str] = None,
scopetype: Optional[str] = None)func NewObjectTelemetrycontrollerApplicationPredefine(ctx *Context, name string, args *ObjectTelemetrycontrollerApplicationPredefineArgs, opts ...ResourceOption) (*ObjectTelemetrycontrollerApplicationPredefine, error)public ObjectTelemetrycontrollerApplicationPredefine(string name, ObjectTelemetrycontrollerApplicationPredefineArgs? args = null, CustomResourceOptions? opts = null)
public ObjectTelemetrycontrollerApplicationPredefine(String name, ObjectTelemetrycontrollerApplicationPredefineArgs args)
public ObjectTelemetrycontrollerApplicationPredefine(String name, ObjectTelemetrycontrollerApplicationPredefineArgs args, CustomResourceOptions options)
type: fortimanager:ObjectTelemetrycontrollerApplicationPredefine
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 ObjectTelemetrycontrollerApplicationPredefineArgs
- 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 ObjectTelemetrycontrollerApplicationPredefineArgs
- 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 ObjectTelemetrycontrollerApplicationPredefineArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObjectTelemetrycontrollerApplicationPredefineArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ObjectTelemetrycontrollerApplicationPredefineArgs
- 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 objectTelemetrycontrollerApplicationPredefineResource = new Fortimanager.ObjectTelemetrycontrollerApplicationPredefine("objectTelemetrycontrollerApplicationPredefineResource", new()
{
Adom = "string",
AppName = "string",
Comment = "string",
ObjectTelemetrycontrollerApplicationPredefineId = "string",
Scopetype = "string",
});
example, err := fortimanager.NewObjectTelemetrycontrollerApplicationPredefine(ctx, "objectTelemetrycontrollerApplicationPredefineResource", &fortimanager.ObjectTelemetrycontrollerApplicationPredefineArgs{
Adom: pulumi.String("string"),
AppName: pulumi.String("string"),
Comment: pulumi.String("string"),
ObjectTelemetrycontrollerApplicationPredefineId: pulumi.String("string"),
Scopetype: pulumi.String("string"),
})
var objectTelemetrycontrollerApplicationPredefineResource = new ObjectTelemetrycontrollerApplicationPredefine("objectTelemetrycontrollerApplicationPredefineResource", ObjectTelemetrycontrollerApplicationPredefineArgs.builder()
.adom("string")
.appName("string")
.comment("string")
.objectTelemetrycontrollerApplicationPredefineId("string")
.scopetype("string")
.build());
object_telemetrycontroller_application_predefine_resource = fortimanager.ObjectTelemetrycontrollerApplicationPredefine("objectTelemetrycontrollerApplicationPredefineResource",
adom="string",
app_name="string",
comment="string",
object_telemetrycontroller_application_predefine_id="string",
scopetype="string")
const objectTelemetrycontrollerApplicationPredefineResource = new fortimanager.ObjectTelemetrycontrollerApplicationPredefine("objectTelemetrycontrollerApplicationPredefineResource", {
adom: "string",
appName: "string",
comment: "string",
objectTelemetrycontrollerApplicationPredefineId: "string",
scopetype: "string",
});
type: fortimanager:ObjectTelemetrycontrollerApplicationPredefine
properties:
adom: string
appName: string
comment: string
objectTelemetrycontrollerApplicationPredefineId: string
scopetype: string
ObjectTelemetrycontrollerApplicationPredefine 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 ObjectTelemetrycontrollerApplicationPredefine resource accepts the following input properties:
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - App
Name string - Application name.
- Comment string
- Comment.
- Object
Telemetrycontroller stringApplication Predefine Id - an identifier for the resource with format {{app_name}}.
- 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.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - App
Name string - Application name.
- Comment string
- Comment.
- Object
Telemetrycontroller stringApplication Predefine Id - an identifier for the resource with format {{app_name}}.
- 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.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - app
Name String - Application name.
- comment String
- Comment.
- object
Telemetrycontroller StringApplication Predefine Id - an identifier for the resource with format {{app_name}}.
- 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.
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - app
Name string - Application name.
- comment string
- Comment.
- object
Telemetrycontroller stringApplication Predefine Id - an identifier for the resource with format {{app_name}}.
- 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.
- adom str
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - app_
name str - Application name.
- comment str
- Comment.
- object_
telemetrycontroller_ strapplication_ predefine_ id - an identifier for the resource with format {{app_name}}.
- 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.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - app
Name String - Application name.
- comment String
- Comment.
- object
Telemetrycontroller StringApplication Predefine Id - an identifier for the resource with format {{app_name}}.
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the ObjectTelemetrycontrollerApplicationPredefine 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 ObjectTelemetrycontrollerApplicationPredefine Resource
Get an existing ObjectTelemetrycontrollerApplicationPredefine 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?: ObjectTelemetrycontrollerApplicationPredefineState, opts?: CustomResourceOptions): ObjectTelemetrycontrollerApplicationPredefine@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
adom: Optional[str] = None,
app_name: Optional[str] = None,
comment: Optional[str] = None,
object_telemetrycontroller_application_predefine_id: Optional[str] = None,
scopetype: Optional[str] = None) -> ObjectTelemetrycontrollerApplicationPredefinefunc GetObjectTelemetrycontrollerApplicationPredefine(ctx *Context, name string, id IDInput, state *ObjectTelemetrycontrollerApplicationPredefineState, opts ...ResourceOption) (*ObjectTelemetrycontrollerApplicationPredefine, error)public static ObjectTelemetrycontrollerApplicationPredefine Get(string name, Input<string> id, ObjectTelemetrycontrollerApplicationPredefineState? state, CustomResourceOptions? opts = null)public static ObjectTelemetrycontrollerApplicationPredefine get(String name, Output<String> id, ObjectTelemetrycontrollerApplicationPredefineState state, CustomResourceOptions options)resources: _: type: fortimanager:ObjectTelemetrycontrollerApplicationPredefine 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. - App
Name string - Application name.
- Comment string
- Comment.
- Object
Telemetrycontroller stringApplication Predefine Id - an identifier for the resource with format {{app_name}}.
- 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.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - App
Name string - Application name.
- Comment string
- Comment.
- Object
Telemetrycontroller stringApplication Predefine Id - an identifier for the resource with format {{app_name}}.
- 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.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - app
Name String - Application name.
- comment String
- Comment.
- object
Telemetrycontroller StringApplication Predefine Id - an identifier for the resource with format {{app_name}}.
- 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.
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - app
Name string - Application name.
- comment string
- Comment.
- object
Telemetrycontroller stringApplication Predefine Id - an identifier for the resource with format {{app_name}}.
- 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.
- adom str
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - app_
name str - Application name.
- comment str
- Comment.
- object_
telemetrycontroller_ strapplication_ predefine_ id - an identifier for the resource with format {{app_name}}.
- 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.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - app
Name String - Application name.
- comment String
- Comment.
- object
Telemetrycontroller StringApplication Predefine Id - an identifier for the resource with format {{app_name}}.
- 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.
Import
ObjectTelemetryController ApplicationPredefine can be imported using any of these accepted formats:
$ export “FORTIMANAGER_IMPORT_TABLE”=“true”
$ pulumi import fortimanager:index/objectTelemetrycontrollerApplicationPredefine:ObjectTelemetrycontrollerApplicationPredefine labelname {{app_name}}
$ 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.
