1. Packages
  2. OVH
  3. API Docs
  4. Vrack
  5. Vrack
OVHCloud v0.45.0 published on Tuesday, Jun 4, 2024 by OVHcloud

ovh.Vrack.Vrack

Explore with Pulumi AI

ovh logo
OVHCloud v0.45.0 published on Tuesday, Jun 4, 2024 by OVHcloud

    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
    
    myaccount = ovh.Me.get_me()
    mycart = ovh.Order.get_cart(ovh_subsidiary=myaccount.ovh_subsidiary)
    vrack_cart_product_plan = ovh.Order.get_cart_product_plan(cart_id=mycart.id,
        price_capacity="renew",
        product="vrack",
        plan_code="vrack")
    vrack_vrack = ovh.vrack.Vrack("vrackVrack",
        ovh_subsidiary=mycart.ovh_subsidiary,
        description="my vrack",
        plan=ovh.vrack.VrackPlanArgs(
            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, nil, 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: VrackArgs,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Vrack(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              ovh_subsidiary: Optional[str] = None,
              plan: Optional[_vrack.VrackPlanArgs] = None,
              description: Optional[str] = None,
              name: Optional[str] = None,
              orders: Optional[Sequence[_vrack.VrackOrderArgs]] = None,
              payment_mean: Optional[str] = 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, CustomResourceOptions? opts = null)
    public Vrack(String name, VrackArgs args)
    public Vrack(String name, VrackArgs args, CustomResourceOptions options)
    
    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()
    {
        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",
                },
            },
        },
        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,
            },
        },
        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{
    	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"),
    			},
    		},
    	},
    	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),
    		},
    	},
    	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()
        .ovhSubsidiary("string")
        .plan(VrackPlanArgs.builder()
            .duration("string")
            .planCode("string")
            .pricingMode("string")
            .catalogName("string")
            .configurations(VrackPlanConfigurationArgs.builder()
                .label("string")
                .value("string")
                .build())
            .build())
        .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())
        .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",
        ovh_subsidiary="string",
        plan=ovh.vrack.VrackPlanArgs(
            duration="string",
            plan_code="string",
            pricing_mode="string",
            catalog_name="string",
            configurations=[ovh.vrack.VrackPlanConfigurationArgs(
                label="string",
                value="string",
            )],
        ),
        description="string",
        name="string",
        orders=[ovh.vrack.VrackOrderArgs(
            date="string",
            details=[ovh.vrack.VrackOrderDetailArgs(
                description="string",
                domain="string",
                order_detail_id=0,
                quantity="string",
            )],
            expiration_date="string",
            order_id=0,
        )],
        plan_options=[ovh.vrack.VrackPlanOptionArgs(
            duration="string",
            plan_code="string",
            pricing_mode="string",
            catalog_name="string",
            configurations=[ovh.vrack.VrackPlanOptionConfigurationArgs(
                label="string",
                value="string",
            )],
        )])
    
    const vrackResource = new ovh.vrack.Vrack("vrackResource", {
        ovhSubsidiary: "string",
        plan: {
            duration: "string",
            planCode: "string",
            pricingMode: "string",
            catalogName: "string",
            configurations: [{
                label: "string",
                value: "string",
            }],
        },
        description: "string",
        name: "string",
        orders: [{
            date: "string",
            details: [{
                description: "string",
                domain: "string",
                orderDetailId: 0,
                quantity: "string",
            }],
            expirationDate: "string",
            orderId: 0,
        }],
        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

    The Vrack resource accepts the following input properties:

    OvhSubsidiary 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
    Plan VrackPlan
    Product Plan to order
    Description string
    yourvrackdescription
    Name string
    yourvrackname
    Orders List<VrackOrder>
    Details about an Order
    PaymentMean string
    Ovh payment mode

    Deprecated: This field is not anymore used since the API has been deprecated in favor of /payment/mean. Now, the default payment mean is used.

    PlanOptions List<VrackPlanOption>
    Product Plan to order
    OvhSubsidiary 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
    Plan VrackPlanArgs
    Product Plan to order
    Description string
    yourvrackdescription
    Name string
    yourvrackname
    Orders []VrackOrderArgs
    Details about an Order
    PaymentMean string
    Ovh payment mode

    Deprecated: This field is not anymore used since the API has been deprecated in favor of /payment/mean. Now, the default payment mean is used.

    PlanOptions []VrackPlanOptionArgs
    Product Plan to order
    ovhSubsidiary 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
    plan Plan
    Product Plan to order
    description String
    yourvrackdescription
    name String
    yourvrackname
    orders List<Order>
    Details about an Order
    paymentMean String
    Ovh payment mode

    Deprecated: This field is not anymore used since the API has been deprecated in favor of /payment/mean. Now, the default payment mean is used.

    planOptions List<PlanOption>
    Product Plan to order
    ovhSubsidiary 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
    plan VrackPlan
    Product Plan to order
    description string
    yourvrackdescription
    name string
    yourvrackname
    orders VrackOrder[]
    Details about an Order
    paymentMean string
    Ovh payment mode

    Deprecated: This field is not anymore used since the API has been deprecated in favor of /payment/mean. Now, the default payment mean is used.

    planOptions VrackPlanOption[]
    Product Plan to 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
    plan vrack.VrackPlanArgs
    Product Plan to order
    description str
    yourvrackdescription
    name str
    yourvrackname
    orders Sequence[vrack.VrackOrderArgs]
    Details about an Order
    payment_mean str
    Ovh payment mode

    Deprecated: This field is not anymore used since the API has been deprecated in favor of /payment/mean. Now, the default payment mean is used.

    plan_options Sequence[vrack.VrackPlanOptionArgs]
    Product Plan to order
    ovhSubsidiary 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
    plan Property Map
    Product Plan to order
    description String
    yourvrackdescription
    name String
    yourvrackname
    orders List<Property Map>
    Details about an Order
    paymentMean String
    Ovh payment mode

    Deprecated: This field is not anymore used since the API has been deprecated in favor of /payment/mean. Now, the default payment mean is used.

    planOptions 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.
    ServiceName string
    The internal name of your vrack
    VrackURN string
    The URN of the vrack, used with IAM permissions
    Id string
    The provider-assigned unique ID for this managed resource.
    ServiceName string
    The internal name of your vrack
    VrackURN string
    The URN of the vrack, used with IAM permissions
    VrackURN String
    The URN of the vrack, used with IAM permissions
    id String
    The provider-assigned unique ID for this managed resource.
    serviceName String
    The internal name of your vrack
    VrackURN string
    The URN of the vrack, used with IAM permissions
    id string
    The provider-assigned unique ID for this managed resource.
    serviceName 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
    VrackURN String
    The URN of the vrack, used with IAM permissions
    id String
    The provider-assigned unique ID for this managed resource.
    serviceName 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)
    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:
    Description string
    yourvrackdescription
    Name string
    yourvrackname
    Orders List<VrackOrder>
    Details about an Order
    OvhSubsidiary 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
    PaymentMean string
    Ovh payment mode

    Deprecated: This field is not anymore used since the API has been deprecated in favor of /payment/mean. Now, the default payment mean is used.

    Plan VrackPlan
    Product Plan to order
    PlanOptions List<VrackPlanOption>
    Product Plan to order
    ServiceName string
    The internal name of your vrack
    VrackURN string
    The URN of the vrack, used with IAM permissions
    Description string
    yourvrackdescription
    Name string
    yourvrackname
    Orders []VrackOrderArgs
    Details about an Order
    OvhSubsidiary 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
    PaymentMean string
    Ovh payment mode

    Deprecated: This field is not anymore used since the API has been deprecated in favor of /payment/mean. Now, the default payment mean is used.

    Plan VrackPlanArgs
    Product Plan to order
    PlanOptions []VrackPlanOptionArgs
    Product Plan to order
    ServiceName string
    The internal name of your vrack
    VrackURN string
    The URN of the vrack, used with IAM permissions
    VrackURN String
    The URN of the vrack, used with IAM permissions
    description String
    yourvrackdescription
    name String
    yourvrackname
    orders List<Order>
    Details about an Order
    ovhSubsidiary 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
    paymentMean String
    Ovh payment mode

    Deprecated: This field is not anymore used since the API has been deprecated in favor of /payment/mean. Now, the default payment mean is used.

    plan Plan
    Product Plan to order
    planOptions List<PlanOption>
    Product Plan to order
    serviceName String
    The internal name of your vrack
    VrackURN string
    The URN of the vrack, used with IAM permissions
    description string
    yourvrackdescription
    name string
    yourvrackname
    orders VrackOrder[]
    Details about an Order
    ovhSubsidiary 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
    paymentMean string
    Ovh payment mode

    Deprecated: This field is not anymore used since the API has been deprecated in favor of /payment/mean. Now, the default payment mean is used.

    plan VrackPlan
    Product Plan to order
    planOptions VrackPlanOption[]
    Product Plan to order
    serviceName string
    The internal name of your vrack
    description str
    yourvrackdescription
    name str
    yourvrackname
    orders Sequence[vrack.VrackOrderArgs]
    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

    Deprecated: This field is not anymore used since the API has been deprecated in favor of /payment/mean. Now, the default payment mean is used.

    plan vrack.VrackPlanArgs
    Product Plan to order
    plan_options Sequence[vrack.VrackPlanOptionArgs]
    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
    VrackURN String
    The URN of the vrack, used with IAM permissions
    description String
    yourvrackdescription
    name String
    yourvrackname
    orders List<Property Map>
    Details about an Order
    ovhSubsidiary 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
    paymentMean String
    Ovh payment mode

    Deprecated: This field is not anymore used since the API has been deprecated in favor of /payment/mean. Now, the default payment mean is used.

    plan Property Map
    Product Plan to order
    planOptions List<Property Map>
    Product Plan to order
    serviceName String
    The internal name of your vrack

    Supporting Types

    VrackOrder, VrackOrderArgs

    Date string
    date
    Details List<VrackOrderDetail>
    Information about a Bill entry
    ExpirationDate string
    expiration date
    OrderId int
    order id
    Date string
    date
    Details []VrackOrderDetail
    Information about a Bill entry
    ExpirationDate string
    expiration date
    OrderId int
    order id
    date String
    date
    details List<OrderDetail>
    Information about a Bill entry
    expirationDate String
    expiration date
    orderId Integer
    order id
    date string
    date
    details VrackOrderDetail[]
    Information about a Bill entry
    expirationDate string
    expiration date
    orderId number
    order id
    date str
    date
    details Sequence[vrack.VrackOrderDetail]
    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
    expirationDate String
    expiration date
    orderId Number
    order id

    VrackOrderDetail, VrackOrderDetailArgs

    Description string
    yourvrackdescription
    Domain string
    expiration date
    OrderDetailId int
    order detail id
    Quantity string
    quantity
    Description string
    yourvrackdescription
    Domain string
    expiration date
    OrderDetailId int
    order detail id
    Quantity string
    quantity
    description String
    yourvrackdescription
    domain String
    expiration date
    orderDetailId Integer
    order detail id
    quantity String
    quantity
    description string
    yourvrackdescription
    domain string
    expiration date
    orderDetailId number
    order detail id
    quantity string
    quantity
    description str
    yourvrackdescription
    domain str
    expiration date
    order_detail_id int
    order detail id
    quantity str
    quantity
    description String
    yourvrackdescription
    domain String
    expiration date
    orderDetailId Number
    order detail id
    quantity String
    quantity

    VrackPlan, VrackPlanArgs

    Duration string
    duration
    PlanCode string
    Plan code
    PricingMode string
    Pricing model identifier
    CatalogName string
    Catalog name
    Configurations List<VrackPlanConfiguration>
    Representation of a configuration item for personalizing product
    Duration string
    duration
    PlanCode string
    Plan code
    PricingMode string
    Pricing model identifier
    CatalogName string
    Catalog name
    Configurations []VrackPlanConfiguration
    Representation of a configuration item for personalizing product
    duration String
    duration
    planCode String
    Plan code
    pricingMode String
    Pricing model identifier
    catalogName String
    Catalog name
    configurations List<PlanConfiguration>
    Representation of a configuration item for personalizing product
    duration string
    duration
    planCode string
    Plan code
    pricingMode string
    Pricing model identifier
    catalogName string
    Catalog name
    configurations VrackPlanConfiguration[]
    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.VrackPlanConfiguration]
    Representation of a configuration item for personalizing product
    duration String
    duration
    planCode String
    Plan code
    pricingMode String
    Pricing model identifier
    catalogName String
    Catalog name
    configurations List<Property Map>
    Representation of a configuration item for personalizing product

    VrackPlanConfiguration, VrackPlanConfigurationArgs

    Label string
    Identifier of the resource
    Value string
    Path to the resource in API.OVH.COM
    Label string
    Identifier of the resource
    Value string
    Path to the resource in API.OVH.COM
    label String
    Identifier of the resource
    value String
    Path to the resource in API.OVH.COM
    label string
    Identifier of the resource
    value string
    Path to the resource in API.OVH.COM
    label str
    Identifier of the resource
    value str
    Path to the resource in API.OVH.COM
    label String
    Identifier of the resource
    value String
    Path to the resource in API.OVH.COM

    VrackPlanOption, VrackPlanOptionArgs

    Duration string
    duration
    PlanCode string
    Plan code
    PricingMode string
    Pricing model identifier
    CatalogName string
    Catalog name
    Configurations List<VrackPlanOptionConfiguration>
    Representation of a configuration item for personalizing product
    Duration string
    duration
    PlanCode string
    Plan code
    PricingMode string
    Pricing model identifier
    CatalogName string
    Catalog name
    Configurations []VrackPlanOptionConfiguration
    Representation of a configuration item for personalizing product
    duration String
    duration
    planCode String
    Plan code
    pricingMode String
    Pricing model identifier
    catalogName String
    Catalog name
    configurations List<PlanOptionConfiguration>
    Representation of a configuration item for personalizing product
    duration string
    duration
    planCode string
    Plan code
    pricingMode string
    Pricing model identifier
    catalogName string
    Catalog name
    configurations VrackPlanOptionConfiguration[]
    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.VrackPlanOptionConfiguration]
    Representation of a configuration item for personalizing product
    duration String
    duration
    planCode String
    Plan code
    pricingMode String
    Pricing model identifier
    catalogName String
    Catalog name
    configurations List<Property Map>
    Representation of a configuration item for personalizing product

    VrackPlanOptionConfiguration, VrackPlanOptionConfigurationArgs

    Label string
    Identifier of the resource
    Value string
    Path to the resource in API.OVH.COM
    Label string
    Identifier of the resource
    Value string
    Path to the resource in API.OVH.COM
    label String
    Identifier of the resource
    value String
    Path to the resource in API.OVH.COM
    label string
    Identifier of the resource
    value string
    Path to the resource in API.OVH.COM
    label str
    Identifier of the resource
    value str
    Path to the resource in API.OVH.COM
    label String
    Identifier of the resource
    value String
    Path to the resource in API.OVH.COM

    Import

    vRack can be imported using the service_name.

    bash

    $ pulumi import ovh:Vrack/vrack:Vrack vrack service_name
    

    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.
    ovh logo
    OVHCloud v0.45.0 published on Tuesday, Jun 4, 2024 by OVHcloud