1. Packages
  2. Nutanix
  3. API Docs
  4. FoundationIpmiConfig
Nutanix v0.0.52 published on Friday, Jun 7, 2024 by Piers Karsenbarg

nutanix.FoundationIpmiConfig

Explore with Pulumi AI

nutanix logo
Nutanix v0.0.52 published on Friday, Jun 7, 2024 by Piers Karsenbarg

    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=[nutanix.FoundationIpmiConfigBlockArgs(
            nodes=[nutanix.FoundationIpmiConfigBlockNodeArgs(
                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

    The FoundationIpmiConfig resource accepts the following input properties:

    Blocks List<PiersKarsenbarg.Nutanix.Inputs.FoundationIpmiConfigBlock>
    • (Required) List of blocks.
    IpmiGateway string
    • (Required) IPMI gateway.
    IpmiNetmask string
    • (Required) IPMI netmask.
    IpmiPassword string
    • (Required) IPMI password.
    IpmiUser string
    • (Required) IPMI username.
    Blocks []FoundationIpmiConfigBlockArgs
    • (Required) List of blocks.
    IpmiGateway string
    • (Required) IPMI gateway.
    IpmiNetmask string
    • (Required) IPMI netmask.
    IpmiPassword string
    • (Required) IPMI password.
    IpmiUser string
    • (Required) IPMI username.
    blocks List<FoundationIpmiConfigBlock>
    • (Required) List of blocks.
    ipmiGateway String
    • (Required) IPMI gateway.
    ipmiNetmask String
    • (Required) IPMI netmask.
    ipmiPassword String
    • (Required) IPMI password.
    ipmiUser String
    • (Required) IPMI username.
    blocks FoundationIpmiConfigBlock[]
    • (Required) List of blocks.
    ipmiGateway string
    • (Required) IPMI gateway.
    ipmiNetmask string
    • (Required) IPMI netmask.
    ipmiPassword string
    • (Required) IPMI password.
    ipmiUser string
    • (Required) IPMI username.
    blocks Sequence[FoundationIpmiConfigBlockArgs]
    • (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.
    ipmiGateway String
    • (Required) IPMI gateway.
    ipmiNetmask String
    • (Required) IPMI netmask.
    ipmiPassword String
    • (Required) IPMI password.
    ipmiUser 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.
    The following state arguments are supported:
    Blocks List<PiersKarsenbarg.Nutanix.Inputs.FoundationIpmiConfigBlock>
    • (Required) List of blocks.
    IpmiGateway string
    • (Required) IPMI gateway.
    IpmiNetmask string
    • (Required) IPMI netmask.
    IpmiPassword string
    • (Required) IPMI password.
    IpmiUser string
    • (Required) IPMI username.
    Blocks []FoundationIpmiConfigBlockArgs
    • (Required) List of blocks.
    IpmiGateway string
    • (Required) IPMI gateway.
    IpmiNetmask string
    • (Required) IPMI netmask.
    IpmiPassword string
    • (Required) IPMI password.
    IpmiUser string
    • (Required) IPMI username.
    blocks List<FoundationIpmiConfigBlock>
    • (Required) List of blocks.
    ipmiGateway String
    • (Required) IPMI gateway.
    ipmiNetmask String
    • (Required) IPMI netmask.
    ipmiPassword String
    • (Required) IPMI password.
    ipmiUser String
    • (Required) IPMI username.
    blocks FoundationIpmiConfigBlock[]
    • (Required) List of blocks.
    ipmiGateway string
    • (Required) IPMI gateway.
    ipmiNetmask string
    • (Required) IPMI netmask.
    ipmiPassword string
    • (Required) IPMI password.
    ipmiUser string
    • (Required) IPMI username.
    blocks Sequence[FoundationIpmiConfigBlockArgs]
    • (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.
    ipmiGateway String
    • (Required) IPMI gateway.
    ipmiNetmask String
    • (Required) IPMI netmask.
    ipmiPassword String
    • (Required) IPMI password.
    ipmiUser String
    • (Required) IPMI username.

    Supporting Types

    FoundationIpmiConfigBlock, FoundationIpmiConfigBlockArgs

    Nodes List<PiersKarsenbarg.Nutanix.Inputs.FoundationIpmiConfigBlockNode>
    • (Required) array of nodes for ipmi config.
    BlockId string
    • (Optional) Block Id
    Nodes []FoundationIpmiConfigBlockNode
    • (Required) array of nodes for ipmi config.
    BlockId string
    • (Optional) Block Id
    nodes List<FoundationIpmiConfigBlockNode>
    • (Required) array of nodes for ipmi config.
    blockId String
    • (Optional) Block Id
    nodes FoundationIpmiConfigBlockNode[]
    • (Required) array of nodes for ipmi config.
    blockId string
    • (Optional) Block Id
    nodes Sequence[FoundationIpmiConfigBlockNode]
    • (Required) array of nodes for ipmi config.
    block_id str
    • (Optional) Block Id
    nodes List<Property Map>
    • (Required) array of nodes for ipmi config.
    blockId String
    • (Optional) Block Id

    FoundationIpmiConfigBlockNode, FoundationIpmiConfigBlockNodeArgs

    IpmiConfigureNow bool
    • (Required) Whether IPMI should be configured. Should be kept true to configure
    IpmiIp string
    • IPMI IP address.
    IpmiMac string
    • (Required) IPMI mac address.
    IpmiConfigureSuccessful bool
    • Whether IPMI was successfully configured.
    IpmiMessage string
    • IPMI configuration status message if any.
    IpmiConfigureNow bool
    • (Required) Whether IPMI should be configured. Should be kept true to configure
    IpmiIp string
    • IPMI IP address.
    IpmiMac string
    • (Required) IPMI mac address.
    IpmiConfigureSuccessful bool
    • Whether IPMI was successfully configured.
    IpmiMessage string
    • IPMI configuration status message if any.
    ipmiConfigureNow Boolean
    • (Required) Whether IPMI should be configured. Should be kept true to configure
    ipmiIp String
    • IPMI IP address.
    ipmiMac String
    • (Required) IPMI mac address.
    ipmiConfigureSuccessful Boolean
    • Whether IPMI was successfully configured.
    ipmiMessage String
    • IPMI configuration status message if any.
    ipmiConfigureNow boolean
    • (Required) Whether IPMI should be configured. Should be kept true to configure
    ipmiIp string
    • IPMI IP address.
    ipmiMac string
    • (Required) IPMI mac address.
    ipmiConfigureSuccessful boolean
    • Whether IPMI was successfully configured.
    ipmiMessage string
    • IPMI configuration status message if any.
    ipmi_configure_now bool
    • (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_successful bool
    • Whether IPMI was successfully configured.
    ipmi_message str
    • IPMI configuration status message if any.
    ipmiConfigureNow Boolean
    • (Required) Whether IPMI should be configured. Should be kept true to configure
    ipmiIp String
    • IPMI IP address.
    ipmiMac String
    • (Required) IPMI mac address.
    ipmiConfigureSuccessful Boolean
    • Whether IPMI was successfully configured.
    ipmiMessage 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.
    nutanix logo
    Nutanix v0.0.52 published on Friday, Jun 7, 2024 by Piers Karsenbarg