Fork me on GitHub

Module dns

@pulumi/openstack > dns

Index

dns/getDnsZone.ts dns/recordSet.ts dns/zone.ts

class RecordSet

Manages a DNS record set in the OpenStack DNS Service.

constructor

new RecordSet(name: string, args: RecordSetArgs, opts?: pulumi.CustomResourceOptions)

Create a RecordSet resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RecordSetState): RecordSet

Get an existing RecordSet resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property description

public description: pulumi.Output<string | undefined>;

A description of the record set.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

The name of the record set. Note the . at the end of the name. Changing this creates a new DNS record set.

property records

public records: pulumi.Output<string[] | undefined>;

An array of DNS records.

property region

public region: pulumi.Output<string>;

The region in which to obtain the V2 DNS client. If omitted, the region argument of the provider is used. Changing this creates a new DNS record set.

property ttl

public ttl: pulumi.Output<number>;

The time to live (TTL) of the record set.

property type

public type: pulumi.Output<string>;

The type of record set. Examples: “A”, “MX”. Changing this creates a new DNS record set.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property valueSpecs

public valueSpecs: pulumi.Output<{ ... } | undefined>;

Map of additional options. Changing this creates a new record set.

property zoneId

public zoneId: pulumi.Output<string>;

The ID of the zone in which to create the record set. Changing this creates a new DNS record set.

class Zone

Manages a DNS zone in the OpenStack DNS Service.

constructor

new Zone(name: string, args?: ZoneArgs, opts?: pulumi.CustomResourceOptions)

Create a Zone resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ZoneState): Zone

Get an existing Zone resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property attributes

public attributes: pulumi.Output<{ ... } | undefined>;

Attributes for the DNS Service scheduler. Changing this creates a new zone.

property description

public description: pulumi.Output<string | undefined>;

A description of the zone.

property email

public email: pulumi.Output<string | undefined>;

The email contact for the zone record.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property masters

public masters: pulumi.Output<string[] | undefined>;

An array of master DNS servers. For when type is SECONDARY.

property name

public name: pulumi.Output<string>;

The name of the zone. Note the . at the end of the name. Changing this creates a new DNS zone.

property region

public region: pulumi.Output<string>;

The region in which to obtain the V2 Compute client. Keypairs are associated with accounts, but a Compute client is needed to create one. If omitted, the region argument of the provider is used. Changing this creates a new DNS zone.

property ttl

public ttl: pulumi.Output<number>;

The time to live (TTL) of the zone.

property type

public type: pulumi.Output<string>;

The type of zone. Can either be PRIMARY or SECONDARY. Changing this creates a new zone.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property valueSpecs

public valueSpecs: pulumi.Output<{ ... } | undefined>;

Map of additional options. Changing this creates a new zone.

function getDnsZone

getDnsZone(args?: GetDnsZoneArgs, opts?: pulumi.InvokeOptions): Promise<GetDnsZoneResult>

Use this data source to get the ID of an available OpenStack DNS zone.

interface GetDnsZoneArgs

A collection of arguments for invoking getDnsZone.

property attributes

attributes?: { ... };

property createdAt

createdAt?: string;

property description

description?: string;

A description of the zone.

property email

email?: string;

The email contact for the zone record.

property masters

masters?: string[];

property name

name?: string;

The name of the zone.

property poolId

poolId?: string;

property projectId

projectId?: string;

property region

region?: string;

The region in which to obtain the V2 DNS client. A DNS client is needed to retrieve zone ids. If omitted, the region argument of the provider is used.

property serial

serial?: number;

property status

status?: string;

The zone’s status.

property transferredAt

transferredAt?: string;

property ttl

ttl?: number;

The time to live (TTL) of the zone.

property type

type?: string;

The type of the zone. Can either be PRIMARY or SECONDARY.

property updatedAt

updatedAt?: string;

property version

version?: number;

interface GetDnsZoneResult

A collection of values returned by getDnsZone.

property attributes

attributes: { ... };

Attributes of the DNS Service scheduler.

property createdAt

createdAt: string;

The time the zone was created.

property id

id: string;

id is the provider-assigned unique ID for this managed resource.

property masters

masters: string[];

An array of master DNS servers. When type is SECONDARY.

property poolId

poolId: string;

The ID of the pool hosting the zone.

property projectId

projectId: string;

The project ID that owns the zone.

property region

region: string;

See Argument Reference above.

property serial

serial: number;

The serial number of the zone.

property transferredAt

transferredAt: string;

The time the zone was transferred.

property updatedAt

updatedAt: string;

The time the zone was last updated.

property version

version: number;

The version of the zone.

interface RecordSetArgs

The set of arguments for constructing a RecordSet resource.

property description

description?: pulumi.Input<string>;

A description of the record set.

property name

name?: pulumi.Input<string>;

The name of the record set. Note the . at the end of the name. Changing this creates a new DNS record set.

property records

records?: pulumi.Input<pulumi.Input<string>[]>;

An array of DNS records.

property region

region?: pulumi.Input<string>;

The region in which to obtain the V2 DNS client. If omitted, the region argument of the provider is used. Changing this creates a new DNS record set.

property ttl

ttl?: pulumi.Input<number>;

The time to live (TTL) of the record set.

property type

type?: pulumi.Input<string>;

The type of record set. Examples: “A”, “MX”. Changing this creates a new DNS record set.

property valueSpecs

valueSpecs?: pulumi.Input<{ ... }>;

Map of additional options. Changing this creates a new record set.

property zoneId

zoneId: pulumi.Input<string>;

The ID of the zone in which to create the record set. Changing this creates a new DNS record set.

interface RecordSetState

Input properties used for looking up and filtering RecordSet resources.

property description

description?: pulumi.Input<string>;

A description of the record set.

property name

name?: pulumi.Input<string>;

The name of the record set. Note the . at the end of the name. Changing this creates a new DNS record set.

property records

records?: pulumi.Input<pulumi.Input<string>[]>;

An array of DNS records.

property region

region?: pulumi.Input<string>;

The region in which to obtain the V2 DNS client. If omitted, the region argument of the provider is used. Changing this creates a new DNS record set.

property ttl

ttl?: pulumi.Input<number>;

The time to live (TTL) of the record set.

property type

type?: pulumi.Input<string>;

The type of record set. Examples: “A”, “MX”. Changing this creates a new DNS record set.

property valueSpecs

valueSpecs?: pulumi.Input<{ ... }>;

Map of additional options. Changing this creates a new record set.

property zoneId

zoneId?: pulumi.Input<string>;

The ID of the zone in which to create the record set. Changing this creates a new DNS record set.

interface ZoneArgs

The set of arguments for constructing a Zone resource.

property attributes

attributes?: pulumi.Input<{ ... }>;

Attributes for the DNS Service scheduler. Changing this creates a new zone.

property description

description?: pulumi.Input<string>;

A description of the zone.

property email

email?: pulumi.Input<string>;

The email contact for the zone record.

property masters

masters?: pulumi.Input<pulumi.Input<string>[]>;

An array of master DNS servers. For when type is SECONDARY.

property name

name?: pulumi.Input<string>;

The name of the zone. Note the . at the end of the name. Changing this creates a new DNS zone.

property region

region?: pulumi.Input<string>;

The region in which to obtain the V2 Compute client. Keypairs are associated with accounts, but a Compute client is needed to create one. If omitted, the region argument of the provider is used. Changing this creates a new DNS zone.

property ttl

ttl?: pulumi.Input<number>;

The time to live (TTL) of the zone.

property type

type?: pulumi.Input<string>;

The type of zone. Can either be PRIMARY or SECONDARY. Changing this creates a new zone.

property valueSpecs

valueSpecs?: pulumi.Input<{ ... }>;

Map of additional options. Changing this creates a new zone.

interface ZoneState

Input properties used for looking up and filtering Zone resources.

property attributes

attributes?: pulumi.Input<{ ... }>;

Attributes for the DNS Service scheduler. Changing this creates a new zone.

property description

description?: pulumi.Input<string>;

A description of the zone.

property email

email?: pulumi.Input<string>;

The email contact for the zone record.

property masters

masters?: pulumi.Input<pulumi.Input<string>[]>;

An array of master DNS servers. For when type is SECONDARY.

property name

name?: pulumi.Input<string>;

The name of the zone. Note the . at the end of the name. Changing this creates a new DNS zone.

property region

region?: pulumi.Input<string>;

The region in which to obtain the V2 Compute client. Keypairs are associated with accounts, but a Compute client is needed to create one. If omitted, the region argument of the provider is used. Changing this creates a new DNS zone.

property ttl

ttl?: pulumi.Input<number>;

The time to live (TTL) of the zone.

property type

type?: pulumi.Input<string>;

The type of zone. Can either be PRIMARY or SECONDARY. Changing this creates a new zone.

property valueSpecs

valueSpecs?: pulumi.Input<{ ... }>;

Map of additional options. Changing this creates a new zone.