akamai logo
Akamai v4.1.0, Jan 25 23

akamai.DnsRecord

Create DnsRecord Resource

new DnsRecord(name: string, args: DnsRecordArgs, opts?: CustomResourceOptions);
@overload
def DnsRecord(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              active: Optional[bool] = None,
              algorithm: Optional[int] = None,
              certificate: Optional[str] = None,
              digest: Optional[str] = None,
              digest_type: Optional[int] = None,
              email_address: Optional[str] = None,
              expiration: Optional[str] = None,
              expiry: Optional[int] = None,
              fingerprint: Optional[str] = None,
              fingerprint_type: Optional[int] = None,
              flags: Optional[int] = None,
              flagsnaptr: Optional[str] = None,
              hardware: Optional[str] = None,
              inception: Optional[str] = None,
              iterations: Optional[int] = None,
              key: Optional[str] = None,
              keytag: Optional[int] = None,
              labels: Optional[int] = None,
              mailbox: Optional[str] = None,
              match_type: Optional[int] = None,
              name: Optional[str] = None,
              name_server: Optional[str] = None,
              next_hashed_owner_name: Optional[str] = None,
              nxdomain_ttl: Optional[int] = None,
              order: Optional[int] = None,
              original_ttl: Optional[int] = None,
              port: Optional[int] = None,
              preference: Optional[int] = None,
              priority: Optional[int] = None,
              priority_increment: Optional[int] = None,
              protocol: Optional[int] = None,
              recordtype: Optional[str] = None,
              refresh: Optional[int] = None,
              regexp: Optional[str] = None,
              replacement: Optional[str] = None,
              retry: Optional[int] = None,
              salt: Optional[str] = None,
              selector: Optional[int] = None,
              service: Optional[str] = None,
              signature: Optional[str] = None,
              signer: Optional[str] = None,
              software: Optional[str] = None,
              subtype: Optional[int] = None,
              svc_params: Optional[str] = None,
              svc_priority: Optional[int] = None,
              target_name: Optional[str] = None,
              targets: Optional[Sequence[str]] = None,
              ttl: Optional[int] = None,
              txt: Optional[str] = None,
              type_bitmaps: Optional[str] = None,
              type_covered: Optional[str] = None,
              type_mnemonic: Optional[str] = None,
              type_value: Optional[int] = None,
              usage: Optional[int] = None,
              weight: Optional[int] = None,
              zone: Optional[str] = None)
@overload
def DnsRecord(resource_name: str,
              args: DnsRecordArgs,
              opts: Optional[ResourceOptions] = None)
func NewDnsRecord(ctx *Context, name string, args DnsRecordArgs, opts ...ResourceOption) (*DnsRecord, error)
public DnsRecord(string name, DnsRecordArgs args, CustomResourceOptions? opts = null)
public DnsRecord(String name, DnsRecordArgs args)
public DnsRecord(String name, DnsRecordArgs args, CustomResourceOptions options)
type: akamai:DnsRecord
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args DnsRecordArgs
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 DnsRecordArgs
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 DnsRecordArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DnsRecordArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args DnsRecordArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

DnsRecord Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The DnsRecord resource accepts the following input properties:

Recordtype string
Ttl int
Zone string
Active bool
Algorithm int
Certificate string
Digest string
DigestType int
EmailAddress string
Expiration string
Expiry int
Fingerprint string
FingerprintType int
Flags int
Flagsnaptr string
Hardware string
Inception string
Iterations int
Key string
Keytag int
Labels int
Mailbox string
MatchType int
Name string
NameServer string
NextHashedOwnerName string
NxdomainTtl int
Order int
OriginalTtl int
Port int
Preference int
Priority int
PriorityIncrement int
Protocol int
Refresh int
Regexp string
Replacement string
Retry int
Salt string
Selector int
Service string
Signature string
Signer string
Software string
Subtype int
SvcParams string
SvcPriority int
TargetName string
Targets List<string>
Txt string
TypeBitmaps string
TypeCovered string
TypeMnemonic string
TypeValue int
Usage int
Weight int
Recordtype string
Ttl int
Zone string
Active bool
Algorithm int
Certificate string
Digest string
DigestType int
EmailAddress string
Expiration string
Expiry int
Fingerprint string
FingerprintType int
Flags int
Flagsnaptr string
Hardware string
Inception string
Iterations int
Key string
Keytag int
Labels int
Mailbox string
MatchType int
Name string
NameServer string
NextHashedOwnerName string
NxdomainTtl int
Order int
OriginalTtl int
Port int
Preference int
Priority int
PriorityIncrement int
Protocol int
Refresh int
Regexp string
Replacement string
Retry int
Salt string
Selector int
Service string
Signature string
Signer string
Software string
Subtype int
SvcParams string
SvcPriority int
TargetName string
Targets []string
Txt string
TypeBitmaps string
TypeCovered string
TypeMnemonic string
TypeValue int
Usage int
Weight int
recordtype String
ttl Integer
zone String
active Boolean
algorithm Integer
certificate String
digest String
digestType Integer
emailAddress String
expiration String
expiry Integer
fingerprint String
fingerprintType Integer
flags Integer
flagsnaptr String
hardware String
inception String
iterations Integer
key String
keytag Integer
labels Integer
mailbox String
matchType Integer
name String
nameServer String
nextHashedOwnerName String
nxdomainTtl Integer
order Integer
originalTtl Integer
port Integer
preference Integer
priority Integer
priorityIncrement Integer
protocol Integer
refresh Integer
regexp String
replacement String
retry Integer
salt String
selector Integer
service String
signature String
signer String
software String
subtype Integer
svcParams String
svcPriority Integer
targetName String
targets List<String>
txt String
typeBitmaps String
typeCovered String
typeMnemonic String
typeValue Integer
usage Integer
weight Integer
recordtype string
ttl number
zone string
active boolean
algorithm number
certificate string
digest string
digestType number
emailAddress string
expiration string
expiry number
fingerprint string
fingerprintType number
flags number
flagsnaptr string
hardware string
inception string
iterations number
key string
keytag number
labels number
mailbox string
matchType number
name string
nameServer string
nextHashedOwnerName string
nxdomainTtl number
order number
originalTtl number
port number
preference number
priority number
priorityIncrement number
protocol number
refresh number
regexp string
replacement string
retry number
salt string
selector number
service string
signature string
signer string
software string
subtype number
svcParams string
svcPriority number
targetName string
targets string[]
txt string
typeBitmaps string
typeCovered string
typeMnemonic string
typeValue number
usage number
weight number
recordtype String
ttl Number
zone String
active Boolean
algorithm Number
certificate String
digest String
digestType Number
emailAddress String
expiration String
expiry Number
fingerprint String
fingerprintType Number
flags Number
flagsnaptr String
hardware String
inception String
iterations Number
key String
keytag Number
labels Number
mailbox String
matchType Number
name String
nameServer String
nextHashedOwnerName String
nxdomainTtl Number
order Number
originalTtl Number
port Number
preference Number
priority Number
priorityIncrement Number
protocol Number
refresh Number
regexp String
replacement String
retry Number
salt String
selector Number
service String
signature String
signer String
software String
subtype Number
svcParams String
svcPriority Number
targetName String
targets List<String>
txt String
typeBitmaps String
typeCovered String
typeMnemonic String
typeValue Number
usage Number
weight Number

Outputs

All input properties are implicitly available as output properties. Additionally, the DnsRecord resource produces the following output properties:

AnswerType string
DnsName string
Id string

The provider-assigned unique ID for this managed resource.

RecordSha string
Serial int
AnswerType string
DnsName string
Id string

The provider-assigned unique ID for this managed resource.

RecordSha string
Serial int
answerType String
dnsName String
id String

The provider-assigned unique ID for this managed resource.

recordSha String
serial Integer
answerType string
dnsName string
id string

The provider-assigned unique ID for this managed resource.

recordSha string
serial number
answer_type str
dns_name str
id str

The provider-assigned unique ID for this managed resource.

record_sha str
serial int
answerType String
dnsName String
id String

The provider-assigned unique ID for this managed resource.

recordSha String
serial Number

Look up Existing DnsRecord Resource

Get an existing DnsRecord 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?: DnsRecordState, opts?: CustomResourceOptions): DnsRecord
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        active: Optional[bool] = None,
        algorithm: Optional[int] = None,
        answer_type: Optional[str] = None,
        certificate: Optional[str] = None,
        digest: Optional[str] = None,
        digest_type: Optional[int] = None,
        dns_name: Optional[str] = None,
        email_address: Optional[str] = None,
        expiration: Optional[str] = None,
        expiry: Optional[int] = None,
        fingerprint: Optional[str] = None,
        fingerprint_type: Optional[int] = None,
        flags: Optional[int] = None,
        flagsnaptr: Optional[str] = None,
        hardware: Optional[str] = None,
        inception: Optional[str] = None,
        iterations: Optional[int] = None,
        key: Optional[str] = None,
        keytag: Optional[int] = None,
        labels: Optional[int] = None,
        mailbox: Optional[str] = None,
        match_type: Optional[int] = None,
        name: Optional[str] = None,
        name_server: Optional[str] = None,
        next_hashed_owner_name: Optional[str] = None,
        nxdomain_ttl: Optional[int] = None,
        order: Optional[int] = None,
        original_ttl: Optional[int] = None,
        port: Optional[int] = None,
        preference: Optional[int] = None,
        priority: Optional[int] = None,
        priority_increment: Optional[int] = None,
        protocol: Optional[int] = None,
        record_sha: Optional[str] = None,
        recordtype: Optional[str] = None,
        refresh: Optional[int] = None,
        regexp: Optional[str] = None,
        replacement: Optional[str] = None,
        retry: Optional[int] = None,
        salt: Optional[str] = None,
        selector: Optional[int] = None,
        serial: Optional[int] = None,
        service: Optional[str] = None,
        signature: Optional[str] = None,
        signer: Optional[str] = None,
        software: Optional[str] = None,
        subtype: Optional[int] = None,
        svc_params: Optional[str] = None,
        svc_priority: Optional[int] = None,
        target_name: Optional[str] = None,
        targets: Optional[Sequence[str]] = None,
        ttl: Optional[int] = None,
        txt: Optional[str] = None,
        type_bitmaps: Optional[str] = None,
        type_covered: Optional[str] = None,
        type_mnemonic: Optional[str] = None,
        type_value: Optional[int] = None,
        usage: Optional[int] = None,
        weight: Optional[int] = None,
        zone: Optional[str] = None) -> DnsRecord
func GetDnsRecord(ctx *Context, name string, id IDInput, state *DnsRecordState, opts ...ResourceOption) (*DnsRecord, error)
public static DnsRecord Get(string name, Input<string> id, DnsRecordState? state, CustomResourceOptions? opts = null)
public static DnsRecord get(String name, Output<String> id, DnsRecordState 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.
The following state arguments are supported:
Active bool
Algorithm int
AnswerType string
Certificate string
Digest string
DigestType int
DnsName string
EmailAddress string
Expiration string
Expiry int
Fingerprint string
FingerprintType int
Flags int
Flagsnaptr string
Hardware string
Inception string
Iterations int
Key string
Keytag int
Labels int
Mailbox string
MatchType int
Name string
NameServer string
NextHashedOwnerName string
NxdomainTtl int
Order int
OriginalTtl int
Port int
Preference int
Priority int
PriorityIncrement int
Protocol int
RecordSha string
Recordtype string
Refresh int
Regexp string
Replacement string
Retry int
Salt string
Selector int
Serial int
Service string
Signature string
Signer string
Software string
Subtype int
SvcParams string
SvcPriority int
TargetName string
Targets List<string>
Ttl int
Txt string
TypeBitmaps string
TypeCovered string
TypeMnemonic string
TypeValue int
Usage int
Weight int
Zone string
Active bool
Algorithm int
AnswerType string
Certificate string
Digest string
DigestType int
DnsName string
EmailAddress string
Expiration string
Expiry int
Fingerprint string
FingerprintType int
Flags int
Flagsnaptr string
Hardware string
Inception string
Iterations int
Key string
Keytag int
Labels int
Mailbox string
MatchType int
Name string
NameServer string
NextHashedOwnerName string
NxdomainTtl int
Order int
OriginalTtl int
Port int
Preference int
Priority int
PriorityIncrement int
Protocol int
RecordSha string
Recordtype string
Refresh int
Regexp string
Replacement string
Retry int
Salt string
Selector int
Serial int
Service string
Signature string
Signer string
Software string
Subtype int
SvcParams string
SvcPriority int
TargetName string
Targets []string
Ttl int
Txt string
TypeBitmaps string
TypeCovered string
TypeMnemonic string
TypeValue int
Usage int
Weight int
Zone string
active Boolean
algorithm Integer
answerType String
certificate String
digest String
digestType Integer
dnsName String
emailAddress String
expiration String
expiry Integer
fingerprint String
fingerprintType Integer
flags Integer
flagsnaptr String
hardware String
inception String
iterations Integer
key String
keytag Integer
labels Integer
mailbox String
matchType Integer
name String
nameServer String
nextHashedOwnerName String
nxdomainTtl Integer
order Integer
originalTtl Integer
port Integer
preference Integer
priority Integer
priorityIncrement Integer
protocol Integer
recordSha String
recordtype String
refresh Integer
regexp String
replacement String
retry Integer
salt String
selector Integer
serial Integer
service String
signature String
signer String
software String
subtype Integer
svcParams String
svcPriority Integer
targetName String
targets List<String>
ttl Integer
txt String
typeBitmaps String
typeCovered String
typeMnemonic String
typeValue Integer
usage Integer
weight Integer
zone String
active boolean
algorithm number
answerType string
certificate string
digest string
digestType number
dnsName string
emailAddress string
expiration string
expiry number
fingerprint string
fingerprintType number
flags number
flagsnaptr string
hardware string
inception string
iterations number
key string
keytag number
labels number
mailbox string
matchType number
name string
nameServer string
nextHashedOwnerName string
nxdomainTtl number
order number
originalTtl number
port number
preference number
priority number
priorityIncrement number
protocol number
recordSha string
recordtype string
refresh number
regexp string
replacement string
retry number
salt string
selector number
serial number
service string
signature string
signer string
software string
subtype number
svcParams string
svcPriority number
targetName string
targets string[]
ttl number
txt string
typeBitmaps string
typeCovered string
typeMnemonic string
typeValue number
usage number
weight number
zone string
active Boolean
algorithm Number
answerType String
certificate String
digest String
digestType Number
dnsName String
emailAddress String
expiration String
expiry Number
fingerprint String
fingerprintType Number
flags Number
flagsnaptr String
hardware String
inception String
iterations Number
key String
keytag Number
labels Number
mailbox String
matchType Number
name String
nameServer String
nextHashedOwnerName String
nxdomainTtl Number
order Number
originalTtl Number
port Number
preference Number
priority Number
priorityIncrement Number
protocol Number
recordSha String
recordtype String
refresh Number
regexp String
replacement String
retry Number
salt String
selector Number
serial Number
service String
signature String
signer String
software String
subtype Number
svcParams String
svcPriority Number
targetName String
targets List<String>
ttl Number
txt String
typeBitmaps String
typeCovered String
typeMnemonic String
typeValue Number
usage Number
weight Number
zone String

Package Details

Repository
Akamai pulumi/pulumi-akamai
License
Apache-2.0
Notes

This Pulumi package is based on the akamai Terraform Provider.