nutanix.FoundationIpmiConfig
Explore with Pulumi AI
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) -> FoundationIpmiConfig
func 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)
Resource lookup is not supported in YAML
- 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
nutanix
Terraform Provider.