published on Tuesday, Apr 28, 2026 by Piers Karsenbarg
published on Tuesday, Apr 28, 2026 by Piers Karsenbarg
Configures IPMI IP address on BMC of nodes.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pierskarsenbarg/nutanix";
const impi_1 = new nutanix.FoundationIpmiConfig("impi-1", {
ipmiUser: "username",
ipmiNetmask: "10.xx.xx.xx",
blocks: [{
nodes: [
{
ipmiMac: "ff:ff:ff:ff:ff:ff",
ipmiConfigureNow: true,
ipmiIp: "10.xx.xx.xx",
},
{
ipmiMac: "ff:ff:ff:ff:ff:ff",
ipmiConfigureNow: true,
ipmiIp: "10.xx.xx.xx",
},
],
blockId: "xyz",
}],
ipmiGateway: "10.xx.xx.xx",
ipmiPassword: "XXXXX",
});
import pulumi
import pulumi_nutanix as nutanix
impi_1 = nutanix.FoundationIpmiConfig("impi-1",
ipmi_user="username",
ipmi_netmask="10.xx.xx.xx",
blocks=[{
"nodes": [
{
"ipmi_mac": "ff:ff:ff:ff:ff:ff",
"ipmi_configure_now": True,
"ipmi_ip": "10.xx.xx.xx",
},
{
"ipmi_mac": "ff:ff:ff:ff:ff:ff",
"ipmi_configure_now": True,
"ipmi_ip": "10.xx.xx.xx",
},
],
"block_id": "xyz",
}],
ipmi_gateway="10.xx.xx.xx",
ipmi_password="XXXXX")
package main
import (
"github.com/pierskarsenbarg/pulumi-nutanix/sdk/go/nutanix"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := nutanix.NewFoundationIpmiConfig(ctx, "impi-1", &nutanix.FoundationIpmiConfigArgs{
IpmiUser: pulumi.String("username"),
IpmiNetmask: pulumi.String("10.xx.xx.xx"),
Blocks: nutanix.FoundationIpmiConfigBlockArray{
&nutanix.FoundationIpmiConfigBlockArgs{
Nodes: nutanix.FoundationIpmiConfigBlockNodeArray{
&nutanix.FoundationIpmiConfigBlockNodeArgs{
IpmiMac: pulumi.String("ff:ff:ff:ff:ff:ff"),
IpmiConfigureNow: pulumi.Bool(true),
IpmiIp: pulumi.String("10.xx.xx.xx"),
},
&nutanix.FoundationIpmiConfigBlockNodeArgs{
IpmiMac: pulumi.String("ff:ff:ff:ff:ff:ff"),
IpmiConfigureNow: pulumi.Bool(true),
IpmiIp: pulumi.String("10.xx.xx.xx"),
},
},
BlockId: pulumi.String("xyz"),
},
},
IpmiGateway: pulumi.String("10.xx.xx.xx"),
IpmiPassword: pulumi.String("XXXXX"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nutanix = PiersKarsenbarg.Nutanix;
return await Deployment.RunAsync(() =>
{
var impi_1 = new Nutanix.Index.FoundationIpmiConfig("impi-1", new()
{
IpmiUser = "username",
IpmiNetmask = "10.xx.xx.xx",
Blocks = new[]
{
new Nutanix.Inputs.FoundationIpmiConfigBlockArgs
{
Nodes = new[]
{
new Nutanix.Inputs.FoundationIpmiConfigBlockNodeArgs
{
IpmiMac = "ff:ff:ff:ff:ff:ff",
IpmiConfigureNow = true,
IpmiIp = "10.xx.xx.xx",
},
new Nutanix.Inputs.FoundationIpmiConfigBlockNodeArgs
{
IpmiMac = "ff:ff:ff:ff:ff:ff",
IpmiConfigureNow = true,
IpmiIp = "10.xx.xx.xx",
},
},
BlockId = "xyz",
},
},
IpmiGateway = "10.xx.xx.xx",
IpmiPassword = "XXXXX",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nutanix.FoundationIpmiConfig;
import com.pulumi.nutanix.FoundationIpmiConfigArgs;
import com.pulumi.nutanix.inputs.FoundationIpmiConfigBlockArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var impi_1 = new FoundationIpmiConfig("impi-1", FoundationIpmiConfigArgs.builder()
.ipmiUser("username")
.ipmiNetmask("10.xx.xx.xx")
.blocks(FoundationIpmiConfigBlockArgs.builder()
.nodes(
FoundationIpmiConfigBlockNodeArgs.builder()
.ipmiMac("ff:ff:ff:ff:ff:ff")
.ipmiConfigureNow(true)
.ipmiIp("10.xx.xx.xx")
.build(),
FoundationIpmiConfigBlockNodeArgs.builder()
.ipmiMac("ff:ff:ff:ff:ff:ff")
.ipmiConfigureNow(true)
.ipmiIp("10.xx.xx.xx")
.build())
.blockId("xyz")
.build())
.ipmiGateway("10.xx.xx.xx")
.ipmiPassword("XXXXX")
.build());
}
}
resources:
impi-1:
type: nutanix:FoundationIpmiConfig
properties:
ipmiUser: username
ipmiNetmask: 10.xx.xx.xx
blocks:
- nodes:
- ipmiMac: ff:ff:ff:ff:ff:ff
ipmiConfigureNow: true
ipmiIp: 10.xx.xx.xx
- ipmiMac: ff:ff:ff:ff:ff:ff
ipmiConfigureNow: true
ipmiIp: 10.xx.xx.xx
blockId: xyz
ipmiGateway: 10.xx.xx.xx
ipmiPassword: XXXXX
Error
Incase of error, terraform will error out and display error for every failed ipmi configuration respective to its ipmi_ip.
lifecycle
Update: - Resource will trigger new resource create call for any kind of update in resource block.Delete: - Delete will be a soft delete.
See detailed information in Nutanix Foundation IPMI Config.
Create FoundationIpmiConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FoundationIpmiConfig(name: string, args: FoundationIpmiConfigArgs, opts?: CustomResourceOptions);@overload
def FoundationIpmiConfig(resource_name: str,
args: FoundationIpmiConfigArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FoundationIpmiConfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
blocks: Optional[Sequence[FoundationIpmiConfigBlockArgs]] = None,
ipmi_gateway: Optional[str] = None,
ipmi_netmask: Optional[str] = None,
ipmi_password: Optional[str] = None,
ipmi_user: Optional[str] = None)func NewFoundationIpmiConfig(ctx *Context, name string, args FoundationIpmiConfigArgs, opts ...ResourceOption) (*FoundationIpmiConfig, error)public FoundationIpmiConfig(string name, FoundationIpmiConfigArgs args, CustomResourceOptions? opts = null)
public FoundationIpmiConfig(String name, FoundationIpmiConfigArgs args)
public FoundationIpmiConfig(String name, FoundationIpmiConfigArgs args, CustomResourceOptions options)
type: nutanix:FoundationIpmiConfig
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 FoundationIpmiConfigArgs
- 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 FoundationIpmiConfigArgs
- 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 FoundationIpmiConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FoundationIpmiConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FoundationIpmiConfigArgs
- 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 foundationIpmiConfigResource = new Nutanix.FoundationIpmiConfig("foundationIpmiConfigResource", new()
{
Blocks = new[]
{
new Nutanix.Inputs.FoundationIpmiConfigBlockArgs
{
Nodes = new[]
{
new Nutanix.Inputs.FoundationIpmiConfigBlockNodeArgs
{
IpmiConfigureNow = false,
IpmiIp = "string",
IpmiMac = "string",
IpmiConfigureSuccessful = false,
IpmiMessage = "string",
},
},
BlockId = "string",
},
},
IpmiGateway = "string",
IpmiNetmask = "string",
IpmiPassword = "string",
IpmiUser = "string",
});
example, err := nutanix.NewFoundationIpmiConfig(ctx, "foundationIpmiConfigResource", &nutanix.FoundationIpmiConfigArgs{
Blocks: nutanix.FoundationIpmiConfigBlockArray{
&nutanix.FoundationIpmiConfigBlockArgs{
Nodes: nutanix.FoundationIpmiConfigBlockNodeArray{
&nutanix.FoundationIpmiConfigBlockNodeArgs{
IpmiConfigureNow: pulumi.Bool(false),
IpmiIp: pulumi.String("string"),
IpmiMac: pulumi.String("string"),
IpmiConfigureSuccessful: pulumi.Bool(false),
IpmiMessage: pulumi.String("string"),
},
},
BlockId: pulumi.String("string"),
},
},
IpmiGateway: pulumi.String("string"),
IpmiNetmask: pulumi.String("string"),
IpmiPassword: pulumi.String("string"),
IpmiUser: pulumi.String("string"),
})
var foundationIpmiConfigResource = new FoundationIpmiConfig("foundationIpmiConfigResource", FoundationIpmiConfigArgs.builder()
.blocks(FoundationIpmiConfigBlockArgs.builder()
.nodes(FoundationIpmiConfigBlockNodeArgs.builder()
.ipmiConfigureNow(false)
.ipmiIp("string")
.ipmiMac("string")
.ipmiConfigureSuccessful(false)
.ipmiMessage("string")
.build())
.blockId("string")
.build())
.ipmiGateway("string")
.ipmiNetmask("string")
.ipmiPassword("string")
.ipmiUser("string")
.build());
foundation_ipmi_config_resource = nutanix.FoundationIpmiConfig("foundationIpmiConfigResource",
blocks=[{
"nodes": [{
"ipmi_configure_now": False,
"ipmi_ip": "string",
"ipmi_mac": "string",
"ipmi_configure_successful": False,
"ipmi_message": "string",
}],
"block_id": "string",
}],
ipmi_gateway="string",
ipmi_netmask="string",
ipmi_password="string",
ipmi_user="string")
const foundationIpmiConfigResource = new nutanix.FoundationIpmiConfig("foundationIpmiConfigResource", {
blocks: [{
nodes: [{
ipmiConfigureNow: false,
ipmiIp: "string",
ipmiMac: "string",
ipmiConfigureSuccessful: false,
ipmiMessage: "string",
}],
blockId: "string",
}],
ipmiGateway: "string",
ipmiNetmask: "string",
ipmiPassword: "string",
ipmiUser: "string",
});
type: nutanix:FoundationIpmiConfig
properties:
blocks:
- blockId: string
nodes:
- ipmiConfigureNow: false
ipmiConfigureSuccessful: false
ipmiIp: string
ipmiMac: string
ipmiMessage: string
ipmiGateway: string
ipmiNetmask: string
ipmiPassword: string
ipmiUser: string
FoundationIpmiConfig 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 FoundationIpmiConfig resource accepts the following input properties:
- Blocks
List<Piers
Karsenbarg. Nutanix. Inputs. Foundation Ipmi Config Block> - (Required) List of blocks.
- Ipmi
Gateway string - (Required) IPMI gateway.
- Ipmi
Netmask string - (Required) IPMI netmask.
- Ipmi
Password string - (Required) IPMI password.
- Ipmi
User string - (Required) IPMI username.
- Blocks
[]Foundation
Ipmi Config Block Args - (Required) List of blocks.
- Ipmi
Gateway string - (Required) IPMI gateway.
- Ipmi
Netmask string - (Required) IPMI netmask.
- Ipmi
Password string - (Required) IPMI password.
- Ipmi
User string - (Required) IPMI username.
- blocks
List<Foundation
Ipmi Config Block> - (Required) List of blocks.
- ipmi
Gateway String - (Required) IPMI gateway.
- ipmi
Netmask String - (Required) IPMI netmask.
- ipmi
Password String - (Required) IPMI password.
- ipmi
User String - (Required) IPMI username.
- blocks
Foundation
Ipmi Config Block[] - (Required) List of blocks.
- ipmi
Gateway string - (Required) IPMI gateway.
- ipmi
Netmask string - (Required) IPMI netmask.
- ipmi
Password string - (Required) IPMI password.
- ipmi
User string - (Required) IPMI username.
- blocks
Sequence[Foundation
Ipmi Config Block Args] - (Required) List of blocks.
- ipmi_
gateway str - (Required) IPMI gateway.
- ipmi_
netmask str - (Required) IPMI netmask.
- ipmi_
password str - (Required) IPMI password.
- ipmi_
user str - (Required) IPMI username.
- blocks List<Property Map>
- (Required) List of blocks.
- ipmi
Gateway String - (Required) IPMI gateway.
- ipmi
Netmask String - (Required) IPMI netmask.
- ipmi
Password String - (Required) IPMI password.
- ipmi
User String - (Required) IPMI username.
Outputs
All input properties are implicitly available as output properties. Additionally, the FoundationIpmiConfig 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 FoundationIpmiConfig Resource
Get an existing FoundationIpmiConfig 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?: FoundationIpmiConfigState, opts?: CustomResourceOptions): FoundationIpmiConfig@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
blocks: Optional[Sequence[FoundationIpmiConfigBlockArgs]] = None,
ipmi_gateway: Optional[str] = None,
ipmi_netmask: Optional[str] = None,
ipmi_password: Optional[str] = None,
ipmi_user: Optional[str] = None) -> FoundationIpmiConfigfunc GetFoundationIpmiConfig(ctx *Context, name string, id IDInput, state *FoundationIpmiConfigState, opts ...ResourceOption) (*FoundationIpmiConfig, error)public static FoundationIpmiConfig Get(string name, Input<string> id, FoundationIpmiConfigState? state, CustomResourceOptions? opts = null)public static FoundationIpmiConfig get(String name, Output<String> id, FoundationIpmiConfigState state, CustomResourceOptions options)resources: _: type: nutanix:FoundationIpmiConfig 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.
- Blocks
List<Piers
Karsenbarg. Nutanix. Inputs. Foundation Ipmi Config Block> - (Required) List of blocks.
- Ipmi
Gateway string - (Required) IPMI gateway.
- Ipmi
Netmask string - (Required) IPMI netmask.
- Ipmi
Password string - (Required) IPMI password.
- Ipmi
User string - (Required) IPMI username.
- Blocks
[]Foundation
Ipmi Config Block Args - (Required) List of blocks.
- Ipmi
Gateway string - (Required) IPMI gateway.
- Ipmi
Netmask string - (Required) IPMI netmask.
- Ipmi
Password string - (Required) IPMI password.
- Ipmi
User string - (Required) IPMI username.
- blocks
List<Foundation
Ipmi Config Block> - (Required) List of blocks.
- ipmi
Gateway String - (Required) IPMI gateway.
- ipmi
Netmask String - (Required) IPMI netmask.
- ipmi
Password String - (Required) IPMI password.
- ipmi
User String - (Required) IPMI username.
- blocks
Foundation
Ipmi Config Block[] - (Required) List of blocks.
- ipmi
Gateway string - (Required) IPMI gateway.
- ipmi
Netmask string - (Required) IPMI netmask.
- ipmi
Password string - (Required) IPMI password.
- ipmi
User string - (Required) IPMI username.
- blocks
Sequence[Foundation
Ipmi Config Block Args] - (Required) List of blocks.
- ipmi_
gateway str - (Required) IPMI gateway.
- ipmi_
netmask str - (Required) IPMI netmask.
- ipmi_
password str - (Required) IPMI password.
- ipmi_
user str - (Required) IPMI username.
- blocks List<Property Map>
- (Required) List of blocks.
- ipmi
Gateway String - (Required) IPMI gateway.
- ipmi
Netmask String - (Required) IPMI netmask.
- ipmi
Password String - (Required) IPMI password.
- ipmi
User String - (Required) IPMI username.
Supporting Types
FoundationIpmiConfigBlock, FoundationIpmiConfigBlockArgs
- Nodes
List<Piers
Karsenbarg. Nutanix. Inputs. Foundation Ipmi Config Block Node> - (Required) array of nodes for ipmi config.
- Block
Id string - (Optional) Block Id
- Nodes
[]Foundation
Ipmi Config Block Node - (Required) array of nodes for ipmi config.
- Block
Id string - (Optional) Block Id
- nodes
List<Foundation
Ipmi Config Block Node> - (Required) array of nodes for ipmi config.
- block
Id String - (Optional) Block Id
- nodes
Foundation
Ipmi Config Block Node[] - (Required) array of nodes for ipmi config.
- block
Id string - (Optional) Block Id
- nodes
Sequence[Foundation
Ipmi Config Block Node] - (Required) array of nodes for ipmi config.
- block_
id str - (Optional) Block Id
- nodes List<Property Map>
- (Required) array of nodes for ipmi config.
- block
Id String - (Optional) Block Id
FoundationIpmiConfigBlockNode, FoundationIpmiConfigBlockNodeArgs
- Ipmi
Configure boolNow - (Required) Whether IPMI should be configured. Should be kept true to configure
- Ipmi
Ip string - IPMI IP address.
- Ipmi
Mac string - (Required) IPMI mac address.
- Ipmi
Configure boolSuccessful - Whether IPMI was successfully configured.
- Ipmi
Message string - IPMI configuration status message if any.
- Ipmi
Configure boolNow - (Required) Whether IPMI should be configured. Should be kept true to configure
- Ipmi
Ip string - IPMI IP address.
- Ipmi
Mac string - (Required) IPMI mac address.
- Ipmi
Configure boolSuccessful - Whether IPMI was successfully configured.
- Ipmi
Message string - IPMI configuration status message if any.
- ipmi
Configure BooleanNow - (Required) Whether IPMI should be configured. Should be kept true to configure
- ipmi
Ip String - IPMI IP address.
- ipmi
Mac String - (Required) IPMI mac address.
- ipmi
Configure BooleanSuccessful - Whether IPMI was successfully configured.
- ipmi
Message String - IPMI configuration status message if any.
- ipmi
Configure booleanNow - (Required) Whether IPMI should be configured. Should be kept true to configure
- ipmi
Ip string - IPMI IP address.
- ipmi
Mac string - (Required) IPMI mac address.
- ipmi
Configure booleanSuccessful - Whether IPMI was successfully configured.
- ipmi
Message string - IPMI configuration status message if any.
- ipmi_
configure_ boolnow - (Required) Whether IPMI should be configured. Should be kept true to configure
- ipmi_
ip str - IPMI IP address.
- ipmi_
mac str - (Required) IPMI mac address.
- ipmi_
configure_ boolsuccessful - Whether IPMI was successfully configured.
- ipmi_
message str - IPMI configuration status message if any.
- ipmi
Configure BooleanNow - (Required) Whether IPMI should be configured. Should be kept true to configure
- ipmi
Ip String - IPMI IP address.
- ipmi
Mac String - (Required) IPMI mac address.
- ipmi
Configure BooleanSuccessful - Whether IPMI was successfully configured.
- ipmi
Message String - IPMI configuration status message if any.
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
nutanixTerraform Provider.
published on Tuesday, Apr 28, 2026 by Piers Karsenbarg
