@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
208 lines • 7.43 kB
TypeScript
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<pulumi.ID>, 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<string | undefined>;
/**
* The interface IPv6/CIDR address.
*/
readonly address6: pulumi.Output<string | undefined>;
/**
* Automatically start interface on boot (defaults to `true`).
*/
readonly autostart: pulumi.Output<boolean>;
/**
* The bonding mode. Possible values are `balance-rr`, `active-backup`, `balance-xor`, `broadcast`, `802.3ad`, `balance-tlb`, `balance-alb`.
*/
readonly bondMode: pulumi.Output<string>;
/**
* The primary interface for `active-backup` bond mode. Specifies which slave interface should be the active one.
*/
readonly bondPrimary: pulumi.Output<string | undefined>;
/**
* The transmit hash policy for `balance-xor` and `802.3ad` bond modes. Possible values are `layer2`, `layer2+3`, `layer3+4`.
*/
readonly bondXmitHashPolicy: pulumi.Output<string | undefined>;
/**
* Comment for the interface.
*/
readonly comment: pulumi.Output<string | undefined>;
/**
* Default gateway address.
*/
readonly gateway: pulumi.Output<string | undefined>;
/**
* Default IPv6 gateway address.
*/
readonly gateway6: pulumi.Output<string | undefined>;
/**
* The interface MTU.
*/
readonly mtu: pulumi.Output<number | undefined>;
/**
* 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<string>;
/**
* The name of the node.
*/
readonly nodeName: pulumi.Output<string>;
/**
* The interface bond slaves (member interfaces).
*/
readonly slaves: pulumi.Output<string[]>;
/**
* Timeout for network reload operations in seconds (defaults to `100`).
*/
readonly timeoutReload: pulumi.Output<number>;
/**
* 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<string | undefined>;
/**
* The interface IPv6/CIDR address.
*/
address6?: pulumi.Input<string | undefined>;
/**
* Automatically start interface on boot (defaults to `true`).
*/
autostart?: pulumi.Input<boolean | undefined>;
/**
* The bonding mode. Possible values are `balance-rr`, `active-backup`, `balance-xor`, `broadcast`, `802.3ad`, `balance-tlb`, `balance-alb`.
*/
bondMode?: pulumi.Input<string | undefined>;
/**
* The primary interface for `active-backup` bond mode. Specifies which slave interface should be the active one.
*/
bondPrimary?: pulumi.Input<string | undefined>;
/**
* The transmit hash policy for `balance-xor` and `802.3ad` bond modes. Possible values are `layer2`, `layer2+3`, `layer3+4`.
*/
bondXmitHashPolicy?: pulumi.Input<string | undefined>;
/**
* Comment for the interface.
*/
comment?: pulumi.Input<string | undefined>;
/**
* Default gateway address.
*/
gateway?: pulumi.Input<string | undefined>;
/**
* Default IPv6 gateway address.
*/
gateway6?: pulumi.Input<string | undefined>;
/**
* The interface MTU.
*/
mtu?: pulumi.Input<number | undefined>;
/**
* 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<string | undefined>;
/**
* The name of the node.
*/
nodeName?: pulumi.Input<string | undefined>;
/**
* The interface bond slaves (member interfaces).
*/
slaves?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* Timeout for network reload operations in seconds (defaults to `100`).
*/
timeoutReload?: pulumi.Input<number | undefined>;
}
/**
* The set of arguments for constructing a Bond resource.
*/
export interface BondArgs {
/**
* The interface IPv4/CIDR address.
*/
address?: pulumi.Input<string | undefined>;
/**
* The interface IPv6/CIDR address.
*/
address6?: pulumi.Input<string | undefined>;
/**
* Automatically start interface on boot (defaults to `true`).
*/
autostart?: pulumi.Input<boolean | undefined>;
/**
* The bonding mode. Possible values are `balance-rr`, `active-backup`, `balance-xor`, `broadcast`, `802.3ad`, `balance-tlb`, `balance-alb`.
*/
bondMode?: pulumi.Input<string | undefined>;
/**
* The primary interface for `active-backup` bond mode. Specifies which slave interface should be the active one.
*/
bondPrimary?: pulumi.Input<string | undefined>;
/**
* The transmit hash policy for `balance-xor` and `802.3ad` bond modes. Possible values are `layer2`, `layer2+3`, `layer3+4`.
*/
bondXmitHashPolicy?: pulumi.Input<string | undefined>;
/**
* Comment for the interface.
*/
comment?: pulumi.Input<string | undefined>;
/**
* Default gateway address.
*/
gateway?: pulumi.Input<string | undefined>;
/**
* Default IPv6 gateway address.
*/
gateway6?: pulumi.Input<string | undefined>;
/**
* The interface MTU.
*/
mtu?: pulumi.Input<number | undefined>;
/**
* 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<string | undefined>;
/**
* The name of the node.
*/
nodeName: pulumi.Input<string>;
/**
* The interface bond slaves (member interfaces).
*/
slaves: pulumi.Input<pulumi.Input<string>[]>;
/**
* Timeout for network reload operations in seconds (defaults to `100`).
*/
timeoutReload?: pulumi.Input<number | undefined>;
}
//# sourceMappingURL=bond.d.ts.map