fortios.system.Affinityinterrupt
Explore with Pulumi AI
Configure interrupt affinity.
Create Affinityinterrupt Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Affinityinterrupt(name: string, args: AffinityinterruptArgs, opts?: CustomResourceOptions);@overload
def Affinityinterrupt(resource_name: str,
                      args: AffinityinterruptArgs,
                      opts: Optional[ResourceOptions] = None)
@overload
def Affinityinterrupt(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      affinity_cpumask: Optional[str] = None,
                      fosid: Optional[int] = None,
                      interrupt: Optional[str] = None,
                      default_affinity_cpumask: Optional[str] = None,
                      vdomparam: Optional[str] = None)func NewAffinityinterrupt(ctx *Context, name string, args AffinityinterruptArgs, opts ...ResourceOption) (*Affinityinterrupt, error)public Affinityinterrupt(string name, AffinityinterruptArgs args, CustomResourceOptions? opts = null)
public Affinityinterrupt(String name, AffinityinterruptArgs args)
public Affinityinterrupt(String name, AffinityinterruptArgs args, CustomResourceOptions options)
type: fortios:system:Affinityinterrupt
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 AffinityinterruptArgs
- 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 AffinityinterruptArgs
- 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 AffinityinterruptArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AffinityinterruptArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AffinityinterruptArgs
- 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 affinityinterruptResource = new Fortios.System.Affinityinterrupt("affinityinterruptResource", new()
{
    AffinityCpumask = "string",
    Fosid = 0,
    Interrupt = "string",
    DefaultAffinityCpumask = "string",
    Vdomparam = "string",
});
example, err := system.NewAffinityinterrupt(ctx, "affinityinterruptResource", &system.AffinityinterruptArgs{
	AffinityCpumask:        pulumi.String("string"),
	Fosid:                  pulumi.Int(0),
	Interrupt:              pulumi.String("string"),
	DefaultAffinityCpumask: pulumi.String("string"),
	Vdomparam:              pulumi.String("string"),
})
var affinityinterruptResource = new Affinityinterrupt("affinityinterruptResource", AffinityinterruptArgs.builder()
    .affinityCpumask("string")
    .fosid(0)
    .interrupt("string")
    .defaultAffinityCpumask("string")
    .vdomparam("string")
    .build());
affinityinterrupt_resource = fortios.system.Affinityinterrupt("affinityinterruptResource",
    affinity_cpumask="string",
    fosid=0,
    interrupt="string",
    default_affinity_cpumask="string",
    vdomparam="string")
const affinityinterruptResource = new fortios.system.Affinityinterrupt("affinityinterruptResource", {
    affinityCpumask: "string",
    fosid: 0,
    interrupt: "string",
    defaultAffinityCpumask: "string",
    vdomparam: "string",
});
type: fortios:system:Affinityinterrupt
properties:
    affinityCpumask: string
    defaultAffinityCpumask: string
    fosid: 0
    interrupt: string
    vdomparam: string
Affinityinterrupt 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 Affinityinterrupt resource accepts the following input properties:
- AffinityCpumask string
- Affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
- Fosid int
- ID of the interrupt affinity setting.
- Interrupt string
- Interrupt name.
- DefaultAffinity stringCpumask 
- Default affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
- Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- AffinityCpumask string
- Affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
- Fosid int
- ID of the interrupt affinity setting.
- Interrupt string
- Interrupt name.
- DefaultAffinity stringCpumask 
- Default affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
- Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- affinityCpumask String
- Affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
- fosid Integer
- ID of the interrupt affinity setting.
- interrupt String
- Interrupt name.
- defaultAffinity StringCpumask 
- Default affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
- vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- affinityCpumask string
- Affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
- fosid number
- ID of the interrupt affinity setting.
- interrupt string
- Interrupt name.
- defaultAffinity stringCpumask 
- Default affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
- vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- affinity_cpumask str
- Affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
- fosid int
- ID of the interrupt affinity setting.
- interrupt str
- Interrupt name.
- default_affinity_ strcpumask 
- Default affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
- vdomparam str
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- affinityCpumask String
- Affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
- fosid Number
- ID of the interrupt affinity setting.
- interrupt String
- Interrupt name.
- defaultAffinity StringCpumask 
- Default affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
- vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Outputs
All input properties are implicitly available as output properties. Additionally, the Affinityinterrupt 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 Affinityinterrupt Resource
Get an existing Affinityinterrupt 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?: AffinityinterruptState, opts?: CustomResourceOptions): Affinityinterrupt@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        affinity_cpumask: Optional[str] = None,
        default_affinity_cpumask: Optional[str] = None,
        fosid: Optional[int] = None,
        interrupt: Optional[str] = None,
        vdomparam: Optional[str] = None) -> Affinityinterruptfunc GetAffinityinterrupt(ctx *Context, name string, id IDInput, state *AffinityinterruptState, opts ...ResourceOption) (*Affinityinterrupt, error)public static Affinityinterrupt Get(string name, Input<string> id, AffinityinterruptState? state, CustomResourceOptions? opts = null)public static Affinityinterrupt get(String name, Output<String> id, AffinityinterruptState state, CustomResourceOptions options)resources:  _:    type: fortios:system:Affinityinterrupt    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.
- AffinityCpumask string
- Affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
- DefaultAffinity stringCpumask 
- Default affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
- Fosid int
- ID of the interrupt affinity setting.
- Interrupt string
- Interrupt name.
- Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- AffinityCpumask string
- Affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
- DefaultAffinity stringCpumask 
- Default affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
- Fosid int
- ID of the interrupt affinity setting.
- Interrupt string
- Interrupt name.
- Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- affinityCpumask String
- Affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
- defaultAffinity StringCpumask 
- Default affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
- fosid Integer
- ID of the interrupt affinity setting.
- interrupt String
- Interrupt name.
- vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- affinityCpumask string
- Affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
- defaultAffinity stringCpumask 
- Default affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
- fosid number
- ID of the interrupt affinity setting.
- interrupt string
- Interrupt name.
- vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- affinity_cpumask str
- Affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
- default_affinity_ strcpumask 
- Default affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
- fosid int
- ID of the interrupt affinity setting.
- interrupt str
- Interrupt name.
- vdomparam str
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- affinityCpumask String
- Affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
- defaultAffinity StringCpumask 
- Default affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
- fosid Number
- ID of the interrupt affinity setting.
- interrupt String
- Interrupt name.
- vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Import
System AffinityInterrupt can be imported using any of these accepted formats:
$ pulumi import fortios:system/affinityinterrupt:Affinityinterrupt labelname {{fosid}}
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:system/affinityinterrupt:Affinityinterrupt labelname {{fosid}}
$ unset “FORTIOS_IMPORT_TABLE”
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- fortios pulumiverse/pulumi-fortios
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the fortiosTerraform Provider.
