ovh.Domain.Zone
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 zoneCartProductPlan = mycart.then(mycart => ovh.Order.getCartProductPlan({
cartId: mycart.id,
priceCapacity: "renew",
product: "dns",
planCode: "zone",
}));
const zoneZone = new ovh.domain.Zone("zoneZone", {
ovhSubsidiary: mycart.then(mycart => mycart.ovhSubsidiary),
plan: {
duration: zoneCartProductPlan.then(zoneCartProductPlan => zoneCartProductPlan.selectedPrices?.[0]?.duration),
planCode: zoneCartProductPlan.then(zoneCartProductPlan => zoneCartProductPlan.planCode),
pricingMode: zoneCartProductPlan.then(zoneCartProductPlan => zoneCartProductPlan.selectedPrices?.[0]?.pricingMode),
configurations: [
{
label: "zone",
value: "myzone.mydomain.com",
},
{
label: "template",
value: "minimized",
},
],
},
});
import pulumi
import pulumi_ovh as ovh
myaccount = ovh.Me.get_me()
mycart = ovh.Order.get_cart(ovh_subsidiary=myaccount.ovh_subsidiary)
zone_cart_product_plan = ovh.Order.get_cart_product_plan(cart_id=mycart.id,
price_capacity="renew",
product="dns",
plan_code="zone")
zone_zone = ovh.domain.Zone("zoneZone",
ovh_subsidiary=mycart.ovh_subsidiary,
plan={
"duration": zone_cart_product_plan.selected_prices[0].duration,
"plan_code": zone_cart_product_plan.plan_code,
"pricing_mode": zone_cart_product_plan.selected_prices[0].pricing_mode,
"configurations": [
{
"label": "zone",
"value": "myzone.mydomain.com",
},
{
"label": "template",
"value": "minimized",
},
],
})
package main
import (
"github.com/ovh/pulumi-ovh/sdk/go/ovh/Domain"
"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 {
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
}
zoneCartProductPlan, err := Order.GetCartProductPlan(ctx, &order.GetCartProductPlanArgs{
CartId: mycart.Id,
PriceCapacity: "renew",
Product: "dns",
PlanCode: "zone",
}, nil)
if err != nil {
return err
}
_, err = Domain.NewZone(ctx, "zoneZone", &Domain.ZoneArgs{
OvhSubsidiary: pulumi.String(mycart.OvhSubsidiary),
Plan: &domain.ZonePlanArgs{
Duration: pulumi.String(zoneCartProductPlan.SelectedPrices[0].Duration),
PlanCode: pulumi.String(zoneCartProductPlan.PlanCode),
PricingMode: pulumi.String(zoneCartProductPlan.SelectedPrices[0].PricingMode),
Configurations: domain.ZonePlanConfigurationArray{
&domain.ZonePlanConfigurationArgs{
Label: pulumi.String("zone"),
Value: pulumi.String("myzone.mydomain.com"),
},
&domain.ZonePlanConfigurationArgs{
Label: pulumi.String("template"),
Value: pulumi.String("minimized"),
},
},
},
})
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 zoneCartProductPlan = Ovh.Order.GetCartProductPlan.Invoke(new()
{
CartId = mycart.Apply(getCartResult => getCartResult.Id),
PriceCapacity = "renew",
Product = "dns",
PlanCode = "zone",
});
var zoneZone = new Ovh.Domain.Zone("zoneZone", new()
{
OvhSubsidiary = mycart.Apply(getCartResult => getCartResult.OvhSubsidiary),
Plan = new Ovh.Domain.Inputs.ZonePlanArgs
{
Duration = zoneCartProductPlan.Apply(getCartProductPlanResult => getCartProductPlanResult.SelectedPrices[0]?.Duration),
PlanCode = zoneCartProductPlan.Apply(getCartProductPlanResult => getCartProductPlanResult.PlanCode),
PricingMode = zoneCartProductPlan.Apply(getCartProductPlanResult => getCartProductPlanResult.SelectedPrices[0]?.PricingMode),
Configurations = new[]
{
new Ovh.Domain.Inputs.ZonePlanConfigurationArgs
{
Label = "zone",
Value = "myzone.mydomain.com",
},
new Ovh.Domain.Inputs.ZonePlanConfigurationArgs
{
Label = "template",
Value = "minimized",
},
},
},
});
});
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.Domain.Zone;
import com.pulumi.ovh.Domain.ZoneArgs;
import com.pulumi.ovh.Domain.inputs.ZonePlanArgs;
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 zoneCartProductPlan = OrderFunctions.getCartProductPlan(GetCartProductPlanArgs.builder()
.cartId(mycart.applyValue(getCartResult -> getCartResult.id()))
.priceCapacity("renew")
.product("dns")
.planCode("zone")
.build());
var zoneZone = new Zone("zoneZone", ZoneArgs.builder()
.ovhSubsidiary(mycart.applyValue(getCartResult -> getCartResult.ovhSubsidiary()))
.plan(ZonePlanArgs.builder()
.duration(zoneCartProductPlan.applyValue(getCartProductPlanResult -> getCartProductPlanResult.selectedPrices()[0].duration()))
.planCode(zoneCartProductPlan.applyValue(getCartProductPlanResult -> getCartProductPlanResult.planCode()))
.pricingMode(zoneCartProductPlan.applyValue(getCartProductPlanResult -> getCartProductPlanResult.selectedPrices()[0].pricingMode()))
.configurations(
ZonePlanConfigurationArgs.builder()
.label("zone")
.value("myzone.mydomain.com")
.build(),
ZonePlanConfigurationArgs.builder()
.label("template")
.value("minimized")
.build())
.build())
.build());
}
}
resources:
zoneZone:
type: ovh:Domain:Zone
properties:
ovhSubsidiary: ${mycart.ovhSubsidiary}
plan:
duration: ${zoneCartProductPlan.selectedPrices[0].duration}
planCode: ${zoneCartProductPlan.planCode}
pricingMode: ${zoneCartProductPlan.selectedPrices[0].pricingMode}
configurations:
- label: zone
value: myzone.mydomain.com
- label: template
value: minimized
variables:
myaccount:
fn::invoke:
Function: ovh:Me:getMe
Arguments: {}
mycart:
fn::invoke:
Function: ovh:Order:getCart
Arguments:
ovhSubsidiary: ${myaccount.ovhSubsidiary}
zoneCartProductPlan:
fn::invoke:
Function: ovh:Order:getCartProductPlan
Arguments:
cartId: ${mycart.id}
priceCapacity: renew
product: dns
planCode: zone
Create Zone Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Zone(name: string, args?: ZoneArgs, opts?: CustomResourceOptions);
@overload
def Zone(resource_name: str,
args: Optional[ZoneArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Zone(resource_name: str,
opts: Optional[ResourceOptions] = None,
orders: Optional[Sequence[_domain.ZoneOrderArgs]] = None,
ovh_subsidiary: Optional[str] = None,
payment_mean: Optional[str] = None,
plan: Optional[_domain.ZonePlanArgs] = None,
plan_options: Optional[Sequence[_domain.ZonePlanOptionArgs]] = None)
func NewZone(ctx *Context, name string, args *ZoneArgs, opts ...ResourceOption) (*Zone, error)
public Zone(string name, ZoneArgs? args = null, CustomResourceOptions? opts = null)
type: ovh:Domain:Zone
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 ZoneArgs
- 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 ZoneArgs
- 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 ZoneArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ZoneArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ZoneArgs
- 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 zoneResource = new Ovh.Domain.Zone("zoneResource", new()
{
Orders = new[]
{
new Ovh.Domain.Inputs.ZoneOrderArgs
{
Date = "string",
Details = new[]
{
new Ovh.Domain.Inputs.ZoneOrderDetailArgs
{
Description = "string",
Domain = "string",
OrderDetailId = 0,
Quantity = "string",
},
},
ExpirationDate = "string",
OrderId = 0,
},
},
OvhSubsidiary = "string",
Plan = new Ovh.Domain.Inputs.ZonePlanArgs
{
Duration = "string",
PlanCode = "string",
PricingMode = "string",
CatalogName = "string",
Configurations = new[]
{
new Ovh.Domain.Inputs.ZonePlanConfigurationArgs
{
Label = "string",
Value = "string",
},
},
},
PlanOptions = new[]
{
new Ovh.Domain.Inputs.ZonePlanOptionArgs
{
Duration = "string",
PlanCode = "string",
PricingMode = "string",
CatalogName = "string",
Configurations = new[]
{
new Ovh.Domain.Inputs.ZonePlanOptionConfigurationArgs
{
Label = "string",
Value = "string",
},
},
},
},
});
example, err := Domain.NewZone(ctx, "zoneResource", &Domain.ZoneArgs{
Orders: domain.ZoneOrderArray{
&domain.ZoneOrderArgs{
Date: pulumi.String("string"),
Details: domain.ZoneOrderDetailArray{
&domain.ZoneOrderDetailArgs{
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: &domain.ZonePlanArgs{
Duration: pulumi.String("string"),
PlanCode: pulumi.String("string"),
PricingMode: pulumi.String("string"),
CatalogName: pulumi.String("string"),
Configurations: domain.ZonePlanConfigurationArray{
&domain.ZonePlanConfigurationArgs{
Label: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
PlanOptions: domain.ZonePlanOptionArray{
&domain.ZonePlanOptionArgs{
Duration: pulumi.String("string"),
PlanCode: pulumi.String("string"),
PricingMode: pulumi.String("string"),
CatalogName: pulumi.String("string"),
Configurations: domain.ZonePlanOptionConfigurationArray{
&domain.ZonePlanOptionConfigurationArgs{
Label: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
},
})
var zoneResource = new Zone("zoneResource", ZoneArgs.builder()
.orders(ZoneOrderArgs.builder()
.date("string")
.details(ZoneOrderDetailArgs.builder()
.description("string")
.domain("string")
.orderDetailId(0)
.quantity("string")
.build())
.expirationDate("string")
.orderId(0)
.build())
.ovhSubsidiary("string")
.plan(ZonePlanArgs.builder()
.duration("string")
.planCode("string")
.pricingMode("string")
.catalogName("string")
.configurations(ZonePlanConfigurationArgs.builder()
.label("string")
.value("string")
.build())
.build())
.planOptions(ZonePlanOptionArgs.builder()
.duration("string")
.planCode("string")
.pricingMode("string")
.catalogName("string")
.configurations(ZonePlanOptionConfigurationArgs.builder()
.label("string")
.value("string")
.build())
.build())
.build());
zone_resource = ovh.domain.Zone("zoneResource",
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 zoneResource = new ovh.domain.Zone("zoneResource", {
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:Domain:Zone
properties:
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
Zone 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 Zone resource accepts the following input properties:
- Orders
List<Zone
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
Zone
Plan - Product Plan to order
- Plan
Options List<ZonePlan Option> - Product Plan to order
- Orders
[]Zone
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
Zone
Plan Args - Product Plan to order
- Plan
Options []ZonePlan Option Args - Product Plan to order
- orders
List<Zone
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
Zone
Plan - Product Plan to order
- plan
Options List<ZonePlan Option> - Product Plan to order
- orders
Zone
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
Zone
Plan - Product Plan to order
- plan
Options ZonePlan Option[] - Product Plan to order
- orders
Sequence[domain.
Zone 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
domain.
Zone Plan Args - Product Plan to order
- plan_
options Sequence[domain.Zone Plan Option Args] - Product Plan to order
- 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 Zone resource produces the following output properties:
- Dnssec
Supported bool - Is DNSSEC supported by this zone
- Has
Dns boolAnycast - hasDnsAnycast flag of the DNS zone
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Update string - Last update date of the DNS zone
- Name string
- Zone name
- Name
Servers List<string> - Name servers that host the DNS zone
- Zone
URN string
- Dnssec
Supported bool - Is DNSSEC supported by this zone
- Has
Dns boolAnycast - hasDnsAnycast flag of the DNS zone
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Update string - Last update date of the DNS zone
- Name string
- Zone name
- Name
Servers []string - Name servers that host the DNS zone
- Zone
URN string
- Zone
URN String - dnssec
Supported Boolean - Is DNSSEC supported by this zone
- has
Dns BooleanAnycast - hasDnsAnycast flag of the DNS zone
- id String
- The provider-assigned unique ID for this managed resource.
- last
Update String - Last update date of the DNS zone
- name String
- Zone name
- name
Servers List<String> - Name servers that host the DNS zone
- Zone
URN string - dnssec
Supported boolean - Is DNSSEC supported by this zone
- has
Dns booleanAnycast - hasDnsAnycast flag of the DNS zone
- id string
- The provider-assigned unique ID for this managed resource.
- last
Update string - Last update date of the DNS zone
- name string
- Zone name
- name
Servers string[] - Name servers that host the DNS zone
- dnssec_
supported bool - Is DNSSEC supported by this zone
- has_
dns_ boolanycast - hasDnsAnycast flag of the DNS zone
- id str
- The provider-assigned unique ID for this managed resource.
- last_
update str - Last update date of the DNS zone
- name str
- Zone name
- name_
servers Sequence[str] - Name servers that host the DNS zone
- zone_
urn str
- Zone
URN String - dnssec
Supported Boolean - Is DNSSEC supported by this zone
- has
Dns BooleanAnycast - hasDnsAnycast flag of the DNS zone
- id String
- The provider-assigned unique ID for this managed resource.
- last
Update String - Last update date of the DNS zone
- name String
- Zone name
- name
Servers List<String> - Name servers that host the DNS zone
Look up Existing Zone Resource
Get an existing Zone 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?: ZoneState, opts?: CustomResourceOptions): Zone
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
zone_urn: Optional[str] = None,
dnssec_supported: Optional[bool] = None,
has_dns_anycast: Optional[bool] = None,
last_update: Optional[str] = None,
name: Optional[str] = None,
name_servers: Optional[Sequence[str]] = None,
orders: Optional[Sequence[_domain.ZoneOrderArgs]] = None,
ovh_subsidiary: Optional[str] = None,
payment_mean: Optional[str] = None,
plan: Optional[_domain.ZonePlanArgs] = None,
plan_options: Optional[Sequence[_domain.ZonePlanOptionArgs]] = None) -> Zone
func GetZone(ctx *Context, name string, id IDInput, state *ZoneState, opts ...ResourceOption) (*Zone, error)
public static Zone Get(string name, Input<string> id, ZoneState? state, CustomResourceOptions? opts = null)
public static Zone get(String name, Output<String> id, ZoneState 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.
- Dnssec
Supported bool - Is DNSSEC supported by this zone
- Has
Dns boolAnycast - hasDnsAnycast flag of the DNS zone
- Last
Update string - Last update date of the DNS zone
- Name string
- Zone name
- Name
Servers List<string> - Name servers that host the DNS zone
- Orders
List<Zone
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
Zone
Plan - Product Plan to order
- Plan
Options List<ZonePlan Option> - Product Plan to order
- Zone
URN string
- Dnssec
Supported bool - Is DNSSEC supported by this zone
- Has
Dns boolAnycast - hasDnsAnycast flag of the DNS zone
- Last
Update string - Last update date of the DNS zone
- Name string
- Zone name
- Name
Servers []string - Name servers that host the DNS zone
- Orders
[]Zone
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
Zone
Plan Args - Product Plan to order
- Plan
Options []ZonePlan Option Args - Product Plan to order
- Zone
URN string
- Zone
URN String - dnssec
Supported Boolean - Is DNSSEC supported by this zone
- has
Dns BooleanAnycast - hasDnsAnycast flag of the DNS zone
- last
Update String - Last update date of the DNS zone
- name String
- Zone name
- name
Servers List<String> - Name servers that host the DNS zone
- orders
List<Zone
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
Zone
Plan - Product Plan to order
- plan
Options List<ZonePlan Option> - Product Plan to order
- Zone
URN string - dnssec
Supported boolean - Is DNSSEC supported by this zone
- has
Dns booleanAnycast - hasDnsAnycast flag of the DNS zone
- last
Update string - Last update date of the DNS zone
- name string
- Zone name
- name
Servers string[] - Name servers that host the DNS zone
- orders
Zone
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
Zone
Plan - Product Plan to order
- plan
Options ZonePlan Option[] - Product Plan to order
- dnssec_
supported bool - Is DNSSEC supported by this zone
- has_
dns_ boolanycast - hasDnsAnycast flag of the DNS zone
- last_
update str - Last update date of the DNS zone
- name str
- Zone name
- name_
servers Sequence[str] - Name servers that host the DNS zone
- orders
Sequence[domain.
Zone 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
domain.
Zone Plan Args - Product Plan to order
- plan_
options Sequence[domain.Zone Plan Option Args] - Product Plan to order
- zone_
urn str
- Zone
URN String - dnssec
Supported Boolean - Is DNSSEC supported by this zone
- has
Dns BooleanAnycast - hasDnsAnycast flag of the DNS zone
- last
Update String - Last update date of the DNS zone
- name String
- Zone name
- name
Servers List<String> - Name servers that host the DNS zone
- 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
Supporting Types
ZoneOrder, ZoneOrderArgs
- Date string
- date
- Details
List<Zone
Order Detail> - Information about a Bill entry
- Expiration
Date string - expiration date
- Order
Id int - order id
- Date string
- date
- Details
[]Zone
Order Detail - Information about a Bill entry
- Expiration
Date string - expiration date
- Order
Id int - order id
- date String
- date
- details
List<Zone
Order Detail> - Information about a Bill entry
- expiration
Date String - expiration date
- order
Id Integer - order id
- date string
- date
- details
Zone
Order Detail[] - Information about a Bill entry
- expiration
Date string - expiration date
- order
Id number - order id
- date str
- date
- details
Sequence[domain.
Zone 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
ZoneOrderDetail, ZoneOrderDetailArgs
- Description string
- description
- Domain string
- expiration date
- Order
Detail intId - order detail id
- Quantity string
- quantity
- Description string
- description
- Domain string
- expiration date
- Order
Detail intId - order detail id
- Quantity string
- quantity
- description String
- description
- domain String
- expiration date
- order
Detail IntegerId - order detail id
- quantity String
- quantity
- description string
- description
- domain string
- expiration date
- order
Detail numberId - order detail id
- quantity string
- quantity
- description str
- description
- domain str
- expiration date
- order_
detail_ intid - order detail id
- quantity str
- quantity
- description String
- description
- domain String
- expiration date
- order
Detail NumberId - order detail id
- quantity String
- quantity
ZonePlan, ZonePlanArgs
- Duration string
- duration
- Plan
Code string - Plan code
- Pricing
Mode string - Pricing model identifier
- Catalog
Name string - Catalog name
- Configurations
List<Zone
Plan Configuration> - Representation of a configuration item for personalizing product. 2 configurations are required : one for
zone
and one fortemplate
- Duration string
- duration
- Plan
Code string - Plan code
- Pricing
Mode string - Pricing model identifier
- Catalog
Name string - Catalog name
- Configurations
[]Zone
Plan Configuration - Representation of a configuration item for personalizing product. 2 configurations are required : one for
zone
and one fortemplate
- duration String
- duration
- plan
Code String - Plan code
- pricing
Mode String - Pricing model identifier
- catalog
Name String - Catalog name
- configurations
List<Zone
Plan Configuration> - Representation of a configuration item for personalizing product. 2 configurations are required : one for
zone
and one fortemplate
- duration string
- duration
- plan
Code string - Plan code
- pricing
Mode string - Pricing model identifier
- catalog
Name string - Catalog name
- configurations
Zone
Plan Configuration[] - Representation of a configuration item for personalizing product. 2 configurations are required : one for
zone
and one fortemplate
- duration str
- duration
- plan_
code str - Plan code
- pricing_
mode str - Pricing model identifier
- catalog_
name str - Catalog name
- configurations
Sequence[domain.
Zone Plan Configuration] - Representation of a configuration item for personalizing product. 2 configurations are required : one for
zone
and one fortemplate
- 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. 2 configurations are required : one for
zone
and one fortemplate
ZonePlanConfiguration, ZonePlanConfigurationArgs
ZonePlanOption, ZonePlanOptionArgs
- Duration string
- duration
- Plan
Code string - Plan code
- Pricing
Mode string - Pricing model identifier
- Catalog
Name string - Catalog name
- Configurations
List<Zone
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
[]Zone
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<Zone
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
Zone
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[domain.
Zone 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
ZonePlanOptionConfiguration, ZonePlanOptionConfigurationArgs
Import
Zone can be imported using its name
.
Using the following configuration:
hcl
import {
to = ovh_domain_zone.zone
id = “
}
You can then run:
bash
$ pulumi preview -generate-config-out=zone.tf
$ pulumi up
The file zone.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.