Namespace Pulumi.OpenStack.Dns
Classes
GetDnsZone
GetDnsZoneArgs
GetDnsZoneResult
RecordSet
Manages a DNS record set in the OpenStack DNS Service.
Example Usage
Automatically detect the correct network
using Pulumi;
using OpenStack = Pulumi.OpenStack;
class MyStack : Stack
{
public MyStack()
{
var exampleZone = new OpenStack.Dns.Zone("exampleZone", new OpenStack.Dns.ZoneArgs
{
Description = "a zone",
Email = "email2@example.com",
Ttl = 6000,
Type = "PRIMARY",
});
var rsExampleCom = new OpenStack.Dns.RecordSet("rsExampleCom", new OpenStack.Dns.RecordSetArgs
{
Description = "An example record set",
Records =
{
"10.0.0.1",
},
Ttl = 3000,
Type = "A",
ZoneId = exampleZone.Id,
});
}
}
RecordSetArgs
RecordSetState
Zone
Manages a DNS zone in the OpenStack DNS Service.
Example Usage
Automatically detect the correct network
using Pulumi;
using OpenStack = Pulumi.OpenStack;
class MyStack : Stack
{
public MyStack()
{
var example_com = new OpenStack.Dns.Zone("example.com", new OpenStack.Dns.ZoneArgs
{
Description = "An example zone",
Email = "jdoe@example.com",
Ttl = 3000,
Type = "PRIMARY",
});
}
}