Proxmox Virtual Environment (Proxmox VE)

v2.0.0 published on Friday, Jul 15, 2022 by Daniel Muehlbachler-Pietrzykowski

Pool

Create Pool Resource

new Pool(name: string, args: PoolArgs, opts?: CustomResourceOptions);
@overload
def Pool(resource_name: str,
         opts: Optional[ResourceOptions] = None,
         comment: Optional[str] = None,
         pool_id: Optional[str] = None)
@overload
def Pool(resource_name: str,
         args: PoolArgs,
         opts: Optional[ResourceOptions] = None)
func NewPool(ctx *Context, name string, args PoolArgs, opts ...ResourceOption) (*Pool, error)
public Pool(string name, PoolArgs args, CustomResourceOptions? opts = null)
public Pool(String name, PoolArgs args)
public Pool(String name, PoolArgs args, CustomResourceOptions options)
type: proxmoxve:Permission:Pool
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args PoolArgs
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 PoolArgs
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 PoolArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args PoolArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args PoolArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Pool 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 Pool resource accepts the following input properties:

PoolId string

The pool id

Comment string

The pool comment

PoolId string

The pool id

Comment string

The pool comment

poolId String

The pool id

comment String

The pool comment

poolId string

The pool id

comment string

The pool comment

pool_id str

The pool id

comment str

The pool comment

poolId String

The pool id

comment String

The pool comment

Outputs

All input properties are implicitly available as output properties. Additionally, the Pool resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Members List<Pulumi.ProxmoxVE.Permission.Outputs.PoolMember>

The pool members

Id string

The provider-assigned unique ID for this managed resource.

Members []PoolMember

The pool members

id String

The provider-assigned unique ID for this managed resource.

members List<PoolMember>

The pool members

id string

The provider-assigned unique ID for this managed resource.

members PoolMember[]

The pool members

id str

The provider-assigned unique ID for this managed resource.

members PoolMember]

The pool members

id String

The provider-assigned unique ID for this managed resource.

members List<Property Map>

The pool members

Look up Existing Pool Resource

Get an existing Pool 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?: PoolState, opts?: CustomResourceOptions): Pool
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        comment: Optional[str] = None,
        members: Optional[Sequence[_permission.PoolMemberArgs]] = None,
        pool_id: Optional[str] = None) -> Pool
func GetPool(ctx *Context, name string, id IDInput, state *PoolState, opts ...ResourceOption) (*Pool, error)
public static Pool Get(string name, Input<string> id, PoolState? state, CustomResourceOptions? opts = null)
public static Pool get(String name, Output<String> id, PoolState 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:
Comment string

The pool comment

Members List<Pulumi.ProxmoxVE.Permission.Inputs.PoolMemberArgs>

The pool members

PoolId string

The pool id

Comment string

The pool comment

Members []PoolMemberArgs

The pool members

PoolId string

The pool id

comment String

The pool comment

members List<PoolMemberArgs>

The pool members

poolId String

The pool id

comment string

The pool comment

members PoolMemberArgs[]

The pool members

poolId string

The pool id

comment str

The pool comment

members PoolMemberArgs]

The pool members

pool_id str

The pool id

comment String

The pool comment

members List<Property Map>

The pool members

poolId String

The pool id

Supporting Types

PoolMember

DatastoreId string
Id string
NodeName string
Type string
VmId int
DatastoreId string
Id string
NodeName string
Type string
VmId int
datastoreId String
id String
nodeName String
type String
vmId Integer
datastoreId string
id string
nodeName string
type string
vmId number
datastoreId String
id String
nodeName String
type String
vmId Number

Package Details

Repository
https://github.com/muhlba91/pulumi-proxmoxve
License
Apache-2.0
Notes

This Pulumi package is based on the proxmoxve Terraform Provider.