hardware

package
v6.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetMappingsArgs

type GetMappingsArgs struct {
	// The name of the node whose configurations should be checked for correctness.
	CheckNode *string `pulumi:"checkNode"`
	// The type of the hardware mappings.
	Type string `pulumi:"type"`
}

A collection of arguments for invoking getMappings.

type GetMappingsCheck

type GetMappingsCheck struct {
	// The corresponding hardware mapping ID of the node check diagnostic entry.
	MappingId string `pulumi:"mappingId"`
	// The message of the node check diagnostic entry.
	Message string `pulumi:"message"`
	// The severity of the node check diagnostic entry.
	Severity string `pulumi:"severity"`
}

type GetMappingsCheckArgs

type GetMappingsCheckArgs struct {
	// The corresponding hardware mapping ID of the node check diagnostic entry.
	MappingId pulumi.StringInput `pulumi:"mappingId"`
	// The message of the node check diagnostic entry.
	Message pulumi.StringInput `pulumi:"message"`
	// The severity of the node check diagnostic entry.
	Severity pulumi.StringInput `pulumi:"severity"`
}

func (GetMappingsCheckArgs) ElementType

func (GetMappingsCheckArgs) ElementType() reflect.Type

func (GetMappingsCheckArgs) ToGetMappingsCheckOutput

func (i GetMappingsCheckArgs) ToGetMappingsCheckOutput() GetMappingsCheckOutput

func (GetMappingsCheckArgs) ToGetMappingsCheckOutputWithContext

func (i GetMappingsCheckArgs) ToGetMappingsCheckOutputWithContext(ctx context.Context) GetMappingsCheckOutput

type GetMappingsCheckArray

type GetMappingsCheckArray []GetMappingsCheckInput

func (GetMappingsCheckArray) ElementType

func (GetMappingsCheckArray) ElementType() reflect.Type

func (GetMappingsCheckArray) ToGetMappingsCheckArrayOutput

func (i GetMappingsCheckArray) ToGetMappingsCheckArrayOutput() GetMappingsCheckArrayOutput

func (GetMappingsCheckArray) ToGetMappingsCheckArrayOutputWithContext

func (i GetMappingsCheckArray) ToGetMappingsCheckArrayOutputWithContext(ctx context.Context) GetMappingsCheckArrayOutput

type GetMappingsCheckArrayInput

type GetMappingsCheckArrayInput interface {
	pulumi.Input

	ToGetMappingsCheckArrayOutput() GetMappingsCheckArrayOutput
	ToGetMappingsCheckArrayOutputWithContext(context.Context) GetMappingsCheckArrayOutput
}

GetMappingsCheckArrayInput is an input type that accepts GetMappingsCheckArray and GetMappingsCheckArrayOutput values. You can construct a concrete instance of `GetMappingsCheckArrayInput` via:

GetMappingsCheckArray{ GetMappingsCheckArgs{...} }

type GetMappingsCheckArrayOutput

type GetMappingsCheckArrayOutput struct{ *pulumi.OutputState }

func (GetMappingsCheckArrayOutput) ElementType

func (GetMappingsCheckArrayOutput) Index

func (GetMappingsCheckArrayOutput) ToGetMappingsCheckArrayOutput

func (o GetMappingsCheckArrayOutput) ToGetMappingsCheckArrayOutput() GetMappingsCheckArrayOutput

func (GetMappingsCheckArrayOutput) ToGetMappingsCheckArrayOutputWithContext

func (o GetMappingsCheckArrayOutput) ToGetMappingsCheckArrayOutputWithContext(ctx context.Context) GetMappingsCheckArrayOutput

type GetMappingsCheckInput

type GetMappingsCheckInput interface {
	pulumi.Input

	ToGetMappingsCheckOutput() GetMappingsCheckOutput
	ToGetMappingsCheckOutputWithContext(context.Context) GetMappingsCheckOutput
}

GetMappingsCheckInput is an input type that accepts GetMappingsCheckArgs and GetMappingsCheckOutput values. You can construct a concrete instance of `GetMappingsCheckInput` via:

GetMappingsCheckArgs{...}

type GetMappingsCheckOutput

type GetMappingsCheckOutput struct{ *pulumi.OutputState }

func (GetMappingsCheckOutput) ElementType

func (GetMappingsCheckOutput) ElementType() reflect.Type

func (GetMappingsCheckOutput) MappingId

The corresponding hardware mapping ID of the node check diagnostic entry.

func (GetMappingsCheckOutput) Message

The message of the node check diagnostic entry.

func (GetMappingsCheckOutput) Severity

The severity of the node check diagnostic entry.

func (GetMappingsCheckOutput) ToGetMappingsCheckOutput

func (o GetMappingsCheckOutput) ToGetMappingsCheckOutput() GetMappingsCheckOutput

func (GetMappingsCheckOutput) ToGetMappingsCheckOutputWithContext

func (o GetMappingsCheckOutput) ToGetMappingsCheckOutputWithContext(ctx context.Context) GetMappingsCheckOutput

type GetMappingsOutputArgs

type GetMappingsOutputArgs struct {
	// The name of the node whose configurations should be checked for correctness.
	CheckNode pulumi.StringPtrInput `pulumi:"checkNode"`
	// The type of the hardware mappings.
	Type pulumi.StringInput `pulumi:"type"`
}

A collection of arguments for invoking getMappings.

func (GetMappingsOutputArgs) ElementType

func (GetMappingsOutputArgs) ElementType() reflect.Type

type GetMappingsResult

type GetMappingsResult struct {
	// The name of the node whose configurations should be checked for correctness.
	CheckNode *string `pulumi:"checkNode"`
	// Might contain relevant diagnostics about incorrect configurations.
	Checks []GetMappingsCheck `pulumi:"checks"`
	// The unique identifier of this hardware mappings data source.
	Id string `pulumi:"id"`
	// The identifiers of the hardware mappings.
	Ids []string `pulumi:"ids"`
	// The type of the hardware mappings.
	Type string `pulumi:"type"`
}

A collection of values returned by getMappings.

func GetMappings

func GetMappings(ctx *pulumi.Context, args *GetMappingsArgs, opts ...pulumi.InvokeOption) (*GetMappingsResult, error)

Retrieves a list of hardware mapping resources.

## Example Usage

```go package main

import (

"github.com/muhlba91/pulumi-proxmoxve/sdk/v6/go/proxmoxve/Hardware"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example_pci, err := Hardware.GetMappings(ctx, &hardware.GetMappingsArgs{
			CheckNode: pulumi.StringRef("pve"),
			Type:      "pci",
		}, nil)
		if err != nil {
			return err
		}
		example_usb, err := Hardware.GetMappings(ctx, &hardware.GetMappingsArgs{
			CheckNode: pulumi.StringRef("pve"),
			Type:      "usb",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("dataProxmoxVirtualEnvironmentHardwareMappingsPci", example_pci)
		ctx.Export("dataProxmoxVirtualEnvironmentHardwareMappingsUsb", example_usb)
		return nil
	})
}

```

type GetMappingsResultOutput

type GetMappingsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getMappings.

func (GetMappingsResultOutput) CheckNode

The name of the node whose configurations should be checked for correctness.

func (GetMappingsResultOutput) Checks

Might contain relevant diagnostics about incorrect configurations.

func (GetMappingsResultOutput) ElementType

func (GetMappingsResultOutput) ElementType() reflect.Type

func (GetMappingsResultOutput) Id

The unique identifier of this hardware mappings data source.

func (GetMappingsResultOutput) Ids

The identifiers of the hardware mappings.

func (GetMappingsResultOutput) ToGetMappingsResultOutput

func (o GetMappingsResultOutput) ToGetMappingsResultOutput() GetMappingsResultOutput

func (GetMappingsResultOutput) ToGetMappingsResultOutputWithContext

func (o GetMappingsResultOutput) ToGetMappingsResultOutputWithContext(ctx context.Context) GetMappingsResultOutput

func (GetMappingsResultOutput) Type

The type of the hardware mappings.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL