ovh.Vrack.Vrack
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@ovhcloud/pulumi-ovh";
import * as ovh from "@pulumi/ovh";
const myAccount = ovh.Me.getMe({});
const myCart = myAccount.then(myAccount => ovh.Order.getCart({
ovhSubsidiary: myAccount.ovhSubsidiary,
}));
const vrackCartProductPlan = myCart.then(myCart => ovh.Order.getCartProductPlan({
cartId: myCart.id,
priceCapacity: "renew",
product: "vrack",
planCode: "vrack",
}));
const vrackVrack = new ovh.vrack.Vrack("vrackVrack", {
ovhSubsidiary: myCart.then(myCart => myCart.ovhSubsidiary),
description: "my vrack",
plan: {
duration: vrackCartProductPlan.then(vrackCartProductPlan => vrackCartProductPlan.selectedPrices?.[0]?.duration),
planCode: vrackCartProductPlan.then(vrackCartProductPlan => vrackCartProductPlan.planCode),
pricingMode: vrackCartProductPlan.then(vrackCartProductPlan => vrackCartProductPlan.selectedPrices?.[0]?.pricingMode),
},
});
import pulumi
import pulumi_ovh as ovh
my_account = ovh.Me.get_me()
my_cart = ovh.Order.get_cart(ovh_subsidiary=my_account.ovh_subsidiary)
vrack_cart_product_plan = ovh.Order.get_cart_product_plan(cart_id=my_cart.id,
price_capacity="renew",
product="vrack",
plan_code="vrack")
vrack_vrack = ovh.vrack.Vrack("vrackVrack",
ovh_subsidiary=my_cart.ovh_subsidiary,
description="my vrack",
plan={
"duration": vrack_cart_product_plan.selected_prices[0].duration,
"plan_code": vrack_cart_product_plan.plan_code,
"pricing_mode": vrack_cart_product_plan.selected_prices[0].pricing_mode,
})
package main
import (
"github.com/ovh/pulumi-ovh/sdk/go/ovh/me"
"github.com/ovh/pulumi-ovh/sdk/go/ovh/order"
"github.com/ovh/pulumi-ovh/sdk/go/ovh/vrack"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
myAccount, err := me.GetMe(ctx, map[string]interface{}{}, nil)
if err != nil {
return err
}
myCart, err := order.GetCart(ctx, &order.GetCartArgs{
OvhSubsidiary: myAccount.OvhSubsidiary,
}, nil)
if err != nil {
return err
}
vrackCartProductPlan, err := order.GetCartProductPlan(ctx, &order.GetCartProductPlanArgs{
CartId: myCart.Id,
PriceCapacity: "renew",
Product: "vrack",
PlanCode: "vrack",
}, nil)
if err != nil {
return err
}
_, err = vrack.NewVrack(ctx, "vrackVrack", &vrack.VrackArgs{
OvhSubsidiary: pulumi.String(myCart.OvhSubsidiary),
Description: pulumi.String("my vrack"),
Plan: &vrack.VrackPlanArgs{
Duration: pulumi.String(vrackCartProductPlan.SelectedPrices[0].Duration),
PlanCode: pulumi.String(vrackCartProductPlan.PlanCode),
PricingMode: pulumi.String(vrackCartProductPlan.SelectedPrices[0].PricingMode),
},
})
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 myAccount = Ovh.Me.GetMe.Invoke();
var myCart = Ovh.Order.GetCart.Invoke(new()
{
OvhSubsidiary = myAccount.Apply(getMeResult => getMeResult.OvhSubsidiary),
});
var vrackCartProductPlan = Ovh.Order.GetCartProductPlan.Invoke(new()
{
CartId = myCart.Apply(getCartResult => getCartResult.Id),
PriceCapacity = "renew",
Product = "vrack",
PlanCode = "vrack",
});
var vrackVrack = new Ovh.Vrack.Vrack("vrackVrack", new()
{
OvhSubsidiary = myCart.Apply(getCartResult => getCartResult.OvhSubsidiary),
Description = "my vrack",
Plan = new Ovh.Vrack.Inputs.VrackPlanArgs
{
Duration = vrackCartProductPlan.Apply(getCartProductPlanResult => getCartProductPlanResult.SelectedPrices[0]?.Duration),
PlanCode = vrackCartProductPlan.Apply(getCartProductPlanResult => getCartProductPlanResult.PlanCode),
PricingMode = vrackCartProductPlan.Apply(getCartProductPlanResult => getCartProductPlanResult.SelectedPrices[0]?.PricingMode),
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ovh.Me.MeFunctions;
import com.pulumi.ovh.Order.OrderFunctions;
import com.pulumi.ovh.Order.inputs.GetCartArgs;
import com.pulumi.ovh.Order.inputs.GetCartProductPlanArgs;
import com.pulumi.ovh.Vrack.Vrack;
import com.pulumi.ovh.Vrack.VrackArgs;
import com.pulumi.ovh.Vrack.inputs.VrackPlanArgs;
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 myAccount = MeFunctions.getMe();
final var myCart = OrderFunctions.getCart(GetCartArgs.builder()
.ovhSubsidiary(myAccount.applyValue(getMeResult -> getMeResult.ovhSubsidiary()))
.build());
final var vrackCartProductPlan = OrderFunctions.getCartProductPlan(GetCartProductPlanArgs.builder()
.cartId(myCart.applyValue(getCartResult -> getCartResult.id()))
.priceCapacity("renew")
.product("vrack")
.planCode("vrack")
.build());
var vrackVrack = new Vrack("vrackVrack", VrackArgs.builder()
.ovhSubsidiary(myCart.applyValue(getCartResult -> getCartResult.ovhSubsidiary()))
.description("my vrack")
.plan(VrackPlanArgs.builder()
.duration(vrackCartProductPlan.applyValue(getCartProductPlanResult -> getCartProductPlanResult.selectedPrices()[0].duration()))
.planCode(vrackCartProductPlan.applyValue(getCartProductPlanResult -> getCartProductPlanResult.planCode()))
.pricingMode(vrackCartProductPlan.applyValue(getCartProductPlanResult -> getCartProductPlanResult.selectedPrices()[0].pricingMode()))
.build())
.build());
}
}
resources:
vrackVrack:
type: ovh:Vrack:Vrack
properties:
ovhSubsidiary: ${myCart.ovhSubsidiary}
description: my vrack
plan:
duration: ${vrackCartProductPlan.selectedPrices[0].duration}
planCode: ${vrackCartProductPlan.planCode}
pricingMode: ${vrackCartProductPlan.selectedPrices[0].pricingMode}
variables:
myAccount:
fn::invoke:
function: ovh:Me:getMe
arguments: {}
myCart:
fn::invoke:
function: ovh:Order:getCart
arguments:
ovhSubsidiary: ${myAccount.ovhSubsidiary}
vrackCartProductPlan:
fn::invoke:
function: ovh:Order:getCartProductPlan
arguments:
cartId: ${myCart.id}
priceCapacity: renew
product: vrack
planCode: vrack
Create Vrack Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Vrack(name: string, args?: VrackArgs, opts?: CustomResourceOptions);
@overload
def Vrack(resource_name: str,
args: Optional[VrackArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Vrack(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
name: Optional[str] = None,
orders: Optional[Sequence[_vrack.VrackOrderArgs]] = None,
ovh_subsidiary: Optional[str] = None,
payment_mean: Optional[str] = None,
plan: Optional[_vrack.VrackPlanArgs] = None,
plan_options: Optional[Sequence[_vrack.VrackPlanOptionArgs]] = None)
func NewVrack(ctx *Context, name string, args *VrackArgs, opts ...ResourceOption) (*Vrack, error)
public Vrack(string name, VrackArgs? args = null, CustomResourceOptions? opts = null)
type: ovh:Vrack:Vrack
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args VrackArgs
- 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 VrackArgs
- 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 VrackArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VrackArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VrackArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var vrackResource = new Ovh.Vrack.Vrack("vrackResource", new()
{
Description = "string",
Name = "string",
Orders = new[]
{
new Ovh.Vrack.Inputs.VrackOrderArgs
{
Date = "string",
Details = new[]
{
new Ovh.Vrack.Inputs.VrackOrderDetailArgs
{
Description = "string",
Domain = "string",
OrderDetailId = 0,
Quantity = "string",
},
},
ExpirationDate = "string",
OrderId = 0,
},
},
OvhSubsidiary = "string",
Plan = new Ovh.Vrack.Inputs.VrackPlanArgs
{
Duration = "string",
PlanCode = "string",
PricingMode = "string",
CatalogName = "string",
Configurations = new[]
{
new Ovh.Vrack.Inputs.VrackPlanConfigurationArgs
{
Label = "string",
Value = "string",
},
},
},
PlanOptions = new[]
{
new Ovh.Vrack.Inputs.VrackPlanOptionArgs
{
Duration = "string",
PlanCode = "string",
PricingMode = "string",
CatalogName = "string",
Configurations = new[]
{
new Ovh.Vrack.Inputs.VrackPlanOptionConfigurationArgs
{
Label = "string",
Value = "string",
},
},
},
},
});
example, err := Vrack.NewVrack(ctx, "vrackResource", &Vrack.VrackArgs{
Description: pulumi.String("string"),
Name: pulumi.String("string"),
Orders: vrack.VrackOrderArray{
&vrack.VrackOrderArgs{
Date: pulumi.String("string"),
Details: vrack.VrackOrderDetailArray{
&vrack.VrackOrderDetailArgs{
Description: pulumi.String("string"),
Domain: pulumi.String("string"),
OrderDetailId: pulumi.Int(0),
Quantity: pulumi.String("string"),
},
},
ExpirationDate: pulumi.String("string"),
OrderId: pulumi.Int(0),
},
},
OvhSubsidiary: pulumi.String("string"),
Plan: &vrack.VrackPlanArgs{
Duration: pulumi.String("string"),
PlanCode: pulumi.String("string"),
PricingMode: pulumi.String("string"),
CatalogName: pulumi.String("string"),
Configurations: vrack.VrackPlanConfigurationArray{
&vrack.VrackPlanConfigurationArgs{
Label: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
PlanOptions: vrack.VrackPlanOptionArray{
&vrack.VrackPlanOptionArgs{
Duration: pulumi.String("string"),
PlanCode: pulumi.String("string"),
PricingMode: pulumi.String("string"),
CatalogName: pulumi.String("string"),
Configurations: vrack.VrackPlanOptionConfigurationArray{
&vrack.VrackPlanOptionConfigurationArgs{
Label: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
},
})
var vrackResource = new Vrack("vrackResource", VrackArgs.builder()
.description("string")
.name("string")
.orders(VrackOrderArgs.builder()
.date("string")
.details(VrackOrderDetailArgs.builder()
.description("string")
.domain("string")
.orderDetailId(0)
.quantity("string")
.build())
.expirationDate("string")
.orderId(0)
.build())
.ovhSubsidiary("string")
.plan(VrackPlanArgs.builder()
.duration("string")
.planCode("string")
.pricingMode("string")
.catalogName("string")
.configurations(VrackPlanConfigurationArgs.builder()
.label("string")
.value("string")
.build())
.build())
.planOptions(VrackPlanOptionArgs.builder()
.duration("string")
.planCode("string")
.pricingMode("string")
.catalogName("string")
.configurations(VrackPlanOptionConfigurationArgs.builder()
.label("string")
.value("string")
.build())
.build())
.build());
vrack_resource = ovh.vrack.Vrack("vrackResource",
description="string",
name="string",
orders=[{
"date": "string",
"details": [{
"description": "string",
"domain": "string",
"order_detail_id": 0,
"quantity": "string",
}],
"expiration_date": "string",
"order_id": 0,
}],
ovh_subsidiary="string",
plan={
"duration": "string",
"plan_code": "string",
"pricing_mode": "string",
"catalog_name": "string",
"configurations": [{
"label": "string",
"value": "string",
}],
},
plan_options=[{
"duration": "string",
"plan_code": "string",
"pricing_mode": "string",
"catalog_name": "string",
"configurations": [{
"label": "string",
"value": "string",
}],
}])
const vrackResource = new ovh.vrack.Vrack("vrackResource", {
description: "string",
name: "string",
orders: [{
date: "string",
details: [{
description: "string",
domain: "string",
orderDetailId: 0,
quantity: "string",
}],
expirationDate: "string",
orderId: 0,
}],
ovhSubsidiary: "string",
plan: {
duration: "string",
planCode: "string",
pricingMode: "string",
catalogName: "string",
configurations: [{
label: "string",
value: "string",
}],
},
planOptions: [{
duration: "string",
planCode: "string",
pricingMode: "string",
catalogName: "string",
configurations: [{
label: "string",
value: "string",
}],
}],
});
type: ovh:Vrack:Vrack
properties:
description: string
name: string
orders:
- date: string
details:
- description: string
domain: string
orderDetailId: 0
quantity: string
expirationDate: string
orderId: 0
ovhSubsidiary: string
plan:
catalogName: string
configurations:
- label: string
value: string
duration: string
planCode: string
pricingMode: string
planOptions:
- catalogName: string
configurations:
- label: string
value: string
duration: string
planCode: string
pricingMode: string
Vrack Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Vrack resource accepts the following input properties:
- Description string
- yourvrackdescription
- Name string
- yourvrackname
- Orders
List<Vrack
Order> - Details about an Order
- Ovh
Subsidiary string - OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at /1.0/me.json under
models.nichandle.OvhSubsidiaryEnum
- Payment
Mean string - Ovh payment mode
- Plan
Vrack
Plan - Product Plan to order
- Plan
Options List<VrackPlan Option> - Product Plan to order
- Description string
- yourvrackdescription
- Name string
- yourvrackname
- Orders
[]Vrack
Order Args - Details about an Order
- Ovh
Subsidiary string - OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at /1.0/me.json under
models.nichandle.OvhSubsidiaryEnum
- Payment
Mean string - Ovh payment mode
- Plan
Vrack
Plan Args - Product Plan to order
- Plan
Options []VrackPlan Option Args - Product Plan to order
- description String
- yourvrackdescription
- name String
- yourvrackname
- orders List<Order>
- Details about an Order
- ovh
Subsidiary String - OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at /1.0/me.json under
models.nichandle.OvhSubsidiaryEnum
- payment
Mean String - Ovh payment mode
- plan Plan
- Product Plan to order
- plan
Options List<PlanOption> - Product Plan to order
- description string
- yourvrackdescription
- name string
- yourvrackname
- orders
Vrack
Order[] - Details about an Order
- ovh
Subsidiary string - OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at /1.0/me.json under
models.nichandle.OvhSubsidiaryEnum
- payment
Mean string - Ovh payment mode
- plan
Vrack
Plan - Product Plan to order
- plan
Options VrackPlan Option[] - Product Plan to order
- description str
- yourvrackdescription
- name str
- yourvrackname
- orders
Sequence[vrack.
Vrack Order Args] - Details about an Order
- ovh_
subsidiary str - OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at /1.0/me.json under
models.nichandle.OvhSubsidiaryEnum
- payment_
mean str - Ovh payment mode
- plan
vrack.
Vrack Plan Args - Product Plan to order
- plan_
options Sequence[vrack.Vrack Plan Option Args] - Product Plan to order
- description String
- yourvrackdescription
- name String
- yourvrackname
- orders List<Property Map>
- Details about an Order
- ovh
Subsidiary String - OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at /1.0/me.json under
models.nichandle.OvhSubsidiaryEnum
- payment
Mean String - Ovh payment mode
- plan Property Map
- Product Plan to order
- plan
Options List<Property Map> - Product Plan to order
Outputs
All input properties are implicitly available as output properties. Additionally, the Vrack resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Service
Name string - The internal name of your vrack
- Vrack
URN string - The URN of the vrack, used with IAM permissions
- Id string
- The provider-assigned unique ID for this managed resource.
- Service
Name string - The internal name of your vrack
- Vrack
URN string - The URN of the vrack, used with IAM permissions
- Vrack
URN String - The URN of the vrack, used with IAM permissions
- id String
- The provider-assigned unique ID for this managed resource.
- service
Name String - The internal name of your vrack
- Vrack
URN string - The URN of the vrack, used with IAM permissions
- id string
- The provider-assigned unique ID for this managed resource.
- service
Name string - The internal name of your vrack
- id str
- The provider-assigned unique ID for this managed resource.
- service_
name str - The internal name of your vrack
- vrack_
urn str - The URN of the vrack, used with IAM permissions
- Vrack
URN String - The URN of the vrack, used with IAM permissions
- id String
- The provider-assigned unique ID for this managed resource.
- service
Name String - The internal name of your vrack
Look up Existing Vrack Resource
Get an existing Vrack 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?: VrackState, opts?: CustomResourceOptions): Vrack
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
vrack_urn: Optional[str] = None,
description: Optional[str] = None,
name: Optional[str] = None,
orders: Optional[Sequence[_vrack.VrackOrderArgs]] = None,
ovh_subsidiary: Optional[str] = None,
payment_mean: Optional[str] = None,
plan: Optional[_vrack.VrackPlanArgs] = None,
plan_options: Optional[Sequence[_vrack.VrackPlanOptionArgs]] = None,
service_name: Optional[str] = None) -> Vrack
func GetVrack(ctx *Context, name string, id IDInput, state *VrackState, opts ...ResourceOption) (*Vrack, error)
public static Vrack Get(string name, Input<string> id, VrackState? state, CustomResourceOptions? opts = null)
public static Vrack get(String name, Output<String> id, VrackState state, CustomResourceOptions options)
resources: _: type: ovh:Vrack:Vrack get: id: ${id}
- 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.
- Description string
- yourvrackdescription
- Name string
- yourvrackname
- Orders
List<Vrack
Order> - Details about an Order
- Ovh
Subsidiary string - OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at /1.0/me.json under
models.nichandle.OvhSubsidiaryEnum
- Payment
Mean string - Ovh payment mode
- Plan
Vrack
Plan - Product Plan to order
- Plan
Options List<VrackPlan Option> - Product Plan to order
- Service
Name string - The internal name of your vrack
- Vrack
URN string - The URN of the vrack, used with IAM permissions
- Description string
- yourvrackdescription
- Name string
- yourvrackname
- Orders
[]Vrack
Order Args - Details about an Order
- Ovh
Subsidiary string - OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at /1.0/me.json under
models.nichandle.OvhSubsidiaryEnum
- Payment
Mean string - Ovh payment mode
- Plan
Vrack
Plan Args - Product Plan to order
- Plan
Options []VrackPlan Option Args - Product Plan to order
- Service
Name string - The internal name of your vrack
- Vrack
URN string - The URN of the vrack, used with IAM permissions
- Vrack
URN String - The URN of the vrack, used with IAM permissions
- description String
- yourvrackdescription
- name String
- yourvrackname
- orders List<Order>
- Details about an Order
- ovh
Subsidiary String - OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at /1.0/me.json under
models.nichandle.OvhSubsidiaryEnum
- payment
Mean String - Ovh payment mode
- plan Plan
- Product Plan to order
- plan
Options List<PlanOption> - Product Plan to order
- service
Name String - The internal name of your vrack
- Vrack
URN string - The URN of the vrack, used with IAM permissions
- description string
- yourvrackdescription
- name string
- yourvrackname
- orders
Vrack
Order[] - Details about an Order
- ovh
Subsidiary string - OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at /1.0/me.json under
models.nichandle.OvhSubsidiaryEnum
- payment
Mean string - Ovh payment mode
- plan
Vrack
Plan - Product Plan to order
- plan
Options VrackPlan Option[] - Product Plan to order
- service
Name string - The internal name of your vrack
- description str
- yourvrackdescription
- name str
- yourvrackname
- orders
Sequence[vrack.
Vrack Order Args] - Details about an Order
- ovh_
subsidiary str - OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at /1.0/me.json under
models.nichandle.OvhSubsidiaryEnum
- payment_
mean str - Ovh payment mode
- plan
vrack.
Vrack Plan Args - Product Plan to order
- plan_
options Sequence[vrack.Vrack Plan Option Args] - Product Plan to order
- service_
name str - The internal name of your vrack
- vrack_
urn str - The URN of the vrack, used with IAM permissions
- Vrack
URN String - The URN of the vrack, used with IAM permissions
- description String
- yourvrackdescription
- name String
- yourvrackname
- orders List<Property Map>
- Details about an Order
- ovh
Subsidiary String - OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at /1.0/me.json under
models.nichandle.OvhSubsidiaryEnum
- payment
Mean String - Ovh payment mode
- plan Property Map
- Product Plan to order
- plan
Options List<Property Map> - Product Plan to order
- service
Name String - The internal name of your vrack
Supporting Types
VrackOrder, VrackOrderArgs
- Date string
- date
- Details
List<Vrack
Order Detail> - Information about a Bill entry
- Expiration
Date string - expiration date
- Order
Id int - order id
- Date string
- date
- Details
[]Vrack
Order Detail - Information about a Bill entry
- Expiration
Date string - expiration date
- Order
Id int - order id
- date String
- date
- details
List<Order
Detail> - Information about a Bill entry
- expiration
Date String - expiration date
- order
Id Integer - order id
- date string
- date
- details
Vrack
Order Detail[] - Information about a Bill entry
- expiration
Date string - expiration date
- order
Id number - order id
- date str
- date
- details
Sequence[vrack.
Vrack Order Detail] - Information about a Bill entry
- expiration_
date str - expiration date
- order_
id int - order id
- date String
- date
- details List<Property Map>
- Information about a Bill entry
- expiration
Date String - expiration date
- order
Id Number - order id
VrackOrderDetail, VrackOrderDetailArgs
- Description string
- yourvrackdescription
- Domain string
- expiration date
- Order
Detail intId - order detail id
- Quantity string
- quantity
- Description string
- yourvrackdescription
- Domain string
- expiration date
- Order
Detail intId - order detail id
- Quantity string
- quantity
- description String
- yourvrackdescription
- domain String
- expiration date
- order
Detail IntegerId - order detail id
- quantity String
- quantity
- description string
- yourvrackdescription
- domain string
- expiration date
- order
Detail numberId - order detail id
- quantity string
- quantity
- description str
- yourvrackdescription
- domain str
- expiration date
- order_
detail_ intid - order detail id
- quantity str
- quantity
- description String
- yourvrackdescription
- domain String
- expiration date
- order
Detail NumberId - order detail id
- quantity String
- quantity
VrackPlan, VrackPlanArgs
- Duration string
- duration
- Plan
Code string - Plan code
- Pricing
Mode string - Pricing model identifier
- Catalog
Name string - Catalog name
- Configurations
List<Vrack
Plan Configuration> - Representation of a configuration item for personalizing product
- Duration string
- duration
- Plan
Code string - Plan code
- Pricing
Mode string - Pricing model identifier
- Catalog
Name string - Catalog name
- Configurations
[]Vrack
Plan Configuration - Representation of a configuration item for personalizing product
- duration String
- duration
- plan
Code String - Plan code
- pricing
Mode String - Pricing model identifier
- catalog
Name String - Catalog name
- configurations
List<Plan
Configuration> - Representation of a configuration item for personalizing product
- duration string
- duration
- plan
Code string - Plan code
- pricing
Mode string - Pricing model identifier
- catalog
Name string - Catalog name
- configurations
Vrack
Plan Configuration[] - Representation of a configuration item for personalizing product
- duration str
- duration
- plan_
code str - Plan code
- pricing_
mode str - Pricing model identifier
- catalog_
name str - Catalog name
- configurations
Sequence[vrack.
Vrack Plan Configuration] - Representation of a configuration item for personalizing product
- duration String
- duration
- plan
Code String - Plan code
- pricing
Mode String - Pricing model identifier
- catalog
Name String - Catalog name
- configurations List<Property Map>
- Representation of a configuration item for personalizing product
VrackPlanConfiguration, VrackPlanConfigurationArgs
VrackPlanOption, VrackPlanOptionArgs
- Duration string
- duration
- Plan
Code string - Plan code
- Pricing
Mode string - Pricing model identifier
- Catalog
Name string - Catalog name
- Configurations
List<Vrack
Plan Option Configuration> - Representation of a configuration item for personalizing product
- Duration string
- duration
- Plan
Code string - Plan code
- Pricing
Mode string - Pricing model identifier
- Catalog
Name string - Catalog name
- Configurations
[]Vrack
Plan Option Configuration - Representation of a configuration item for personalizing product
- duration String
- duration
- plan
Code String - Plan code
- pricing
Mode String - Pricing model identifier
- catalog
Name String - Catalog name
- configurations
List<Plan
Option Configuration> - Representation of a configuration item for personalizing product
- duration string
- duration
- plan
Code string - Plan code
- pricing
Mode string - Pricing model identifier
- catalog
Name string - Catalog name
- configurations
Vrack
Plan Option Configuration[] - Representation of a configuration item for personalizing product
- duration str
- duration
- plan_
code str - Plan code
- pricing_
mode str - Pricing model identifier
- catalog_
name str - Catalog name
- configurations
Sequence[vrack.
Vrack Plan Option Configuration] - Representation of a configuration item for personalizing product
- duration String
- duration
- plan
Code String - Plan code
- pricing
Mode String - Pricing model identifier
- catalog
Name String - Catalog name
- configurations List<Property Map>
- Representation of a configuration item for personalizing product
VrackPlanOptionConfiguration, VrackPlanOptionConfigurationArgs
Import
A vRack can be imported using the service_name
.
Using the following configuration:
hcl
import {
to = ovh_vrack.vrack
id = “
}
You can then run:
bash
$ pulumi preview -generate-config-out=vrack.tf
$ pulumi up
The file vrack.tf
will then contain the imported resource’s configuration, that can be copied next to the import
block above.
See https://developer.hashicorp.com/terraform/language/import/generating-configuration for more details.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ovh ovh/pulumi-ovh
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ovh
Terraform Provider.