forked from muhlba91/pulumi-proxmoxve
/
getVersion.go
27 lines (23 loc) · 866 Bytes
/
getVersion.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package system
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func GetVersion(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetVersionResult, error) {
var rv GetVersionResult
err := ctx.Invoke("proxmoxve:System/getVersion:getVersion", nil, &rv, opts...)
if err != nil {
return nil, err
}
return &rv, nil
}
// A collection of values returned by getVersion.
type GetVersionResult struct {
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
KeyboardLayout string `pulumi:"keyboardLayout"`
Release string `pulumi:"release"`
RepositoryId string `pulumi:"repositoryId"`
Version string `pulumi:"version"`
}