Viewing docs for OVHCloud v2.14.0
published on Monday, Jun 15, 2026 by OVHcloud
published on Monday, Jun 15, 2026 by OVHcloud
Viewing docs for OVHCloud v2.14.0
published on Monday, Jun 15, 2026 by OVHcloud
published on Monday, Jun 15, 2026 by OVHcloud
Use this data source to get Vrack information.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@ovhcloud/pulumi-ovh";
const myVrack = ovh.getVrack({
serviceName: "pn-000000",
});
import pulumi
import pulumi_ovh as ovh
my_vrack = ovh.get_vrack(service_name="pn-000000")
package main
import (
"github.com/ovh/pulumi-ovh/sdk/v2/go/ovh"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ovh.GetVrack(ctx, &ovh.GetVrackArgs{
ServiceName: "pn-000000",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ovh = Pulumi.Ovh;
return await Deployment.RunAsync(() =>
{
var myVrack = Ovh.GetVrack.Invoke(new()
{
ServiceName = "pn-000000",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ovh.OvhFunctions;
import com.pulumi.ovh.inputs.GetVrackArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var myVrack = OvhFunctions.getVrack(GetVrackArgs.builder()
.serviceName("pn-000000")
.build());
}
}
variables:
myVrack:
fn::invoke:
function: ovh:getVrack
arguments:
serviceName: pn-000000
Example coming soon!
Using getVrack
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVrack(args: GetVrackArgs, opts?: InvokeOptions): Promise<GetVrackResult>
function getVrackOutput(args: GetVrackOutputArgs, opts?: InvokeOptions): Output<GetVrackResult>def get_vrack(service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVrackResult
def get_vrack_output(service_name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVrackResult]func GetVrack(ctx *Context, args *GetVrackArgs, opts ...InvokeOption) (*GetVrackResult, error)
func GetVrackOutput(ctx *Context, args *GetVrackOutputArgs, opts ...InvokeOption) GetVrackResultOutput> Note: This function is named GetVrack in the Go SDK.
public static class GetVrack
{
public static Task<GetVrackResult> InvokeAsync(GetVrackArgs args, InvokeOptions? opts = null)
public static Output<GetVrackResult> Invoke(GetVrackInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVrackResult> getVrack(GetVrackArgs args, InvokeOptions options)
public static Output<GetVrackResult> getVrack(GetVrackArgs args, InvokeOptions options)
fn::invoke:
function: ovh:index/getVrack:getVrack
arguments:
# arguments dictionarydata "ovh_getvrack" "name" {
# arguments
}The following arguments are supported:
- Service
Name string - The vrack service name for your OVHcloud account, e.g pn-000000.
- Service
Name string - The vrack service name for your OVHcloud account, e.g pn-000000.
- service_
name string - The vrack service name for your OVHcloud account, e.g pn-000000.
- service
Name String - The vrack service name for your OVHcloud account, e.g pn-000000.
- service
Name string - The vrack service name for your OVHcloud account, e.g pn-000000.
- service_
name str - The vrack service name for your OVHcloud account, e.g pn-000000.
- service
Name String - The vrack service name for your OVHcloud account, e.g pn-000000.
getVrack Result
The following output properties are available:
- Description string
- The vrack description
- Iam
Get
Vrack Iam - (Attributes) IAM resource metadata (see below for nested schema)
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name defined for the vrack
- Service
Name string - The vrack service name for your OVHcloud account, e.g pn-000000.
- Description string
- The vrack description
- Iam
Get
Vrack Iam - (Attributes) IAM resource metadata (see below for nested schema)
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name defined for the vrack
- Service
Name string - The vrack service name for your OVHcloud account, e.g pn-000000.
- description string
- The vrack description
- iam object
- (Attributes) IAM resource metadata (see below for nested schema)
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name defined for the vrack
- service_
name string - The vrack service name for your OVHcloud account, e.g pn-000000.
- description String
- The vrack description
- iam
Get
Vrack Iam - (Attributes) IAM resource metadata (see below for nested schema)
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name defined for the vrack
- service
Name String - The vrack service name for your OVHcloud account, e.g pn-000000.
- description string
- The vrack description
- iam
Get
Vrack Iam - (Attributes) IAM resource metadata (see below for nested schema)
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name defined for the vrack
- service
Name string - The vrack service name for your OVHcloud account, e.g pn-000000.
- description str
- The vrack description
- iam
Get
Vrack Iam - (Attributes) IAM resource metadata (see below for nested schema)
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name defined for the vrack
- service_
name str - The vrack service name for your OVHcloud account, e.g pn-000000.
- description String
- The vrack description
- iam Property Map
- (Attributes) IAM resource metadata (see below for nested schema)
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name defined for the vrack
- service
Name String - The vrack service name for your OVHcloud account, e.g pn-000000.
Supporting Types
GetVrackIam
- Display
Name string - Resource display name
- Id string
- (String) Unique identifier of the resource
- Dictionary<string, string>
- Resource tags. Tags that were internally computed are prefixed with ovh:
- Urn string
- (String) Unique resource name used in policies
- Display
Name string - Resource display name
- Id string
- (String) Unique identifier of the resource
- map[string]string
- Resource tags. Tags that were internally computed are prefixed with ovh:
- Urn string
- (String) Unique resource name used in policies
- display_
name string - Resource display name
- id string
- (String) Unique identifier of the resource
- map(string)
- Resource tags. Tags that were internally computed are prefixed with ovh:
- urn string
- (String) Unique resource name used in policies
- display
Name String - Resource display name
- id String
- (String) Unique identifier of the resource
- Map<String,String>
- Resource tags. Tags that were internally computed are prefixed with ovh:
- urn String
- (String) Unique resource name used in policies
- display
Name string - Resource display name
- id string
- (String) Unique identifier of the resource
- {[key: string]: string}
- Resource tags. Tags that were internally computed are prefixed with ovh:
- urn string
- (String) Unique resource name used in policies
- display_
name str - Resource display name
- id str
- (String) Unique identifier of the resource
- Mapping[str, str]
- Resource tags. Tags that were internally computed are prefixed with ovh:
- urn str
- (String) Unique resource name used in policies
- display
Name String - Resource display name
- id String
- (String) Unique identifier of the resource
- Map<String>
- Resource tags. Tags that were internally computed are prefixed with ovh:
- urn String
- (String) Unique resource name used in policies
Package Details
- Repository
- ovh ovh/pulumi-ovh
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ovhTerraform Provider.
Viewing docs for OVHCloud v2.14.0
published on Monday, Jun 15, 2026 by OVHcloud
published on Monday, Jun 15, 2026 by OVHcloud