ovh.Ip.IpService
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 = ovh.Order.getCart({
ovhSubsidiary: "fr",
});
const ipblockCartProductPlan = mycart.then(mycart => ovh.Order.getCartProductPlan({
cartId: mycart.id,
priceCapacity: "renew",
product: "ip",
planCode: "ip-v4-s30-ripe",
}));
const ipblockIpService = new ovh.ip.IpService("ipblockIpService", {
ovhSubsidiary: mycart.then(mycart => mycart.ovhSubsidiary),
description: "my ip block",
plan: {
duration: ipblockCartProductPlan.then(ipblockCartProductPlan => ipblockCartProductPlan.selectedPrices?.[0]?.duration),
planCode: ipblockCartProductPlan.then(ipblockCartProductPlan => ipblockCartProductPlan.planCode),
pricingMode: ipblockCartProductPlan.then(ipblockCartProductPlan => ipblockCartProductPlan.selectedPrices?.[0]?.pricingMode),
configurations: [{
label: "country",
value: "FR",
}],
},
});
import pulumi
import pulumi_ovh as ovh
myaccount = ovh.Me.get_me()
mycart = ovh.Order.get_cart(ovh_subsidiary="fr")
ipblock_cart_product_plan = ovh.Order.get_cart_product_plan(cart_id=mycart.id,
price_capacity="renew",
product="ip",
plan_code="ip-v4-s30-ripe")
ipblock_ip_service = ovh.ip.IpService("ipblockIpService",
ovh_subsidiary=mycart.ovh_subsidiary,
description="my ip block",
plan={
"duration": ipblock_cart_product_plan.selected_prices[0].duration,
"plan_code": ipblock_cart_product_plan.plan_code,
"pricing_mode": ipblock_cart_product_plan.selected_prices[0].pricing_mode,
"configurations": [{
"label": "country",
"value": "FR",
}],
})
package main
import (
"github.com/ovh/pulumi-ovh/sdk/go/ovh/Ip"
"github.com/ovh/pulumi-ovh/sdk/go/ovh/Me"
"github.com/ovh/pulumi-ovh/sdk/go/ovh/Order"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Me.GetMe(ctx, map[string]interface{}{}, nil)
if err != nil {
return err
}
mycart, err := Order.GetCart(ctx, &order.GetCartArgs{
OvhSubsidiary: "fr",
}, nil)
if err != nil {
return err
}
ipblockCartProductPlan, err := Order.GetCartProductPlan(ctx, &order.GetCartProductPlanArgs{
CartId: mycart.Id,
PriceCapacity: "renew",
Product: "ip",
PlanCode: "ip-v4-s30-ripe",
}, nil)
if err != nil {
return err
}
_, err = Ip.NewIpService(ctx, "ipblockIpService", &Ip.IpServiceArgs{
OvhSubsidiary: pulumi.String(mycart.OvhSubsidiary),
Description: pulumi.String("my ip block"),
Plan: &ip.IpServicePlanArgs{
Duration: pulumi.String(ipblockCartProductPlan.SelectedPrices[0].Duration),
PlanCode: pulumi.String(ipblockCartProductPlan.PlanCode),
PricingMode: pulumi.String(ipblockCartProductPlan.SelectedPrices[0].PricingMode),
Configurations: ip.IpServicePlanConfigurationArray{
&ip.IpServicePlanConfigurationArgs{
Label: pulumi.String("country"),
Value: pulumi.String("FR"),
},
},
},
})
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 = "fr",
});
var ipblockCartProductPlan = Ovh.Order.GetCartProductPlan.Invoke(new()
{
CartId = mycart.Apply(getCartResult => getCartResult.Id),
PriceCapacity = "renew",
Product = "ip",
PlanCode = "ip-v4-s30-ripe",
});
var ipblockIpService = new Ovh.Ip.IpService("ipblockIpService", new()
{
OvhSubsidiary = mycart.Apply(getCartResult => getCartResult.OvhSubsidiary),
Description = "my ip block",
Plan = new Ovh.Ip.Inputs.IpServicePlanArgs
{
Duration = ipblockCartProductPlan.Apply(getCartProductPlanResult => getCartProductPlanResult.SelectedPrices[0]?.Duration),
PlanCode = ipblockCartProductPlan.Apply(getCartProductPlanResult => getCartProductPlanResult.PlanCode),
PricingMode = ipblockCartProductPlan.Apply(getCartProductPlanResult => getCartProductPlanResult.SelectedPrices[0]?.PricingMode),
Configurations = new[]
{
new Ovh.Ip.Inputs.IpServicePlanConfigurationArgs
{
Label = "country",
Value = "FR",
},
},
},
});
});
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.Ip.IpService;
import com.pulumi.ovh.Ip.IpServiceArgs;
import com.pulumi.ovh.Ip.inputs.IpServicePlanArgs;
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("fr")
.build());
final var ipblockCartProductPlan = OrderFunctions.getCartProductPlan(GetCartProductPlanArgs.builder()
.cartId(mycart.applyValue(getCartResult -> getCartResult.id()))
.priceCapacity("renew")
.product("ip")
.planCode("ip-v4-s30-ripe")
.build());
var ipblockIpService = new IpService("ipblockIpService", IpServiceArgs.builder()
.ovhSubsidiary(mycart.applyValue(getCartResult -> getCartResult.ovhSubsidiary()))
.description("my ip block")
.plan(IpServicePlanArgs.builder()
.duration(ipblockCartProductPlan.applyValue(getCartProductPlanResult -> getCartProductPlanResult.selectedPrices()[0].duration()))
.planCode(ipblockCartProductPlan.applyValue(getCartProductPlanResult -> getCartProductPlanResult.planCode()))
.pricingMode(ipblockCartProductPlan.applyValue(getCartProductPlanResult -> getCartProductPlanResult.selectedPrices()[0].pricingMode()))
.configurations(IpServicePlanConfigurationArgs.builder()
.label("country")
.value("FR")
.build())
.build())
.build());
}
}
resources:
ipblockIpService:
type: ovh:Ip:IpService
properties:
ovhSubsidiary: ${mycart.ovhSubsidiary}
description: my ip block
plan:
duration: ${ipblockCartProductPlan.selectedPrices[0].duration}
planCode: ${ipblockCartProductPlan.planCode}
pricingMode: ${ipblockCartProductPlan.selectedPrices[0].pricingMode}
configurations:
- label: country
value: FR
variables:
myaccount:
fn::invoke:
Function: ovh:Me:getMe
Arguments: {}
mycart:
fn::invoke:
Function: ovh:Order:getCart
Arguments:
ovhSubsidiary: fr
ipblockCartProductPlan:
fn::invoke:
Function: ovh:Order:getCartProductPlan
Arguments:
cartId: ${mycart.id}
priceCapacity: renew
product: ip
planCode: ip-v4-s30-ripe
Create IpService Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IpService(name: string, args?: IpServiceArgs, opts?: CustomResourceOptions);
@overload
def IpService(resource_name: str,
args: Optional[IpServiceArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def IpService(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
orders: Optional[Sequence[_ip.IpServiceOrderArgs]] = None,
ovh_subsidiary: Optional[str] = None,
payment_mean: Optional[str] = None,
plan: Optional[_ip.IpServicePlanArgs] = None,
plan_options: Optional[Sequence[_ip.IpServicePlanOptionArgs]] = None)
func NewIpService(ctx *Context, name string, args *IpServiceArgs, opts ...ResourceOption) (*IpService, error)
public IpService(string name, IpServiceArgs? args = null, CustomResourceOptions? opts = null)
public IpService(String name, IpServiceArgs args)
public IpService(String name, IpServiceArgs args, CustomResourceOptions options)
type: ovh:Ip:IpService
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 IpServiceArgs
- 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 IpServiceArgs
- 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 IpServiceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IpServiceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IpServiceArgs
- 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 ipServiceResource = new Ovh.Ip.IpService("ipServiceResource", new()
{
Description = "string",
Orders = new[]
{
new Ovh.Ip.Inputs.IpServiceOrderArgs
{
Date = "string",
Details = new[]
{
new Ovh.Ip.Inputs.IpServiceOrderDetailArgs
{
Description = "string",
Domain = "string",
OrderDetailId = 0,
Quantity = "string",
},
},
ExpirationDate = "string",
OrderId = 0,
},
},
OvhSubsidiary = "string",
Plan = new Ovh.Ip.Inputs.IpServicePlanArgs
{
Duration = "string",
PlanCode = "string",
PricingMode = "string",
CatalogName = "string",
Configurations = new[]
{
new Ovh.Ip.Inputs.IpServicePlanConfigurationArgs
{
Label = "string",
Value = "string",
},
},
},
PlanOptions = new[]
{
new Ovh.Ip.Inputs.IpServicePlanOptionArgs
{
Duration = "string",
PlanCode = "string",
PricingMode = "string",
CatalogName = "string",
Configurations = new[]
{
new Ovh.Ip.Inputs.IpServicePlanOptionConfigurationArgs
{
Label = "string",
Value = "string",
},
},
},
},
});
example, err := Ip.NewIpService(ctx, "ipServiceResource", &Ip.IpServiceArgs{
Description: pulumi.String("string"),
Orders: ip.IpServiceOrderArray{
&ip.IpServiceOrderArgs{
Date: pulumi.String("string"),
Details: ip.IpServiceOrderDetailArray{
&ip.IpServiceOrderDetailArgs{
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: &ip.IpServicePlanArgs{
Duration: pulumi.String("string"),
PlanCode: pulumi.String("string"),
PricingMode: pulumi.String("string"),
CatalogName: pulumi.String("string"),
Configurations: ip.IpServicePlanConfigurationArray{
&ip.IpServicePlanConfigurationArgs{
Label: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
PlanOptions: ip.IpServicePlanOptionArray{
&ip.IpServicePlanOptionArgs{
Duration: pulumi.String("string"),
PlanCode: pulumi.String("string"),
PricingMode: pulumi.String("string"),
CatalogName: pulumi.String("string"),
Configurations: ip.IpServicePlanOptionConfigurationArray{
&ip.IpServicePlanOptionConfigurationArgs{
Label: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
},
})
var ipServiceResource = new IpService("ipServiceResource", IpServiceArgs.builder()
.description("string")
.orders(IpServiceOrderArgs.builder()
.date("string")
.details(IpServiceOrderDetailArgs.builder()
.description("string")
.domain("string")
.orderDetailId(0)
.quantity("string")
.build())
.expirationDate("string")
.orderId(0)
.build())
.ovhSubsidiary("string")
.plan(IpServicePlanArgs.builder()
.duration("string")
.planCode("string")
.pricingMode("string")
.catalogName("string")
.configurations(IpServicePlanConfigurationArgs.builder()
.label("string")
.value("string")
.build())
.build())
.planOptions(IpServicePlanOptionArgs.builder()
.duration("string")
.planCode("string")
.pricingMode("string")
.catalogName("string")
.configurations(IpServicePlanOptionConfigurationArgs.builder()
.label("string")
.value("string")
.build())
.build())
.build());
ip_service_resource = ovh.ip.IpService("ipServiceResource",
description="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 ipServiceResource = new ovh.ip.IpService("ipServiceResource", {
description: "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:Ip:IpService
properties:
description: 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
IpService 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 IpService resource accepts the following input properties:
- Description string
- Custom description on your ip.
- Orders
List<Ip
Service 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
Ip
Service Plan - Product Plan to order
- Plan
Options List<IpService Plan Option> - Product Plan to order
- Description string
- Custom description on your ip.
- Orders
[]Ip
Service 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
Ip
Service Plan Args - Product Plan to order
- Plan
Options []IpService Plan Option Args - Product Plan to order
- description String
- Custom description on your ip.
- orders
List<Service
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
Service
Plan - Product Plan to order
- plan
Options List<ServicePlan Option> - Product Plan to order
- description string
- Custom description on your ip.
- orders
Ip
Service 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
Ip
Service Plan - Product Plan to order
- plan
Options IpService Plan Option[] - Product Plan to order
- description str
- Custom description on your ip.
- orders
Sequence[ip.
Ip Service 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
ip.
Ip Service Plan Args - Product Plan to order
- plan_
options Sequence[ip.Ip Service Plan Option Args] - Product Plan to order
- description String
- Custom description on your ip.
- 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 IpService resource produces the following output properties:
- Can
Be boolTerminated - can be terminated
- Country string
- country
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip string
- ip block
- Organisation
Id string - IP block organisation Id
- Routed
Tos List<IpService Routed To> - Routage information
- Service
Name string - service name
- Type string
- Possible values for ip type
- Can
Be boolTerminated - can be terminated
- Country string
- country
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip string
- ip block
- Organisation
Id string - IP block organisation Id
- Routed
Tos []IpService Routed To - Routage information
- Service
Name string - service name
- Type string
- Possible values for ip type
- can
Be BooleanTerminated - can be terminated
- country String
- country
- id String
- The provider-assigned unique ID for this managed resource.
- ip String
- ip block
- organisation
Id String - IP block organisation Id
- routed
Tos List<ServiceRouted To> - Routage information
- service
Name String - service name
- type String
- Possible values for ip type
- can
Be booleanTerminated - can be terminated
- country string
- country
- id string
- The provider-assigned unique ID for this managed resource.
- ip string
- ip block
- organisation
Id string - IP block organisation Id
- routed
Tos IpService Routed To[] - Routage information
- service
Name string - service name
- type string
- Possible values for ip type
- can_
be_ boolterminated - can be terminated
- country str
- country
- id str
- The provider-assigned unique ID for this managed resource.
- ip str
- ip block
- organisation_
id str - IP block organisation Id
- routed_
tos Sequence[ip.Ip Service Routed To] - Routage information
- service_
name str - service name
- type str
- Possible values for ip type
- can
Be BooleanTerminated - can be terminated
- country String
- country
- id String
- The provider-assigned unique ID for this managed resource.
- ip String
- ip block
- organisation
Id String - IP block organisation Id
- routed
Tos List<Property Map> - Routage information
- service
Name String - service name
- type String
- Possible values for ip type
Look up Existing IpService Resource
Get an existing IpService 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?: IpServiceState, opts?: CustomResourceOptions): IpService
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
can_be_terminated: Optional[bool] = None,
country: Optional[str] = None,
description: Optional[str] = None,
ip: Optional[str] = None,
orders: Optional[Sequence[_ip.IpServiceOrderArgs]] = None,
organisation_id: Optional[str] = None,
ovh_subsidiary: Optional[str] = None,
payment_mean: Optional[str] = None,
plan: Optional[_ip.IpServicePlanArgs] = None,
plan_options: Optional[Sequence[_ip.IpServicePlanOptionArgs]] = None,
routed_tos: Optional[Sequence[_ip.IpServiceRoutedToArgs]] = None,
service_name: Optional[str] = None,
type: Optional[str] = None) -> IpService
func GetIpService(ctx *Context, name string, id IDInput, state *IpServiceState, opts ...ResourceOption) (*IpService, error)
public static IpService Get(string name, Input<string> id, IpServiceState? state, CustomResourceOptions? opts = null)
public static IpService get(String name, Output<String> id, IpServiceState 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.
- Can
Be boolTerminated - can be terminated
- Country string
- country
- Description string
- Custom description on your ip.
- Ip string
- ip block
- Orders
List<Ip
Service Order> - Details about an Order
- Organisation
Id string - IP block organisation Id
- 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
Ip
Service Plan - Product Plan to order
- Plan
Options List<IpService Plan Option> - Product Plan to order
- Routed
Tos List<IpService Routed To> - Routage information
- Service
Name string - service name
- Type string
- Possible values for ip type
- Can
Be boolTerminated - can be terminated
- Country string
- country
- Description string
- Custom description on your ip.
- Ip string
- ip block
- Orders
[]Ip
Service Order Args - Details about an Order
- Organisation
Id string - IP block organisation Id
- 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
Ip
Service Plan Args - Product Plan to order
- Plan
Options []IpService Plan Option Args - Product Plan to order
- Routed
Tos []IpService Routed To Args - Routage information
- Service
Name string - service name
- Type string
- Possible values for ip type
- can
Be BooleanTerminated - can be terminated
- country String
- country
- description String
- Custom description on your ip.
- ip String
- ip block
- orders
List<Service
Order> - Details about an Order
- organisation
Id String - IP block organisation Id
- 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
Service
Plan - Product Plan to order
- plan
Options List<ServicePlan Option> - Product Plan to order
- routed
Tos List<ServiceRouted To> - Routage information
- service
Name String - service name
- type String
- Possible values for ip type
- can
Be booleanTerminated - can be terminated
- country string
- country
- description string
- Custom description on your ip.
- ip string
- ip block
- orders
Ip
Service Order[] - Details about an Order
- organisation
Id string - IP block organisation Id
- 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
Ip
Service Plan - Product Plan to order
- plan
Options IpService Plan Option[] - Product Plan to order
- routed
Tos IpService Routed To[] - Routage information
- service
Name string - service name
- type string
- Possible values for ip type
- can_
be_ boolterminated - can be terminated
- country str
- country
- description str
- Custom description on your ip.
- ip str
- ip block
- orders
Sequence[ip.
Ip Service Order Args] - Details about an Order
- organisation_
id str - IP block organisation Id
- 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
ip.
Ip Service Plan Args - Product Plan to order
- plan_
options Sequence[ip.Ip Service Plan Option Args] - Product Plan to order
- routed_
tos Sequence[ip.Ip Service Routed To Args] - Routage information
- service_
name str - service name
- type str
- Possible values for ip type
- can
Be BooleanTerminated - can be terminated
- country String
- country
- description String
- Custom description on your ip.
- ip String
- ip block
- orders List<Property Map>
- Details about an Order
- organisation
Id String - IP block organisation Id
- 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
- routed
Tos List<Property Map> - Routage information
- service
Name String - service name
- type String
- Possible values for ip type
Supporting Types
IpServiceOrder, IpServiceOrderArgs
- Date string
- date
- Details
List<Ip
Service Order Detail> - Information about a Bill entry
- Expiration
Date string - expiration date
- Order
Id int - order id
- Date string
- date
- Details
[]Ip
Service Order Detail - Information about a Bill entry
- Expiration
Date string - expiration date
- Order
Id int - order id
- date String
- date
- details
List<Service
Order Detail> - Information about a Bill entry
- expiration
Date String - expiration date
- order
Id Integer - order id
- date string
- date
- details
Ip
Service Order Detail[] - Information about a Bill entry
- expiration
Date string - expiration date
- order
Id number - order id
- date str
- date
- details
Sequence[ip.
Ip Service 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
IpServiceOrderDetail, IpServiceOrderDetailArgs
- Description string
- Custom description on your ip.
- Domain string
- expiration date
- Order
Detail intId - order detail id
- Quantity string
- quantity
- Description string
- Custom description on your ip.
- Domain string
- expiration date
- Order
Detail intId - order detail id
- Quantity string
- quantity
- description String
- Custom description on your ip.
- domain String
- expiration date
- order
Detail IntegerId - order detail id
- quantity String
- quantity
- description string
- Custom description on your ip.
- domain string
- expiration date
- order
Detail numberId - order detail id
- quantity string
- quantity
- description str
- Custom description on your ip.
- domain str
- expiration date
- order_
detail_ intid - order detail id
- quantity str
- quantity
- description String
- Custom description on your ip.
- domain String
- expiration date
- order
Detail NumberId - order detail id
- quantity String
- quantity
IpServicePlan, IpServicePlanArgs
- Duration string
- duration
- Plan
Code string - Plan code
- Pricing
Mode string - Pricing model identifier
- Catalog
Name string - Catalog name
- Configurations
List<Ip
Service 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
[]Ip
Service 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<Service
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
Ip
Service 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[ip.
Ip Service 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
IpServicePlanConfiguration, IpServicePlanConfigurationArgs
IpServicePlanOption, IpServicePlanOptionArgs
- Duration string
- duration
- Plan
Code string - Plan code
- Pricing
Mode string - Pricing model identifier
- Catalog
Name string - Catalog name
- Configurations
List<Ip
Service 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
[]Ip
Service 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<Service
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
Ip
Service 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[ip.
Ip Service 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
IpServicePlanOptionConfiguration, IpServicePlanOptionConfigurationArgs
IpServiceRoutedTo, IpServiceRoutedToArgs
- Service
Name string - service name
- Service
Name string - service name
- service
Name String - service name
- service
Name string - service name
- service_
name str - service name
- service
Name String - service name
Import
The resource can be imported using its service_name
, E.g.,
hcl
import {
to = ovh_ip_service.ipblock
id = “ip-xx.xx.xx.xx”
}
bash
$ pulumi preview -generate-config-out=ipblock.tf
$ pulumi up
The file ipblock.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.