Proxmox Virtual Environment (Proxmox VE)

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

Time

Create Time Resource

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

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

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

NodeName string

The node name

TimeZone string

The time zone

NodeName string

The node name

TimeZone string

The time zone

nodeName String

The node name

timeZone String

The time zone

nodeName string

The node name

timeZone string

The time zone

node_name str

The node name

time_zone str

The time zone

nodeName String

The node name

timeZone String

The time zone

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

LocalTime string

The local timestamp

UtcTime string

The UTC timestamp

Id string

The provider-assigned unique ID for this managed resource.

LocalTime string

The local timestamp

UtcTime string

The UTC timestamp

id String

The provider-assigned unique ID for this managed resource.

localTime String

The local timestamp

utcTime String

The UTC timestamp

id string

The provider-assigned unique ID for this managed resource.

localTime string

The local timestamp

utcTime string

The UTC timestamp

id str

The provider-assigned unique ID for this managed resource.

local_time str

The local timestamp

utc_time str

The UTC timestamp

id String

The provider-assigned unique ID for this managed resource.

localTime String

The local timestamp

utcTime String

The UTC timestamp

Look up Existing Time Resource

Get an existing Time 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?: TimeState, opts?: CustomResourceOptions): Time
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        local_time: Optional[str] = None,
        node_name: Optional[str] = None,
        time_zone: Optional[str] = None,
        utc_time: Optional[str] = None) -> Time
func GetTime(ctx *Context, name string, id IDInput, state *TimeState, opts ...ResourceOption) (*Time, error)
public static Time Get(string name, Input<string> id, TimeState? state, CustomResourceOptions? opts = null)
public static Time get(String name, Output<String> id, TimeState 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:
LocalTime string

The local timestamp

NodeName string

The node name

TimeZone string

The time zone

UtcTime string

The UTC timestamp

LocalTime string

The local timestamp

NodeName string

The node name

TimeZone string

The time zone

UtcTime string

The UTC timestamp

localTime String

The local timestamp

nodeName String

The node name

timeZone String

The time zone

utcTime String

The UTC timestamp

localTime string

The local timestamp

nodeName string

The node name

timeZone string

The time zone

utcTime string

The UTC timestamp

local_time str

The local timestamp

node_name str

The node name

time_zone str

The time zone

utc_time str

The UTC timestamp

localTime String

The local timestamp

nodeName String

The node name

timeZone String

The time zone

utcTime String

The UTC timestamp

Package Details

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

This Pulumi package is based on the proxmoxve Terraform Provider.