1. Packages
  2. Fortios
  3. API Docs
  4. system
  5. Affinityinterrupt
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

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 This property is required. string
The unique name of the resource.
args This property is required. AffinityinterruptArgs
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. 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 This property is required. string
The unique name of the resource.
args This property is required. AffinityinterruptArgs
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. AffinityinterruptArgs
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. 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",
});
Copy
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"),
})
Copy
var affinityinterruptResource = new Affinityinterrupt("affinityinterruptResource", AffinityinterruptArgs.builder()
    .affinityCpumask("string")
    .fosid(0)
    .interrupt("string")
    .defaultAffinityCpumask("string")
    .vdomparam("string")
    .build());
Copy
affinityinterrupt_resource = fortios.system.Affinityinterrupt("affinityinterruptResource",
    affinity_cpumask="string",
    fosid=0,
    interrupt="string",
    default_affinity_cpumask="string",
    vdomparam="string")
Copy
const affinityinterruptResource = new fortios.system.Affinityinterrupt("affinityinterruptResource", {
    affinityCpumask: "string",
    fosid: 0,
    interrupt: "string",
    defaultAffinityCpumask: "string",
    vdomparam: "string",
});
Copy
type: fortios:system:Affinityinterrupt
properties:
    affinityCpumask: string
    defaultAffinityCpumask: string
    fosid: 0
    interrupt: string
    vdomparam: string
Copy

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 This property is required. string
Affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
Fosid
This property is required.
Changes to this property will trigger replacement.
int
ID of the interrupt affinity setting.
Interrupt This property is required. string
Interrupt name.
DefaultAffinityCpumask string
Default affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
Vdomparam Changes to this property will trigger replacement. 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 This property is required. string
Affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
Fosid
This property is required.
Changes to this property will trigger replacement.
int
ID of the interrupt affinity setting.
Interrupt This property is required. string
Interrupt name.
DefaultAffinityCpumask string
Default affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
Vdomparam Changes to this property will trigger replacement. 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 This property is required. String
Affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
fosid
This property is required.
Changes to this property will trigger replacement.
Integer
ID of the interrupt affinity setting.
interrupt This property is required. String
Interrupt name.
defaultAffinityCpumask String
Default affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
vdomparam Changes to this property will trigger replacement. 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 This property is required. string
Affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
fosid
This property is required.
Changes to this property will trigger replacement.
number
ID of the interrupt affinity setting.
interrupt This property is required. string
Interrupt name.
defaultAffinityCpumask string
Default affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
vdomparam Changes to this property will trigger replacement. 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 This property is required. str
Affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
fosid
This property is required.
Changes to this property will trigger replacement.
int
ID of the interrupt affinity setting.
interrupt This property is required. str
Interrupt name.
default_affinity_cpumask str
Default affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
vdomparam Changes to this property will trigger replacement. 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 This property is required. String
Affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
fosid
This property is required.
Changes to this property will trigger replacement.
Number
ID of the interrupt affinity setting.
interrupt This property is required. String
Interrupt name.
defaultAffinityCpumask String
Default affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
vdomparam Changes to this property will trigger replacement. 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) -> Affinityinterrupt
func 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 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:
AffinityCpumask string
Affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
DefaultAffinityCpumask string
Default affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
Fosid Changes to this property will trigger replacement. int
ID of the interrupt affinity setting.
Interrupt string
Interrupt name.
Vdomparam Changes to this property will trigger replacement. 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).
DefaultAffinityCpumask string
Default affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
Fosid Changes to this property will trigger replacement. int
ID of the interrupt affinity setting.
Interrupt string
Interrupt name.
Vdomparam Changes to this property will trigger replacement. 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).
defaultAffinityCpumask String
Default affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
fosid Changes to this property will trigger replacement. Integer
ID of the interrupt affinity setting.
interrupt String
Interrupt name.
vdomparam Changes to this property will trigger replacement. 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).
defaultAffinityCpumask string
Default affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
fosid Changes to this property will trigger replacement. number
ID of the interrupt affinity setting.
interrupt string
Interrupt name.
vdomparam Changes to this property will trigger replacement. 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_cpumask str
Default affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
fosid Changes to this property will trigger replacement. int
ID of the interrupt affinity setting.
interrupt str
Interrupt name.
vdomparam Changes to this property will trigger replacement. 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).
defaultAffinityCpumask String
Default affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx).
fosid Changes to this property will trigger replacement. Number
ID of the interrupt affinity setting.
interrupt String
Interrupt name.
vdomparam Changes to this property will trigger replacement. 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}}
Copy

If you do not want to import arguments of block:

$ export “FORTIOS_IMPORT_TABLE”=“false”

$ pulumi import fortios:system/affinityinterrupt:Affinityinterrupt labelname {{fosid}}
Copy

$ 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 fortios Terraform Provider.