Documentation
¶
Index ¶
- type GetPciMap
- type GetPciMapArgs
- type GetPciMapArray
- type GetPciMapArrayInput
- type GetPciMapArrayOutput
- func (GetPciMapArrayOutput) ElementType() reflect.Type
- func (o GetPciMapArrayOutput) Index(i pulumi.IntInput) GetPciMapOutput
- func (o GetPciMapArrayOutput) ToGetPciMapArrayOutput() GetPciMapArrayOutput
- func (o GetPciMapArrayOutput) ToGetPciMapArrayOutputWithContext(ctx context.Context) GetPciMapArrayOutput
- type GetPciMapInput
- type GetPciMapOutput
- func (o GetPciMapOutput) Comment() pulumi.StringOutput
- func (GetPciMapOutput) ElementType() reflect.Type
- func (o GetPciMapOutput) Id() pulumi.StringOutput
- func (o GetPciMapOutput) IommuGroup() pulumi.IntOutput
- func (o GetPciMapOutput) Node() pulumi.StringOutput
- func (o GetPciMapOutput) Path() pulumi.StringOutput
- func (o GetPciMapOutput) SubsystemId() pulumi.StringOutput
- func (o GetPciMapOutput) ToGetPciMapOutput() GetPciMapOutput
- func (o GetPciMapOutput) ToGetPciMapOutputWithContext(ctx context.Context) GetPciMapOutput
- type GetUsbMap
- type GetUsbMapArgs
- type GetUsbMapArray
- type GetUsbMapArrayInput
- type GetUsbMapArrayOutput
- func (GetUsbMapArrayOutput) ElementType() reflect.Type
- func (o GetUsbMapArrayOutput) Index(i pulumi.IntInput) GetUsbMapOutput
- func (o GetUsbMapArrayOutput) ToGetUsbMapArrayOutput() GetUsbMapArrayOutput
- func (o GetUsbMapArrayOutput) ToGetUsbMapArrayOutputWithContext(ctx context.Context) GetUsbMapArrayOutput
- type GetUsbMapInput
- type GetUsbMapOutput
- func (o GetUsbMapOutput) Comment() pulumi.StringOutput
- func (GetUsbMapOutput) ElementType() reflect.Type
- func (o GetUsbMapOutput) Id() pulumi.StringOutput
- func (o GetUsbMapOutput) Node() pulumi.StringOutput
- func (o GetUsbMapOutput) Path() pulumi.StringOutput
- func (o GetUsbMapOutput) ToGetUsbMapOutput() GetUsbMapOutput
- func (o GetUsbMapOutput) ToGetUsbMapOutputWithContext(ctx context.Context) GetUsbMapOutput
- type LookupPciArgs
- type LookupPciOutputArgs
- type LookupPciResult
- type LookupPciResultOutput
- func (o LookupPciResultOutput) Comment() pulumi.StringOutput
- func (LookupPciResultOutput) ElementType() reflect.Type
- func (o LookupPciResultOutput) Id() pulumi.StringOutput
- func (o LookupPciResultOutput) Maps() GetPciMapArrayOutput
- func (o LookupPciResultOutput) MediatedDevices() pulumi.BoolOutput
- func (o LookupPciResultOutput) Name() pulumi.StringOutput
- func (o LookupPciResultOutput) ToLookupPciResultOutput() LookupPciResultOutput
- func (o LookupPciResultOutput) ToLookupPciResultOutputWithContext(ctx context.Context) LookupPciResultOutput
- type LookupUsbArgs
- type LookupUsbOutputArgs
- type LookupUsbResult
- type LookupUsbResultOutput
- func (o LookupUsbResultOutput) Comment() pulumi.StringOutput
- func (LookupUsbResultOutput) ElementType() reflect.Type
- func (o LookupUsbResultOutput) Id() pulumi.StringOutput
- func (o LookupUsbResultOutput) Maps() GetUsbMapArrayOutput
- func (o LookupUsbResultOutput) Name() pulumi.StringOutput
- func (o LookupUsbResultOutput) ToLookupUsbResultOutput() LookupUsbResultOutput
- func (o LookupUsbResultOutput) ToLookupUsbResultOutputWithContext(ctx context.Context) LookupUsbResultOutput
- type Pci
- type PciArgs
- type PciArray
- type PciArrayInput
- type PciArrayOutput
- type PciInput
- type PciMap
- type PciMapInput
- type PciMapOutput
- type PciMapType
- type PciMapTypeArgs
- type PciMapTypeArray
- type PciMapTypeArrayInput
- type PciMapTypeArrayOutput
- func (PciMapTypeArrayOutput) ElementType() reflect.Type
- func (o PciMapTypeArrayOutput) Index(i pulumi.IntInput) PciMapTypeOutput
- func (o PciMapTypeArrayOutput) ToPciMapTypeArrayOutput() PciMapTypeArrayOutput
- func (o PciMapTypeArrayOutput) ToPciMapTypeArrayOutputWithContext(ctx context.Context) PciMapTypeArrayOutput
- type PciMapTypeInput
- type PciMapTypeOutput
- func (o PciMapTypeOutput) Comment() pulumi.StringPtrOutput
- func (PciMapTypeOutput) ElementType() reflect.Type
- func (o PciMapTypeOutput) Id() pulumi.StringOutput
- func (o PciMapTypeOutput) IommuGroup() pulumi.IntPtrOutput
- func (o PciMapTypeOutput) Node() pulumi.StringOutput
- func (o PciMapTypeOutput) Path() pulumi.StringOutput
- func (o PciMapTypeOutput) SubsystemId() pulumi.StringPtrOutput
- func (o PciMapTypeOutput) ToPciMapTypeOutput() PciMapTypeOutput
- func (o PciMapTypeOutput) ToPciMapTypeOutputWithContext(ctx context.Context) PciMapTypeOutput
- type PciOutput
- func (o PciOutput) Comment() pulumi.StringPtrOutput
- func (PciOutput) ElementType() reflect.Type
- func (o PciOutput) Maps() PciMapTypeArrayOutput
- func (o PciOutput) MediatedDevices() pulumi.BoolOutput
- func (o PciOutput) Name() pulumi.StringOutput
- func (o PciOutput) ToPciOutput() PciOutput
- func (o PciOutput) ToPciOutputWithContext(ctx context.Context) PciOutput
- type PciState
- type Usb
- type UsbArgs
- type UsbArray
- type UsbArrayInput
- type UsbArrayOutput
- type UsbInput
- type UsbMap
- type UsbMapInput
- type UsbMapOutput
- type UsbMapType
- type UsbMapTypeArgs
- type UsbMapTypeArray
- type UsbMapTypeArrayInput
- type UsbMapTypeArrayOutput
- func (UsbMapTypeArrayOutput) ElementType() reflect.Type
- func (o UsbMapTypeArrayOutput) Index(i pulumi.IntInput) UsbMapTypeOutput
- func (o UsbMapTypeArrayOutput) ToUsbMapTypeArrayOutput() UsbMapTypeArrayOutput
- func (o UsbMapTypeArrayOutput) ToUsbMapTypeArrayOutputWithContext(ctx context.Context) UsbMapTypeArrayOutput
- type UsbMapTypeInput
- type UsbMapTypeOutput
- func (o UsbMapTypeOutput) Comment() pulumi.StringPtrOutput
- func (UsbMapTypeOutput) ElementType() reflect.Type
- func (o UsbMapTypeOutput) Id() pulumi.StringOutput
- func (o UsbMapTypeOutput) Node() pulumi.StringOutput
- func (o UsbMapTypeOutput) Path() pulumi.StringPtrOutput
- func (o UsbMapTypeOutput) ToUsbMapTypeOutput() UsbMapTypeOutput
- func (o UsbMapTypeOutput) ToUsbMapTypeOutputWithContext(ctx context.Context) UsbMapTypeOutput
- type UsbOutput
- func (o UsbOutput) Comment() pulumi.StringPtrOutput
- func (UsbOutput) ElementType() reflect.Type
- func (o UsbOutput) Maps() UsbMapTypeArrayOutput
- func (o UsbOutput) Name() pulumi.StringOutput
- func (o UsbOutput) ToUsbOutput() UsbOutput
- func (o UsbOutput) ToUsbOutputWithContext(ctx context.Context) UsbOutput
- type UsbState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetPciMap ¶
type GetPciMap struct { // The comment of the mapped PCI device. Comment string `pulumi:"comment"` // The ID attribute of the map. Id string `pulumi:"id"` // The IOMMU group attribute of the map. IommuGroup int `pulumi:"iommuGroup"` // The node name attribute of the map. Node string `pulumi:"node"` // The path attribute of the map. Path string `pulumi:"path"` // The subsystem ID attribute of the map.Not mandatory for the Proxmox VE API call, but causes a PCI hardware mapping to be incomplete when not set. SubsystemId string `pulumi:"subsystemId"` }
type GetPciMapArgs ¶
type GetPciMapArgs struct { // The comment of the mapped PCI device. Comment pulumi.StringInput `pulumi:"comment"` // The ID attribute of the map. Id pulumi.StringInput `pulumi:"id"` // The IOMMU group attribute of the map. IommuGroup pulumi.IntInput `pulumi:"iommuGroup"` // The node name attribute of the map. Node pulumi.StringInput `pulumi:"node"` // The path attribute of the map. Path pulumi.StringInput `pulumi:"path"` // The subsystem ID attribute of the map.Not mandatory for the Proxmox VE API call, but causes a PCI hardware mapping to be incomplete when not set. SubsystemId pulumi.StringInput `pulumi:"subsystemId"` }
func (GetPciMapArgs) ElementType ¶
func (GetPciMapArgs) ElementType() reflect.Type
func (GetPciMapArgs) ToGetPciMapOutput ¶
func (i GetPciMapArgs) ToGetPciMapOutput() GetPciMapOutput
func (GetPciMapArgs) ToGetPciMapOutputWithContext ¶
func (i GetPciMapArgs) ToGetPciMapOutputWithContext(ctx context.Context) GetPciMapOutput
type GetPciMapArray ¶
type GetPciMapArray []GetPciMapInput
func (GetPciMapArray) ElementType ¶
func (GetPciMapArray) ElementType() reflect.Type
func (GetPciMapArray) ToGetPciMapArrayOutput ¶
func (i GetPciMapArray) ToGetPciMapArrayOutput() GetPciMapArrayOutput
func (GetPciMapArray) ToGetPciMapArrayOutputWithContext ¶
func (i GetPciMapArray) ToGetPciMapArrayOutputWithContext(ctx context.Context) GetPciMapArrayOutput
type GetPciMapArrayInput ¶
type GetPciMapArrayInput interface { pulumi.Input ToGetPciMapArrayOutput() GetPciMapArrayOutput ToGetPciMapArrayOutputWithContext(context.Context) GetPciMapArrayOutput }
GetPciMapArrayInput is an input type that accepts GetPciMapArray and GetPciMapArrayOutput values. You can construct a concrete instance of `GetPciMapArrayInput` via:
GetPciMapArray{ GetPciMapArgs{...} }
type GetPciMapArrayOutput ¶
type GetPciMapArrayOutput struct{ *pulumi.OutputState }
func (GetPciMapArrayOutput) ElementType ¶
func (GetPciMapArrayOutput) ElementType() reflect.Type
func (GetPciMapArrayOutput) Index ¶
func (o GetPciMapArrayOutput) Index(i pulumi.IntInput) GetPciMapOutput
func (GetPciMapArrayOutput) ToGetPciMapArrayOutput ¶
func (o GetPciMapArrayOutput) ToGetPciMapArrayOutput() GetPciMapArrayOutput
func (GetPciMapArrayOutput) ToGetPciMapArrayOutputWithContext ¶
func (o GetPciMapArrayOutput) ToGetPciMapArrayOutputWithContext(ctx context.Context) GetPciMapArrayOutput
type GetPciMapInput ¶
type GetPciMapInput interface { pulumi.Input ToGetPciMapOutput() GetPciMapOutput ToGetPciMapOutputWithContext(context.Context) GetPciMapOutput }
GetPciMapInput is an input type that accepts GetPciMap and GetPciMapOutput values. You can construct a concrete instance of `GetPciMapInput` via:
GetPciMap{ "key": GetPciArgs{...} }
type GetPciMapOutput ¶
type GetPciMapOutput struct{ *pulumi.OutputState }
func (GetPciMapOutput) Comment ¶
func (o GetPciMapOutput) Comment() pulumi.StringOutput
The comment of the mapped PCI device.
func (GetPciMapOutput) ElementType ¶
func (GetPciMapOutput) ElementType() reflect.Type
func (GetPciMapOutput) Id ¶
func (o GetPciMapOutput) Id() pulumi.StringOutput
The ID attribute of the map.
func (GetPciMapOutput) IommuGroup ¶
func (o GetPciMapOutput) IommuGroup() pulumi.IntOutput
The IOMMU group attribute of the map.
func (GetPciMapOutput) Node ¶
func (o GetPciMapOutput) Node() pulumi.StringOutput
The node name attribute of the map.
func (GetPciMapOutput) Path ¶
func (o GetPciMapOutput) Path() pulumi.StringOutput
The path attribute of the map.
func (GetPciMapOutput) SubsystemId ¶
func (o GetPciMapOutput) SubsystemId() pulumi.StringOutput
The subsystem ID attribute of the map.Not mandatory for the Proxmox VE API call, but causes a PCI hardware mapping to be incomplete when not set.
func (GetPciMapOutput) ToGetPciMapOutput ¶
func (o GetPciMapOutput) ToGetPciMapOutput() GetPciMapOutput
func (GetPciMapOutput) ToGetPciMapOutputWithContext ¶
func (o GetPciMapOutput) ToGetPciMapOutputWithContext(ctx context.Context) GetPciMapOutput
type GetUsbMapArgs ¶
type GetUsbMapArgs struct { // The comment of the mapped USB device. Comment pulumi.StringInput `pulumi:"comment"` // The ID attribute of the map. Id pulumi.StringInput `pulumi:"id"` // The node name attribute of the map. Node pulumi.StringInput `pulumi:"node"` // The path attribute of the map. Path pulumi.StringInput `pulumi:"path"` }
func (GetUsbMapArgs) ElementType ¶
func (GetUsbMapArgs) ElementType() reflect.Type
func (GetUsbMapArgs) ToGetUsbMapOutput ¶
func (i GetUsbMapArgs) ToGetUsbMapOutput() GetUsbMapOutput
func (GetUsbMapArgs) ToGetUsbMapOutputWithContext ¶
func (i GetUsbMapArgs) ToGetUsbMapOutputWithContext(ctx context.Context) GetUsbMapOutput
type GetUsbMapArray ¶
type GetUsbMapArray []GetUsbMapInput
func (GetUsbMapArray) ElementType ¶
func (GetUsbMapArray) ElementType() reflect.Type
func (GetUsbMapArray) ToGetUsbMapArrayOutput ¶
func (i GetUsbMapArray) ToGetUsbMapArrayOutput() GetUsbMapArrayOutput
func (GetUsbMapArray) ToGetUsbMapArrayOutputWithContext ¶
func (i GetUsbMapArray) ToGetUsbMapArrayOutputWithContext(ctx context.Context) GetUsbMapArrayOutput
type GetUsbMapArrayInput ¶
type GetUsbMapArrayInput interface { pulumi.Input ToGetUsbMapArrayOutput() GetUsbMapArrayOutput ToGetUsbMapArrayOutputWithContext(context.Context) GetUsbMapArrayOutput }
GetUsbMapArrayInput is an input type that accepts GetUsbMapArray and GetUsbMapArrayOutput values. You can construct a concrete instance of `GetUsbMapArrayInput` via:
GetUsbMapArray{ GetUsbMapArgs{...} }
type GetUsbMapArrayOutput ¶
type GetUsbMapArrayOutput struct{ *pulumi.OutputState }
func (GetUsbMapArrayOutput) ElementType ¶
func (GetUsbMapArrayOutput) ElementType() reflect.Type
func (GetUsbMapArrayOutput) Index ¶
func (o GetUsbMapArrayOutput) Index(i pulumi.IntInput) GetUsbMapOutput
func (GetUsbMapArrayOutput) ToGetUsbMapArrayOutput ¶
func (o GetUsbMapArrayOutput) ToGetUsbMapArrayOutput() GetUsbMapArrayOutput
func (GetUsbMapArrayOutput) ToGetUsbMapArrayOutputWithContext ¶
func (o GetUsbMapArrayOutput) ToGetUsbMapArrayOutputWithContext(ctx context.Context) GetUsbMapArrayOutput
type GetUsbMapInput ¶
type GetUsbMapInput interface { pulumi.Input ToGetUsbMapOutput() GetUsbMapOutput ToGetUsbMapOutputWithContext(context.Context) GetUsbMapOutput }
GetUsbMapInput is an input type that accepts GetUsbMap and GetUsbMapOutput values. You can construct a concrete instance of `GetUsbMapInput` via:
GetUsbMap{ "key": GetUsbArgs{...} }
type GetUsbMapOutput ¶
type GetUsbMapOutput struct{ *pulumi.OutputState }
func (GetUsbMapOutput) Comment ¶
func (o GetUsbMapOutput) Comment() pulumi.StringOutput
The comment of the mapped USB device.
func (GetUsbMapOutput) ElementType ¶
func (GetUsbMapOutput) ElementType() reflect.Type
func (GetUsbMapOutput) Id ¶
func (o GetUsbMapOutput) Id() pulumi.StringOutput
The ID attribute of the map.
func (GetUsbMapOutput) Node ¶
func (o GetUsbMapOutput) Node() pulumi.StringOutput
The node name attribute of the map.
func (GetUsbMapOutput) Path ¶
func (o GetUsbMapOutput) Path() pulumi.StringOutput
The path attribute of the map.
func (GetUsbMapOutput) ToGetUsbMapOutput ¶
func (o GetUsbMapOutput) ToGetUsbMapOutput() GetUsbMapOutput
func (GetUsbMapOutput) ToGetUsbMapOutputWithContext ¶
func (o GetUsbMapOutput) ToGetUsbMapOutputWithContext(ctx context.Context) GetUsbMapOutput
type LookupPciArgs ¶
type LookupPciArgs struct { // The name of this PCI hardware mapping. Name string `pulumi:"name"` }
A collection of arguments for invoking getPci.
type LookupPciOutputArgs ¶
type LookupPciOutputArgs struct { // The name of this PCI hardware mapping. Name pulumi.StringInput `pulumi:"name"` }
A collection of arguments for invoking getPci.
func (LookupPciOutputArgs) ElementType ¶
func (LookupPciOutputArgs) ElementType() reflect.Type
type LookupPciResult ¶
type LookupPciResult struct { // The comment of this PCI hardware mapping. Comment string `pulumi:"comment"` // The unique identifier of this PCI hardware mapping data source. Id string `pulumi:"id"` // The actual map of devices for the hardware mapping. Maps []GetPciMap `pulumi:"maps"` // Indicates whether to use with mediated devices. MediatedDevices bool `pulumi:"mediatedDevices"` // The name of this PCI hardware mapping. Name string `pulumi:"name"` }
A collection of values returned by getPci.
func LookupPci ¶
func LookupPci(ctx *pulumi.Context, args *LookupPciArgs, opts ...pulumi.InvokeOption) (*LookupPciResult, error)
Retrieves a PCI hardware mapping from a Proxmox VE cluster.
## 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, err := Hardware.GetPci(ctx, &mapping.GetPciArgs{ Name: "example", }, nil) if err != nil { return err } ctx.Export("dataProxmoxVirtualEnvironmentHardwareMappingPci", example) return nil }) }
```
type LookupPciResultOutput ¶
type LookupPciResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getPci.
func LookupPciOutput ¶
func LookupPciOutput(ctx *pulumi.Context, args LookupPciOutputArgs, opts ...pulumi.InvokeOption) LookupPciResultOutput
func (LookupPciResultOutput) Comment ¶
func (o LookupPciResultOutput) Comment() pulumi.StringOutput
The comment of this PCI hardware mapping.
func (LookupPciResultOutput) ElementType ¶
func (LookupPciResultOutput) ElementType() reflect.Type
func (LookupPciResultOutput) Id ¶
func (o LookupPciResultOutput) Id() pulumi.StringOutput
The unique identifier of this PCI hardware mapping data source.
func (LookupPciResultOutput) Maps ¶
func (o LookupPciResultOutput) Maps() GetPciMapArrayOutput
The actual map of devices for the hardware mapping.
func (LookupPciResultOutput) MediatedDevices ¶
func (o LookupPciResultOutput) MediatedDevices() pulumi.BoolOutput
Indicates whether to use with mediated devices.
func (LookupPciResultOutput) Name ¶
func (o LookupPciResultOutput) Name() pulumi.StringOutput
The name of this PCI hardware mapping.
func (LookupPciResultOutput) ToLookupPciResultOutput ¶
func (o LookupPciResultOutput) ToLookupPciResultOutput() LookupPciResultOutput
func (LookupPciResultOutput) ToLookupPciResultOutputWithContext ¶
func (o LookupPciResultOutput) ToLookupPciResultOutputWithContext(ctx context.Context) LookupPciResultOutput
type LookupUsbArgs ¶
type LookupUsbArgs struct { // The name of this USB hardware mapping. Name string `pulumi:"name"` }
A collection of arguments for invoking getUsb.
type LookupUsbOutputArgs ¶
type LookupUsbOutputArgs struct { // The name of this USB hardware mapping. Name pulumi.StringInput `pulumi:"name"` }
A collection of arguments for invoking getUsb.
func (LookupUsbOutputArgs) ElementType ¶
func (LookupUsbOutputArgs) ElementType() reflect.Type
type LookupUsbResult ¶
type LookupUsbResult struct { // The comment of this USB hardware mapping. Comment string `pulumi:"comment"` // The unique identifier of this USB hardware mapping data source. Id string `pulumi:"id"` // The actual map of devices for the hardware mapping. Maps []GetUsbMap `pulumi:"maps"` // The name of this USB hardware mapping. Name string `pulumi:"name"` }
A collection of values returned by getUsb.
func LookupUsb ¶
func LookupUsb(ctx *pulumi.Context, args *LookupUsbArgs, opts ...pulumi.InvokeOption) (*LookupUsbResult, error)
Retrieves a USB hardware mapping from a Proxmox VE cluster.
## 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, err := Hardware.GetUsb(ctx, &mapping.GetUsbArgs{ Name: "example", }, nil) if err != nil { return err } ctx.Export("dataProxmoxVirtualEnvironmentHardwareMappingUsb", example) return nil }) }
```
type LookupUsbResultOutput ¶
type LookupUsbResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getUsb.
func LookupUsbOutput ¶
func LookupUsbOutput(ctx *pulumi.Context, args LookupUsbOutputArgs, opts ...pulumi.InvokeOption) LookupUsbResultOutput
func (LookupUsbResultOutput) Comment ¶
func (o LookupUsbResultOutput) Comment() pulumi.StringOutput
The comment of this USB hardware mapping.
func (LookupUsbResultOutput) ElementType ¶
func (LookupUsbResultOutput) ElementType() reflect.Type
func (LookupUsbResultOutput) Id ¶
func (o LookupUsbResultOutput) Id() pulumi.StringOutput
The unique identifier of this USB hardware mapping data source.
func (LookupUsbResultOutput) Maps ¶
func (o LookupUsbResultOutput) Maps() GetUsbMapArrayOutput
The actual map of devices for the hardware mapping.
func (LookupUsbResultOutput) Name ¶
func (o LookupUsbResultOutput) Name() pulumi.StringOutput
The name of this USB hardware mapping.
func (LookupUsbResultOutput) ToLookupUsbResultOutput ¶
func (o LookupUsbResultOutput) ToLookupUsbResultOutput() LookupUsbResultOutput
func (LookupUsbResultOutput) ToLookupUsbResultOutputWithContext ¶
func (o LookupUsbResultOutput) ToLookupUsbResultOutputWithContext(ctx context.Context) LookupUsbResultOutput
type Pci ¶
type Pci struct { pulumi.CustomResourceState // The comment of this PCI hardware mapping. Comment pulumi.StringPtrOutput `pulumi:"comment"` // The actual map of devices for the PCI hardware mapping. Maps PciMapTypeArrayOutput `pulumi:"maps"` // Indicates whether to enable mediated devices. MediatedDevices pulumi.BoolOutput `pulumi:"mediatedDevices"` // The name of this PCI hardware mapping. Name pulumi.StringOutput `pulumi:"name"` }
Manages a PCI hardware mapping in a Proxmox VE cluster.
## Import
#!/usr/bin/env sh
A PCI hardware mapping can be imported using their name, e.g.:
```sh $ pulumi import proxmoxve:Hardware/mapping/pci:Pci example example ```
func GetPci ¶
func GetPci(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PciState, opts ...pulumi.ResourceOption) (*Pci, error)
GetPci gets an existing Pci resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewPci ¶
func NewPci(ctx *pulumi.Context, name string, args *PciArgs, opts ...pulumi.ResourceOption) (*Pci, error)
NewPci registers a new resource with the given unique name, arguments, and options.
func (*Pci) ElementType ¶
func (*Pci) ToPciOutput ¶
type PciArgs ¶
type PciArgs struct { // The comment of this PCI hardware mapping. Comment pulumi.StringPtrInput // The actual map of devices for the PCI hardware mapping. Maps PciMapTypeArrayInput // Indicates whether to enable mediated devices. MediatedDevices pulumi.BoolPtrInput // The name of this PCI hardware mapping. Name pulumi.StringPtrInput }
The set of arguments for constructing a Pci resource.
func (PciArgs) ElementType ¶
type PciArray ¶
type PciArray []PciInput
func (PciArray) ElementType ¶
func (PciArray) ToPciArrayOutput ¶
func (i PciArray) ToPciArrayOutput() PciArrayOutput
func (PciArray) ToPciArrayOutputWithContext ¶
func (i PciArray) ToPciArrayOutputWithContext(ctx context.Context) PciArrayOutput
type PciArrayInput ¶
type PciArrayInput interface { pulumi.Input ToPciArrayOutput() PciArrayOutput ToPciArrayOutputWithContext(context.Context) PciArrayOutput }
PciArrayInput is an input type that accepts PciArray and PciArrayOutput values. You can construct a concrete instance of `PciArrayInput` via:
PciArray{ PciArgs{...} }
type PciArrayOutput ¶
type PciArrayOutput struct{ *pulumi.OutputState }
func (PciArrayOutput) ElementType ¶
func (PciArrayOutput) ElementType() reflect.Type
func (PciArrayOutput) ToPciArrayOutput ¶
func (o PciArrayOutput) ToPciArrayOutput() PciArrayOutput
func (PciArrayOutput) ToPciArrayOutputWithContext ¶
func (o PciArrayOutput) ToPciArrayOutputWithContext(ctx context.Context) PciArrayOutput
type PciMap ¶
func (PciMap) ElementType ¶
func (PciMap) ToPciMapOutput ¶
func (i PciMap) ToPciMapOutput() PciMapOutput
func (PciMap) ToPciMapOutputWithContext ¶
func (i PciMap) ToPciMapOutputWithContext(ctx context.Context) PciMapOutput
type PciMapInput ¶
type PciMapInput interface { pulumi.Input ToPciMapOutput() PciMapOutput ToPciMapOutputWithContext(context.Context) PciMapOutput }
PciMapInput is an input type that accepts PciMap and PciMapOutput values. You can construct a concrete instance of `PciMapInput` via:
PciMap{ "key": PciArgs{...} }
type PciMapOutput ¶
type PciMapOutput struct{ *pulumi.OutputState }
func (PciMapOutput) ElementType ¶
func (PciMapOutput) ElementType() reflect.Type
func (PciMapOutput) MapIndex ¶
func (o PciMapOutput) MapIndex(k pulumi.StringInput) PciOutput
func (PciMapOutput) ToPciMapOutput ¶
func (o PciMapOutput) ToPciMapOutput() PciMapOutput
func (PciMapOutput) ToPciMapOutputWithContext ¶
func (o PciMapOutput) ToPciMapOutputWithContext(ctx context.Context) PciMapOutput
type PciMapType ¶
type PciMapType struct { // The comment of the mapped PCI device. Comment *string `pulumi:"comment"` // The ID of the map. Id string `pulumi:"id"` // The IOMMU group of the map. Not mandatory for the Proxmox VE API call, but causes a PCI hardware mapping to be incomplete when not set IommuGroup *int `pulumi:"iommuGroup"` // The node name of the map. Node string `pulumi:"node"` // The path of the map. Path string `pulumi:"path"` // The subsystem ID group of the map. Not mandatory for the Proxmox VE API call, but causes a PCI hardware mapping to be incomplete when not set SubsystemId *string `pulumi:"subsystemId"` }
type PciMapTypeArgs ¶
type PciMapTypeArgs struct { // The comment of the mapped PCI device. Comment pulumi.StringPtrInput `pulumi:"comment"` // The ID of the map. Id pulumi.StringInput `pulumi:"id"` // The IOMMU group of the map. Not mandatory for the Proxmox VE API call, but causes a PCI hardware mapping to be incomplete when not set IommuGroup pulumi.IntPtrInput `pulumi:"iommuGroup"` // The node name of the map. Node pulumi.StringInput `pulumi:"node"` // The path of the map. Path pulumi.StringInput `pulumi:"path"` // The subsystem ID group of the map. Not mandatory for the Proxmox VE API call, but causes a PCI hardware mapping to be incomplete when not set SubsystemId pulumi.StringPtrInput `pulumi:"subsystemId"` }
func (PciMapTypeArgs) ElementType ¶
func (PciMapTypeArgs) ElementType() reflect.Type
func (PciMapTypeArgs) ToPciMapTypeOutput ¶
func (i PciMapTypeArgs) ToPciMapTypeOutput() PciMapTypeOutput
func (PciMapTypeArgs) ToPciMapTypeOutputWithContext ¶
func (i PciMapTypeArgs) ToPciMapTypeOutputWithContext(ctx context.Context) PciMapTypeOutput
type PciMapTypeArray ¶
type PciMapTypeArray []PciMapTypeInput
func (PciMapTypeArray) ElementType ¶
func (PciMapTypeArray) ElementType() reflect.Type
func (PciMapTypeArray) ToPciMapTypeArrayOutput ¶
func (i PciMapTypeArray) ToPciMapTypeArrayOutput() PciMapTypeArrayOutput
func (PciMapTypeArray) ToPciMapTypeArrayOutputWithContext ¶
func (i PciMapTypeArray) ToPciMapTypeArrayOutputWithContext(ctx context.Context) PciMapTypeArrayOutput
type PciMapTypeArrayInput ¶
type PciMapTypeArrayInput interface { pulumi.Input ToPciMapTypeArrayOutput() PciMapTypeArrayOutput ToPciMapTypeArrayOutputWithContext(context.Context) PciMapTypeArrayOutput }
PciMapTypeArrayInput is an input type that accepts PciMapTypeArray and PciMapTypeArrayOutput values. You can construct a concrete instance of `PciMapTypeArrayInput` via:
PciMapTypeArray{ PciMapTypeArgs{...} }
type PciMapTypeArrayOutput ¶
type PciMapTypeArrayOutput struct{ *pulumi.OutputState }
func (PciMapTypeArrayOutput) ElementType ¶
func (PciMapTypeArrayOutput) ElementType() reflect.Type
func (PciMapTypeArrayOutput) Index ¶
func (o PciMapTypeArrayOutput) Index(i pulumi.IntInput) PciMapTypeOutput
func (PciMapTypeArrayOutput) ToPciMapTypeArrayOutput ¶
func (o PciMapTypeArrayOutput) ToPciMapTypeArrayOutput() PciMapTypeArrayOutput
func (PciMapTypeArrayOutput) ToPciMapTypeArrayOutputWithContext ¶
func (o PciMapTypeArrayOutput) ToPciMapTypeArrayOutputWithContext(ctx context.Context) PciMapTypeArrayOutput
type PciMapTypeInput ¶
type PciMapTypeInput interface { pulumi.Input ToPciMapTypeOutput() PciMapTypeOutput ToPciMapTypeOutputWithContext(context.Context) PciMapTypeOutput }
PciMapTypeInput is an input type that accepts PciMapTypeArgs and PciMapTypeOutput values. You can construct a concrete instance of `PciMapTypeInput` via:
PciMapTypeArgs{...}
type PciMapTypeOutput ¶
type PciMapTypeOutput struct{ *pulumi.OutputState }
func (PciMapTypeOutput) Comment ¶
func (o PciMapTypeOutput) Comment() pulumi.StringPtrOutput
The comment of the mapped PCI device.
func (PciMapTypeOutput) ElementType ¶
func (PciMapTypeOutput) ElementType() reflect.Type
func (PciMapTypeOutput) IommuGroup ¶
func (o PciMapTypeOutput) IommuGroup() pulumi.IntPtrOutput
The IOMMU group of the map. Not mandatory for the Proxmox VE API call, but causes a PCI hardware mapping to be incomplete when not set
func (PciMapTypeOutput) Node ¶
func (o PciMapTypeOutput) Node() pulumi.StringOutput
The node name of the map.
func (PciMapTypeOutput) Path ¶
func (o PciMapTypeOutput) Path() pulumi.StringOutput
The path of the map.
func (PciMapTypeOutput) SubsystemId ¶
func (o PciMapTypeOutput) SubsystemId() pulumi.StringPtrOutput
The subsystem ID group of the map. Not mandatory for the Proxmox VE API call, but causes a PCI hardware mapping to be incomplete when not set
func (PciMapTypeOutput) ToPciMapTypeOutput ¶
func (o PciMapTypeOutput) ToPciMapTypeOutput() PciMapTypeOutput
func (PciMapTypeOutput) ToPciMapTypeOutputWithContext ¶
func (o PciMapTypeOutput) ToPciMapTypeOutputWithContext(ctx context.Context) PciMapTypeOutput
type PciOutput ¶
type PciOutput struct{ *pulumi.OutputState }
func (PciOutput) Comment ¶
func (o PciOutput) Comment() pulumi.StringPtrOutput
The comment of this PCI hardware mapping.
func (PciOutput) ElementType ¶
func (PciOutput) Maps ¶
func (o PciOutput) Maps() PciMapTypeArrayOutput
The actual map of devices for the PCI hardware mapping.
func (PciOutput) MediatedDevices ¶
func (o PciOutput) MediatedDevices() pulumi.BoolOutput
Indicates whether to enable mediated devices.
func (PciOutput) Name ¶
func (o PciOutput) Name() pulumi.StringOutput
The name of this PCI hardware mapping.
func (PciOutput) ToPciOutput ¶
type PciState ¶
type PciState struct { // The comment of this PCI hardware mapping. Comment pulumi.StringPtrInput // The actual map of devices for the PCI hardware mapping. Maps PciMapTypeArrayInput // Indicates whether to enable mediated devices. MediatedDevices pulumi.BoolPtrInput // The name of this PCI hardware mapping. Name pulumi.StringPtrInput }
func (PciState) ElementType ¶
type Usb ¶
type Usb struct { pulumi.CustomResourceState // The comment of this USB hardware mapping. Comment pulumi.StringPtrOutput `pulumi:"comment"` // The actual map of devices for the hardware mapping. Maps UsbMapTypeArrayOutput `pulumi:"maps"` // The name of this hardware mapping. Name pulumi.StringOutput `pulumi:"name"` }
Manages a USB hardware mapping in a Proxmox VE cluster.
## 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 { _, err := Hardware.NewUsb(ctx, "example", &Hardware.UsbArgs{ Comment: pulumi.String("This is a comment"), Maps: mapping.UsbMapTypeArray{ &mapping.UsbMapTypeArgs{ Comment: pulumi.String("This is a device specific comment"), Id: pulumi.String("8087:0a2b"), Node: pulumi.String("pve"), Path: pulumi.String("1-8.2"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
#!/usr/bin/env sh
A USB hardware mapping can be imported using their name, e.g.:
```sh $ pulumi import proxmoxve:Hardware/mapping/usb:Usb example example ```
func GetUsb ¶
func GetUsb(ctx *pulumi.Context, name string, id pulumi.IDInput, state *UsbState, opts ...pulumi.ResourceOption) (*Usb, error)
GetUsb gets an existing Usb resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewUsb ¶
func NewUsb(ctx *pulumi.Context, name string, args *UsbArgs, opts ...pulumi.ResourceOption) (*Usb, error)
NewUsb registers a new resource with the given unique name, arguments, and options.
func (*Usb) ElementType ¶
func (*Usb) ToUsbOutput ¶
type UsbArgs ¶
type UsbArgs struct { // The comment of this USB hardware mapping. Comment pulumi.StringPtrInput // The actual map of devices for the hardware mapping. Maps UsbMapTypeArrayInput // The name of this hardware mapping. Name pulumi.StringPtrInput }
The set of arguments for constructing a Usb resource.
func (UsbArgs) ElementType ¶
type UsbArray ¶
type UsbArray []UsbInput
func (UsbArray) ElementType ¶
func (UsbArray) ToUsbArrayOutput ¶
func (i UsbArray) ToUsbArrayOutput() UsbArrayOutput
func (UsbArray) ToUsbArrayOutputWithContext ¶
func (i UsbArray) ToUsbArrayOutputWithContext(ctx context.Context) UsbArrayOutput
type UsbArrayInput ¶
type UsbArrayInput interface { pulumi.Input ToUsbArrayOutput() UsbArrayOutput ToUsbArrayOutputWithContext(context.Context) UsbArrayOutput }
UsbArrayInput is an input type that accepts UsbArray and UsbArrayOutput values. You can construct a concrete instance of `UsbArrayInput` via:
UsbArray{ UsbArgs{...} }
type UsbArrayOutput ¶
type UsbArrayOutput struct{ *pulumi.OutputState }
func (UsbArrayOutput) ElementType ¶
func (UsbArrayOutput) ElementType() reflect.Type
func (UsbArrayOutput) ToUsbArrayOutput ¶
func (o UsbArrayOutput) ToUsbArrayOutput() UsbArrayOutput
func (UsbArrayOutput) ToUsbArrayOutputWithContext ¶
func (o UsbArrayOutput) ToUsbArrayOutputWithContext(ctx context.Context) UsbArrayOutput
type UsbMap ¶
func (UsbMap) ElementType ¶
func (UsbMap) ToUsbMapOutput ¶
func (i UsbMap) ToUsbMapOutput() UsbMapOutput
func (UsbMap) ToUsbMapOutputWithContext ¶
func (i UsbMap) ToUsbMapOutputWithContext(ctx context.Context) UsbMapOutput
type UsbMapInput ¶
type UsbMapInput interface { pulumi.Input ToUsbMapOutput() UsbMapOutput ToUsbMapOutputWithContext(context.Context) UsbMapOutput }
UsbMapInput is an input type that accepts UsbMap and UsbMapOutput values. You can construct a concrete instance of `UsbMapInput` via:
UsbMap{ "key": UsbArgs{...} }
type UsbMapOutput ¶
type UsbMapOutput struct{ *pulumi.OutputState }
func (UsbMapOutput) ElementType ¶
func (UsbMapOutput) ElementType() reflect.Type
func (UsbMapOutput) MapIndex ¶
func (o UsbMapOutput) MapIndex(k pulumi.StringInput) UsbOutput
func (UsbMapOutput) ToUsbMapOutput ¶
func (o UsbMapOutput) ToUsbMapOutput() UsbMapOutput
func (UsbMapOutput) ToUsbMapOutputWithContext ¶
func (o UsbMapOutput) ToUsbMapOutputWithContext(ctx context.Context) UsbMapOutput
type UsbMapType ¶
type UsbMapType struct { // The comment of the mapped USB device. Comment *string `pulumi:"comment"` // The ID of the map. Id string `pulumi:"id"` // The node name of the map. Node string `pulumi:"node"` // The path of the map. For hardware mappings of type USB the path is optional and indicates that the device is mapped through the device ID instead of ports. Path *string `pulumi:"path"` }
type UsbMapTypeArgs ¶
type UsbMapTypeArgs struct { // The comment of the mapped USB device. Comment pulumi.StringPtrInput `pulumi:"comment"` // The ID of the map. Id pulumi.StringInput `pulumi:"id"` // The node name of the map. Node pulumi.StringInput `pulumi:"node"` // The path of the map. For hardware mappings of type USB the path is optional and indicates that the device is mapped through the device ID instead of ports. Path pulumi.StringPtrInput `pulumi:"path"` }
func (UsbMapTypeArgs) ElementType ¶
func (UsbMapTypeArgs) ElementType() reflect.Type
func (UsbMapTypeArgs) ToUsbMapTypeOutput ¶
func (i UsbMapTypeArgs) ToUsbMapTypeOutput() UsbMapTypeOutput
func (UsbMapTypeArgs) ToUsbMapTypeOutputWithContext ¶
func (i UsbMapTypeArgs) ToUsbMapTypeOutputWithContext(ctx context.Context) UsbMapTypeOutput
type UsbMapTypeArray ¶
type UsbMapTypeArray []UsbMapTypeInput
func (UsbMapTypeArray) ElementType ¶
func (UsbMapTypeArray) ElementType() reflect.Type
func (UsbMapTypeArray) ToUsbMapTypeArrayOutput ¶
func (i UsbMapTypeArray) ToUsbMapTypeArrayOutput() UsbMapTypeArrayOutput
func (UsbMapTypeArray) ToUsbMapTypeArrayOutputWithContext ¶
func (i UsbMapTypeArray) ToUsbMapTypeArrayOutputWithContext(ctx context.Context) UsbMapTypeArrayOutput
type UsbMapTypeArrayInput ¶
type UsbMapTypeArrayInput interface { pulumi.Input ToUsbMapTypeArrayOutput() UsbMapTypeArrayOutput ToUsbMapTypeArrayOutputWithContext(context.Context) UsbMapTypeArrayOutput }
UsbMapTypeArrayInput is an input type that accepts UsbMapTypeArray and UsbMapTypeArrayOutput values. You can construct a concrete instance of `UsbMapTypeArrayInput` via:
UsbMapTypeArray{ UsbMapTypeArgs{...} }
type UsbMapTypeArrayOutput ¶
type UsbMapTypeArrayOutput struct{ *pulumi.OutputState }
func (UsbMapTypeArrayOutput) ElementType ¶
func (UsbMapTypeArrayOutput) ElementType() reflect.Type
func (UsbMapTypeArrayOutput) Index ¶
func (o UsbMapTypeArrayOutput) Index(i pulumi.IntInput) UsbMapTypeOutput
func (UsbMapTypeArrayOutput) ToUsbMapTypeArrayOutput ¶
func (o UsbMapTypeArrayOutput) ToUsbMapTypeArrayOutput() UsbMapTypeArrayOutput
func (UsbMapTypeArrayOutput) ToUsbMapTypeArrayOutputWithContext ¶
func (o UsbMapTypeArrayOutput) ToUsbMapTypeArrayOutputWithContext(ctx context.Context) UsbMapTypeArrayOutput
type UsbMapTypeInput ¶
type UsbMapTypeInput interface { pulumi.Input ToUsbMapTypeOutput() UsbMapTypeOutput ToUsbMapTypeOutputWithContext(context.Context) UsbMapTypeOutput }
UsbMapTypeInput is an input type that accepts UsbMapTypeArgs and UsbMapTypeOutput values. You can construct a concrete instance of `UsbMapTypeInput` via:
UsbMapTypeArgs{...}
type UsbMapTypeOutput ¶
type UsbMapTypeOutput struct{ *pulumi.OutputState }
func (UsbMapTypeOutput) Comment ¶
func (o UsbMapTypeOutput) Comment() pulumi.StringPtrOutput
The comment of the mapped USB device.
func (UsbMapTypeOutput) ElementType ¶
func (UsbMapTypeOutput) ElementType() reflect.Type
func (UsbMapTypeOutput) Node ¶
func (o UsbMapTypeOutput) Node() pulumi.StringOutput
The node name of the map.
func (UsbMapTypeOutput) Path ¶
func (o UsbMapTypeOutput) Path() pulumi.StringPtrOutput
The path of the map. For hardware mappings of type USB the path is optional and indicates that the device is mapped through the device ID instead of ports.
func (UsbMapTypeOutput) ToUsbMapTypeOutput ¶
func (o UsbMapTypeOutput) ToUsbMapTypeOutput() UsbMapTypeOutput
func (UsbMapTypeOutput) ToUsbMapTypeOutputWithContext ¶
func (o UsbMapTypeOutput) ToUsbMapTypeOutputWithContext(ctx context.Context) UsbMapTypeOutput
type UsbOutput ¶
type UsbOutput struct{ *pulumi.OutputState }
func (UsbOutput) Comment ¶
func (o UsbOutput) Comment() pulumi.StringPtrOutput
The comment of this USB hardware mapping.
func (UsbOutput) ElementType ¶
func (UsbOutput) Maps ¶
func (o UsbOutput) Maps() UsbMapTypeArrayOutput
The actual map of devices for the hardware mapping.
func (UsbOutput) Name ¶
func (o UsbOutput) Name() pulumi.StringOutput
The name of this hardware mapping.
func (UsbOutput) ToUsbOutput ¶
type UsbState ¶
type UsbState struct { // The comment of this USB hardware mapping. Comment pulumi.StringPtrInput // The actual map of devices for the hardware mapping. Maps UsbMapTypeArrayInput // The name of this hardware mapping. Name pulumi.StringPtrInput }