domain

package
v0.43.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LookupZoneArgs

type LookupZoneArgs struct {
	// The name of the domain zone.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getZone.

type LookupZoneDNSSecArgs added in v0.42.0

type LookupZoneDNSSecArgs struct {
	// The name of the domain zone
	ZoneName string `pulumi:"zoneName"`
}

A collection of arguments for invoking getZoneDNSSec.

type LookupZoneDNSSecOutputArgs added in v0.42.0

type LookupZoneDNSSecOutputArgs struct {
	// The name of the domain zone
	ZoneName pulumi.StringInput `pulumi:"zoneName"`
}

A collection of arguments for invoking getZoneDNSSec.

func (LookupZoneDNSSecOutputArgs) ElementType added in v0.42.0

func (LookupZoneDNSSecOutputArgs) ElementType() reflect.Type

type LookupZoneDNSSecResult added in v0.42.0

type LookupZoneDNSSecResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// DNSSEC status (`disableInProgress`, `disabled`, `enableInProgress` or `enabled`)
	Status   string `pulumi:"status"`
	ZoneName string `pulumi:"zoneName"`
}

A collection of values returned by getZoneDNSSec.

func LookupZoneDNSSec added in v0.42.0

func LookupZoneDNSSec(ctx *pulumi.Context, args *LookupZoneDNSSecArgs, opts ...pulumi.InvokeOption) (*LookupZoneDNSSecResult, error)

Use this data source to retrieve information about a domain zone DNSSEC status.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/ovh/pulumi-ovh/sdk/go/ovh/Domain"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Domain.GetZoneDNSSec(ctx, &domain.GetZoneDNSSecArgs{
			ZoneName: "mysite.ovh",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupZoneDNSSecResultOutput added in v0.42.0

type LookupZoneDNSSecResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getZoneDNSSec.

func LookupZoneDNSSecOutput added in v0.42.0

func (LookupZoneDNSSecResultOutput) ElementType added in v0.42.0

func (LookupZoneDNSSecResultOutput) Id added in v0.42.0

The provider-assigned unique ID for this managed resource.

func (LookupZoneDNSSecResultOutput) Status added in v0.42.0

DNSSEC status (`disableInProgress`, `disabled`, `enableInProgress` or `enabled`)

func (LookupZoneDNSSecResultOutput) ToLookupZoneDNSSecResultOutput added in v0.42.0

func (o LookupZoneDNSSecResultOutput) ToLookupZoneDNSSecResultOutput() LookupZoneDNSSecResultOutput

func (LookupZoneDNSSecResultOutput) ToLookupZoneDNSSecResultOutputWithContext added in v0.42.0

func (o LookupZoneDNSSecResultOutput) ToLookupZoneDNSSecResultOutputWithContext(ctx context.Context) LookupZoneDNSSecResultOutput

func (LookupZoneDNSSecResultOutput) ZoneName added in v0.42.0

type LookupZoneOutputArgs

type LookupZoneOutputArgs struct {
	// The name of the domain zone.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getZone.

func (LookupZoneOutputArgs) ElementType

func (LookupZoneOutputArgs) ElementType() reflect.Type

type LookupZoneResult

type LookupZoneResult struct {
	// URN of the DNS zone
	ZoneURN string `pulumi:"ZoneURN"`
	// Is DNSSEC supported by this zone
	DnssecSupported bool `pulumi:"dnssecSupported"`
	// hasDnsAnycast flag of the DNS zone
	HasDnsAnycast bool `pulumi:"hasDnsAnycast"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Last update date of the DNS zone
	LastUpdate string `pulumi:"lastUpdate"`
	Name       string `pulumi:"name"`
	// Name servers that host the DNS zone
	NameServers []string `pulumi:"nameServers"`
}

A collection of values returned by getZone.

func LookupZone

func LookupZone(ctx *pulumi.Context, args *LookupZoneArgs, opts ...pulumi.InvokeOption) (*LookupZoneResult, error)

Use this data source to retrieve information about a domain zone.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/ovh/pulumi-ovh/sdk/go/ovh/Domain"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Domain.GetZone(ctx, &domain.GetZoneArgs{
			Name: "mysite.ovh",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupZoneResultOutput

type LookupZoneResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getZone.

func (LookupZoneResultOutput) DnssecSupported

func (o LookupZoneResultOutput) DnssecSupported() pulumi.BoolOutput

Is DNSSEC supported by this zone

func (LookupZoneResultOutput) ElementType

func (LookupZoneResultOutput) ElementType() reflect.Type

func (LookupZoneResultOutput) HasDnsAnycast

func (o LookupZoneResultOutput) HasDnsAnycast() pulumi.BoolOutput

hasDnsAnycast flag of the DNS zone

func (LookupZoneResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupZoneResultOutput) LastUpdate

Last update date of the DNS zone

func (LookupZoneResultOutput) Name

func (LookupZoneResultOutput) NameServers

Name servers that host the DNS zone

func (LookupZoneResultOutput) ToLookupZoneResultOutput

func (o LookupZoneResultOutput) ToLookupZoneResultOutput() LookupZoneResultOutput

func (LookupZoneResultOutput) ToLookupZoneResultOutputWithContext

func (o LookupZoneResultOutput) ToLookupZoneResultOutputWithContext(ctx context.Context) LookupZoneResultOutput

func (LookupZoneResultOutput) ZoneURN added in v0.34.3

URN of the DNS zone

type Zone

type Zone struct {
	pulumi.CustomResourceState

	ZoneURN pulumi.StringOutput `pulumi:"ZoneURN"`
	// Is DNSSEC supported by this zone
	DnssecSupported pulumi.BoolOutput `pulumi:"dnssecSupported"`
	// hasDnsAnycast flag of the DNS zone
	HasDnsAnycast pulumi.BoolOutput `pulumi:"hasDnsAnycast"`
	// Last update date of the DNS zone
	LastUpdate pulumi.StringOutput `pulumi:"lastUpdate"`
	// Zone name
	Name pulumi.StringOutput `pulumi:"name"`
	// Name servers that host the DNS zone
	NameServers pulumi.StringArrayOutput `pulumi:"nameServers"`
	// Details about an Order
	Orders ZoneOrderArrayOutput `pulumi:"orders"`
	// 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`](https://eu.api.ovh.com/1.0/me.json)
	OvhSubsidiary pulumi.StringOutput `pulumi:"ovhSubsidiary"`
	// 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.
	PaymentMean pulumi.StringPtrOutput `pulumi:"paymentMean"`
	// Product Plan to order
	Plan ZonePlanOutput `pulumi:"plan"`
	// Product Plan to order
	PlanOptions ZonePlanOptionArrayOutput `pulumi:"planOptions"`
}

## Example Usage

<!--Start PulumiCodeChooser --> ```go 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, nil, 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
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Zone can be imported using the `order_id` that can be retrieved in the [order page](https://www.ovh.com/manager/#/dedicated/billing/orders/orders) at the creation time of the zone.

bash

```sh $ pulumi import ovh:Domain/zone:Zone zone order_id ```

func GetZone

func GetZone(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ZoneState, opts ...pulumi.ResourceOption) (*Zone, error)

GetZone gets an existing Zone resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewZone

func NewZone(ctx *pulumi.Context,
	name string, args *ZoneArgs, opts ...pulumi.ResourceOption) (*Zone, error)

NewZone registers a new resource with the given unique name, arguments, and options.

func (*Zone) ElementType

func (*Zone) ElementType() reflect.Type

func (*Zone) ToZoneOutput

func (i *Zone) ToZoneOutput() ZoneOutput

func (*Zone) ToZoneOutputWithContext

func (i *Zone) ToZoneOutputWithContext(ctx context.Context) ZoneOutput

type ZoneArgs

type ZoneArgs struct {
	// 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`](https://eu.api.ovh.com/1.0/me.json)
	OvhSubsidiary pulumi.StringInput
	// 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.
	PaymentMean pulumi.StringPtrInput
	// Product Plan to order
	Plan ZonePlanInput
	// Product Plan to order
	PlanOptions ZonePlanOptionArrayInput
}

The set of arguments for constructing a Zone resource.

func (ZoneArgs) ElementType

func (ZoneArgs) ElementType() reflect.Type

type ZoneArray

type ZoneArray []ZoneInput

func (ZoneArray) ElementType

func (ZoneArray) ElementType() reflect.Type

func (ZoneArray) ToZoneArrayOutput

func (i ZoneArray) ToZoneArrayOutput() ZoneArrayOutput

func (ZoneArray) ToZoneArrayOutputWithContext

func (i ZoneArray) ToZoneArrayOutputWithContext(ctx context.Context) ZoneArrayOutput

type ZoneArrayInput

type ZoneArrayInput interface {
	pulumi.Input

	ToZoneArrayOutput() ZoneArrayOutput
	ToZoneArrayOutputWithContext(context.Context) ZoneArrayOutput
}

ZoneArrayInput is an input type that accepts ZoneArray and ZoneArrayOutput values. You can construct a concrete instance of `ZoneArrayInput` via:

ZoneArray{ ZoneArgs{...} }

type ZoneArrayOutput

type ZoneArrayOutput struct{ *pulumi.OutputState }

func (ZoneArrayOutput) ElementType

func (ZoneArrayOutput) ElementType() reflect.Type

func (ZoneArrayOutput) Index

func (ZoneArrayOutput) ToZoneArrayOutput

func (o ZoneArrayOutput) ToZoneArrayOutput() ZoneArrayOutput

func (ZoneArrayOutput) ToZoneArrayOutputWithContext

func (o ZoneArrayOutput) ToZoneArrayOutputWithContext(ctx context.Context) ZoneArrayOutput

type ZoneDNSSec added in v0.42.0

type ZoneDNSSec struct {
	pulumi.CustomResourceState

	// DNSSEC status (`disableInProgress`, `disabled`, `enableInProgress` or `enabled`)
	Status pulumi.StringOutput `pulumi:"status"`
	// The name of the domain zone
	ZoneName pulumi.StringOutput `pulumi:"zoneName"`
}

Enable / disable DNSSEC on a domain zone.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/ovh/pulumi-ovh/sdk/go/ovh/Domain"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Domain.NewZoneDNSSec(ctx, "dnssec", &Domain.ZoneDNSSecArgs{
			ZoneName: pulumi.String("mysite.ovh"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

func GetZoneDNSSec added in v0.42.0

func GetZoneDNSSec(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ZoneDNSSecState, opts ...pulumi.ResourceOption) (*ZoneDNSSec, error)

GetZoneDNSSec gets an existing ZoneDNSSec resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewZoneDNSSec added in v0.42.0

func NewZoneDNSSec(ctx *pulumi.Context,
	name string, args *ZoneDNSSecArgs, opts ...pulumi.ResourceOption) (*ZoneDNSSec, error)

NewZoneDNSSec registers a new resource with the given unique name, arguments, and options.

func (*ZoneDNSSec) ElementType added in v0.42.0

func (*ZoneDNSSec) ElementType() reflect.Type

func (*ZoneDNSSec) ToZoneDNSSecOutput added in v0.42.0

func (i *ZoneDNSSec) ToZoneDNSSecOutput() ZoneDNSSecOutput

func (*ZoneDNSSec) ToZoneDNSSecOutputWithContext added in v0.42.0

func (i *ZoneDNSSec) ToZoneDNSSecOutputWithContext(ctx context.Context) ZoneDNSSecOutput

type ZoneDNSSecArgs added in v0.42.0

type ZoneDNSSecArgs struct {
	// The name of the domain zone
	ZoneName pulumi.StringInput
}

The set of arguments for constructing a ZoneDNSSec resource.

func (ZoneDNSSecArgs) ElementType added in v0.42.0

func (ZoneDNSSecArgs) ElementType() reflect.Type

type ZoneDNSSecArray added in v0.42.0

type ZoneDNSSecArray []ZoneDNSSecInput

func (ZoneDNSSecArray) ElementType added in v0.42.0

func (ZoneDNSSecArray) ElementType() reflect.Type

func (ZoneDNSSecArray) ToZoneDNSSecArrayOutput added in v0.42.0

func (i ZoneDNSSecArray) ToZoneDNSSecArrayOutput() ZoneDNSSecArrayOutput

func (ZoneDNSSecArray) ToZoneDNSSecArrayOutputWithContext added in v0.42.0

func (i ZoneDNSSecArray) ToZoneDNSSecArrayOutputWithContext(ctx context.Context) ZoneDNSSecArrayOutput

type ZoneDNSSecArrayInput added in v0.42.0

type ZoneDNSSecArrayInput interface {
	pulumi.Input

	ToZoneDNSSecArrayOutput() ZoneDNSSecArrayOutput
	ToZoneDNSSecArrayOutputWithContext(context.Context) ZoneDNSSecArrayOutput
}

ZoneDNSSecArrayInput is an input type that accepts ZoneDNSSecArray and ZoneDNSSecArrayOutput values. You can construct a concrete instance of `ZoneDNSSecArrayInput` via:

ZoneDNSSecArray{ ZoneDNSSecArgs{...} }

type ZoneDNSSecArrayOutput added in v0.42.0

type ZoneDNSSecArrayOutput struct{ *pulumi.OutputState }

func (ZoneDNSSecArrayOutput) ElementType added in v0.42.0

func (ZoneDNSSecArrayOutput) ElementType() reflect.Type

func (ZoneDNSSecArrayOutput) Index added in v0.42.0

func (ZoneDNSSecArrayOutput) ToZoneDNSSecArrayOutput added in v0.42.0

func (o ZoneDNSSecArrayOutput) ToZoneDNSSecArrayOutput() ZoneDNSSecArrayOutput

func (ZoneDNSSecArrayOutput) ToZoneDNSSecArrayOutputWithContext added in v0.42.0

func (o ZoneDNSSecArrayOutput) ToZoneDNSSecArrayOutputWithContext(ctx context.Context) ZoneDNSSecArrayOutput

type ZoneDNSSecInput added in v0.42.0

type ZoneDNSSecInput interface {
	pulumi.Input

	ToZoneDNSSecOutput() ZoneDNSSecOutput
	ToZoneDNSSecOutputWithContext(ctx context.Context) ZoneDNSSecOutput
}

type ZoneDNSSecMap added in v0.42.0

type ZoneDNSSecMap map[string]ZoneDNSSecInput

func (ZoneDNSSecMap) ElementType added in v0.42.0

func (ZoneDNSSecMap) ElementType() reflect.Type

func (ZoneDNSSecMap) ToZoneDNSSecMapOutput added in v0.42.0

func (i ZoneDNSSecMap) ToZoneDNSSecMapOutput() ZoneDNSSecMapOutput

func (ZoneDNSSecMap) ToZoneDNSSecMapOutputWithContext added in v0.42.0

func (i ZoneDNSSecMap) ToZoneDNSSecMapOutputWithContext(ctx context.Context) ZoneDNSSecMapOutput

type ZoneDNSSecMapInput added in v0.42.0

type ZoneDNSSecMapInput interface {
	pulumi.Input

	ToZoneDNSSecMapOutput() ZoneDNSSecMapOutput
	ToZoneDNSSecMapOutputWithContext(context.Context) ZoneDNSSecMapOutput
}

ZoneDNSSecMapInput is an input type that accepts ZoneDNSSecMap and ZoneDNSSecMapOutput values. You can construct a concrete instance of `ZoneDNSSecMapInput` via:

ZoneDNSSecMap{ "key": ZoneDNSSecArgs{...} }

type ZoneDNSSecMapOutput added in v0.42.0

type ZoneDNSSecMapOutput struct{ *pulumi.OutputState }

func (ZoneDNSSecMapOutput) ElementType added in v0.42.0

func (ZoneDNSSecMapOutput) ElementType() reflect.Type

func (ZoneDNSSecMapOutput) MapIndex added in v0.42.0

func (ZoneDNSSecMapOutput) ToZoneDNSSecMapOutput added in v0.42.0

func (o ZoneDNSSecMapOutput) ToZoneDNSSecMapOutput() ZoneDNSSecMapOutput

func (ZoneDNSSecMapOutput) ToZoneDNSSecMapOutputWithContext added in v0.42.0

func (o ZoneDNSSecMapOutput) ToZoneDNSSecMapOutputWithContext(ctx context.Context) ZoneDNSSecMapOutput

type ZoneDNSSecOutput added in v0.42.0

type ZoneDNSSecOutput struct{ *pulumi.OutputState }

func (ZoneDNSSecOutput) ElementType added in v0.42.0

func (ZoneDNSSecOutput) ElementType() reflect.Type

func (ZoneDNSSecOutput) Status added in v0.42.0

DNSSEC status (`disableInProgress`, `disabled`, `enableInProgress` or `enabled`)

func (ZoneDNSSecOutput) ToZoneDNSSecOutput added in v0.42.0

func (o ZoneDNSSecOutput) ToZoneDNSSecOutput() ZoneDNSSecOutput

func (ZoneDNSSecOutput) ToZoneDNSSecOutputWithContext added in v0.42.0

func (o ZoneDNSSecOutput) ToZoneDNSSecOutputWithContext(ctx context.Context) ZoneDNSSecOutput

func (ZoneDNSSecOutput) ZoneName added in v0.42.0

func (o ZoneDNSSecOutput) ZoneName() pulumi.StringOutput

The name of the domain zone

type ZoneDNSSecState added in v0.42.0

type ZoneDNSSecState struct {
	// DNSSEC status (`disableInProgress`, `disabled`, `enableInProgress` or `enabled`)
	Status pulumi.StringPtrInput
	// The name of the domain zone
	ZoneName pulumi.StringPtrInput
}

func (ZoneDNSSecState) ElementType added in v0.42.0

func (ZoneDNSSecState) ElementType() reflect.Type

type ZoneInput

type ZoneInput interface {
	pulumi.Input

	ToZoneOutput() ZoneOutput
	ToZoneOutputWithContext(ctx context.Context) ZoneOutput
}

type ZoneMap

type ZoneMap map[string]ZoneInput

func (ZoneMap) ElementType

func (ZoneMap) ElementType() reflect.Type

func (ZoneMap) ToZoneMapOutput

func (i ZoneMap) ToZoneMapOutput() ZoneMapOutput

func (ZoneMap) ToZoneMapOutputWithContext

func (i ZoneMap) ToZoneMapOutputWithContext(ctx context.Context) ZoneMapOutput

type ZoneMapInput

type ZoneMapInput interface {
	pulumi.Input

	ToZoneMapOutput() ZoneMapOutput
	ToZoneMapOutputWithContext(context.Context) ZoneMapOutput
}

ZoneMapInput is an input type that accepts ZoneMap and ZoneMapOutput values. You can construct a concrete instance of `ZoneMapInput` via:

ZoneMap{ "key": ZoneArgs{...} }

type ZoneMapOutput

type ZoneMapOutput struct{ *pulumi.OutputState }

func (ZoneMapOutput) ElementType

func (ZoneMapOutput) ElementType() reflect.Type

func (ZoneMapOutput) MapIndex

func (ZoneMapOutput) ToZoneMapOutput

func (o ZoneMapOutput) ToZoneMapOutput() ZoneMapOutput

func (ZoneMapOutput) ToZoneMapOutputWithContext

func (o ZoneMapOutput) ToZoneMapOutputWithContext(ctx context.Context) ZoneMapOutput

type ZoneOrder

type ZoneOrder struct {
	// date
	Date *string `pulumi:"date"`
	// Information about a Bill entry
	Details []ZoneOrderDetail `pulumi:"details"`
	// expiration date
	ExpirationDate *string `pulumi:"expirationDate"`
	// order id
	OrderId *int `pulumi:"orderId"`
}

type ZoneOrderArgs

type ZoneOrderArgs struct {
	// date
	Date pulumi.StringPtrInput `pulumi:"date"`
	// Information about a Bill entry
	Details ZoneOrderDetailArrayInput `pulumi:"details"`
	// expiration date
	ExpirationDate pulumi.StringPtrInput `pulumi:"expirationDate"`
	// order id
	OrderId pulumi.IntPtrInput `pulumi:"orderId"`
}

func (ZoneOrderArgs) ElementType

func (ZoneOrderArgs) ElementType() reflect.Type

func (ZoneOrderArgs) ToZoneOrderOutput

func (i ZoneOrderArgs) ToZoneOrderOutput() ZoneOrderOutput

func (ZoneOrderArgs) ToZoneOrderOutputWithContext

func (i ZoneOrderArgs) ToZoneOrderOutputWithContext(ctx context.Context) ZoneOrderOutput

type ZoneOrderArray

type ZoneOrderArray []ZoneOrderInput

func (ZoneOrderArray) ElementType

func (ZoneOrderArray) ElementType() reflect.Type

func (ZoneOrderArray) ToZoneOrderArrayOutput

func (i ZoneOrderArray) ToZoneOrderArrayOutput() ZoneOrderArrayOutput

func (ZoneOrderArray) ToZoneOrderArrayOutputWithContext

func (i ZoneOrderArray) ToZoneOrderArrayOutputWithContext(ctx context.Context) ZoneOrderArrayOutput

type ZoneOrderArrayInput

type ZoneOrderArrayInput interface {
	pulumi.Input

	ToZoneOrderArrayOutput() ZoneOrderArrayOutput
	ToZoneOrderArrayOutputWithContext(context.Context) ZoneOrderArrayOutput
}

ZoneOrderArrayInput is an input type that accepts ZoneOrderArray and ZoneOrderArrayOutput values. You can construct a concrete instance of `ZoneOrderArrayInput` via:

ZoneOrderArray{ ZoneOrderArgs{...} }

type ZoneOrderArrayOutput

type ZoneOrderArrayOutput struct{ *pulumi.OutputState }

func (ZoneOrderArrayOutput) ElementType

func (ZoneOrderArrayOutput) ElementType() reflect.Type

func (ZoneOrderArrayOutput) Index

func (ZoneOrderArrayOutput) ToZoneOrderArrayOutput

func (o ZoneOrderArrayOutput) ToZoneOrderArrayOutput() ZoneOrderArrayOutput

func (ZoneOrderArrayOutput) ToZoneOrderArrayOutputWithContext

func (o ZoneOrderArrayOutput) ToZoneOrderArrayOutputWithContext(ctx context.Context) ZoneOrderArrayOutput

type ZoneOrderDetail

type ZoneOrderDetail struct {
	// description
	Description *string `pulumi:"description"`
	// expiration date
	Domain *string `pulumi:"domain"`
	// order detail id
	OrderDetailId *int `pulumi:"orderDetailId"`
	// quantity
	Quantity *string `pulumi:"quantity"`
}

type ZoneOrderDetailArgs

type ZoneOrderDetailArgs struct {
	// description
	Description pulumi.StringPtrInput `pulumi:"description"`
	// expiration date
	Domain pulumi.StringPtrInput `pulumi:"domain"`
	// order detail id
	OrderDetailId pulumi.IntPtrInput `pulumi:"orderDetailId"`
	// quantity
	Quantity pulumi.StringPtrInput `pulumi:"quantity"`
}

func (ZoneOrderDetailArgs) ElementType

func (ZoneOrderDetailArgs) ElementType() reflect.Type

func (ZoneOrderDetailArgs) ToZoneOrderDetailOutput

func (i ZoneOrderDetailArgs) ToZoneOrderDetailOutput() ZoneOrderDetailOutput

func (ZoneOrderDetailArgs) ToZoneOrderDetailOutputWithContext

func (i ZoneOrderDetailArgs) ToZoneOrderDetailOutputWithContext(ctx context.Context) ZoneOrderDetailOutput

type ZoneOrderDetailArray

type ZoneOrderDetailArray []ZoneOrderDetailInput

func (ZoneOrderDetailArray) ElementType

func (ZoneOrderDetailArray) ElementType() reflect.Type

func (ZoneOrderDetailArray) ToZoneOrderDetailArrayOutput

func (i ZoneOrderDetailArray) ToZoneOrderDetailArrayOutput() ZoneOrderDetailArrayOutput

func (ZoneOrderDetailArray) ToZoneOrderDetailArrayOutputWithContext

func (i ZoneOrderDetailArray) ToZoneOrderDetailArrayOutputWithContext(ctx context.Context) ZoneOrderDetailArrayOutput

type ZoneOrderDetailArrayInput

type ZoneOrderDetailArrayInput interface {
	pulumi.Input

	ToZoneOrderDetailArrayOutput() ZoneOrderDetailArrayOutput
	ToZoneOrderDetailArrayOutputWithContext(context.Context) ZoneOrderDetailArrayOutput
}

ZoneOrderDetailArrayInput is an input type that accepts ZoneOrderDetailArray and ZoneOrderDetailArrayOutput values. You can construct a concrete instance of `ZoneOrderDetailArrayInput` via:

ZoneOrderDetailArray{ ZoneOrderDetailArgs{...} }

type ZoneOrderDetailArrayOutput

type ZoneOrderDetailArrayOutput struct{ *pulumi.OutputState }

func (ZoneOrderDetailArrayOutput) ElementType

func (ZoneOrderDetailArrayOutput) ElementType() reflect.Type

func (ZoneOrderDetailArrayOutput) Index

func (ZoneOrderDetailArrayOutput) ToZoneOrderDetailArrayOutput

func (o ZoneOrderDetailArrayOutput) ToZoneOrderDetailArrayOutput() ZoneOrderDetailArrayOutput

func (ZoneOrderDetailArrayOutput) ToZoneOrderDetailArrayOutputWithContext

func (o ZoneOrderDetailArrayOutput) ToZoneOrderDetailArrayOutputWithContext(ctx context.Context) ZoneOrderDetailArrayOutput

type ZoneOrderDetailInput

type ZoneOrderDetailInput interface {
	pulumi.Input

	ToZoneOrderDetailOutput() ZoneOrderDetailOutput
	ToZoneOrderDetailOutputWithContext(context.Context) ZoneOrderDetailOutput
}

ZoneOrderDetailInput is an input type that accepts ZoneOrderDetailArgs and ZoneOrderDetailOutput values. You can construct a concrete instance of `ZoneOrderDetailInput` via:

ZoneOrderDetailArgs{...}

type ZoneOrderDetailOutput

type ZoneOrderDetailOutput struct{ *pulumi.OutputState }

func (ZoneOrderDetailOutput) Description

description

func (ZoneOrderDetailOutput) Domain

expiration date

func (ZoneOrderDetailOutput) ElementType

func (ZoneOrderDetailOutput) ElementType() reflect.Type

func (ZoneOrderDetailOutput) OrderDetailId

func (o ZoneOrderDetailOutput) OrderDetailId() pulumi.IntPtrOutput

order detail id

func (ZoneOrderDetailOutput) Quantity

quantity

func (ZoneOrderDetailOutput) ToZoneOrderDetailOutput

func (o ZoneOrderDetailOutput) ToZoneOrderDetailOutput() ZoneOrderDetailOutput

func (ZoneOrderDetailOutput) ToZoneOrderDetailOutputWithContext

func (o ZoneOrderDetailOutput) ToZoneOrderDetailOutputWithContext(ctx context.Context) ZoneOrderDetailOutput

type ZoneOrderInput

type ZoneOrderInput interface {
	pulumi.Input

	ToZoneOrderOutput() ZoneOrderOutput
	ToZoneOrderOutputWithContext(context.Context) ZoneOrderOutput
}

ZoneOrderInput is an input type that accepts ZoneOrderArgs and ZoneOrderOutput values. You can construct a concrete instance of `ZoneOrderInput` via:

ZoneOrderArgs{...}

type ZoneOrderOutput

type ZoneOrderOutput struct{ *pulumi.OutputState }

func (ZoneOrderOutput) Date

date

func (ZoneOrderOutput) Details

Information about a Bill entry

func (ZoneOrderOutput) ElementType

func (ZoneOrderOutput) ElementType() reflect.Type

func (ZoneOrderOutput) ExpirationDate

func (o ZoneOrderOutput) ExpirationDate() pulumi.StringPtrOutput

expiration date

func (ZoneOrderOutput) OrderId

func (o ZoneOrderOutput) OrderId() pulumi.IntPtrOutput

order id

func (ZoneOrderOutput) ToZoneOrderOutput

func (o ZoneOrderOutput) ToZoneOrderOutput() ZoneOrderOutput

func (ZoneOrderOutput) ToZoneOrderOutputWithContext

func (o ZoneOrderOutput) ToZoneOrderOutputWithContext(ctx context.Context) ZoneOrderOutput

type ZoneOutput

type ZoneOutput struct{ *pulumi.OutputState }

func (ZoneOutput) DnssecSupported

func (o ZoneOutput) DnssecSupported() pulumi.BoolOutput

Is DNSSEC supported by this zone

func (ZoneOutput) ElementType

func (ZoneOutput) ElementType() reflect.Type

func (ZoneOutput) HasDnsAnycast

func (o ZoneOutput) HasDnsAnycast() pulumi.BoolOutput

hasDnsAnycast flag of the DNS zone

func (ZoneOutput) LastUpdate

func (o ZoneOutput) LastUpdate() pulumi.StringOutput

Last update date of the DNS zone

func (ZoneOutput) Name

func (o ZoneOutput) Name() pulumi.StringOutput

Zone name

func (ZoneOutput) NameServers

func (o ZoneOutput) NameServers() pulumi.StringArrayOutput

Name servers that host the DNS zone

func (ZoneOutput) Orders

func (o ZoneOutput) Orders() ZoneOrderArrayOutput

Details about an Order

func (ZoneOutput) OvhSubsidiary

func (o ZoneOutput) OvhSubsidiary() pulumi.StringOutput

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`](https://eu.api.ovh.com/1.0/me.json)

func (ZoneOutput) PaymentMean deprecated

func (o ZoneOutput) PaymentMean() pulumi.StringPtrOutput

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.

func (ZoneOutput) Plan

func (o ZoneOutput) Plan() ZonePlanOutput

Product Plan to order

func (ZoneOutput) PlanOptions

func (o ZoneOutput) PlanOptions() ZonePlanOptionArrayOutput

Product Plan to order

func (ZoneOutput) ToZoneOutput

func (o ZoneOutput) ToZoneOutput() ZoneOutput

func (ZoneOutput) ToZoneOutputWithContext

func (o ZoneOutput) ToZoneOutputWithContext(ctx context.Context) ZoneOutput

func (ZoneOutput) ZoneURN added in v0.34.3

func (o ZoneOutput) ZoneURN() pulumi.StringOutput

type ZonePlan

type ZonePlan struct {
	// Catalog name
	CatalogName *string `pulumi:"catalogName"`
	// Representation of a configuration item for personalizing product
	Configurations []ZonePlanConfiguration `pulumi:"configurations"`
	// duration
	Duration string `pulumi:"duration"`
	// Plan code
	PlanCode string `pulumi:"planCode"`
	// Pricing model identifier
	PricingMode string `pulumi:"pricingMode"`
}

type ZonePlanArgs

type ZonePlanArgs struct {
	// Catalog name
	CatalogName pulumi.StringPtrInput `pulumi:"catalogName"`
	// Representation of a configuration item for personalizing product
	Configurations ZonePlanConfigurationArrayInput `pulumi:"configurations"`
	// duration
	Duration pulumi.StringInput `pulumi:"duration"`
	// Plan code
	PlanCode pulumi.StringInput `pulumi:"planCode"`
	// Pricing model identifier
	PricingMode pulumi.StringInput `pulumi:"pricingMode"`
}

func (ZonePlanArgs) ElementType

func (ZonePlanArgs) ElementType() reflect.Type

func (ZonePlanArgs) ToZonePlanOutput

func (i ZonePlanArgs) ToZonePlanOutput() ZonePlanOutput

func (ZonePlanArgs) ToZonePlanOutputWithContext

func (i ZonePlanArgs) ToZonePlanOutputWithContext(ctx context.Context) ZonePlanOutput

func (ZonePlanArgs) ToZonePlanPtrOutput

func (i ZonePlanArgs) ToZonePlanPtrOutput() ZonePlanPtrOutput

func (ZonePlanArgs) ToZonePlanPtrOutputWithContext

func (i ZonePlanArgs) ToZonePlanPtrOutputWithContext(ctx context.Context) ZonePlanPtrOutput

type ZonePlanConfiguration

type ZonePlanConfiguration struct {
	// Identifier of the resource
	Label string `pulumi:"label"`
	// Path to the resource in API.OVH.COM
	Value string `pulumi:"value"`
}

type ZonePlanConfigurationArgs

type ZonePlanConfigurationArgs struct {
	// Identifier of the resource
	Label pulumi.StringInput `pulumi:"label"`
	// Path to the resource in API.OVH.COM
	Value pulumi.StringInput `pulumi:"value"`
}

func (ZonePlanConfigurationArgs) ElementType

func (ZonePlanConfigurationArgs) ElementType() reflect.Type

func (ZonePlanConfigurationArgs) ToZonePlanConfigurationOutput

func (i ZonePlanConfigurationArgs) ToZonePlanConfigurationOutput() ZonePlanConfigurationOutput

func (ZonePlanConfigurationArgs) ToZonePlanConfigurationOutputWithContext

func (i ZonePlanConfigurationArgs) ToZonePlanConfigurationOutputWithContext(ctx context.Context) ZonePlanConfigurationOutput

type ZonePlanConfigurationArray

type ZonePlanConfigurationArray []ZonePlanConfigurationInput

func (ZonePlanConfigurationArray) ElementType

func (ZonePlanConfigurationArray) ElementType() reflect.Type

func (ZonePlanConfigurationArray) ToZonePlanConfigurationArrayOutput

func (i ZonePlanConfigurationArray) ToZonePlanConfigurationArrayOutput() ZonePlanConfigurationArrayOutput

func (ZonePlanConfigurationArray) ToZonePlanConfigurationArrayOutputWithContext

func (i ZonePlanConfigurationArray) ToZonePlanConfigurationArrayOutputWithContext(ctx context.Context) ZonePlanConfigurationArrayOutput

type ZonePlanConfigurationArrayInput

type ZonePlanConfigurationArrayInput interface {
	pulumi.Input

	ToZonePlanConfigurationArrayOutput() ZonePlanConfigurationArrayOutput
	ToZonePlanConfigurationArrayOutputWithContext(context.Context) ZonePlanConfigurationArrayOutput
}

ZonePlanConfigurationArrayInput is an input type that accepts ZonePlanConfigurationArray and ZonePlanConfigurationArrayOutput values. You can construct a concrete instance of `ZonePlanConfigurationArrayInput` via:

ZonePlanConfigurationArray{ ZonePlanConfigurationArgs{...} }

type ZonePlanConfigurationArrayOutput

type ZonePlanConfigurationArrayOutput struct{ *pulumi.OutputState }

func (ZonePlanConfigurationArrayOutput) ElementType

func (ZonePlanConfigurationArrayOutput) Index

func (ZonePlanConfigurationArrayOutput) ToZonePlanConfigurationArrayOutput

func (o ZonePlanConfigurationArrayOutput) ToZonePlanConfigurationArrayOutput() ZonePlanConfigurationArrayOutput

func (ZonePlanConfigurationArrayOutput) ToZonePlanConfigurationArrayOutputWithContext

func (o ZonePlanConfigurationArrayOutput) ToZonePlanConfigurationArrayOutputWithContext(ctx context.Context) ZonePlanConfigurationArrayOutput

type ZonePlanConfigurationInput

type ZonePlanConfigurationInput interface {
	pulumi.Input

	ToZonePlanConfigurationOutput() ZonePlanConfigurationOutput
	ToZonePlanConfigurationOutputWithContext(context.Context) ZonePlanConfigurationOutput
}

ZonePlanConfigurationInput is an input type that accepts ZonePlanConfigurationArgs and ZonePlanConfigurationOutput values. You can construct a concrete instance of `ZonePlanConfigurationInput` via:

ZonePlanConfigurationArgs{...}

type ZonePlanConfigurationOutput

type ZonePlanConfigurationOutput struct{ *pulumi.OutputState }

func (ZonePlanConfigurationOutput) ElementType

func (ZonePlanConfigurationOutput) Label

Identifier of the resource

func (ZonePlanConfigurationOutput) ToZonePlanConfigurationOutput

func (o ZonePlanConfigurationOutput) ToZonePlanConfigurationOutput() ZonePlanConfigurationOutput

func (ZonePlanConfigurationOutput) ToZonePlanConfigurationOutputWithContext

func (o ZonePlanConfigurationOutput) ToZonePlanConfigurationOutputWithContext(ctx context.Context) ZonePlanConfigurationOutput

func (ZonePlanConfigurationOutput) Value

Path to the resource in API.OVH.COM

type ZonePlanInput

type ZonePlanInput interface {
	pulumi.Input

	ToZonePlanOutput() ZonePlanOutput
	ToZonePlanOutputWithContext(context.Context) ZonePlanOutput
}

ZonePlanInput is an input type that accepts ZonePlanArgs and ZonePlanOutput values. You can construct a concrete instance of `ZonePlanInput` via:

ZonePlanArgs{...}

type ZonePlanOption

type ZonePlanOption struct {
	// Catalog name
	CatalogName *string `pulumi:"catalogName"`
	// Representation of a configuration item for personalizing product
	Configurations []ZonePlanOptionConfiguration `pulumi:"configurations"`
	// duration
	Duration string `pulumi:"duration"`
	// Plan code
	PlanCode string `pulumi:"planCode"`
	// Pricing model identifier
	PricingMode string `pulumi:"pricingMode"`
}

type ZonePlanOptionArgs

type ZonePlanOptionArgs struct {
	// Catalog name
	CatalogName pulumi.StringPtrInput `pulumi:"catalogName"`
	// Representation of a configuration item for personalizing product
	Configurations ZonePlanOptionConfigurationArrayInput `pulumi:"configurations"`
	// duration
	Duration pulumi.StringInput `pulumi:"duration"`
	// Plan code
	PlanCode pulumi.StringInput `pulumi:"planCode"`
	// Pricing model identifier
	PricingMode pulumi.StringInput `pulumi:"pricingMode"`
}

func (ZonePlanOptionArgs) ElementType

func (ZonePlanOptionArgs) ElementType() reflect.Type

func (ZonePlanOptionArgs) ToZonePlanOptionOutput

func (i ZonePlanOptionArgs) ToZonePlanOptionOutput() ZonePlanOptionOutput

func (ZonePlanOptionArgs) ToZonePlanOptionOutputWithContext

func (i ZonePlanOptionArgs) ToZonePlanOptionOutputWithContext(ctx context.Context) ZonePlanOptionOutput

type ZonePlanOptionArray

type ZonePlanOptionArray []ZonePlanOptionInput

func (ZonePlanOptionArray) ElementType

func (ZonePlanOptionArray) ElementType() reflect.Type

func (ZonePlanOptionArray) ToZonePlanOptionArrayOutput

func (i ZonePlanOptionArray) ToZonePlanOptionArrayOutput() ZonePlanOptionArrayOutput

func (ZonePlanOptionArray) ToZonePlanOptionArrayOutputWithContext

func (i ZonePlanOptionArray) ToZonePlanOptionArrayOutputWithContext(ctx context.Context) ZonePlanOptionArrayOutput

type ZonePlanOptionArrayInput

type ZonePlanOptionArrayInput interface {
	pulumi.Input

	ToZonePlanOptionArrayOutput() ZonePlanOptionArrayOutput
	ToZonePlanOptionArrayOutputWithContext(context.Context) ZonePlanOptionArrayOutput
}

ZonePlanOptionArrayInput is an input type that accepts ZonePlanOptionArray and ZonePlanOptionArrayOutput values. You can construct a concrete instance of `ZonePlanOptionArrayInput` via:

ZonePlanOptionArray{ ZonePlanOptionArgs{...} }

type ZonePlanOptionArrayOutput

type ZonePlanOptionArrayOutput struct{ *pulumi.OutputState }

func (ZonePlanOptionArrayOutput) ElementType

func (ZonePlanOptionArrayOutput) ElementType() reflect.Type

func (ZonePlanOptionArrayOutput) Index

func (ZonePlanOptionArrayOutput) ToZonePlanOptionArrayOutput

func (o ZonePlanOptionArrayOutput) ToZonePlanOptionArrayOutput() ZonePlanOptionArrayOutput

func (ZonePlanOptionArrayOutput) ToZonePlanOptionArrayOutputWithContext

func (o ZonePlanOptionArrayOutput) ToZonePlanOptionArrayOutputWithContext(ctx context.Context) ZonePlanOptionArrayOutput

type ZonePlanOptionConfiguration

type ZonePlanOptionConfiguration struct {
	// Identifier of the resource
	Label string `pulumi:"label"`
	// Path to the resource in API.OVH.COM
	Value string `pulumi:"value"`
}

type ZonePlanOptionConfigurationArgs

type ZonePlanOptionConfigurationArgs struct {
	// Identifier of the resource
	Label pulumi.StringInput `pulumi:"label"`
	// Path to the resource in API.OVH.COM
	Value pulumi.StringInput `pulumi:"value"`
}

func (ZonePlanOptionConfigurationArgs) ElementType

func (ZonePlanOptionConfigurationArgs) ToZonePlanOptionConfigurationOutput

func (i ZonePlanOptionConfigurationArgs) ToZonePlanOptionConfigurationOutput() ZonePlanOptionConfigurationOutput

func (ZonePlanOptionConfigurationArgs) ToZonePlanOptionConfigurationOutputWithContext

func (i ZonePlanOptionConfigurationArgs) ToZonePlanOptionConfigurationOutputWithContext(ctx context.Context) ZonePlanOptionConfigurationOutput

type ZonePlanOptionConfigurationArray

type ZonePlanOptionConfigurationArray []ZonePlanOptionConfigurationInput

func (ZonePlanOptionConfigurationArray) ElementType

func (ZonePlanOptionConfigurationArray) ToZonePlanOptionConfigurationArrayOutput

func (i ZonePlanOptionConfigurationArray) ToZonePlanOptionConfigurationArrayOutput() ZonePlanOptionConfigurationArrayOutput

func (ZonePlanOptionConfigurationArray) ToZonePlanOptionConfigurationArrayOutputWithContext

func (i ZonePlanOptionConfigurationArray) ToZonePlanOptionConfigurationArrayOutputWithContext(ctx context.Context) ZonePlanOptionConfigurationArrayOutput

type ZonePlanOptionConfigurationArrayInput

type ZonePlanOptionConfigurationArrayInput interface {
	pulumi.Input

	ToZonePlanOptionConfigurationArrayOutput() ZonePlanOptionConfigurationArrayOutput
	ToZonePlanOptionConfigurationArrayOutputWithContext(context.Context) ZonePlanOptionConfigurationArrayOutput
}

ZonePlanOptionConfigurationArrayInput is an input type that accepts ZonePlanOptionConfigurationArray and ZonePlanOptionConfigurationArrayOutput values. You can construct a concrete instance of `ZonePlanOptionConfigurationArrayInput` via:

ZonePlanOptionConfigurationArray{ ZonePlanOptionConfigurationArgs{...} }

type ZonePlanOptionConfigurationArrayOutput

type ZonePlanOptionConfigurationArrayOutput struct{ *pulumi.OutputState }

func (ZonePlanOptionConfigurationArrayOutput) ElementType

func (ZonePlanOptionConfigurationArrayOutput) Index

func (ZonePlanOptionConfigurationArrayOutput) ToZonePlanOptionConfigurationArrayOutput

func (o ZonePlanOptionConfigurationArrayOutput) ToZonePlanOptionConfigurationArrayOutput() ZonePlanOptionConfigurationArrayOutput

func (ZonePlanOptionConfigurationArrayOutput) ToZonePlanOptionConfigurationArrayOutputWithContext

func (o ZonePlanOptionConfigurationArrayOutput) ToZonePlanOptionConfigurationArrayOutputWithContext(ctx context.Context) ZonePlanOptionConfigurationArrayOutput

type ZonePlanOptionConfigurationInput

type ZonePlanOptionConfigurationInput interface {
	pulumi.Input

	ToZonePlanOptionConfigurationOutput() ZonePlanOptionConfigurationOutput
	ToZonePlanOptionConfigurationOutputWithContext(context.Context) ZonePlanOptionConfigurationOutput
}

ZonePlanOptionConfigurationInput is an input type that accepts ZonePlanOptionConfigurationArgs and ZonePlanOptionConfigurationOutput values. You can construct a concrete instance of `ZonePlanOptionConfigurationInput` via:

ZonePlanOptionConfigurationArgs{...}

type ZonePlanOptionConfigurationOutput

type ZonePlanOptionConfigurationOutput struct{ *pulumi.OutputState }

func (ZonePlanOptionConfigurationOutput) ElementType

func (ZonePlanOptionConfigurationOutput) Label

Identifier of the resource

func (ZonePlanOptionConfigurationOutput) ToZonePlanOptionConfigurationOutput

func (o ZonePlanOptionConfigurationOutput) ToZonePlanOptionConfigurationOutput() ZonePlanOptionConfigurationOutput

func (ZonePlanOptionConfigurationOutput) ToZonePlanOptionConfigurationOutputWithContext

func (o ZonePlanOptionConfigurationOutput) ToZonePlanOptionConfigurationOutputWithContext(ctx context.Context) ZonePlanOptionConfigurationOutput

func (ZonePlanOptionConfigurationOutput) Value

Path to the resource in API.OVH.COM

type ZonePlanOptionInput

type ZonePlanOptionInput interface {
	pulumi.Input

	ToZonePlanOptionOutput() ZonePlanOptionOutput
	ToZonePlanOptionOutputWithContext(context.Context) ZonePlanOptionOutput
}

ZonePlanOptionInput is an input type that accepts ZonePlanOptionArgs and ZonePlanOptionOutput values. You can construct a concrete instance of `ZonePlanOptionInput` via:

ZonePlanOptionArgs{...}

type ZonePlanOptionOutput

type ZonePlanOptionOutput struct{ *pulumi.OutputState }

func (ZonePlanOptionOutput) CatalogName

Catalog name

func (ZonePlanOptionOutput) Configurations

Representation of a configuration item for personalizing product

func (ZonePlanOptionOutput) Duration

duration

func (ZonePlanOptionOutput) ElementType

func (ZonePlanOptionOutput) ElementType() reflect.Type

func (ZonePlanOptionOutput) PlanCode

Plan code

func (ZonePlanOptionOutput) PricingMode

func (o ZonePlanOptionOutput) PricingMode() pulumi.StringOutput

Pricing model identifier

func (ZonePlanOptionOutput) ToZonePlanOptionOutput

func (o ZonePlanOptionOutput) ToZonePlanOptionOutput() ZonePlanOptionOutput

func (ZonePlanOptionOutput) ToZonePlanOptionOutputWithContext

func (o ZonePlanOptionOutput) ToZonePlanOptionOutputWithContext(ctx context.Context) ZonePlanOptionOutput

type ZonePlanOutput

type ZonePlanOutput struct{ *pulumi.OutputState }

func (ZonePlanOutput) CatalogName

func (o ZonePlanOutput) CatalogName() pulumi.StringPtrOutput

Catalog name

func (ZonePlanOutput) Configurations

Representation of a configuration item for personalizing product

func (ZonePlanOutput) Duration

func (o ZonePlanOutput) Duration() pulumi.StringOutput

duration

func (ZonePlanOutput) ElementType

func (ZonePlanOutput) ElementType() reflect.Type

func (ZonePlanOutput) PlanCode

func (o ZonePlanOutput) PlanCode() pulumi.StringOutput

Plan code

func (ZonePlanOutput) PricingMode

func (o ZonePlanOutput) PricingMode() pulumi.StringOutput

Pricing model identifier

func (ZonePlanOutput) ToZonePlanOutput

func (o ZonePlanOutput) ToZonePlanOutput() ZonePlanOutput

func (ZonePlanOutput) ToZonePlanOutputWithContext

func (o ZonePlanOutput) ToZonePlanOutputWithContext(ctx context.Context) ZonePlanOutput

func (ZonePlanOutput) ToZonePlanPtrOutput

func (o ZonePlanOutput) ToZonePlanPtrOutput() ZonePlanPtrOutput

func (ZonePlanOutput) ToZonePlanPtrOutputWithContext

func (o ZonePlanOutput) ToZonePlanPtrOutputWithContext(ctx context.Context) ZonePlanPtrOutput

type ZonePlanPtrInput

type ZonePlanPtrInput interface {
	pulumi.Input

	ToZonePlanPtrOutput() ZonePlanPtrOutput
	ToZonePlanPtrOutputWithContext(context.Context) ZonePlanPtrOutput
}

ZonePlanPtrInput is an input type that accepts ZonePlanArgs, ZonePlanPtr and ZonePlanPtrOutput values. You can construct a concrete instance of `ZonePlanPtrInput` via:

        ZonePlanArgs{...}

or:

        nil

func ZonePlanPtr

func ZonePlanPtr(v *ZonePlanArgs) ZonePlanPtrInput

type ZonePlanPtrOutput

type ZonePlanPtrOutput struct{ *pulumi.OutputState }

func (ZonePlanPtrOutput) CatalogName

func (o ZonePlanPtrOutput) CatalogName() pulumi.StringPtrOutput

Catalog name

func (ZonePlanPtrOutput) Configurations

Representation of a configuration item for personalizing product

func (ZonePlanPtrOutput) Duration

duration

func (ZonePlanPtrOutput) Elem

func (ZonePlanPtrOutput) ElementType

func (ZonePlanPtrOutput) ElementType() reflect.Type

func (ZonePlanPtrOutput) PlanCode

Plan code

func (ZonePlanPtrOutput) PricingMode

func (o ZonePlanPtrOutput) PricingMode() pulumi.StringPtrOutput

Pricing model identifier

func (ZonePlanPtrOutput) ToZonePlanPtrOutput

func (o ZonePlanPtrOutput) ToZonePlanPtrOutput() ZonePlanPtrOutput

func (ZonePlanPtrOutput) ToZonePlanPtrOutputWithContext

func (o ZonePlanPtrOutput) ToZonePlanPtrOutputWithContext(ctx context.Context) ZonePlanPtrOutput

type ZoneRecord

type ZoneRecord struct {
	pulumi.CustomResourceState

	// The type of the record
	Fieldtype pulumi.StringOutput `pulumi:"fieldtype"`
	// The name of the record. It can be an empty string.
	Subdomain pulumi.StringPtrOutput `pulumi:"subdomain"`
	// The value of the record
	Target pulumi.StringOutput `pulumi:"target"`
	// The TTL of the record, it shall be >= to 60.
	Ttl pulumi.IntPtrOutput `pulumi:"ttl"`
	// The domain to add the record to
	Zone pulumi.StringOutput `pulumi:"zone"`
}

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/ovh/pulumi-ovh/sdk/go/ovh/Domain"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Add a record to a sub-domain
		_, err := Domain.NewZoneRecord(ctx, "test", &Domain.ZoneRecordArgs{
			Fieldtype: pulumi.String("A"),
			Subdomain: pulumi.String("test"),
			Target:    pulumi.String("0.0.0.0"),
			Ttl:       pulumi.Int(3600),
			Zone:      pulumi.String("testdemo.ovh"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

OVHcloud domain zone record can be imported using the `id`, which can be retrieved by using [OVH API portal](https://api.ovh.com/console/#/domain/zone/%7BzoneName%7D/record~GET), and the `zone`, separated by "." E.g.,

bash

```sh $ pulumi import ovh:Domain/zoneRecord:ZoneRecord test id.zone ```

func GetZoneRecord

func GetZoneRecord(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ZoneRecordState, opts ...pulumi.ResourceOption) (*ZoneRecord, error)

GetZoneRecord gets an existing ZoneRecord resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewZoneRecord

func NewZoneRecord(ctx *pulumi.Context,
	name string, args *ZoneRecordArgs, opts ...pulumi.ResourceOption) (*ZoneRecord, error)

NewZoneRecord registers a new resource with the given unique name, arguments, and options.

func (*ZoneRecord) ElementType

func (*ZoneRecord) ElementType() reflect.Type

func (*ZoneRecord) ToZoneRecordOutput

func (i *ZoneRecord) ToZoneRecordOutput() ZoneRecordOutput

func (*ZoneRecord) ToZoneRecordOutputWithContext

func (i *ZoneRecord) ToZoneRecordOutputWithContext(ctx context.Context) ZoneRecordOutput

type ZoneRecordArgs

type ZoneRecordArgs struct {
	// The type of the record
	Fieldtype pulumi.StringInput
	// The name of the record. It can be an empty string.
	Subdomain pulumi.StringPtrInput
	// The value of the record
	Target pulumi.StringInput
	// The TTL of the record, it shall be >= to 60.
	Ttl pulumi.IntPtrInput
	// The domain to add the record to
	Zone pulumi.StringInput
}

The set of arguments for constructing a ZoneRecord resource.

func (ZoneRecordArgs) ElementType

func (ZoneRecordArgs) ElementType() reflect.Type

type ZoneRecordArray

type ZoneRecordArray []ZoneRecordInput

func (ZoneRecordArray) ElementType

func (ZoneRecordArray) ElementType() reflect.Type

func (ZoneRecordArray) ToZoneRecordArrayOutput

func (i ZoneRecordArray) ToZoneRecordArrayOutput() ZoneRecordArrayOutput

func (ZoneRecordArray) ToZoneRecordArrayOutputWithContext

func (i ZoneRecordArray) ToZoneRecordArrayOutputWithContext(ctx context.Context) ZoneRecordArrayOutput

type ZoneRecordArrayInput

type ZoneRecordArrayInput interface {
	pulumi.Input

	ToZoneRecordArrayOutput() ZoneRecordArrayOutput
	ToZoneRecordArrayOutputWithContext(context.Context) ZoneRecordArrayOutput
}

ZoneRecordArrayInput is an input type that accepts ZoneRecordArray and ZoneRecordArrayOutput values. You can construct a concrete instance of `ZoneRecordArrayInput` via:

ZoneRecordArray{ ZoneRecordArgs{...} }

type ZoneRecordArrayOutput

type ZoneRecordArrayOutput struct{ *pulumi.OutputState }

func (ZoneRecordArrayOutput) ElementType

func (ZoneRecordArrayOutput) ElementType() reflect.Type

func (ZoneRecordArrayOutput) Index

func (ZoneRecordArrayOutput) ToZoneRecordArrayOutput

func (o ZoneRecordArrayOutput) ToZoneRecordArrayOutput() ZoneRecordArrayOutput

func (ZoneRecordArrayOutput) ToZoneRecordArrayOutputWithContext

func (o ZoneRecordArrayOutput) ToZoneRecordArrayOutputWithContext(ctx context.Context) ZoneRecordArrayOutput

type ZoneRecordInput

type ZoneRecordInput interface {
	pulumi.Input

	ToZoneRecordOutput() ZoneRecordOutput
	ToZoneRecordOutputWithContext(ctx context.Context) ZoneRecordOutput
}

type ZoneRecordMap

type ZoneRecordMap map[string]ZoneRecordInput

func (ZoneRecordMap) ElementType

func (ZoneRecordMap) ElementType() reflect.Type

func (ZoneRecordMap) ToZoneRecordMapOutput

func (i ZoneRecordMap) ToZoneRecordMapOutput() ZoneRecordMapOutput

func (ZoneRecordMap) ToZoneRecordMapOutputWithContext

func (i ZoneRecordMap) ToZoneRecordMapOutputWithContext(ctx context.Context) ZoneRecordMapOutput

type ZoneRecordMapInput

type ZoneRecordMapInput interface {
	pulumi.Input

	ToZoneRecordMapOutput() ZoneRecordMapOutput
	ToZoneRecordMapOutputWithContext(context.Context) ZoneRecordMapOutput
}

ZoneRecordMapInput is an input type that accepts ZoneRecordMap and ZoneRecordMapOutput values. You can construct a concrete instance of `ZoneRecordMapInput` via:

ZoneRecordMap{ "key": ZoneRecordArgs{...} }

type ZoneRecordMapOutput

type ZoneRecordMapOutput struct{ *pulumi.OutputState }

func (ZoneRecordMapOutput) ElementType

func (ZoneRecordMapOutput) ElementType() reflect.Type

func (ZoneRecordMapOutput) MapIndex

func (ZoneRecordMapOutput) ToZoneRecordMapOutput

func (o ZoneRecordMapOutput) ToZoneRecordMapOutput() ZoneRecordMapOutput

func (ZoneRecordMapOutput) ToZoneRecordMapOutputWithContext

func (o ZoneRecordMapOutput) ToZoneRecordMapOutputWithContext(ctx context.Context) ZoneRecordMapOutput

type ZoneRecordOutput

type ZoneRecordOutput struct{ *pulumi.OutputState }

func (ZoneRecordOutput) ElementType

func (ZoneRecordOutput) ElementType() reflect.Type

func (ZoneRecordOutput) Fieldtype

func (o ZoneRecordOutput) Fieldtype() pulumi.StringOutput

The type of the record

func (ZoneRecordOutput) Subdomain

func (o ZoneRecordOutput) Subdomain() pulumi.StringPtrOutput

The name of the record. It can be an empty string.

func (ZoneRecordOutput) Target

The value of the record

func (ZoneRecordOutput) ToZoneRecordOutput

func (o ZoneRecordOutput) ToZoneRecordOutput() ZoneRecordOutput

func (ZoneRecordOutput) ToZoneRecordOutputWithContext

func (o ZoneRecordOutput) ToZoneRecordOutputWithContext(ctx context.Context) ZoneRecordOutput

func (ZoneRecordOutput) Ttl

The TTL of the record, it shall be >= to 60.

func (ZoneRecordOutput) Zone

The domain to add the record to

type ZoneRecordState

type ZoneRecordState struct {
	// The type of the record
	Fieldtype pulumi.StringPtrInput
	// The name of the record. It can be an empty string.
	Subdomain pulumi.StringPtrInput
	// The value of the record
	Target pulumi.StringPtrInput
	// The TTL of the record, it shall be >= to 60.
	Ttl pulumi.IntPtrInput
	// The domain to add the record to
	Zone pulumi.StringPtrInput
}

func (ZoneRecordState) ElementType

func (ZoneRecordState) ElementType() reflect.Type

type ZoneRedirection

type ZoneRedirection struct {
	pulumi.CustomResourceState

	// A description of this redirection
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Keywords to describe this redirection
	Keywords pulumi.StringPtrOutput `pulumi:"keywords"`
	// The name of the redirection
	Subdomain pulumi.StringPtrOutput `pulumi:"subdomain"`
	// The value of the redirection
	Target pulumi.StringOutput `pulumi:"target"`
	// Title of this redirection
	Title pulumi.StringPtrOutput `pulumi:"title"`
	// The type of the redirection, with values:
	Type pulumi.StringOutput `pulumi:"type"`
	// The domain to add the redirection to
	Zone pulumi.StringOutput `pulumi:"zone"`
}

Provides a OVHcloud domain zone redirection.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/ovh/pulumi-ovh/sdk/go/ovh/Domain"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Add a redirection to a sub-domain
		_, err := Domain.NewZoneRedirection(ctx, "test", &Domain.ZoneRedirectionArgs{
			Subdomain: pulumi.String("test"),
			Target:    pulumi.String("http://www.ovh"),
			Type:      pulumi.String("visiblePermanent"),
			Zone:      pulumi.String("testdemo.ovh"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

func GetZoneRedirection

func GetZoneRedirection(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ZoneRedirectionState, opts ...pulumi.ResourceOption) (*ZoneRedirection, error)

GetZoneRedirection gets an existing ZoneRedirection resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewZoneRedirection

func NewZoneRedirection(ctx *pulumi.Context,
	name string, args *ZoneRedirectionArgs, opts ...pulumi.ResourceOption) (*ZoneRedirection, error)

NewZoneRedirection registers a new resource with the given unique name, arguments, and options.

func (*ZoneRedirection) ElementType

func (*ZoneRedirection) ElementType() reflect.Type

func (*ZoneRedirection) ToZoneRedirectionOutput

func (i *ZoneRedirection) ToZoneRedirectionOutput() ZoneRedirectionOutput

func (*ZoneRedirection) ToZoneRedirectionOutputWithContext

func (i *ZoneRedirection) ToZoneRedirectionOutputWithContext(ctx context.Context) ZoneRedirectionOutput

type ZoneRedirectionArgs

type ZoneRedirectionArgs struct {
	// A description of this redirection
	Description pulumi.StringPtrInput
	// Keywords to describe this redirection
	Keywords pulumi.StringPtrInput
	// The name of the redirection
	Subdomain pulumi.StringPtrInput
	// The value of the redirection
	Target pulumi.StringInput
	// Title of this redirection
	Title pulumi.StringPtrInput
	// The type of the redirection, with values:
	Type pulumi.StringInput
	// The domain to add the redirection to
	Zone pulumi.StringInput
}

The set of arguments for constructing a ZoneRedirection resource.

func (ZoneRedirectionArgs) ElementType

func (ZoneRedirectionArgs) ElementType() reflect.Type

type ZoneRedirectionArray

type ZoneRedirectionArray []ZoneRedirectionInput

func (ZoneRedirectionArray) ElementType

func (ZoneRedirectionArray) ElementType() reflect.Type

func (ZoneRedirectionArray) ToZoneRedirectionArrayOutput

func (i ZoneRedirectionArray) ToZoneRedirectionArrayOutput() ZoneRedirectionArrayOutput

func (ZoneRedirectionArray) ToZoneRedirectionArrayOutputWithContext

func (i ZoneRedirectionArray) ToZoneRedirectionArrayOutputWithContext(ctx context.Context) ZoneRedirectionArrayOutput

type ZoneRedirectionArrayInput

type ZoneRedirectionArrayInput interface {
	pulumi.Input

	ToZoneRedirectionArrayOutput() ZoneRedirectionArrayOutput
	ToZoneRedirectionArrayOutputWithContext(context.Context) ZoneRedirectionArrayOutput
}

ZoneRedirectionArrayInput is an input type that accepts ZoneRedirectionArray and ZoneRedirectionArrayOutput values. You can construct a concrete instance of `ZoneRedirectionArrayInput` via:

ZoneRedirectionArray{ ZoneRedirectionArgs{...} }

type ZoneRedirectionArrayOutput

type ZoneRedirectionArrayOutput struct{ *pulumi.OutputState }

func (ZoneRedirectionArrayOutput) ElementType

func (ZoneRedirectionArrayOutput) ElementType() reflect.Type

func (ZoneRedirectionArrayOutput) Index

func (ZoneRedirectionArrayOutput) ToZoneRedirectionArrayOutput

func (o ZoneRedirectionArrayOutput) ToZoneRedirectionArrayOutput() ZoneRedirectionArrayOutput

func (ZoneRedirectionArrayOutput) ToZoneRedirectionArrayOutputWithContext

func (o ZoneRedirectionArrayOutput) ToZoneRedirectionArrayOutputWithContext(ctx context.Context) ZoneRedirectionArrayOutput

type ZoneRedirectionInput

type ZoneRedirectionInput interface {
	pulumi.Input

	ToZoneRedirectionOutput() ZoneRedirectionOutput
	ToZoneRedirectionOutputWithContext(ctx context.Context) ZoneRedirectionOutput
}

type ZoneRedirectionMap

type ZoneRedirectionMap map[string]ZoneRedirectionInput

func (ZoneRedirectionMap) ElementType

func (ZoneRedirectionMap) ElementType() reflect.Type

func (ZoneRedirectionMap) ToZoneRedirectionMapOutput

func (i ZoneRedirectionMap) ToZoneRedirectionMapOutput() ZoneRedirectionMapOutput

func (ZoneRedirectionMap) ToZoneRedirectionMapOutputWithContext

func (i ZoneRedirectionMap) ToZoneRedirectionMapOutputWithContext(ctx context.Context) ZoneRedirectionMapOutput

type ZoneRedirectionMapInput

type ZoneRedirectionMapInput interface {
	pulumi.Input

	ToZoneRedirectionMapOutput() ZoneRedirectionMapOutput
	ToZoneRedirectionMapOutputWithContext(context.Context) ZoneRedirectionMapOutput
}

ZoneRedirectionMapInput is an input type that accepts ZoneRedirectionMap and ZoneRedirectionMapOutput values. You can construct a concrete instance of `ZoneRedirectionMapInput` via:

ZoneRedirectionMap{ "key": ZoneRedirectionArgs{...} }

type ZoneRedirectionMapOutput

type ZoneRedirectionMapOutput struct{ *pulumi.OutputState }

func (ZoneRedirectionMapOutput) ElementType

func (ZoneRedirectionMapOutput) ElementType() reflect.Type

func (ZoneRedirectionMapOutput) MapIndex

func (ZoneRedirectionMapOutput) ToZoneRedirectionMapOutput

func (o ZoneRedirectionMapOutput) ToZoneRedirectionMapOutput() ZoneRedirectionMapOutput

func (ZoneRedirectionMapOutput) ToZoneRedirectionMapOutputWithContext

func (o ZoneRedirectionMapOutput) ToZoneRedirectionMapOutputWithContext(ctx context.Context) ZoneRedirectionMapOutput

type ZoneRedirectionOutput

type ZoneRedirectionOutput struct{ *pulumi.OutputState }

func (ZoneRedirectionOutput) Description

A description of this redirection

func (ZoneRedirectionOutput) ElementType

func (ZoneRedirectionOutput) ElementType() reflect.Type

func (ZoneRedirectionOutput) Keywords

Keywords to describe this redirection

func (ZoneRedirectionOutput) Subdomain

The name of the redirection

func (ZoneRedirectionOutput) Target

The value of the redirection

func (ZoneRedirectionOutput) Title

Title of this redirection

func (ZoneRedirectionOutput) ToZoneRedirectionOutput

func (o ZoneRedirectionOutput) ToZoneRedirectionOutput() ZoneRedirectionOutput

func (ZoneRedirectionOutput) ToZoneRedirectionOutputWithContext

func (o ZoneRedirectionOutput) ToZoneRedirectionOutputWithContext(ctx context.Context) ZoneRedirectionOutput

func (ZoneRedirectionOutput) Type

The type of the redirection, with values:

func (ZoneRedirectionOutput) Zone

The domain to add the redirection to

type ZoneRedirectionState

type ZoneRedirectionState struct {
	// A description of this redirection
	Description pulumi.StringPtrInput
	// Keywords to describe this redirection
	Keywords pulumi.StringPtrInput
	// The name of the redirection
	Subdomain pulumi.StringPtrInput
	// The value of the redirection
	Target pulumi.StringPtrInput
	// Title of this redirection
	Title pulumi.StringPtrInput
	// The type of the redirection, with values:
	Type pulumi.StringPtrInput
	// The domain to add the redirection to
	Zone pulumi.StringPtrInput
}

func (ZoneRedirectionState) ElementType

func (ZoneRedirectionState) ElementType() reflect.Type

type ZoneState

type ZoneState struct {
	ZoneURN pulumi.StringPtrInput
	// Is DNSSEC supported by this zone
	DnssecSupported pulumi.BoolPtrInput
	// hasDnsAnycast flag of the DNS zone
	HasDnsAnycast pulumi.BoolPtrInput
	// Last update date of the DNS zone
	LastUpdate pulumi.StringPtrInput
	// Zone name
	Name pulumi.StringPtrInput
	// Name servers that host the DNS zone
	NameServers pulumi.StringArrayInput
	// Details about an Order
	Orders ZoneOrderArrayInput
	// 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`](https://eu.api.ovh.com/1.0/me.json)
	OvhSubsidiary pulumi.StringPtrInput
	// 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.
	PaymentMean pulumi.StringPtrInput
	// Product Plan to order
	Plan ZonePlanPtrInput
	// Product Plan to order
	PlanOptions ZonePlanOptionArrayInput
}

func (ZoneState) ElementType

func (ZoneState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL