import * as pulumi from "@pulumi/pulumi"; /** * Manages a Linux Bond network interface in a Proxmox VE node. */ export declare class Bond extends pulumi.CustomResource { /** * Get an existing Bond resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: BondState, opts?: pulumi.CustomResourceOptions): Bond; /** * Returns true if the given object is an instance of Bond. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Bond; /** * The interface IPv4/CIDR address. */ readonly address: pulumi.Output; /** * The interface IPv6/CIDR address. */ readonly address6: pulumi.Output; /** * Automatically start interface on boot (defaults to `true`). */ readonly autostart: pulumi.Output; /** * The bonding mode. Possible values are `balance-rr`, `active-backup`, `balance-xor`, `broadcast`, `802.3ad`, `balance-tlb`, `balance-alb`. */ readonly bondMode: pulumi.Output; /** * The primary interface for `active-backup` bond mode. Specifies which slave interface should be the active one. */ readonly bondPrimary: pulumi.Output; /** * The transmit hash policy for `balance-xor` and `802.3ad` bond modes. Possible values are `layer2`, `layer2+3`, `layer3+4`. */ readonly bondXmitHashPolicy: pulumi.Output; /** * Comment for the interface. */ readonly comment: pulumi.Output; /** * Default gateway address. */ readonly gateway: pulumi.Output; /** * Default IPv6 gateway address. */ readonly gateway6: pulumi.Output; /** * The interface MTU. */ readonly mtu: pulumi.Output; /** * The interface name. Must be `bond[N]`, where 0 ≤ N (e.g. bond0, bond1), or any alphanumeric string that starts with a character and is at most 10 characters long. */ readonly name: pulumi.Output; /** * The name of the node. */ readonly nodeName: pulumi.Output; /** * The interface bond slaves (member interfaces). */ readonly slaves: pulumi.Output; /** * Timeout for network reload operations in seconds (defaults to `100`). */ readonly timeoutReload: pulumi.Output; /** * Create a Bond resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: BondArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Bond resources. */ export interface BondState { /** * The interface IPv4/CIDR address. */ address?: pulumi.Input; /** * The interface IPv6/CIDR address. */ address6?: pulumi.Input; /** * Automatically start interface on boot (defaults to `true`). */ autostart?: pulumi.Input; /** * The bonding mode. Possible values are `balance-rr`, `active-backup`, `balance-xor`, `broadcast`, `802.3ad`, `balance-tlb`, `balance-alb`. */ bondMode?: pulumi.Input; /** * The primary interface for `active-backup` bond mode. Specifies which slave interface should be the active one. */ bondPrimary?: pulumi.Input; /** * The transmit hash policy for `balance-xor` and `802.3ad` bond modes. Possible values are `layer2`, `layer2+3`, `layer3+4`. */ bondXmitHashPolicy?: pulumi.Input; /** * Comment for the interface. */ comment?: pulumi.Input; /** * Default gateway address. */ gateway?: pulumi.Input; /** * Default IPv6 gateway address. */ gateway6?: pulumi.Input; /** * The interface MTU. */ mtu?: pulumi.Input; /** * The interface name. Must be `bond[N]`, where 0 ≤ N (e.g. bond0, bond1), or any alphanumeric string that starts with a character and is at most 10 characters long. */ name?: pulumi.Input; /** * The name of the node. */ nodeName?: pulumi.Input; /** * The interface bond slaves (member interfaces). */ slaves?: pulumi.Input[] | undefined>; /** * Timeout for network reload operations in seconds (defaults to `100`). */ timeoutReload?: pulumi.Input; } /** * The set of arguments for constructing a Bond resource. */ export interface BondArgs { /** * The interface IPv4/CIDR address. */ address?: pulumi.Input; /** * The interface IPv6/CIDR address. */ address6?: pulumi.Input; /** * Automatically start interface on boot (defaults to `true`). */ autostart?: pulumi.Input; /** * The bonding mode. Possible values are `balance-rr`, `active-backup`, `balance-xor`, `broadcast`, `802.3ad`, `balance-tlb`, `balance-alb`. */ bondMode?: pulumi.Input; /** * The primary interface for `active-backup` bond mode. Specifies which slave interface should be the active one. */ bondPrimary?: pulumi.Input; /** * The transmit hash policy for `balance-xor` and `802.3ad` bond modes. Possible values are `layer2`, `layer2+3`, `layer3+4`. */ bondXmitHashPolicy?: pulumi.Input; /** * Comment for the interface. */ comment?: pulumi.Input; /** * Default gateway address. */ gateway?: pulumi.Input; /** * Default IPv6 gateway address. */ gateway6?: pulumi.Input; /** * The interface MTU. */ mtu?: pulumi.Input; /** * The interface name. Must be `bond[N]`, where 0 ≤ N (e.g. bond0, bond1), or any alphanumeric string that starts with a character and is at most 10 characters long. */ name?: pulumi.Input; /** * The name of the node. */ nodeName: pulumi.Input; /** * The interface bond slaves (member interfaces). */ slaves: pulumi.Input[]>; /** * Timeout for network reload operations in seconds (defaults to `100`). */ timeoutReload?: pulumi.Input; } //# sourceMappingURL=bond.d.ts.map