published on Friday, Jul 31, 2026 by fortinetdev
published on Friday, Jul 31, 2026 by fortinetdev
ObjectUser AzureRule
This resource is a sub resource for variable
ruleof resourcefortimanager.ObjectUserAzure. Conflict and overwrite may occur if use both of them.
Create ObjectUserAzureRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ObjectUserAzureRule(name: string, args: ObjectUserAzureRuleArgs, opts?: CustomResourceOptions);@overload
def ObjectUserAzureRule(resource_name: str,
args: ObjectUserAzureRuleInitArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ObjectUserAzureRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
azure: Optional[str] = None,
adom: Optional[str] = None,
name: Optional[str] = None,
object_user_azure_rule_id: Optional[str] = None,
rule: Optional[str] = None,
scopetype: Optional[str] = None,
update_if_exist: Optional[bool] = None)func NewObjectUserAzureRule(ctx *Context, name string, args ObjectUserAzureRuleArgs, opts ...ResourceOption) (*ObjectUserAzureRule, error)public ObjectUserAzureRule(string name, ObjectUserAzureRuleArgs args, CustomResourceOptions? opts = null)
public ObjectUserAzureRule(String name, ObjectUserAzureRuleArgs args)
public ObjectUserAzureRule(String name, ObjectUserAzureRuleArgs args, CustomResourceOptions options)
type: fortimanager:ObjectUserAzureRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "fortimanager_object_user_azure_rule" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ObjectUserAzureRuleArgs
- 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 ObjectUserAzureRuleInitArgs
- 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 ObjectUserAzureRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObjectUserAzureRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ObjectUserAzureRuleArgs
- 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 objectUserAzureRuleResource = new Fortimanager.ObjectUserAzureRule("objectUserAzureRuleResource", new()
{
Azure = "string",
Adom = "string",
Name = "string",
ObjectUserAzureRuleId = "string",
Rule = "string",
Scopetype = "string",
UpdateIfExist = false,
});
example, err := fortimanager.NewObjectUserAzureRule(ctx, "objectUserAzureRuleResource", &fortimanager.ObjectUserAzureRuleArgs{
Azure: pulumi.String("string"),
Adom: pulumi.String("string"),
Name: pulumi.String("string"),
ObjectUserAzureRuleId: pulumi.String("string"),
Rule: pulumi.String("string"),
Scopetype: pulumi.String("string"),
UpdateIfExist: pulumi.Bool(false),
})
resource "fortimanager_object_user_azure_rule" "objectUserAzureRuleResource" {
lifecycle {
create_before_destroy = true
}
azure = "string"
adom = "string"
name = "string"
object_user_azure_rule_id = "string"
rule = "string"
scopetype = "string"
update_if_exist = false
}
var objectUserAzureRuleResource = new ObjectUserAzureRule("objectUserAzureRuleResource", ObjectUserAzureRuleArgs.builder()
.azure("string")
.adom("string")
.name("string")
.objectUserAzureRuleId("string")
.rule("string")
.scopetype("string")
.updateIfExist(false)
.build());
object_user_azure_rule_resource = fortimanager.ObjectUserAzureRule("objectUserAzureRuleResource",
azure="string",
adom="string",
name="string",
object_user_azure_rule_id="string",
rule="string",
scopetype="string",
update_if_exist=False)
const objectUserAzureRuleResource = new fortimanager.ObjectUserAzureRule("objectUserAzureRuleResource", {
azure: "string",
adom: "string",
name: "string",
objectUserAzureRuleId: "string",
rule: "string",
scopetype: "string",
updateIfExist: false,
});
type: fortimanager:ObjectUserAzureRule
properties:
adom: string
azure: string
name: string
objectUserAzureRuleId: string
rule: string
scopetype: string
updateIfExist: false
ObjectUserAzureRule 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 ObjectUserAzureRule resource accepts the following input properties:
- Azure string
- Azure.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Name string
- Name.
- Object
User stringAzure Rule Id - an identifier for the resource with format {{name}}.
- Rule string
- Rule.
- 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. - Update
If boolExist
- Azure string
- Azure.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Name string
- Name.
- Object
User stringAzure Rule Id - an identifier for the resource with format {{name}}.
- Rule string
- Rule.
- 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. - Update
If boolExist
- azure string
- Azure.
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - name string
- Name.
- object_
user_ stringazure_ rule_ id - an identifier for the resource with format {{name}}.
- rule string
- Rule.
- 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. - update_
if_ boolexist
- azure String
- Azure.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - name String
- Name.
- object
User StringAzure Rule Id - an identifier for the resource with format {{name}}.
- rule String
- Rule.
- 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. - update
If BooleanExist
- azure string
- Azure.
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - name string
- Name.
- object
User stringAzure Rule Id - an identifier for the resource with format {{name}}.
- rule string
- Rule.
- 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. - update
If booleanExist
- azure str
- Azure.
- adom str
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - name str
- Name.
- object_
user_ strazure_ rule_ id - an identifier for the resource with format {{name}}.
- rule str
- Rule.
- 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. - update_
if_ boolexist
- azure String
- Azure.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - name String
- Name.
- object
User StringAzure Rule Id - an identifier for the resource with format {{name}}.
- rule String
- Rule.
- 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. - update
If BooleanExist
Outputs
All input properties are implicitly available as output properties. Additionally, the ObjectUserAzureRule 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 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 ObjectUserAzureRule Resource
Get an existing ObjectUserAzureRule 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?: ObjectUserAzureRuleState, opts?: CustomResourceOptions): ObjectUserAzureRule@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
adom: Optional[str] = None,
azure: Optional[str] = None,
name: Optional[str] = None,
object_user_azure_rule_id: Optional[str] = None,
rule: Optional[str] = None,
scopetype: Optional[str] = None,
update_if_exist: Optional[bool] = None) -> ObjectUserAzureRulefunc GetObjectUserAzureRule(ctx *Context, name string, id IDInput, state *ObjectUserAzureRuleState, opts ...ResourceOption) (*ObjectUserAzureRule, error)public static ObjectUserAzureRule Get(string name, Input<string> id, ObjectUserAzureRuleState? state, CustomResourceOptions? opts = null)public static ObjectUserAzureRule get(String name, Output<String> id, ObjectUserAzureRuleState state, CustomResourceOptions options)resources: _: type: fortimanager:ObjectUserAzureRule get: id: ${id}import {
to = fortimanager_object_user_azure_rule.example
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. - Azure string
- Azure.
- Name string
- Name.
- Object
User stringAzure Rule Id - an identifier for the resource with format {{name}}.
- Rule string
- Rule.
- 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. - Update
If boolExist
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Azure string
- Azure.
- Name string
- Name.
- Object
User stringAzure Rule Id - an identifier for the resource with format {{name}}.
- Rule string
- Rule.
- 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. - Update
If boolExist
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - azure string
- Azure.
- name string
- Name.
- object_
user_ stringazure_ rule_ id - an identifier for the resource with format {{name}}.
- rule string
- Rule.
- 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. - update_
if_ boolexist
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - azure String
- Azure.
- name String
- Name.
- object
User StringAzure Rule Id - an identifier for the resource with format {{name}}.
- rule String
- Rule.
- 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. - update
If BooleanExist
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - azure string
- Azure.
- name string
- Name.
- object
User stringAzure Rule Id - an identifier for the resource with format {{name}}.
- rule string
- Rule.
- 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. - update
If booleanExist
- adom str
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - azure str
- Azure.
- name str
- Name.
- object_
user_ strazure_ rule_ id - an identifier for the resource with format {{name}}.
- rule str
- Rule.
- 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. - update_
if_ boolexist
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - azure String
- Azure.
- name String
- Name.
- object
User StringAzure Rule Id - an identifier for the resource with format {{name}}.
- rule String
- Rule.
- 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. - update
If BooleanExist
Import
ObjectUser AzureRule can be imported using any of these accepted formats:
Set import_options = [“azure=YOUR_VALUE”] in the provider section.
$ export “FORTIMANAGER_IMPORT_TABLE”=“true”
$ pulumi import fortimanager:index/objectUserAzureRule:ObjectUserAzureRule labelname {{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.
published on Friday, Jul 31, 2026 by fortinetdev