UNPKG

pulumi-bunnynet

Version:

A Pulumi provider for managing Bunny.net CDN and edge computing resources, dynamically bridged from the Terraform Bunnynet provider with support for pull zones, storage, DNS, compute containers, and video streaming.

289 lines 9.48 kB
import * as pulumi from "@pulumi/pulumi"; export declare class DnsRecord extends pulumi.CustomResource { /** * Get an existing DnsRecord resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DnsRecordState, opts?: pulumi.CustomResourceOptions): DnsRecord; /** * Returns true if the given object is an instance of DnsRecord. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is DnsRecord; /** * Indicates whether the DNS record should utilize bunny.net’s acceleration services. */ readonly accelerated: pulumi.Output<boolean>; /** * The ID of the accelerated pull zone. */ readonly acceleratedPullzone: pulumi.Output<number>; /** * This property allows users to add descriptive notes for documentation and management purposes. */ readonly comment: pulumi.Output<string>; /** * The unique identifier for the DNS record. */ readonly dnsRecordId: pulumi.Output<number>; /** * Indicates whether the DNS record is enabled. */ readonly enabled: pulumi.Output<boolean>; /** * Flags for advanced DNS settings. */ readonly flags: pulumi.Output<number>; /** * The latitude for geolocation-based routing. */ readonly geolocationLat: pulumi.Output<number>; /** * The longitude for geolocation-based routing. */ readonly geolocationLong: pulumi.Output<number>; /** * The latency zone for latency-based routing. */ readonly latencyZone: pulumi.Output<string>; /** * The name of the linked resource. */ readonly linkName: pulumi.Output<string>; /** * Options: `Http`, `Monitor`, `None`, `Ping` */ readonly monitorType: pulumi.Output<string>; /** * The name of the DNS record. Use <code>name = ""</code> for apex domain records. */ readonly name: pulumi.Output<string>; /** * The port number for services that require a specific port. */ readonly port: pulumi.Output<number>; /** * The priority of the DNS record. */ readonly priority: pulumi.Output<number>; /** * The ID of the linked pullzone. */ readonly pullzoneId: pulumi.Output<number>; /** * Options: `Geolocation`, `Latency`, `None` */ readonly smartRoutingType: pulumi.Output<string>; /** * A tag for the DNS record. */ readonly tag: pulumi.Output<string>; /** * The time-to-live value for the DNS record. */ readonly ttl: pulumi.Output<number>; /** * Options: `A`, `AAAA`, `CAA`, `CNAME`, `Flatten`, `HTTPS`, `MX`, `NS`, `PTR`, `PullZone`, `Redirect`, `SRV`, `SVCB`, `Script`, `TLSA`, `TXT` */ readonly type: pulumi.Output<string>; /** * The value of the DNS record. */ readonly value: pulumi.Output<string>; /** * The weight of the DNS record. It is used in load balancing scenarios to distribute traffic based on the specified weight. */ readonly weight: pulumi.Output<number>; /** * ID of the related DNS zone. */ readonly zone: pulumi.Output<number>; /** * Create a DnsRecord resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: DnsRecordArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DnsRecord resources. */ export interface DnsRecordState { /** * Indicates whether the DNS record should utilize bunny.net’s acceleration services. */ accelerated?: pulumi.Input<boolean | undefined>; /** * The ID of the accelerated pull zone. */ acceleratedPullzone?: pulumi.Input<number | undefined>; /** * This property allows users to add descriptive notes for documentation and management purposes. */ comment?: pulumi.Input<string | undefined>; /** * The unique identifier for the DNS record. */ dnsRecordId?: pulumi.Input<number | undefined>; /** * Indicates whether the DNS record is enabled. */ enabled?: pulumi.Input<boolean | undefined>; /** * Flags for advanced DNS settings. */ flags?: pulumi.Input<number | undefined>; /** * The latitude for geolocation-based routing. */ geolocationLat?: pulumi.Input<number | undefined>; /** * The longitude for geolocation-based routing. */ geolocationLong?: pulumi.Input<number | undefined>; /** * The latency zone for latency-based routing. */ latencyZone?: pulumi.Input<string | undefined>; /** * The name of the linked resource. */ linkName?: pulumi.Input<string | undefined>; /** * Options: `Http`, `Monitor`, `None`, `Ping` */ monitorType?: pulumi.Input<string | undefined>; /** * The name of the DNS record. Use <code>name = ""</code> for apex domain records. */ name?: pulumi.Input<string | undefined>; /** * The port number for services that require a specific port. */ port?: pulumi.Input<number | undefined>; /** * The priority of the DNS record. */ priority?: pulumi.Input<number | undefined>; /** * The ID of the linked pullzone. */ pullzoneId?: pulumi.Input<number | undefined>; /** * Options: `Geolocation`, `Latency`, `None` */ smartRoutingType?: pulumi.Input<string | undefined>; /** * A tag for the DNS record. */ tag?: pulumi.Input<string | undefined>; /** * The time-to-live value for the DNS record. */ ttl?: pulumi.Input<number | undefined>; /** * Options: `A`, `AAAA`, `CAA`, `CNAME`, `Flatten`, `HTTPS`, `MX`, `NS`, `PTR`, `PullZone`, `Redirect`, `SRV`, `SVCB`, `Script`, `TLSA`, `TXT` */ type?: pulumi.Input<string | undefined>; /** * The value of the DNS record. */ value?: pulumi.Input<string | undefined>; /** * The weight of the DNS record. It is used in load balancing scenarios to distribute traffic based on the specified weight. */ weight?: pulumi.Input<number | undefined>; /** * ID of the related DNS zone. */ zone?: pulumi.Input<number | undefined>; } /** * The set of arguments for constructing a DnsRecord resource. */ export interface DnsRecordArgs { /** * Indicates whether the DNS record should utilize bunny.net’s acceleration services. */ accelerated?: pulumi.Input<boolean | undefined>; /** * This property allows users to add descriptive notes for documentation and management purposes. */ comment?: pulumi.Input<string | undefined>; /** * Indicates whether the DNS record is enabled. */ enabled?: pulumi.Input<boolean | undefined>; /** * Flags for advanced DNS settings. */ flags?: pulumi.Input<number | undefined>; /** * The latitude for geolocation-based routing. */ geolocationLat?: pulumi.Input<number | undefined>; /** * The longitude for geolocation-based routing. */ geolocationLong?: pulumi.Input<number | undefined>; /** * The latency zone for latency-based routing. */ latencyZone?: pulumi.Input<string | undefined>; /** * Options: `Http`, `Monitor`, `None`, `Ping` */ monitorType?: pulumi.Input<string | undefined>; /** * The name of the DNS record. Use <code>name = ""</code> for apex domain records. */ name?: pulumi.Input<string | undefined>; /** * The port number for services that require a specific port. */ port?: pulumi.Input<number | undefined>; /** * The priority of the DNS record. */ priority?: pulumi.Input<number | undefined>; /** * The ID of the linked pullzone. */ pullzoneId?: pulumi.Input<number | undefined>; /** * Options: `Geolocation`, `Latency`, `None` */ smartRoutingType?: pulumi.Input<string | undefined>; /** * A tag for the DNS record. */ tag?: pulumi.Input<string | undefined>; /** * The time-to-live value for the DNS record. */ ttl?: pulumi.Input<number | undefined>; /** * Options: `A`, `AAAA`, `CAA`, `CNAME`, `Flatten`, `HTTPS`, `MX`, `NS`, `PTR`, `PullZone`, `Redirect`, `SRV`, `SVCB`, `Script`, `TLSA`, `TXT` */ type: pulumi.Input<string>; /** * The value of the DNS record. */ value: pulumi.Input<string>; /** * The weight of the DNS record. It is used in load balancing scenarios to distribute traffic based on the specified weight. */ weight?: pulumi.Input<number | undefined>; /** * ID of the related DNS zone. */ zone: pulumi.Input<number>; } //# sourceMappingURL=dnsRecord.d.ts.map